Skip to main content
GET
https://davinci-app.com
/
api
/
v2
/
programmatic
/
projects
/
{projectId}
/
tree
cURL
curl --request GET \
  --url https://davinci-app.com/api/v2/programmatic/projects/{projectId}/tree \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "tree": [
      {
        "id": "<string>",
        "name": "<string>",
        "type": "<string>",
        "parent": "<string>",
        "childrenCount": 1
      }
    ],
    "objectCount": 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 tree.

success
boolean
required
data
object
required