v13

latestOpenAPI 3.1.0raw.githubusercontent.com2026-01-226780228.2 KB
Ingestion

Ingest Text

Ingest a text document asynchronously (queued like /ingest/file).

post/ingest/text

Headers

authorizationstring nullable

Request body

contentstring required

Raw text content to store as a document.

filenamestring nullable

Optional filename hint used when inferring MIME type or displaying the document.

metadataobject

User-defined metadata stored with the document (JSON-serializable).

metadata_typesobject nullable

Optional per-field type hints: 'string', 'number', 'decimal', 'datetime', 'date', 'boolean', 'array', 'object'. Enables typed comparisons with $eq, $gt, etc. Types are inferred if omitted.

use_colpaliboolean nullable

When provided, uses Morphik's finetuned ColPali style embeddings (recommended to be True for high quality retrieval).

folder_namestring nullable

Optional folder scope for the operation

end_user_idstring nullable

Optional end-user scope for the operation

Response

Successful Response

external_idstring
content_typestring required
filenamestring nullable
metadataobject
metadata_typesobject
storage_infoobject
system_metadataobject
additional_metadataobject
chunk_idsstring[]
summary_storage_keystring nullable
summary_versioninteger nullable
summary_bucketstring nullable
summary_updated_atstring nullable
folder_namestring nullable
end_user_idstring nullable
app_idstring nullable
folder_pathstring nullable
folder_idstring nullable