Skip to main content
POST
/
search
/
semantic
Hybrid search across uploaded content
curl --request POST \
  --url https://api.indoralabs.com/search/semantic \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "q": "suspect red sedan",
  "caseId": "c0a80101-0000-0000-0000-000000000001",
  "limit": 20
}
'
{
  "results": [
    {
      "fileId": "f2a1...",
      "snippet": "...",
      "score": 0.83
    }
  ]
}

Authorizations

x-api-key
string
header
required

Body

application/json
q
string
required

Query string. Supports hybrid semantic + keyword search.

caseId
string<uuid>

Filter results to a specific case.

fileId
string<uuid>

Filter to a single file.

limit
integer
default:20

Number of results to return.

Required range: 1 <= x <= 100
dateFrom
string<date-time>

Lower bound for file create/update timestamps.

dateTo
string<date-time>

Upper bound for file create/update timestamps.

Response

Search results

results
object[]

Ordered search results.