Files API
Get File Metadata
Retrieve metadata for a specific file
GET
Overview
This endpoint returns the full metadata record for a specific file in the authenticated organization, including file status, size, and type-specific attributes (image dimensions, tabular shape, etc.).Path Parameters
Identifier of the file whose metadata to fetch
Response
Identifier of the file
Internal unique identifier of the file
Whether the metadata record is valid
MIME type of the file (e.g.
image/png, text/csv)Size of the file in bytes
Lifecycle status of the file. One of:
FILE_STATUS_UNKNOWNFILE_STATUS_REGISTEREDFILE_STATUS_INGESTINGFILE_STATUS_INGESTEDFILE_STATUS_IN_MEMORYFILE_STATUS_IN_COLD_STORAGEFILE_STATUS_CORRUPT
Whether the file has completed ingestion
Index of this file within the organization’s file list
Key/value tags attached to the file (empty object if no tags)
Type-specific attributes for the file. The shape varies by file type: