Retrieve a Work Item Enhance run

Returns run state, target, requested actions, drafts, artifacts, evidence references, and allowed next actions.

GET/api/v1/work-item-enhancements/:id

Authorization

work-item-enhance:readapi key scoperequired
Required scope when calling with an API key.

Path parameters

idstringrequired
Enhancement run id

Example: wie_01k6...

Request

curl -X GET "https://www.digitalstack360.com/api/v1/work-item-enhancements/wie_01k6..." \
  -H "Authorization: Bearer $DS_API_KEY"

Examples use a placeholder key from your environment. Store your key in $DS_API_KEY — never commit it.

Response

200 OK
{
  "data": {
    "id": "wie_01k6...",
    "state": "needs_review",
    "drafts": [],
    "artifacts": []
  }
}

Errors

401
missing_auth

No credentials provided

401
invalid_api_key

API key is invalid or revoked

404
run_not_found

Run does not exist or is outside the resolved workspace

403
scope_insufficient

Runs containing code-context artifacts require work-item-enhance:code-context to read those artifacts