Ingestion

Ingest

Deprecated
POST

Ingests and processes a file.

Deprecated. Use ingest/file instead.

Request

This endpoint expects a multipart form containing a file.
filefile

Response

This endpoint returns an object
object
any
model
any
data
list of objects
POST
$curl -X POST /v1/ingest \
> -H "Content-Type: multipart/form-data" \
> -d '{}'
Response
1{
2 "object": {},
3 "model": {},
4 "data": [
5 {
6 "object": {},
7 "doc_id": "string",
8 "doc_metadata": {
9 "string": {}
10 }
11 }
12 ]
13}