Skip to main content
GET
Requires version 1.1.5 or later of the Archetype platform.

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

string
required
Identifier of the file whose metadata to fetch

Response

string
Identifier of the file
string
Internal unique identifier of the file
boolean
Whether the metadata record is valid
string
MIME type of the file (e.g. image/png, text/csv)
integer
Size of the file in bytes
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
boolean
Whether the file has completed ingestion
integer
Index of this file within the organization’s file list
object
Key/value tags attached to the file (empty object if no tags)
object
Type-specific attributes for the file. The shape varies by file type: