Interface: SetGoalStatusRequest
@kortexya/reasoninglayer / Cognitive / SetGoalStatusRequest
Interface: SetGoalStatusRequest
Defined in: src/types/cognitive.ts:1291
Request to transition a goal to a terminal status.
Remarks
The tenant is taken from the authenticated principal, never from the body —
this request carries no tenantId. The goal must belong to agentId.
Example
await client.cognitive.setGoalStatus({ agentId, goalId, status: 'completed',});Properties
agentId
agentId:
string
Defined in: src/types/cognitive.ts:1293
Agent that owns the goal (UUID).
goalId
goalId:
string
Defined in: src/types/cognitive.ts:1295
Goal term ID as returned by addGoal (UUID).
status
status:
GoalStatusUpdate
Defined in: src/types/cognitive.ts:1297
Terminal status to apply.