Skip to main content
POST
/
v3
/
sessions
/
:id
/
apply-recommendation
Apply an analysis recommendation to the gate config
curl --request POST \
  --url https://api.verlon.ai/v3/sessions/:id/apply-recommendation \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "field": "<string>",
  "suggestedValue": "<unknown>",
  "currentValue": "<unknown>"
}
'
{
  "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
field
string
required
suggestedValue
any
required
currentValue
any

Response

Recommendation applied; response includes previous and new value.