Skip to main content
POST
/
api
/
search
/
fallback
Categorize fallback strategy
curl --request POST \
  --url https://api.example.com/api/search/fallback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>",
  "knowledge_asset_ids": [
    "<string>"
  ],
  "use_case_id": "<string>",
  "llm": "<string>",
  "locale": "<string>"
}
'
{
  "explanation": "<string>",
  "chosen_fallback_tool": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "example_questions": [
      "<string>"
    ],
    "contact": {
      "name": "<string>",
      "email": "<string>",
      "link": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Format: 'Bearer '

Body

application/json

Request schema for fallback strategy categorization.

query
string
required
knowledge_asset_ids
string[]
required
use_case_id
string
required
llm
string
required
locale
string
required

Response

Successful Response

Response schema for fallback strategy categorization.

explanation
string
required
chosen_fallback_tool
FallbackStrategyTool · object