Run tests on agent
Run selected tests on the agent with provided configuration. If the agent configuration is provided, it will be used to override default agent configuration.
パスパラメータ
agent_id
The id of an agent. This is returned on agent creation.
ヘッダー
xi-api-key
リクエスト
This endpoint expects an object.
tests
List of tests to run on the agent
agent_config_override
Configuration overrides to use for testing. If not provided, the agent's default configuration will be used.
branch_id
ID of the branch to run the tests on. If not provided, the tests will be run on the agent's main branch.
repeat_count
Number of times to run each test. When greater than 1, results are grouped and summarized.
レスポンス
Successful Response
id
test_runs
agent_id
branch_id
version_id
ran_against_draft
created_at
folder_id
repeat_count
bucketing_status
None when repeat_count==1 (no bucketing). Otherwise tracks bucketing lifecycle.
許可された値:
result_groups
エラー
422
Agents Run Tests Request Unprocessable Entity Error