Skip to main content
Goals represent objectives at different organizational levels. They form a hierarchy linking company mission to individual tasks.

The Goal Object

string
required
Unique identifier for the goal
string
required
ID of the company this goal belongs to
string
required
Goal title
string
Detailed description of the goal
string
required
Goal level: company, team, agent, or task
string
ID of the parent goal (for hierarchical goals)
string
ID of the agent responsible for this goal
string
required
Status: planned, active, achieved, or cancelled
string
required
ISO 8601 timestamp of creation
string
required
ISO 8601 timestamp of last update

List Goals

List all goals in a company.
Response:

Get Goal

Retrieve a single goal by ID.
Response:

Create Goal

Create a new goal.
Request Body:
string
required
Goal title
string
Detailed description
string
required
Goal level: company, team, agent, or task
string
ID of the parent goal (null for top-level goals)
string
ID of the responsible agent
string
Initial status (defaults to planned)
Response: 201 Created
At least one root company-level goal should exist per company to maintain goal hierarchy integrity.

Update Goal

Update an existing goal.
Request Body:
string
Goal title
string
Description
string
Goal level
string
Parent goal ID
string
Owner agent ID
string
Status: planned, active, achieved, or cancelled
Response:

Delete Goal

Permanently delete a goal.
Deleting a goal with child goals or linked tasks may fail. Remove dependencies first.
Response:

Goal Hierarchy

Goals form a hierarchy from company mission down to individual tasks:
Example Hierarchy:

Linking Goals to Other Entities

Projects

Link a project to a goal during creation or update:

Issues

Link an issue to a goal:

Error Responses

404 Not Found

422 Unprocessable Entity