files_v2
GET /documents/v2/files/{file_id}/metadata
Request
- Base URLhttps://api.tensorlake.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
file_idstring required
The public ID of the file to retrieve metadata for the file. Only files created with the V2 API will be returned.
Response
Information about the uploaded file
Example response
{
"file_id": "file_12345",
"file_name": "example.pdf",
"file_size": 100000,
"checksum_sha256": "d3242c5c1d369d233fa65183bdd4c486eba109ceb13490ed291384eaffbe743b",
"created_at": "2023-10-01T12:00:00Z",
"labels": {
"priority": "high",
"source": "email"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.