Queue a scripted golden-transcript release evaluation
POST
/v1/agents/{agent_id}/release-gate-evaluations
const url = 'https://api.vocapable.com/v1/agents/example/release-gate-evaluations';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”agent_id
required
Agent Id
string
Responses
Section titled “Responses”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
mode
required
Mode
string
draft_hash
required
Draft Hash
string
draft_updated_at
required
Draft Updated At
string format: date-time
results
required
Results
object
key
additional properties
any
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>
ValidationErrorobject
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": {} } ]}