Drafts

Get a Draft

GET
/drafts/{draft_id}

Returns the Draft's status. An open Draft also reports its typed reason when action is required, next version and its source, readiness, checks, and conflict counts. The response carries an ETag; send it in If-Match when updating the Draft to avoid changing a newer version selection.

AuthorizationBearer <token>

Organization API key from the console (ak_...), or an OAuth access token with user:org:read, the organization selected during consent, and the capability required by the operation.

In: header

Path Parameters

draft_id*string

Unique identifier for a Draft.

Match^drf_[a-z0-9]{16}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/drafts/drf_3q7m1v8k2p5d9h4c"

{  "id": "drf_3q7m1v8k2p5d9h4c",  "object": "draft",  "target_id": "tgt_5m8q2v7k1p9d4h6c",  "project_id": "prj_4k8m2v7q1p9d5h6c",  "status": "ready",  "version_next": "1.1.0",  "version_source": "automatic",  "readiness": {    "status": "success",    "description": "All required checks passed.",    "compatibility_api": "compatible",    "compatibility_package": "compatible",    "version_correct": true,    "bump_required": "minor",    "version_previous": "1.0.0",    "title_error": null  },  "changes": {    "changelog": "Add shipment tracking.",    "breaking_count": 0,    "version_previous": "1.0.0"  },  "head_sha": "0123456789abcdef0123456789abcdef01234567",  "pull_request": {    "url": "https://github.com/parcel-example/parcel-client/pull/12",    "number": 12  },  "generation_id": "gen_7h2p5d9c3m8w1k6q",  "conflicts": null,  "customized_files": 2,  "release_id": null,  "created_at": "2026-09-23T08:00:00Z",  "updated_at": "2026-09-23T08:30:00Z",  "history_recovery": null,  "request_id": "req_3k8m1v6q9p2d7h4c",  "checks": []}