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
}
}Projects
List files attached to a project
Files are derived from project reference objects.
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
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 files.
⌘I