Skip to main content
POST
/
v1
/
gates
/
suggestions
Get The Architect's model + config suggestions for a gate
curl --request POST \
  --url https://api.verlon.ai/v1/gates/suggestions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "description": "<string>",
  "costWeight": "<string>",
  "latencyWeight": "<string>",
  "qualityWeight": "<string>",
  "availableProviders": [
    "<string>"
  ],
  "enableDescriptionEnhancement": true,
  "taskType": "<string>"
}
'
{
  "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
description
string
required
Minimum string length: 1
costWeight
latencyWeight
qualityWeight
availableProviders
string[]
enableDescriptionEnhancement
boolean
taskType
string

Response

Architect suggestion bundle: recommended config + rationale + alternatives.