Search structured context
Searches governed persisted context by term, summary, contribution type, and proposal key. This is deterministic retrieval, not arbitrary model execution.
GET
/api/v1/context-engine/searchAuthorization
context-engine:readapi key scoperequiredRequired scope when calling with an API key.
Query parameters
querystringrequiredSearch text
Example: rollout terminology
limitnumberoptionalMaximum results, 1–100
Example: 25
contribution_typestringoptionalExact contribution-type filter
providerstringoptionalExact provider/promoter filter
statusstringoptionalPackage status filter
project_idstringoptionalOnly packages linked through adoption workspace to this project UUID.
Example: 24ea6df2-7f4c-4c32-9fc1-6c8a0cb5b4b2
engagement_idstringoptionalOnly packages linked through project to this commercial engagement UUID.
Request
curl -X GET "https://www.digitalstack360.com/api/v1/context-engine/search?query=rollout terminology&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": [
{
"score": 2,
"package": {
"id": "9c9f22ac-8b6a-4a72-8145-9d1714f8af52",
"status": "ready",
"term": "Retail rollout"
}
}
],
"meta": {
"query": "rollout terminology",
"total_count": 1,
"truncated": false
}
}Errors
401
missing_authNo credentials provided
401
invalid_api_keyAPI key is invalid or revoked
400
invalid_requestquery is empty or limit is invalid
403
scope_insufficientKey lacks context-engine:read scope