GitBook · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for GitBook Collections API
9 actions
9 updates
phrasing
extends
openapi/gitbook-collections-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for GitBook's API. It is a proposal applied on top of the contract, not a document GitBook publishes.
What the actions change
x-apievangelist-phrasing
Targets 9
$.info
$.paths['/collections/{collectionId}'].get
$.paths['/collections/{collectionId}'].delete
$.paths['/collections/{collectionId}'].patch
$.paths['/collections/{collectionId}/spaces'].get
$.paths['/collections/{collectionId}/move'].post
$.paths['/collections/{collectionId}/transfer'].post
$.paths['/orgs/{organizationId}/collections'].get
$.paths['/orgs/{organizationId}/collections'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for GitBook Collections API
version: 1.0.0
extends: openapi/gitbook-collections-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-26'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 8
- target: $.paths['/collections/{collectionId}'].get
update:
x-apievangelist-phrasing:
intent: Get a collection
effect: read
questions:
- How do I look up a collection by its ID?
- What title and description does a collection have?
instructions:
- text: Get collection {collectionId}.
slots:
collectionId: path.collectionId
- text: Show me the details of collection {collectionId}.
slots:
collectionId: path.collectionId
method: generated
generated: '2026-11-26'
- target: $.paths['/collections/{collectionId}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a collection
effect: destructive
questions:
- How do I delete a collection?
- Can I remove a collection I no longer use?
instructions:
- text: Delete collection {collectionId}.
slots:
collectionId: path.collectionId
- text: Remove the collection {collectionId} from my organization.
slots:
collectionId: path.collectionId
method: generated
generated: '2026-11-26'
- target: $.paths['/collections/{collectionId}'].patch
update:
x-apievangelist-phrasing:
intent: Update a collection
effect: write
questions:
- Can I change the title or description of a collection?
- Is it possible to set a default content level for a collection?
instructions:
- text: Rename collection {collectionId} to {title}.
slots:
collectionId: path.collectionId
title: requestBody.title
- text: Set the default level of collection {collectionId} to {defaultLevel}.
slots:
collectionId: path.collectionId
defaultLevel: requestBody.defaultLevel
method: generated
generated: '2026-11-26'
- target: $.paths['/collections/{collectionId}/spaces'].get
update:
x-apievangelist-phrasing:
intent: List the spaces in a collection
effect: read
questions:
- Which spaces are in a particular collection?
- Can I page through the spaces of one collection?
instructions:
- text: List the spaces in collection {collectionId}.
slots:
collectionId: path.collectionId
- text: Show {limit} spaces per page for collection {collectionId}.
slots:
limit: query.limit
collectionId: path.collectionId
method: generated
generated: '2026-11-26'
- target: $.paths['/collections/{collectionId}/move'].post
update:
x-apievangelist-phrasing:
intent: Reorder a collection
effect: write
questions:
- How do I move a collection to a different position?
- Can I insert a collection under a parent collection?
instructions:
- text: Move collection {collectionId} to position {position}.
slots:
collectionId: path.collectionId
position: requestBody.position
- text: Insert collection {collectionId} under parent {parent}.
slots:
collectionId: path.collectionId
parent: requestBody.parent
method: generated
generated: '2026-11-26'
- target: $.paths['/collections/{collectionId}/transfer'].post
update:
x-apievangelist-phrasing:
intent: Transfer a collection to another organization
effect: write
questions:
- How do I hand over a collection to another organization?
- Can I move a collection to a different organization?
instructions:
- text: Transfer collection {collectionId} to organization {organization}.
slots:
collectionId: path.collectionId
organization: requestBody.organization
- text: Hand collection {collectionId} over to {organization}.
slots:
collectionId: path.collectionId
organization: requestBody.organization
method: generated
generated: '2026-11-26'
- target: $.paths['/orgs/{organizationId}/collections'].get
update:
x-apievangelist-phrasing:
intent: List an organization's collections
effect: read
questions:
- What collections exist in my organization?
- Can I include nested collections when listing them?
instructions:
- text: List all collections in organization {organizationId}.
slots:
organizationId: path.organizationId
- text: List collections in {organizationId} with nested set to {nested}.
slots:
organizationId: path.organizationId
nested: query.nested
method: generated
generated: '2026-11-26'
- target: $.paths['/orgs/{organizationId}/collections'].post
update:
x-apievangelist-phrasing:
intent: Create a collection
effect: write
questions:
- How do I create a new collection in an organization?
- Can a new collection be a child of an existing one?
instructions:
- text: Create a collection titled {title} in organization {organizationId}.
slots:
title: requestBody.title
organizationId: path.organizationId
- text: Create collection {title} under parent {parent} in {organizationId}.
slots:
title: requestBody.title
parent: requestBody.parent
organizationId: path.organizationId
method: generated
generated: '2026-11-26'
Work with this as data
Every overlay 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 openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.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 overlay
curl "https://apis.io/api/v1/overlays/gitbook-collections-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.