Get file metadata
Get file metadata
Retrieves metadata for a single file owned by the requesting workspace.
GET
Get file metadata
Authorizations
API key as bearer token in Authorization header
Path Parameters
Example:
"or_file_011CNha8iCJcU1wXNR6q4V8w"
Query Parameters
Workspace to scope the request to. Defaults to the caller’s default workspace.
Example:
"a103d8b6-42f0-4e50-9a3c-bf41e2c3c1a7"
Store or read this file on the named provider using your own API key for it. Omit to use OpenRouter storage.
Available options:
openai, anthropic Example:
"openai"
Response
The file metadata.
- Option 1
- Option 2
- Option 3
A stored file. The shape is negotiated per request — see the endpoint description.