Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/onplana-com:onplana-com-goals-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Onplana Goals API
version: 1.0.0
description: AI-native Project Management System REST API. All org-scoped routes require the `X-Organization-Id` header. Most routes require a Bearer JWT obtained from `/auth/login`.
servers:
- url: /api
security:
- bearerAuth: []
- patAuth: []
tags:
- name: Goals
description: OKR goals and key results (STARTER+)
paths:
/goals:
get:
tags:
- Goals
summary: List OKR goals in the organization (STARTER+)
parameters:
- $ref: '#/components/parameters/OrgHeader'
responses:
'200':
description: Array of goals with key results
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
operationId: getGoals
x-operation-id-source: derived
post:
tags:
- Goals
summary: Create a goal (STARTER+)
parameters:
- $ref: '#/components/parameters/OrgHeader'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
title:
type: string
minLength: 1
maxLength: 200
description:
type: string
maxLength: 10000
type:
type: string
enum:
- OBJECTIVE
- KEY_RESULT
- INITIATIVE
parentId:
type: string
description: Parent goal id for nested OKRs; must be one of this organization's (400 otherwise)
projectIds:
maxItems: 500
type: array
items:
type: string
description: Projects the goal is linked to; each must be one of this organization's (400 otherwise)
startDate:
type: string
description: A date, YYYY-MM-DD or an ISO 8601 timestamp
dueDate:
type: string
description: A date, YYYY-MM-DD or an ISO 8601 timestamp. On or after startDate
projectId:
type: string
description: 'One project to link, the same as projectIds: [projectId]; ignored when projectIds is sent'
required:
- title
responses:
'201':
description: Goal created
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
operationId: postGoals
x-operation-id-source: derived
/goals/{id}:
put:
tags:
- Goals
summary: Update a goal (STARTER+)
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Goal UUID
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
title:
type: string
minLength: 1
maxLength: 200
description:
type: string
maxLength: 10000
status:
type: string
enum:
- NOT_STARTED
- ON_TRACK
- AT_RISK
- BEHIND
- COMPLETED
- CANCELLED
startDate:
nullable: true
type: string
description: A date, YYYY-MM-DD or an ISO 8601 timestamp; null clears
dueDate:
nullable: true
type: string
description: A date, YYYY-MM-DD or an ISO 8601 timestamp; null clears. On or after startDate when both are sent
projectIds:
maxItems: 500
type: array
items:
type: string
description: Replaces the goal's project links; each must be one of this organization's
responses:
'200':
description: Updated goal
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
'403':
description: Forbidden - insufficient role
operationId: putGoalsById
x-operation-id-source: derived
delete:
tags:
- Goals
summary: Delete a goal (STARTER+)
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Goal UUID
responses:
'204':
description: Goal deleted
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
'403':
description: Forbidden - insufficient role
operationId: deleteGoalsById
x-operation-id-source: derived
/goals/{id}/key-results:
post:
tags:
- Goals
summary: Add a key result to a goal (STARTER+)
description: The goal's progress is recalculated from its key results.
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Goal id
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
title:
type: string
minLength: 1
maxLength: 200
targetValue:
type: number
minimum: 0
exclusiveMinimum: true
unit:
type: string
description: Defaults to %
startValue:
type: number
description: Defaults to 0
rollupMethod:
type: string
enum:
- TASK_COUNT
- TASK_PERCENTAGE
description: Left out, the value is entered by hand (PUT /goals/key-results/{krId}/update); otherwise it is calculated from linked tasks
required:
- title
- targetValue
responses:
'201':
description: The key result
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
'404':
description: Goal not found
operationId: postGoalsByIdKeyResults
x-operation-id-source: derived
/goals/key-results/{krId}/update:
put:
tags:
- Goals
summary: Check in a new value on a key result (STARTER+)
description: 'Only for a key result whose value is entered by hand: one calculated from linked tasks answers 400. The goal''s progress is recalculated.'
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: krId
in: path
required: true
schema:
type: string
description: Key result id
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
value:
type: number
description: The new current value
note:
type: string
description: Why it moved. Trimmed; a blank note is stored as none; more than 1024 characters after trimming answers 400 VALIDATION
required:
- value
responses:
'200':
description: The updated key result
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
'404':
description: Key result not found
operationId: putGoalsKeyResultsByKrIdUpdate
x-operation-id-source: derived
components:
parameters:
OrgHeader:
name: X-Organization-Id
in: header
required: true
description: UUID of the active organization. Sets org context for all scoped operations.
schema:
type: string
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
patAuth:
type: apiKey
in: header
name: Authorization
description: 'Personal Access Token: `Authorization: Bearer pat_<token>`. Org context is embedded in the token - no `X-Organization-Id` header required.'
oauthApp:
type: oauth2
description: Third-party OAuth app (confidential client). Register the app under Settings > Developer > OAuth apps; the person approving picks the workspace the token acts in. Tokens last 90 days and extend while in use; there is no refresh token, so a dormant connection re-consents.
flows:
authorizationCode:
authorizationUrl: /oauth/authorize
tokenUrl: /oauth/token
scopes:
tasks: Read and write the tasks assigned to the person, read their projects, log their time.
schedule: Read projects and create or update them (publish a schedule).
mcp: The MCP tool surface, as a member-capped agent persona.
webhooks: Create, list, change and delete the app's own webhook subscriptions.