curl --request POST \
--url https://api.example.com/api/ingest/upload \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file' \
--form 'destination_project_id=<string>' \
--form destination_type=library \
--form namespace=global \
--form 'taxonomy_labels=<string>'{
"content_type": "youtube",
"created_at": "2023-11-07T05:31:56Z",
"job_id": "<string>",
"status": "queued",
"chunks_created": 1,
"completed_at": "2023-11-07T05:31:56Z",
"current_step": "<string>",
"destination_project_id": "<string>",
"destination_type": "library",
"error": "<string>",
"progress": 0,
"title": "<string>"
}Upload and ingest a file (PDF, MD, TXT).
curl --request POST \
--url https://api.example.com/api/ingest/upload \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file' \
--form 'destination_project_id=<string>' \
--form destination_type=library \
--form namespace=global \
--form 'taxonomy_labels=<string>'{
"content_type": "youtube",
"created_at": "2023-11-07T05:31:56Z",
"job_id": "<string>",
"status": "queued",
"chunks_created": 1,
"completed_at": "2023-11-07T05:31:56Z",
"current_step": "<string>",
"destination_project_id": "<string>",
"destination_type": "library",
"error": "<string>",
"progress": 0,
"title": "<string>"
}Successful Response
Status of an ingestion job.
Type of content being ingested.
youtube, article, pdf, markdown, text Status of an ingestion job.
queued, processing, completed, failed x >= 0library, project 0 <= x <= 100