Pencil Roadmap API
Goals, key results, initiatives, epics, and roadmap summaries.
Goals, key results, initiatives, epics, and roadmap summaries.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/pencil-ink:pencil-ink-roadmap-api"
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.
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: 3.2.0
info:
title: Pencil Public Roadmap API
version: 1.0.0
description: 'Programmatic access to Pencil tasks, projects, agents, ideas, content, phases, and meetings.
**Authentication.** Every request must send an org-scoped API key as a bearer token:
```
Authorization: Bearer pk_live_…
```
Create and manage keys in Pencil under **Settings → API Keys**. A key is scoped to a single organization — the org is determined by the key, so you never pass an org id. Each key carries a single coarse role:
- `read` — may call any `GET` endpoint.
- `write` — may additionally call `POST`/`PATCH`/`DELETE`. A read-only key calling a write endpoint gets `403`.
**Responses.** Single resources are wrapped as `{ "data": … }`. List endpoints return `{ "data": [...], "pagination": { "nextCursor": string | null, "hasMore": boolean } }`; pass the returned `nextCursor` back as the `cursor` query param to page. Errors use `{ "error": { "code": …, "message": … } }`.
**Rate limits.** Requests are limited per key. Exceeding the limit returns `429` with a `Retry-After` header (seconds until the window resets).'
servers:
- url: https://app.pencil.ink/api/v1
description: This deployment
security:
- bearerAuth: []
tags:
- name: Roadmap
description: Goals, key results, initiatives, epics, and roadmap summaries.
paths:
/goals:
get:
tags:
- Roadmap
summary: List goals
operationId: listGoals
parameters:
- name: productId
in: query
schema:
type: string
- name: status
in: query
schema:
type: string
- $ref: '#/components/parameters/Limit'
- $ref: '#/components/parameters/Cursor'
responses:
'200':
description: A page of resources.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/DurableObject'
pagination:
$ref: '#/components/schemas/Pagination'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
post:
tags:
- Roadmap
summary: Create goals
description: Requires a `write` key.
operationId: createGoals
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DurableObjectInput'
responses:
'201':
description: The resource.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DurableObject'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
/goals/{id}:
parameters:
- $ref: '#/components/parameters/PathId'
get:
tags:
- Roadmap
summary: Get goal
operationId: getGoal
responses:
'200':
description: The resource.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DurableObject'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
patch:
tags:
- Roadmap
summary: Update goal
description: Requires a `write` key.
operationId: updateGoal
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DurableObjectInput'
responses:
'200':
description: The resource.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DurableObject'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
delete:
tags:
- Roadmap
summary: Delete goal
description: Soft-deletes the resource. Requires a `write` key.
operationId: deleteGoal
responses:
'200':
description: Deletion acknowledged.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DeleteResult'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
/goals/{id}/key-results:
get:
tags:
- Roadmap
summary: List goal key results
operationId: listGoalKeyResults
parameters:
- $ref: '#/components/parameters/Limit'
- $ref: '#/components/parameters/Cursor'
responses:
'200':
description: A page of resources.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/DurableObject'
pagination:
$ref: '#/components/schemas/Pagination'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
post:
tags:
- Roadmap
summary: Create goal key results
description: Requires a `write` key.
operationId: createGoalKeyResults
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DurableObjectInput'
responses:
'201':
description: The resource.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DurableObject'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
/key-results/{id}:
parameters:
- $ref: '#/components/parameters/PathId'
get:
tags:
- Roadmap
summary: Get goal key result
operationId: getGoalKeyResult
responses:
'200':
description: The resource.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DurableObject'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
patch:
tags:
- Roadmap
summary: Update goal key result
description: Requires a `write` key.
operationId: updateGoalKeyResult
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DurableObjectInput'
responses:
'200':
description: The resource.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DurableObject'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
delete:
tags:
- Roadmap
summary: Delete goal key result
description: Soft-deletes the resource. Requires a `write` key.
operationId: deleteGoalKeyResult
responses:
'200':
description: Deletion acknowledged.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DeleteResult'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
/initiatives:
get:
tags:
- Roadmap
summary: List initiatives
operationId: listInitiatives
parameters:
- name: ownerId
in: query
schema:
type: string
- name: projectId
in: query
schema:
type: string
- name: productId
in: query
schema:
type: string
- name: customerId
in: query
schema:
type: string
- name: status
in: query
schema:
type: string
- $ref: '#/components/parameters/Limit'
- $ref: '#/components/parameters/Cursor'
responses:
'200':
description: A page of resources.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/DurableObject'
pagination:
$ref: '#/components/schemas/Pagination'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
post:
tags:
- Roadmap
summary: Create initiatives
description: Requires a `write` key.
operationId: createInitiatives
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DurableObjectInput'
responses:
'201':
description: The resource.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DurableObject'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
/initiatives/{id}:
parameters:
- $ref: '#/components/parameters/PathId'
get:
tags:
- Roadmap
summary: Get initiative
operationId: getInitiative
responses:
'200':
description: The resource.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DurableObject'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
patch:
tags:
- Roadmap
summary: Update initiative
description: Requires a `write` key.
operationId: updateInitiative
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DurableObjectInput'
responses:
'200':
description: The resource.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DurableObject'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
delete:
tags:
- Roadmap
summary: Delete initiative
description: Soft-deletes the resource. Requires a `write` key.
operationId: deleteInitiative
responses:
'200':
description: Deletion acknowledged.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DeleteResult'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
/epics:
get:
tags:
- Roadmap
summary: List epics
operationId: listEpics
parameters:
- name: ownerId
in: query
schema:
type: string
- name: productId
in: query
schema:
type: string
- name: customerId
in: query
schema:
type: string
- name: status
in: query
schema:
type: string
- $ref: '#/components/parameters/Limit'
- $ref: '#/components/parameters/Cursor'
responses:
'200':
description: A page of resources.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/DurableObject'
pagination:
$ref: '#/components/schemas/Pagination'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
post:
tags:
- Roadmap
summary: Create epics
description: Requires a `write` key.
operationId: createEpics
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DurableObjectInput'
responses:
'201':
description: The resource.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DurableObject'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
/epics/{id}:
parameters:
- $ref: '#/components/parameters/PathId'
get:
tags:
- Roadmap
summary: Get epic
operationId: getEpic
responses:
'200':
description: The resource.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DurableObject'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
patch:
tags:
- Roadmap
summary: Update epic
description: Requires a `write` key.
operationId: updateEpic
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DurableObjectInput'
responses:
'200':
description: The resource.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DurableObject'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
delete:
tags:
- Roadmap
summary: Delete epic
description: Soft-deletes the resource. Requires a `write` key.
operationId: deleteEpic
responses:
'200':
description: Deletion acknowledged.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DeleteResult'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
/roadmap/summary:
get:
tags:
- Roadmap
summary: Get roadmap summary
operationId: getRoadmapSummary
responses:
'200':
description: The resource.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/DurableObject'
'401':
$ref: '#/components/responses/Unauthorized'
components:
responses:
Unauthorized:
description: Missing or invalid API key (`unauthorized`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Forbidden:
description: The key is read-only and may not write (`forbidden`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimited:
description: Rate limit exceeded (`rate_limited`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
headers:
Retry-After:
schema:
type: integer
description: Seconds until the rate-limit window resets.
NotFound:
description: Resource not found in this org (`not_found`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
ValidationError:
description: Malformed request or invalid field (`validation_error`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
DeleteResult:
type: object
properties:
deleted:
type: boolean
DurableObjectInput:
type: object
additionalProperties: true
description: Writable fields depend on the endpoint. Requirements accept kind, personaId, storyActor, storyGoal, storyBenefit, and acceptanceCriteria. Unknown fields are ignored by the server-side allow-list.
DurableObject:
type: object
additionalProperties: true
properties:
id:
type: string
displayId:
type:
- string
- number
- 'null'
name:
type: string
title:
type: string
status:
type: string
kind:
type: string
enum:
- requirement
- user_story
description: Requirement subtype. Legacy rows are returned as requirement.
personaId:
type:
- string
- 'null'
storyActor:
type:
- string
- 'null'
storyGoal:
type:
- string
- 'null'
storyBenefit:
type:
- string
- 'null'
acceptanceCriteria:
type: array
items:
type: string
storySentence:
type:
- string
- 'null'
createdAt:
type:
- integer
- 'null'
description: Epoch ms.
updatedAt:
type:
- integer
- 'null'
description: Epoch ms.
description: Stable public shape for newly exposed durable objects. Internal workspace ids, deletion markers, sync data, storage credentials, and secrets are omitted.
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
enum:
- unauthorized
- forbidden
- rate_limited
- validation_error
- phase_gate_locked
- conflict
- not_found
- internal_error
message:
type: string
Pagination:
type: object
properties:
nextCursor:
type: string
nullable: true
description: Cursor for the next page, or null when there are no more results.
hasMore:
type: boolean
parameters:
PathId:
name: id
in: path
required: true
schema:
type: string
description: The resource id.
Limit:
name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 100
default: 25
description: Page size (clamped to 1–100, default 25).
Cursor:
name: cursor
in: query
schema:
type: string
description: Opaque pagination cursor (`pagination.nextCursor` from a previous page).
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Org-scoped API key, e.g. `pk_live_…`.