Prepare bounded context for an Agent turn

POST
/v1/context/prepare

Prepare final, ephemeral context from Runtime-owned sources without persisting or injecting it.

Authorization

BearerAuth
AuthorizationBearer <token>

Static bearer token used when local Server authentication is enabled.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/context/prepare" \  -H "Content-Type: application/json" \  -d '{    "scope_id": "string",    "query": "string"  }'
{  "schema": "powercontext.prepared-context.v1",  "status": "ready",  "content": "string",  "content_bytes": 0}