Skip to main content
POST
/
api
/
v1
/
model_providers
/
match
Match
curl --request POST \
  --url https://api.example.com/api/v1/model_providers/match \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "capability": "llm",
  "suggested_models": [
    "<string>"
  ],
  "score_cutoff": 0.4
}
'
{
  "items": [
    {
      "model_id": "<string>",
      "score": 123
    }
  ],
  "total_count": 123,
  "next_page_token": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "has_more": false
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
capability
enum<string>
required
Available options:
llm,
embedding
suggested_models
string[] | null
score_cutoff
number
default:0.4

Response

Successful Response

items
ModelWithScore · object[]
required
total_count
integer
required
next_page_token
string<uuid> | null
required
has_more
boolean
default:false