Skip to main content
POST
/
data
/
search
Search Custom Data
curl --request POST \
  --url https://api.prod.usesimple.ai/api/v1/data/search \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>"
}
'
{
  "answer": "<string>",
  "records": [
    {}
  ]
}
This searches tables that have searchIndexingEnabled set to true.

Authorizations

Authorization
string
header
required

Body

application/json
query
string
required

Natural-language search query.

Required string length: 1 - 5000

Response

Successful Response

answer
string
required
records
Records · object[]
required