v3
proving

Test the agent's unpublished draft against its tests (returns immediately, runs in the background)

post/v3/proving/agents/{agent_id}/run-draft

Request

  • Base URL
    https://api.mentium.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

agent_idstring uuid required

Headers

mentium-workspace-idstring nullable

Request body

scenario_idsstring[] nullable

The tests to run; every test in the agent's suite when omitted

yaml_contentstring nullable

The draft to test, as agent.yaml; the agent's saved draft when omitted, and the live agent when it has none

Response

Successful Response

idstring required
agent_idstring required
agent_revision_idstring nullable

The revision this run evaluates, when it is one of a revision's runs

scenario_idstring required
status'pending' | 'running' | 'completed' | 'failed' required
passedboolean nullable
error_messagestring nullable
duration_secondsnumber nullable
recording_urlstring nullable

A phone run's call audio, agent left and carrier right: a one-hour link on GET /runs/{id}, null in lists and the stream

releasestring nullable

The release a staging deploy's run tested

image_tagstring nullable

The image tag a staging deploy's run tested

mentium_created_atstring date-time required
mentium_updated_atstring date-time required

Changes

No recorded changes to this operation across all 2 revisions of this API.