Get file metadata

View as Markdown

Returns the ProjectFile metadata for a single file.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Path parameters

projectIdstringRequired
fileIdstringRequired

Response

The file metadata.
fileobject

Errors

401
Unauthorized Error
404
Not Found Error