v4

OpenAPI 3.1.02026-07-313621,3961.8 MB

Resubmit Tests

Resubmits specific test runs from a test invocation.

post/v1/convai/test-invocations/{test_invocation_id}/resubmit

Path parameters

test_invocation_idstring required

The id of a test invocation. This is returned when tests are run.

The id of a test invocation. This is returned when tests are run.

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Request body

test_run_idsstring[] required

List of test run IDs to resubmit

agent_idstring required

Agent ID to resubmit tests for

branch_idstring nullable

ID of the branch to run the tests on. If not provided, the tests will be run on the agent's main branch.

Response

Successful Response

{"stackTrail":"paths:/v1/convai/test-invocations/{test_invocation_id}/resubmit:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}