List Work Item Enhance artifacts

Returns generated design notes, implementation plans, read-only code-context summaries, test plans, and risk checks.

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

Authorization

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

Path parameters

idstringrequired
Enhancement run id

Example: wie_01k6...

Query parameters

typestringoptional
Filter artifacts by type. type=code_context also requires work-item-enhance:code-context.

Request

curl -X GET "https://www.digitalstack360.com/api/v1/work-item-enhancements/wie_01k6.../artifacts" \
  -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": "artifact_01k6...",
      "type": "implementation_plan",
      "title": "Implementation plan"
    }
  ],
  "meta": {
    "count": 1
  }
}

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

Reading code-context artifacts requires work-item-enhance:code-context in addition to work-item-enhance:read

400
artifact_type_not_allowed

type is not one of the artifact types supported by Work Item Enhance