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/pencil-ink:pencil-ink-content-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: Pencil Public Content 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: Content
description: Content pipeline items.
paths:
/content:
get:
tags:
- Content
summary: List content
description: Requires a `read` (or `write`) key.
operationId: listContent
parameters:
- name: stage
in: query
schema:
$ref: '#/components/schemas/ContentStage'
description: Filter by stage.
- name: projectId
in: query
schema:
type: string
description: Filter to a single project.
- $ref: '#/components/parameters/Limit'
- $ref: '#/components/parameters/Cursor'
responses:
'200':
description: A page of content items.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Content'
pagination:
$ref: '#/components/schemas/Pagination'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
post:
tags:
- Content
summary: Create a content item
description: Requires a `write` key.
operationId: createContent
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ContentCreate'
responses:
'201':
$ref: '#/components/responses/ContentResource'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
/content/{id}:
parameters:
- $ref: '#/components/parameters/PathId'
get:
tags:
- Content
summary: Get a content item
operationId: getContent
responses:
'200':
$ref: '#/components/responses/ContentResource'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
patch:
tags:
- Content
summary: Update a content item
description: Requires a `write` key.
operationId: updateContent
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ContentUpdate'
responses:
'200':
$ref: '#/components/responses/ContentResource'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
components:
responses:
NotFound:
description: Resource not found in this org (`not_found`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing or invalid API key (`unauthorized`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
ContentResource:
description: A single content item.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Content'
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.
ValidationError:
description: Malformed request or invalid field (`validation_error`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Priority:
type: string
description: 'Stable configured priority key. Defaults: urgent, high, medium, low. Display names may be customized at workspace or organization scope.'
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
ContentStage:
type: string
enum:
- idea
- draft
- script
- review
- publish
ContentCreate:
type: object
required:
- title
properties:
title:
type: string
description:
type: string
stage:
$ref: '#/components/schemas/ContentStage'
priority:
$ref: '#/components/schemas/Priority'
projectId:
type: string
agentId:
type: string
dueAt:
type: integer
description: Epoch ms.
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
Content:
type: object
properties:
id:
type: string
title:
type: string
description:
type: string
nullable: true
stage:
$ref: '#/components/schemas/ContentStage'
body:
type: string
nullable: true
priority:
allOf:
- $ref: '#/components/schemas/Priority'
nullable: true
projectId:
type: string
nullable: true
agentId:
type: string
nullable: true
assigneeId:
type: string
nullable: true
tags:
type: array
items:
type: string
dueAt:
type: integer
nullable: true
description: Epoch ms.
isBlocked:
type: boolean
autoAdvance:
type: boolean
nullable: true
createdAt:
type: integer
description: Epoch ms.
updatedAt:
type: integer
nullable: true
description: Epoch ms.
ContentUpdate:
type: object
properties:
title:
type: string
description:
type: string
body:
type: string
stage:
$ref: '#/components/schemas/ContentStage'
priority:
$ref: '#/components/schemas/Priority'
projectId:
type: string
agentId:
type: string
dueAt:
type: integer
description: Epoch ms.
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_…`.