POST
/
search
curl --request POST \
  --url https://api.praxos.ai/search \
  --header 'API-key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "<string>",
  "environment_id": "<string>",
  "top_k": 5
}'
{
  "hits": [
    {
      "score": 123,
      "data": {},
      "sentence": "<string>"
    }
  ]
}

Authorizations

API-key
string
header
required

API key for authentication

Body

application/json

Response

200
application/json

Successful search results

The response is of type object.