Files
Get a file by ID
Returns the data and metadata of a specific file
get/v1/projects/{project_id}/files/{file_id}
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/files/{file_id}
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Path parameters
file_idstring required
Example:abc123
File ID
Response
File found
Example response
{
"id": "abc123",
"prefix": "/images",
"filename": "logo.png",
"path": "/images/logo.png",
"content_type": "application/pdf",
"size": 1024,
"metadata": {
"author": "John",
"revision": 2
},
"tags": {
"team": "finance",
"env": "prod"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.