Admiral
Agent

Upload a plan's diffs

POST
/v1/agent/jobs/plan-diff

Scope: agent:exec

Authorization

bearerAuth
AuthorizationBearer <token>

Personal Access Token (PAT) or Service Access Token (SAT). Pass the token in the Authorization header: Bearer admp_...

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/agent/jobs/plan-diff" \  -H "Content-Type: application/json" \  -d '{    "attempt": {      "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f"    },    "diff": {}  }'
{  "diff_digest": "string"}