Stage a sealed Evaluation source asset in the bound Agent workspace

POST/v1/evaluations/runs/{runId}/source-assets/{sourceAssetId}/stage

Stages one immutable, digest-verified source asset referenced by the exact Evaluation case into the workspace of the Agent target pinned by the run binding. The caller must present the active run execution lease. Cross-run, cross-case, cross-version, and cross-environment staging is rejected.

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
sourceAssetIdpathstringYes
Query parameters
None.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
caseIdstringYes
executionLeaseobjectYes
executionLease.ownerstringYes
executionLease.tokenstringYes

What the API returns

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

200Source asset staged in the immutable target workspaceapplication/json
FieldTypeRequiredDescription
attachmentobjectYes
attachment.idstringYesUnique identifier.
attachment.filenamestringYes
attachment.mimeTypestringYes
attachment.sizeintegerYes
attachment.typeimage | documentYes
attachment.gcsPathstringYes
attachment.urlstringYes
attachment.uploadedAtstringYes
attachment.workspacePathstringYes
attachment.environmentIdstringYesComputer ID.
attachment.immutableUristringYes
attachment.sha256stringYes
400Invalid staging request
None.
401Missing or invalid workload credential
None.
403Workload credential or organization is out of scope
None.
404Run
None.
409Run lease or immutable target binding is no longer valid
None.
503Artifact storage or source content is unavailable
None.
Stage a sealed Evaluation source asset in the bound Agent workspace
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow