Create an eval run
Queues an asynchronous batch. API-key clients cannot request tool_policy=live here; use create_live_eval_run with the additional live-tool scope. The maximum encoded request body is 262144 bytes. Poll Location after Retry-After. Replaying the same Idempotency-Key returns the original run without queuing a duplicate.
bearerAuthAuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
Idempotency-Key*stringRequired. Reuse the same key to retry this write safely. Retries and idempotency.
^[A-Za-z0-9!#$%&'*+.^_`|~-]+$1 <= length <= 255application/json- body
agent_id*stringuuidagent_version_id?stringuuidsuite_id*stringuuidmode*"text"Mode to run. Only text is supported.
"text"concurrency?integerZero selects the mode default; the server clamps against current workspace headroom.
0 <= value <= 10000tool_policy?stringAPI keys must use create_live_eval_run for live tool execution.
"dry_run""dry_run""mocked"runtime_profile?Evaluation behavior and optional platform catalog references. Internal model, provider and upstream voice names are not accepted; select the corresponding catalog UUID.
Run accepted and queued.
application/json- response
id*stringuuideffective_concurrency*integerRequested value after mode defaults and current workspace headroom clamping; the deployment cap is configurable.
1 <= value <= 1000total*integer1 <= valuecurl -X POST 'https://api.kejue.co/v1/eval-runs' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978", "suite_id": "3e9c08eb-436b-4d4b-9cfe-ca21d8bdb99b", "mode": "text"}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "effective_concurrency": 1, "total": 1}