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/:idAuthorization
work-item-enhance:readapi key scoperequiredRequired scope when calling with an API key.
Path parameters
idstringrequiredEnhancement 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_authNo credentials provided
401
invalid_api_keyAPI key is invalid or revoked
404
run_not_foundRun does not exist or is outside the resolved workspace
403
scope_insufficientRuns containing code-context artifacts require work-item-enhance:code-context to read those artifacts