Skip to main content
GET
https://davinci-app.com
/
api
/
v2
/
programmatic
/
projects
/
{projectId}
/
files
/
{fileId}
cURL
curl --request GET \
  --url https://davinci-app.com/api/v2/programmatic/projects/{projectId}/files/{fileId} \
  --header 'Authorization: Bearer <token>'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.davinci-app.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
default:dav_ak_live_your_token
required

Personal access token. Programmatic reads require the projects:read scope.

Path Parameters

projectId
string
required

Project id. May be compound in the form {projectId}--{branchName}.

Minimum string length: 1
fileId
string
required

Reference object id or storage filename.

Minimum string length: 1

Query Parameters

branch
string
default:main

Response

Raw file bytes. This response is not a JSON envelope.

The response is of type file.