Automate evaluation runs
Updated 4 hours ago • October 18, 2026
Use automation after the application and its evaluation endpoint are deployed and ready. This flow requires a supported Studio project credential; Cloud CLI login is not implemented.
Optional post-deployment GitHub Actions step
Install and pin kortyx or @kortyx/cli in the application's lockfile. After your
existing deployment and readiness check, enqueue a suite:
This step returns after enqueueing and does not wait for grades or gate the
deployment. Inspect results in Studio or with runs get. Ensure the CI runner can
reach the Studio API, and the Studio API can reach the deployed consumer endpoint.
Use a key scoped to the intended project with studio:read and eval:run.
Each invocation creates a new run; your deployment workflow owns trigger frequency.
Good to know: A saved comparison does not freeze your application or external data. Keep the deployed revision and test actor stable, then use the comparison guide to interpret changes.
Deployment and scheduled CI examples
Kortyx has no native cron scheduler. CI can invoke the same CLI after a successful
deployment/readiness check, or on a schedule. Pin a compatible CLI in the lockfile,
provide a Studio project key with studio:read, eval:run, and environment access,
and ensure the CI runner can reach the Studio API.
Example post-deployment job step (after readiness):
For nightly checks, invoke that CLI step in a workflow with these triggers and
change --source deployment to --source schedule:
A trigger owns frequency and idempotency. --commit must identify the application
actually deployed; in a scheduled workflow, discover that commit from your
application's version endpoint instead of assuming the checked-out CI commit is
running on the server. An evaluation pins suite and judge definitions, but does
not freeze the deployment or external data while execution is in progress.
The grouped API is /v1/studio/evals/evaluations: POST creates a selection, GET
lists grouped/legacy history; /:id returns summary and suites, /:id/results
returns detailed results, and POST /:id/cancel cancels remaining work. Existing
/v1/studio/evals/runs endpoints continue to serve individual suite executions.
Apply migration 0007_evaluation_runs before deploying the new API. Browser and
CLI grouped operations require a compatible Studio/API release.
Next: Inspect saved results.