Skip to main content
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

file_id
string
required
Identifier of the file whose metadata to fetch

Response

file_id
string
Identifier of the file
file_uid
string
Internal unique identifier of the file
is_valid
boolean
Whether the metadata record is valid
file_type
string
MIME type of the file (e.g. image/png, text/csv)
num_bytes
integer
Size of the file in bytes
file_status
string
Lifecycle status of the file. One of:
  • FILE_STATUS_UNKNOWN
  • FILE_STATUS_REGISTERED
  • FILE_STATUS_INGESTING
  • FILE_STATUS_INGESTED
  • FILE_STATUS_IN_MEMORY
  • FILE_STATUS_IN_COLD_STORAGE
  • FILE_STATUS_CORRUPT
ingested
boolean
Whether the file has completed ingestion
file_index
integer
Index of this file within the organization’s file list
file_tags
object
Key/value tags attached to the file (empty object if no tags)
file_attributes
object
Type-specific attributes for the file. The shape varies by file type: