Acquire or idempotently renew an evaluation run execution lease

POST/v1/evaluations/runs/{runId}/lease

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
runIdpathstringYes—
Query parameters
None.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
ownerstringYes—
ttlMsintegerNo—

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Acquired execution leaseapplication/json
FieldTypeRequiredDescription
leaseobjectYes—
lease.runIdstringYes—
lease.ownerstringYes—
lease.tokenstringNo—
lease.attemptintegerYes—
lease.acquiredAtstringNo—
lease.expiresAtstringYes—
lease.heartbeatAtstringNo—
runobjectYes—
run.idstringYesUnique identifier.
run.checkpointCountintegerNoNumber of durably accepted cases; not a quality score.
run.summaryViewbooleanNoTrue for compact run listings without case payloads or evidence.
run.totalCountintegerNo—
run.scoredCountintegerNo—
run.passedCountintegerNo—
run.failedCountintegerNo—
run.errorCountintegerNo—
run.skippedCountintegerNo—
run.missingCountintegerNo—
run.evaluationIdstringNo—
run.targetTypeagent | function | metronome | service_topology | noneNo—
run.targetIdstringNo—
run.targetVersionIdstringNo—
run.targetVersionNumberintegerNo—
run.targetInvocationobjectNo—
run.targetInvocation.methodGET | POST | PUT | PATCH | DELETENo—
run.targetInvocation.pathstringNoWorkspace-relative file path.
run.targetInvocation.timeoutMsintegerNo—
run.agentIdstringNoAgent ID.
run.environmentIdstringNoComputer ID.
run.versionIdstringNo—
run.purposediagnostic | development | optimization | release | external_validationNo—
run.statusqueued | running | completed | completed_with_errors | failed | cancelledYesCurrent lifecycle status.
run.averageScorenumberNo—
run.passRatenumberNo—
run.costUsdnumberNo—
run.runFingerprintstringNo—
run.evidenceobjectNo—
run.evidence.schemaVersioncomputer_agents_evaluation_run_evidence_v2Yes—
run.evidence.runIdstringYes—
run.evidence.evaluationobjectYes—
run.evidence.evaluation.idstringYesUnique identifier.
run.evidence.evaluation.versionIdstringYes—
run.evidence.evaluation.versionNumberintegerYes—
run.evidence.evaluation.purposediagnostic | development | optimization | release | external_validationYes—
run.evidence.evaluation.evaluationFingerprintstringYes—
run.evidence.evaluation.datasetFingerprintstringYes—
run.evidence.targetobjectYes—
run.evidence.target.bindingStatuscontrol_plane_pinned | legacy_unverifiedYes—
run.evidence.target.agentIdstringYesAgent ID.
run.evidence.target.agentVersionIdstringYes—
run.evidence.target.agentVersionNumberintegerYes—
run.evidence.target.agentVersionStatusstringYes—
run.evidence.target.targetTypeagent | function | metronome | service_topology | noneYes—
run.evidence.target.targetIdstringYes—
run.evidence.target.targetVersionIdstringYes—
run.evidence.target.targetVersionNumberintegerYes—
run.evidence.target.targetFingerprintstringYes—
run.evidence.executionContextobjectYes—
run.evidence.executionContext.environmentIdstringYesComputer ID.
run.evidence.statuscompleted | completed_with_errors | failed | cancelledYesCurrent lifecycle status.
run.evidence.metricsobjectYes—
run.evidence.metrics.totalCountintegerYes—
run.evidence.metrics.reportedCountintegerYes—
run.evidence.metrics.scoredCountintegerYes—
run.evidence.metrics.passedCountintegerYes—
run.evidence.metrics.failedCountintegerYes—
run.evidence.metrics.errorCountintegerYes—
run.evidence.metrics.skippedCountintegerYes—
run.evidence.metrics.missingCountintegerYes—
run.evidence.metrics.averageScorenumberYes—
run.evidence.metrics.passRatenumberYes—
run.evidence.costobjectYes—
run.evidence.cost.usdnumberYes—
run.evidence.cost.legacyComputeTokensnumberYes—
run.evidence.evaluatorobjectYes—
run.evidence.evaluator.evaluatorFingerprintstringYes—
run.evidence.evaluator.systemFingerprintstringYes—
run.evidence.generatedAtstringYes—
run.evidence.resultSetFingerprintstringYes—
run.evidence.reportFingerprintstringYes—
run.evidence.provenanceobjectYes—
run.evidence.provenance.schemaVersioncomputer_agents_evaluation_run_evidence_provenance_v1Yes—
run.evidence.provenance.sourceexecution_worker | api_client | computer_agents_thread | legacy_importYes—
run.evidence.provenance.trustLevelself_reported | verified_workerYes—
run.evidence.provenance.verificationStatusunverified | verifiedYes—
run.evidence.provenance.executorobjectYes—
run.evidence.provenance.executor.kindstringYes—
run.evidence.provenance.executor.idstringYesUnique identifier.
run.evidence.provenance.attestationobjectYes—
run.evidence.provenance.attestation.schemaVersioncomputer_agents_evaluation_execution_attestation_v1Yes—
run.evidence.provenance.attestation.attestationIdstringYes—
run.evidence.provenance.attestation.workerIdstringYes—
run.evidence.provenance.attestation.dispatchIdstringYes—
run.evidence.provenance.attestation.workerAssertionIdstringYes—
run.evidence.provenance.attestation.credentialIdstringYes—
run.evidence.provenance.attestation.claimAttemptintegerYes—
run.evidence.provenance.attestation.runIdstringYes—
run.evidence.provenance.attestation.evaluationIdstringYes—
run.evidence.provenance.attestation.evaluationVersionIdstringYes—
run.evidence.provenance.attestation.evaluationFingerprintstringYes—
run.evidence.provenance.attestation.datasetFingerprintstringYes—
run.evidence.provenance.attestation.targetTypeagent | function | metronome | service_topology | noneYes—
run.evidence.provenance.attestation.targetIdstringYes—
run.evidence.provenance.attestation.targetVersionIdstringNo—
run.evidence.provenance.attestation.targetAgentIdstringNo—
run.evidence.provenance.attestation.targetAgentVersionIdstringNo—
run.evidence.provenance.attestation.targetFingerprintstringYes—
run.evidence.provenance.attestation.environmentIdstringNoComputer ID.
run.evidence.provenance.attestation.resultSetFingerprintstringYes—
run.evidence.provenance.attestation.reportFingerprintstringYes—
run.evidence.provenance.attestation.issuedAtstringYes—
run.evidence.provenance.attestation.verifiedAtstringYes—
run.evidence.resultsobject[]Yes—
run.evidence.results[].caseIdstringYes—
run.evidence.results[].namestringNoHuman-readable name.
run.evidence.results[].statuspassed | failed | error | skippedYesCurrent lifecycle status.
run.evidence.results[].scorenumberNo—
run.evidence.results[].outputobjectNo—
run.evidence.results[].explanationstringNo—
run.evidence.results[].errorstringNo—
run.evidence.results[].durationMsintegerNo—
run.evidence.results[].evaluatorobjectNo—
run.evidence.results[].metadataobjectNoFree-form metadata object.
run.evidence.fingerprintstringYes—
run.evidence.signatureobjectNo—
run.evidence.signature.schemaVersioncomputer_agents_evaluation_evidence_signature_v1Yes—
run.evidence.signature.providergoogle_cloud_kmsYes—
run.evidence.signature.keyVersionstringYes—
run.evidence.signature.algorithmstringYes—
run.evidence.signature.signedFingerprintstringYes—
run.evidence.signature.signaturestringYes—
run.evidence.signature.signedAtstringYes—
run.evidenceSchemaVersionstringNo—
run.evidenceFingerprintVerifiedbooleanNo—
run.evidenceSourcestringNo—
run.evidenceTrustLevelstringNo—
run.evidenceVerificationStatusstringNo—
run.evidenceProvenanceVerifiedbooleanNo—
run.evidenceAttestationIdstringNo—
run.evidenceSignatureStatusunsigned | kms_signed | invalidNo—
run.evidenceSignatureKeyVersionstringNo—
run.evidenceSignatureAlgorithmstringNo—
run.createdAtstringNoISO 8601 timestamp.
run.updatedAtstringNoISO 8601 timestamp.
run.completedAtstringNoISO 8601 timestamp.
409Lease held by another worker
None.
Acquire or idempotently renew an evaluation run execution lease
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow