Skip to main content
GET
/
files
/
{file_id}
Get 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"
  }
}
Returns the full details for a file, including processing status and download URL. If the file was processed into a Drawing, the drawing_id field will contain the ID of the created drawing. Use GET /drawings/{id} to access the drawing and its sheets.

Authorizations

Authorization
string
header
required

API key prefixed with sk_. Example: Authorization: Bearer sk_xxx

Headers

X-API-Version
string
default:2026-01-01

API version

Path Parameters

file_id
string
required

File ID

Response

Success

data
object
Example:
{
"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"
}