Get context package evidence

Returns policy-safe evidence references, provenance, and staleness for one package. Raw source bodies and unrestricted excerpts are excluded.

GET/api/v1/context-engine/packages/:id/evidence

Authorization

context-engine:readapi key scoperequired
Required scope when calling with an API key.

Path parameters

idstringrequired
Context package ID

Example: 9c9f22ac-8b6a-4a72-8145-9d1714f8af52

Request

curl -X GET "https://www.digitalstack360.com/api/v1/context-engine/packages/9c9f22ac-8b6a-4a72-8145-9d1714f8af52/evidence" \
  -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": "context-evidence:9c9f22ac-8b6a-4a72-8145-9d1714f8af52",
      "packageId": "9c9f22ac-8b6a-4a72-8145-9d1714f8af52",
      "provider": "adoption",
      "capability": "context_engine.contribution",
      "reference": {
        "kind": "canonical_object",
        "id": "5b87a6c6-746d-4690-a0d4-2c418bbcfe3d"
      },
      "untrustedFields": [
        "term",
        "summary"
      ]
    }
  ]
}

Errors

401
missing_auth

No credentials provided

401
invalid_api_key

API key is invalid or revoked

403
scope_insufficient

Key lacks context-engine:read scope

404
not_found

Package is outside the workspace or does not exist