Create test run
Creates and enqueues a test run for the automation. Optional testContextDoc (IDoc) is merged with the base prompt. Returns the created run id.
/automations/{id}/test-runAuthorizationOAuth2 access token · headerrequiredapi:writeAuthorizationBearer token (JWT) · headerrequiredidstringrequiredfieldsToReturnstringComma-separated list of top-level response fields to return. Overrides the endpoint compact default unless responseShape=full is used.
responseShapestringAdvanced override. Omit for the endpoint compact default. Use full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
compactfullLT-Response-ShapestringAdvanced override. Set to full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
fullapplication/jsonobjectautomationIdstringrequiredAutomation ID
idstringrequiredCreated run ID
statusstringrequiredRun status (queued)
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions