Skip to main content
GET
Get Image Metadata

Authorizations

X-API-Key
string
header
required

Path Parameters

name
string
required

Response

Successful Response

id
string<uuid>
required
uri
string
required
size
number
required
filename
string
required
content_type
string
required
source_type
enum<string>
required
Available options:
Document,
Google Drive,
Notion,
Website,
OneDrive,
Slack,
Linear,
Github,
Teams,
Sharepoint,
ServiceNow,
Custom
source_metadata
SourceMetadata · object
required

Base class for source metadata across different source types.

external_id is the source's stable id for this item (Drive file id, OneDrive item id, URL for websites, etc.). Datasource download_file implementations stamp it explicitly, and the DB materialisation trigger projects it onto KnowledgeBaseDocument.m_source_external_id — which is the join key the KB sync engine uses to find existing docs by their source id.

group_id
string<uuid> | null
created_at
string<date-time> | null