Skip to content

Queue a scripted golden-transcript release evaluation

POST
/v1/agents/{agent_id}/release-gate-evaluations
curl --request POST \
--url https://api.vocapable.com/v1/agents/example/release-gate-evaluations \
--header 'Authorization: Bearer <token>'

Queue one replay of the exact draft the customer sees now.

This route does not run a model or any tenant integration. It only snapshots the draft, locks the definition while it deduplicates a request retry, and leaves the deployment’s scripted release worker to later replay built-in goldens with sandboxed tools. Until that worker is deployed and claims the run, the customer-visible state remains queued.

agent_id
required
Agent Id
string

Successful Response

Media typeapplication/json
ReleaseGateEvaluationRequest

A duplicate request returns its existing durable queue row.

object
id
required
Id
string
agent_definition_id
required
Agent Definition Id
string
status
required
Status
string
Allowed values: queued running completed failed
mode
required
Mode
string
Allowed values: scripted_stand_in routing_chain
draft_hash
required
Draft Hash
string
draft_updated_at
required
Draft Updated At
string format: date-time
dataset_ref
Any of:
string
results
required
Results
object
key
additional properties
any
aggregate_score
Any of:
string
/^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$/
passed
required
Passed
boolean
created_at
required
Created At
string format: date-time
reused
required
Reused
boolean
Example
{
"status": "queued",
"mode": "scripted_stand_in"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}