Skip to main content
POST
/
assets
/
models
/
verify
Verify Model Before Save
curl --request POST \
  --url https://api.example.com/assets/models/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "litellm_model": "<string>",
  "credentials": {},
  "provider": "<string>",
  "api_base": "<string>",
  "api_version": "<string>"
}
'
{
  "verified": true,
  "message": "<string>",
  "latency_ms": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.emergence.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Project-ID
string | null

Body

application/json

Request body for verifying model credentials before saving.

litellm_model
string
required
Required string length: 1 - 500
credentials
Credentials · object
required

Credentials for the model provider (not stored).

provider
string | null
Maximum string length: 100
api_base
string | null
Maximum string length: 1000
api_version
string | null
Maximum string length: 50

Response

Successful Response

Response for model verification.

verified
boolean
required
message
string
required
latency_ms
number | null