Check a final model request or complete raw response
Read-only privacy and current context-reuse admission. This operation does not retrieve, rewrite, call a model, or grant model execution authority. Only allow with complete coverage permits the corresponding phase. The execution adapter must send or release exactly the approved bytes before their deadline.
Authorization
BearerAuth Bearer credential resolved to an opaque authenticated Principal by the Server deployment.
In: header
Header Parameters
Only for before_send by an authenticated service principal authorized for gateway.invoke on this Scope as well as scope.read. Neither scope.read nor server.admin implies invocation.
falseRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/context/check" \ -H "Content-Type: application/json" \ -d '{ "scope_id": "string", "phase": "before_send", "target_profile": "string", "payload": { "schema": "powercontext.model-json-payload.v1", "headers": { "property1": "string", "property2": "string" }, "body": "string" }, "prepared_contexts": [ { "binding": "string", "location": { "schema": "powercontext.model-json-text-location.v1", "pointer": "string", "start_byte": 0, "end_byte": 1 } } ] }'{ "schema": "powercontext.context-check.v1", "phase": "before_send", "decision": "allow", "reason_codes": [ "string" ], "coverage": { "profile": "text-and-tools.v1", "complete": true }, "policy_version": "string", "valid_until": "2019-08-24T14:15:22Z", "correlate_until": "2019-08-24T14:15:22Z", "binding": "string", "target_endpoint": "string", "target_protocol": "openai-chat"}Prepare bounded context for an Agent turn POST
Prepare final, ephemeral context from Runtime-owned sources without persisting or injecting it. Retrieve bounded, query-specific PowerContext when additional assembled context is needed. Automatic recall already attempts this on supported lifecycle events; do not repeat it routinely or to satisfy an explicit save. A returned context value is not proof of host injection. Empty context is normal; use only the evidence actually returned.
Prepare bounded context for an Agent lifecycle boundary POST
Prepare an opt-in, deterministic bootstrap package without manufacturing a query. Only explicitly curated active Atomic Memory Artifacts and one caller-selected exact committed Handoff are eligible. Returned historical text is untrusted data and grants no authority. A ready receipt remains pending until the host records delivery. Reusing one stable event identity with different package-shaping fields is rejected with 422.

