GitBook · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for GitBook Spaces API
10 actions
10 updates
phrasing
extends
openapi/gitbook-spaces-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 10
$.info
$.paths['/spaces/{spaceId}'].get
$.paths['/spaces/{spaceId}'].delete
$.paths['/spaces/{spaceId}'].patch
$.paths['/spaces/{spaceId}/duplicate'].post
$.paths['/spaces/{spaceId}/restore'].post
$.paths['/spaces/{spaceId}/move'].post
$.paths['/orgs/{organizationId}/spaces'].get
$.paths['/orgs/{organizationId}/spaces'].post
$.paths['/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/duplicate'].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 Spaces API
version: 1.0.0
extends: openapi/gitbook-spaces-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: 9
- target: $.paths['/spaces/{spaceId}'].get
update:
x-apievangelist-phrasing:
intent: Get a documentation space
effect: read
questions:
- How do I get the full metadata for a documentation space?
- Can I resolve a space ID into a complete space object?
instructions:
- text: Get space {spaceId}.
slots:
spaceId: path.spaceId
- text: Resolve space {spaceId} to a full space object.
slots:
spaceId: path.spaceId
method: generated
generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a documentation space
effect: destructive
questions:
- How do I permanently remove a documentation space?
- How long do deleted spaces stay before they are gone?
instructions:
- text: Delete space {spaceId}.
slots:
spaceId: path.spaceId
- text: Permanently remove the documentation space {spaceId}.
slots:
spaceId: path.spaceId
method: generated
generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}'].patch
update:
x-apievangelist-phrasing:
intent: Rename or reconfigure a space
effect: write
questions:
- How do I change the title or icon of a documentation space?
- Can I lock a space so no one edits it?
instructions:
- text: Rename space {spaceId} to {title}.
slots:
spaceId: path.spaceId
title: requestBody.title
- text: Set the edit mode of space {spaceId} to {editMode}.
slots:
spaceId: path.spaceId
editMode: requestBody.editMode
method: generated
generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/duplicate'].post
update:
x-apievangelist-phrasing:
intent: Copy a documentation space
effect: write
questions:
- How do I make a full copy of a documentation space?
- Does a duplicate include all pages and content?
instructions:
- text: Duplicate space {spaceId}.
slots:
spaceId: path.spaceId
- text: Make a copy of the documentation space {spaceId}.
slots:
spaceId: path.spaceId
method: generated
generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/restore'].post
update:
x-apievangelist-phrasing:
intent: Restore a deleted space
effect: write
questions:
- How do I bring back a documentation space I deleted?
- How long after deletion can a space still be restored?
instructions:
- text: Restore deleted space {spaceId}.
slots:
spaceId: path.spaceId
- text: Bring back the documentation space {spaceId} from the trash.
slots:
spaceId: path.spaceId
method: generated
generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/move'].post
update:
x-apievangelist-phrasing:
intent: Move a space in the hierarchy
effect: write
questions:
- How do I move a documentation space under a different parent collection?
- Can I change a space's position in the hierarchy?
instructions:
- text: Move space {spaceId} under parent {parent}.
slots:
spaceId: path.spaceId
parent: requestBody.parent
- text: Insert space {spaceId} at position {position}.
slots:
spaceId: path.spaceId
position: requestBody.position
method: generated
generated: '2026-11-26'
- target: $.paths['/orgs/{organizationId}/spaces'].get
update:
x-apievangelist-phrasing:
intent: List an organization's documentation spaces
effect: read
questions:
- Which documentation spaces belong to my organization?
- Can I page through all the spaces in an organization?
instructions:
- text: List all spaces in organization {organizationId}.
slots:
organizationId: path.organizationId
- text: Show {limit} spaces per page for organization {organizationId}.
slots:
limit: query.limit
organizationId: path.organizationId
method: generated
generated: '2026-11-26'
- target: $.paths['/orgs/{organizationId}/spaces'].post
update:
x-apievangelist-phrasing:
intent: Create a documentation space
effect: write
questions:
- How do I create a new documentation space in an organization?
- Can I set the language and edit mode when creating a space?
instructions:
- text: Create a space titled {title} in organization {organizationId}.
slots:
title: requestBody.title
organizationId: path.organizationId
- text: Create a {language} space in organization {organizationId}.
slots:
language: requestBody.language
organizationId: path.organizationId
method: generated
generated: '2026-11-26'
- target: $.paths['/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/duplicate'].post
update:
x-apievangelist-phrasing:
intent: Copy a space within a site
effect: write
questions:
- How do I duplicate a space that is part of a site?
- Will a site-space duplicate go into a new sibling section?
instructions:
- text: Duplicate site space {siteSpaceId} on site {siteId} in organization {organizationId}.
slots:
siteSpaceId: path.siteSpaceId
siteId: path.siteId
organizationId: path.organizationId
- text: Create a draft copy of site space {siteSpaceId} on site {siteId} in {organizationId}.
slots:
siteSpaceId: path.siteSpaceId
siteId: path.siteId
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-spaces-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.