Skip to main content
POST
/
v1
/
search
Search
curl --request POST \
  --url https://api.ontora.com/v1/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>",
  "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "modes": [
    "context"
  ],
  "vault_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "top_k": 5,
  "generate_answer": true
}
'
{
  "answer": "<string>",
  "web_results": [],
  "context_chunks": [],
  "sources": [],
  "modes_used": []
}

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
query
string
required
Required string length: 1 - 1000
workspace_id
string<uuid>
required
modes
string[]

Search modes: web, context, meeting

vault_ids
string<uuid>[] | null
project_id
string<uuid> | null
top_k
integer
default:5
Required range: 1 <= x <= 20
generate_answer
boolean
default:true

Response

Successful Response

answer
string | null
web_results
WebResult · object[]
context_chunks
ContextChunk · object[]
sources
SourceItem · object[]
modes_used
string[]