Skip to content

Interface: SetGoalStatusRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SetGoalStatusRequest

Defined in: src/types/cognitive.ts:1481

Request to transition a goal to a terminal status.

The tenant is taken from the authenticated principal, never from the body — this request carries no tenantId. The goal must belong to agentId.

await client.cognitive.setGoalStatus({
agentId,
goalId,
status: 'completed',
});

agentId: string

Defined in: src/types/cognitive.ts:1483

Agent that owns the goal (UUID).


goalId: string

Defined in: src/types/cognitive.ts:1485

Goal term ID as returned by addGoal (UUID).


status: GoalStatusUpdate

Defined in: src/types/cognitive.ts:1487

Terminal status to apply.