List Work Item Enhance drafts
Returns generated field-level drafts with confidence, evidence references, and apply eligibility.
GET
/api/v1/work-item-enhancements/:id/draftsAuthorization
work-item-enhance:readapi key scoperequiredRequired scope when calling with an API key.
Path parameters
idstringrequiredEnhancement run id
Example: wie_01k6...
Query parameters
actionstringoptionalFilter drafts by generating action
fieldstringoptionalFilter drafts by target field
apply_eligiblebooleanoptionalFilter by whether the draft can be applied
Example: true
Request
curl -X GET "https://www.digitalstack360.com/api/v1/work-item-enhancements/wie_01k6.../drafts" \
-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": "draft_01k6...",
"field": "description",
"apply_eligible": true
}
],
"meta": {
"count": 1
}
}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