Skip to main content
GET
https://davinci-app.com
/
api
/
v2
/
programmatic
/
projects
/
{projectId}
/
files
cURL
curl --request GET \
  --url https://davinci-app.com/api/v2/programmatic/projects/{projectId}/files \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "files": [
      {
        "id": "<string>",
        "name": "<string>",
        "parent": "<string>",
        "fileType": "<string>",
        "filename": "<string>"
      }
    ],
    "count": 1
  }
}

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

Query Parameters

branch
string
default:main

Response

Project files.

success
boolean
required
data
object
required