Skip to main content
POST
/
v1
/
ingest
/
manual
/
document
Ingest Manual Document
curl --request POST \
  --url https://api.ontora.com/v1/ingest/manual/document \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "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": {}
}
'
{
  "document_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>",
  "message": "<string>",
  "processing_job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

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 manually ingest a document.

workspace_id
string<uuid>
required

Target workspace

content
string
required

The text content to ingest

Minimum string length: 10
title
string
required

Document title

Required string length: 1 - 500
vault_id
string<uuid> | null

Optional vault to associate with

document_type
enum<string>
default:document

Type of document being ingested

Available options:
transcript,
notes,
document,
article,
email,
chat
author_name
string | null

Author name

author_email
string | null

Author email

source_url
string | null

Original source URL if applicable

created_at
string<date-time> | null

Original creation date

tags
string[]

Tags for categorization

metadata
Metadata · object

Additional metadata

Response

Successful Response

Response after manual ingestion.

document_id
string<uuid>
required
status
string
required
message
string
required
processing_job_id
string<uuid> | null