client.runs.
client.runs.start
Start a run from an uploaded agent name or complete contract.
Signature
required · str |
AgentContractRequestrequired · str
optional · str | None · default:
optional · int · default:
optional · Sequence[str] | None · default:
optional · str | None · default:
optional · str | None · default:
optional · str | None · default:
optional · str | None · default:
optional · str | None · default:
optional · Mapping[str, str] | None · default:
optional · Mapping[str, str] | None · default:
optional · Mapping[str, str] | None · default:
optional · Sequence[int] | None · default:
optional · bool · default:
StartBenchmarkResponse
For examples, see the Python SDK guide.
client.runs.fetch
Fetch the latest state of a run.
Signature
required · UUID
FetchBenchmarkResponse
For examples, see the Python SDK guide.
client.runs.list
List runs using typed filters and pagination.
Signature
optional ·
FetchBenchmarksRequest | None · default: FetchBenchmarksResponse
For examples, see the Python SDK guide.
client.runs.stream
Yield typed updates until the run completes or disconnects.
Signature
required · UUID
FetchBenchmarkResponse]
For examples, see the Python SDK guide.
client.runs.results
Fetch final results or upload them and return S3 links.
Overload 1
Overload 2
Overload 3
required · UUID
optional · Sequence[str] | None · default:
optional · bool · default:
For examples, see the Python SDK guide.
client.runs.metadata
Fetch the stored launch metadata for a run.
Signature
required · UUID
FetchBenchmarkMetadataResponse
For examples, see the Python SDK guide.
client.runs.results_exist
Check whether the canonical result file already exists in S3.
Signature
required · UUID
ResultsExistResponse
For examples, see the Python SDK guide.
client.runs.analyze
Yield typed progress events while analyzing a finished run.
Signature
required · UUID
optional · bool · default:
optional · str | None · default:
AnalyzeEvent]
For examples, see the Python SDK guide.
client.runs.stream_outputs
Yield chunks from the tar archive containing run outputs.
Signature
required · UUID
optional · Sequence[str] | None · default:
client.runs.stop
Stop a run or selected tasks.
Signature
required · UUID
optional · bool · default:
optional · Sequence[str] | None · default:
StopBenchmarkResponse
For examples, see the Python SDK guide.
client.runs.resume
Resume unfinished work for a run.
Signature
required · UUID
optional · int | None · default:
optional · Sequence[str] | None · default:
optional · Mapping[str, str] | None · default:
optional · Mapping[str, str] | None · default:
optional · bool · default:
optional · str | None · default:
RetryOrResumeBenchmarkResponse
For examples, see the Python SDK guide.
client.runs.retry
Retry failed or selected work for a run.
Signature
required · UUID
optional · int | None · default:
optional · Sequence[str] | None · default:
optional · Mapping[str, str] | None · default:
optional · Mapping[str, str] | None · default:
optional · bool · default:
optional · str | None · default:
RetryOrResumeBenchmarkResponse
For examples, see the Python SDK guide.