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
1curl -X POST /v1/ingest \
2 -H "Content-Type: multipart/form-data" \
3 -F file=@<filename1>
200
Successful
1{
2 "object": {},
3 "model": {},
4 "data": [
5 {
6 "object": {},
7 "doc_id": "string",
8 "doc_metadata": {
9 "string": {}
10 }
11 }
12 ]
13}