Install and authenticate
You need Python 3.10 or newer and a Full access key from the dashboard’s API keys page. Replaceyour-api-key with that key. See installation for account setup.
Run one task
Save this aseval.py. It selects only anko-default-function-arguments from deepswe@1.1 and runs one trial with Codex and GPT-6 Luna.
eval.py
./results/.
Use attributes for jobs and trials, and dictionary keys for
stats. A completed job can contain failed trials. Read the trial’s status and reward; a missing value is not zero.
The example sets a $1 model-spend cap for this trial attempt and disables configured infrastructure retries. A model call already in progress can finish above the cap. Provider capacity waits can still occur. Closing the program does not cancel the job.
Show progress
Replace the program’swatch() call with one of these snippets inside the same async with block, after creating job.
Read a trial
Place this inside the sameasync with block, after the job finishes. It reads the trial’s normalized trace and its stored-file listing.
jobs.trials() reads one page; async for reads every page. The stored-file listing is also one page. Follow its next_cursor when present; see trial files.
Next step
Configure a job
Models, task filters, attempts, limits, and analysis.
Understand returned objects
Dataclasses, dictionaries, nullable values, and status fields.

