Initiatives

Use these operations to interact with Initiatives in Cortex.

Required permissions

  • Create, read, update, or delete Initiatives: Your API key must have the Edit Initiatives permission.

  • View Initiatives: Your API key must have the View Initiatives permission.

Operations

List Initiatives

get

Retrieves a list of Initiatives.

API key must have the View Initiatives permission.

Authorizations
AuthorizationstringRequired

All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.

Query parameters
includeDraftsbooleanOptional

Whether or not to include draft Initiatives in the response

Default: false
includeExpiredbooleanOptional

Whether or not to include expired Initiatives in the response

Default: false
pageSizeinteger · int32Required

Number of results to return per page, between 1 and 1000. Default 250.

Default: 250
pageinteger · int32Required

Page number to return, 0-indexed. Default 0.

Default: 0
Responses
200

Successfully retrieved Initiatives

application/json
get
/api/v1/initiatives

Get Initiative

get

Get Initiative.

API key must have the View Initiatives permission.

Authorizations
AuthorizationstringRequired

All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.

Path parameters
cidstringRequired
Responses
200

Successfully retrieved Initiative

application/json
get
/api/v1/initiatives/{cid}

Create an Initiative

post

Create an Initiative.

API key must have the Edit Initiative permission.

Authorizations
AuthorizationstringRequired

All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.

Body
descriptionstringOptional

Optional description of the Initiative

isDraftbooleanRequired

Whether or not the Initiative is a draft

namestringRequired

Name of the Initiative

scorecardTagstringRequired

Tag of the scorecard associated with the Initiative

targetDatestring · dateRequired

Target date for the Initiative to be completed. Must be in the future

Responses
200

Successfully created Initiative

application/json
post
/api/v1/initiatives

Update an Initiative

put

Update an Initiative.

API key must have the Edit Initiative permission.

Authorizations
AuthorizationstringRequired

All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.

Path parameters
cidstringRequired
Body
descriptionstringOptional

Optional description of the Initiative

isDraftbooleanRequired

Whether or not the Initiative is a draft

namestringRequired

Name of the Initiative

scorecardTagstringRequired

Tag of the scorecard associated with the Initiative

targetDatestring · dateRequired

Target date for the Initiative to be completed. Must be in the future

Responses
200

Successfully updated Initiative

application/json
put
/api/v1/initiatives/{cid}

Delete Initiative

delete
Authorizations
AuthorizationstringRequired

All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.

Path parameters
cidstringRequired
Responses
200

Successfully deleted Initiative

No content

delete
/api/v1/initiatives/{cid}

No content

Last updated

Was this helpful?