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.
openapi: 3.2.0
info:
title: Offprint List Projects API
version: 1.0.0
description: The Offprint MCP tools over plain HTTP. Every operation is POST /api/v1/ with the tool's arguments as a JSON body, authenticated with an API key (Settings > API keys). Behaviour, limits and errors are identical to the MCP endpoint.
servers:
- url: https://offprint.io
tags:
- name: List Projects
paths:
/api/v1/list_projects:
post:
operationId: list_projects
summary: List projects
description: List the projects you can access — your own (Default first) and projects shared with you. Every document lives in exactly one project; use get_project for a project's directory tree and contents.
x-read-only: true
x-destructive: false
security:
- apiKey: []
requestBody:
required: false
content:
application/json:
schema:
type: object
properties: {}
responses:
'200':
description: Success.
content:
application/json:
schema:
type: object
properties:
projects:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
is_default:
type: boolean
your_role:
type: string
enum:
- owner
- editor
- commenter
- viewer
description: Your role on the document or project.
owner_handle:
type: string
doc_count:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- id
- name
- is_default
- your_role
- owner_handle
- doc_count
additionalProperties: {}
required:
- projects
additionalProperties: {}
'400':
description: Invalid arguments.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing, expired or revoked API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key's scope, restriction or role does not allow this.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found, or outside the key's restriction.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: The document changed since expected_revision.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: A plan limit or daily quota was reached.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- List Projects
components:
schemas:
Error:
type: object
required:
- error
- message
properties:
error:
type: string
enum:
- invalid_input
- unauthorized
- forbidden
- not_found
- revision_conflict
- quota_exceeded
message:
type: string
description: What went wrong and what to do next.
additionalProperties: true
securitySchemes:
apiKey:
type: http
scheme: bearer
description: 'An API key: ''Authorization: Bearer ofp_pat_…''.'