GET /v8/context-twin/goals endpoint returns the active goals registered in the context twin associated with your Praxa deployment. The context twin is a persistent, stateful representation of your deployment’s current operating context — it tracks long-horizon goals, standing objectives, and organisational constraints that missions can consult to align their behaviour without requiring you to re-specify them in every mission’s goal specification. Retrieving the goal list lets you audit what standing objectives are currently active and verify that they reflect your intent before launching a new mission.
Endpoint
context:read
Required headers:
Example Request
Response
Status:200 OK
The response body is a purpose- and compartment-filtered array of goal objects. Only goals that your principal is permitted to read under the context:read scope are returned — goals outside your compartment or purpose boundary are silently excluded.
Example 200 response
About the Context Twin
The context twin is a standing, deployment-scoped store of goals, constraints, and operating preferences that persists independently of individual mission runs. Think of it as your deployment’s long-term memory for what it should be doing, as opposed to the ephemeral state of what it is currently doing in a given mission. Missions consult the context twin automatically at planning time to align their step plans with your standing objectives. You can read goals with thecontext:read scope; modifying the context twin requires the context:write scope.
Error Responses
All errors follow RFC 9457 Problem Details.SDK Equivalent
Promise<JsonValue>