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
}
}Projects
Get project tree
Auto-acquires a Design Engine instance, then returns a flat tree of project objects.
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
Personal access token. Programmatic reads require the projects:read scope.
Path Parameters
Project id. May be compound in the form {projectId}--{branchName}.
Minimum string length:
1Query Parameters
Response
Project tree.
⌘I