Skip to main content
POST
/
api
/
lakehouse
/
ingest
Ingest Documents
curl --request POST \
  --url https://api.merchantops.ai/api/lakehouse/ingest \
  --header 'Content-Type: application/json' \
  --data '
{
  "document_ids": [
    "<string>"
  ]
}
'
{
  "job_id": "<string>",
  "message": "<string>",
  "published_events": 123,
  "total_documents": 123
}

Headers

authorization
string | null
X-Organization-ID
string | null

Cookies

stytch_session
string | null

Body

application/json

Request to start document ingestion.

document_ids
string[]
required

List of document_metadata IDs to process

Response

Successful Response

Response with job ID for ingestion.

job_id
string
required
message
string
required
published_events
integer
required
total_documents
integer
required