Context Engine overview
Returns Context Engine availability, package and provider counts, freshness posture, supported read capabilities, and recent governed packages.
GET
/api/v1/context-engineAuthorization
context-engine:readapi key scoperequiredRequired scope when calling with an API key.
Query parameters
project_idstringoptionalLimit counts and recent packages to this project UUID.
Example: 24ea6df2-7f4c-4c32-9fc1-6c8a0cb5b4b2
engagement_idstringoptionalLimit counts and recent packages to this commercial engagement UUID.
Request
curl -X GET "https://www.digitalstack360.com/api/v1/context-engine?project_id=24ea6df2-7f4c-4c32-9fc1-6c8a0cb5b4b2" \
-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": {
"status": "available",
"packageCount": 12,
"providerCount": 5,
"freshness": {
"ready": 10,
"stale": 1,
"superseded": 1
},
"capabilities": [
"natural_language_query",
"structured_search",
"packages",
"evidence",
"provenance",
"coverage",
"providers"
],
"recentPackages": []
}
}Errors
401
missing_authNo credentials provided
401
invalid_api_keyAPI key is invalid or revoked
403
scope_insufficientKey lacks context-engine:read scope