curl --request GET \
--url https://api.bedrock.cv/files/{file_id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "projects%2Fprj_01JABCD123%2Ffiles%2Fsite-photo.jpg",
"name": "site-photo.jpg",
"uri": "gs://bedrock-files/projects/prj_01JABCD123/files/site-photo.jpg",
"size": 2048576,
"content_type": "image/jpeg",
"last_modified": "2024-06-18T11:00:00Z"
}
}Retrieve details for a specific file.
curl --request GET \
--url https://api.bedrock.cv/files/{file_id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "projects%2Fprj_01JABCD123%2Ffiles%2Fsite-photo.jpg",
"name": "site-photo.jpg",
"uri": "gs://bedrock-files/projects/prj_01JABCD123/files/site-photo.jpg",
"size": 2048576,
"content_type": "image/jpeg",
"last_modified": "2024-06-18T11:00:00Z"
}
}drawing_id field will contain the ID of the created drawing. Use GET /drawings/{id} to access the drawing and its sheets.API key prefixed with sk_. Example: Authorization: Bearer sk_xxx
API version
File ID
Success
Show child attributes
{
"id": "projects%2Fprj_01JABCD123%2Ffiles%2Fsite-photo.jpg",
"name": "site-photo.jpg",
"uri": "gs://bedrock-files/projects/prj_01JABCD123/files/site-photo.jpg",
"size": 2048576,
"content_type": "image/jpeg",
"last_modified": "2024-06-18T11:00:00Z"
}