Objectives
Objectives let you capture company, team or personal goals as part of the OKR process.
The Objective Object
Attribute
Type
Description
id
string
Unique objective identifier
name
string
Name of the objective
created_at
string
Time when the objective was created. RFC 3339 format
modified_at
string
Time when the objective was last updated. RFC 3339 format
team_id
string, nullable
Unique team identifier. Indicates the team assigned to the objective
assignee_id
string, nullable
Unique user identifier. Indicates the user assigned to the objective
description
string, nullable
Description of the objective
is_personal
bool
Flag indicating whether this is a personal objective
is_company
bool
Flag indicating whether this is a company objective
parent_objective_id
string, nullable
Unique objective identifier. Indicates objective alignment
cycle_id
string
Unique delivery cycle identifier. Indicates the delivery cycle this objective belongs to
Example:
Create Objective
POST
https://api.simpleokr.com/v1/objectives
Create a new Objective.
Request Body
parent_objective_id
string
Existing Objective ID. Indicates parent objective.
cycle_id
string
Cycle ID.
is_company
boolean
When true, mark objective as company objective.
is_personal
boolean
When true, mark objective as personal objective.
description
string
Short objective description.
assignee_id
string
User ID. Indicates the user assigned to the objective.
team_id
string
Team ID. Indicates the team assigned to the objective.
name
string
Name of the objective.
Update Objective
POST
https://api.simpleokr.com/v1/objectives/:id
Update an existing new Objective.
Path Parameters
id
string
ID of the objective that you want to update.
Request Body
parent_objective_id
string
Existing Objective ID. Indicates parent objective.
cycle_id
string
Cycle ID.
is_company
boolean
When true, mark objective as company objective.
is_personal
boolean
When true, mark objective as personal objective.
description
string
Short objective description.
assignee_id
string
User ID. Indicates the user assigned to the objective.
team_id
string
Team ID. Indicates the team assigned to the objective.
name
string
Name of the objective.
List Objectives
GET
https://api.simpleokr.com/v1/objectives
Returns a list of available objectives.
Query Parameters
page_token
string
Page identifier
cycle_id
string
Cycle ID for which to return Objectives
Retrieve Objective
GET
https://api.simpleokr.com/v1/objectives/:id
Retrieve details about the existing objective.
Path Parameters
id
string
Objective ID
Delete Objective
DELETE
https://api.simpleokr.com/v1/objectives/:id
Delete an existing Objective and all data associated with it.
List Key Results
GET
https://api.simpleokr.com/v1/objectives/:id/keyresults
List Key Results for an existing objective.
Path Parameters
id
string
Objective ID
Create Key Result
POST
https://api.simpleokr.com/v1/objectives/:id/keyresults
Add a new Key Result to an existing Objective
Path Parameters
id
string
Objective ID
Request Body
confidence
string
Decimal string value between 0 and 1.
target_value_max
string
Maximum target value where applicable.
target_value_min
string
Minimum target value where applicable.
current_value
string
Decimal string representing starting value.
type
string
Key Result type.
name
string
Key Result name.
Last updated