Build agent context
POST /api/v1/memory/context
POST
/api/v1/memory/context
Assemble a context window for a specific agent and task description. Pulls relevant memory crystals, business profile, and Founder DNA within a token budget.
Authorizations
Request Body required
Request body for the build-context endpoint.
Attributes: agent_role: The role of the agent needing context. task_description: Description of the task to assemble context for.
object
agent_role
required
Agent role requesting context
string
task_description
required
Description of the agent task
string
Responses
200
Successful Response
Response envelope for the build-context endpoint.
Attributes: data: Assembled context with token count and excluded blocks.
object
data
required
object
key
additional properties
any
422
Validation Error
object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string