Skip to main content
POST
/
v1
/
ingest
/
manual
/
bulk
Ingest Bulk
curl --request POST \
  --url https://api.ontora.com/v1/ingest/manual/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "documents": [
    {
      "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "content": "<string>",
      "title": "<string>",
      "vault_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "document_type": "document",
      "author_name": "<string>",
      "author_email": "<string>",
      "source_url": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "tags": [
        "<string>"
      ],
      "metadata": {}
    }
  ],
  "vault_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "total": 123,
  "created": 123,
  "updated": 123,
  "unchanged": 123,
  "errors": [],
  "document_ids": []
}

Documentation Index

Fetch the complete documentation index at: https://docs.ontora.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request to ingest multiple documents at once.

workspace_id
string<uuid>
required
documents
ManualIngestRequest · object[]
required
Required array length: 1 - 50 elements
vault_id
string<uuid> | null

Response

Successful Response

Response for bulk ingestion.

total
integer
required
created
integer
required
updated
integer
required
unchanged
integer
required
errors
Errors · object[]
document_ids
string<uuid>[]