cURL
curl --request POST \ --url https://api.clarm.com/v1/search \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "query": "<string>", "chat_session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "agent_id": 0, "use_agentic_search": false, "recency_bias_multiplier": 1, "model": "<string>" } '
{ "query": "<string>", "chat_session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "answer": "<string>", "citations": [ { "document_id": "<string>", "chunk_ind": 123, "semantic_identifier": "<string>", "blurb": "<string>", "source_type": "ingestion_api", "boost": 123, "hidden": true, "metadata": {}, "match_highlights": [ "<string>" ], "link": "<string>", "score": 123, "is_relevant": true, "relevance_explanation": "<string>", "updated_at": "2023-11-07T05:31:56Z", "primary_owners": [ "<string>" ], "secondary_owners": [ "<string>" ], "is_internet": false } ] }
Search for documents using the provided query.
Requires API key authentication via Authorization header: Authorization: Bearer your_api_key_here
Authorization: Bearer your_api_key_here
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Public API search request model
OpenAI model identifier e.g. o4-mini, gpt-4.1
Successful Response
Public API search response model
Show child attributes
ingestion_api
slack
web
google_drive
gmail
requesttracker
github
gitbook
gitlab
guru
bookstack
confluence
slab
jira
productboard
file
notion
zulip
linear
hubspot
document360
gong
google_sites
zendesk
loopio
dropbox
sharepoint
outlook
OUTLOOK
teams
salesforce
discourse
axero
clickup
mediawiki
wikipedia
asana
s3
r2
google_cloud_storage
oci_storage
xenforo
not_applicable
discord
freshdesk
fireflies
egnyte
airtable
highspot
bookface
mock_connector