Skip to main content
POST
/
v1
/
gates
/
test
Test a gate configuration with a sample request
curl --request POST \
  --url https://api.verlon.ai/v1/gates/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "messages": [
    "<unknown>"
  ],
  "gateId": "<string>",
  "gate": "<unknown>",
  "quickTest": true
}
'
{
  "error": "<string>",
  "message": "<string>",
  "details": "<unknown>"
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

Layer API key (prefixed sk-). Generated from the dashboard under Settings → API Keys, or via layer key create in the CLI.

Body

application/json
messages
any[]
required
Minimum array length: 1
gateId
string
gate
any
quickTest
boolean

Response

Per-model test results (primary + optional fallback array).