Skip to main content
GET
Get a file by ID.

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Path Parameters

project_id
string
required
file_id
string
required

Query Parameters

companyId
string
required

Company ID

Response

File with content

Project file object

id
string

File ID

name
string

File name

path
string

File path

type
string

File type/extension

mimeType
string

MIME type

content
string

File content (if requested)

isDirectory
boolean

Whether this is a directory

size
integer

File size in bytes

isPublished
boolean

Whether file is publicly published

publicSlug
string

Public URL slug (if published)

publicUrl
string

Full public URL (if published)

created
number

Creation timestamp

updated
number

Last update timestamp