GitBook · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitBook Space Content API

26 actions 26 updates phrasing extends openapi/gitbook-space-content-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.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 26 · first 16 shown; the file carries all of them

$.info
$.paths['/spaces/{spaceId}/search'].get
$.paths['/spaces/{spaceId}/content'].get
$.paths['/spaces/{spaceId}/content/template'].post
$.paths['/spaces/{spaceId}/content/pages'].get
$.paths['/spaces/{spaceId}/content/files'].get
$.paths['/spaces/{spaceId}/content/files/{fileId}'].get
$.paths['/spaces/{spaceId}/content/page/{pageId}'].get
$.paths['/spaces/{spaceId}/content/page/{pageId}/meta-links'].get
$.paths['/spaces/{spaceId}/content/path/{pagePath}'].get
$.paths['/spaces/{spaceId}/content/reusable-contents/{reusableContentId}'].get
$.paths['/spaces/{spaceId}/content/computed/document'].post
$.paths['/spaces/{spaceId}/content/computed/revision'].post
$.paths['/spaces/{spaceId}/documents/{documentId}'].get
$.paths['/spaces/{spaceId}/revisions/{revisionId}'].get
$.paths['/spaces/{spaceId}/revisions/{revisionId}/changes'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for GitBook Space Content API
  version: 1.0.0
extends: openapi/gitbook-space-content-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: 25
- target: $.paths['/spaces/{spaceId}/search'].get
  update:
    x-apievangelist-phrasing:
      intent: Search a space's published pages
      effect: read
      questions:
      - How do I find a page by keyword in a published GitBook space?
      - Can I search all pages in one space and get ranked excerpts?
      instructions:
      - text: Search space {spaceId} for {query}.
        slots:
          spaceId: path.spaceId
          query: query.query
      - text: Find pages in {spaceId} matching {query} using {limit} results per page.
        slots:
          spaceId: path.spaceId
          query: query.query
          limit: query.limit
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/content'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the live published content of a space
      effect: read
      questions:
      - What does the currently published content of my space look like?
      - Can I get the full page tree and files of a space as it's live right now?
      instructions:
      - text: Get the current published content of space {spaceId}.
        slots:
          spaceId: path.spaceId
      - text: Show the live page tree and files for {spaceId}.
        slots:
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/content/template'].post
  update:
    x-apievangelist-phrasing:
      intent: Bootstrap a space with a content template
      effect: write
      questions:
      - How do I populate a new space with a standard documentation layout?
      - Can I apply a template to a change request instead of main content?
      instructions:
      - text: Apply template {id} to space {spaceId}.
        slots:
          id: requestBody.id
          spaceId: path.spaceId
      - text: Bootstrap {spaceId} with template {id} using parameters {params}.
        slots:
          spaceId: path.spaceId
          id: requestBody.id
          params: requestBody.params
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/content/pages'].get
  update:
    x-apievangelist-phrasing:
      intent: List all pages in a space
      effect: read
      questions:
      - What pages exist in my space and how are they nested?
      - Can I get every page's title, URL and parent-child links?
      instructions:
      - text: List all pages in space {spaceId}.
        slots:
          spaceId: path.spaceId
      - text: Show the full page hierarchy of {spaceId}.
        slots:
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/content/files'].get
  update:
    x-apievangelist-phrasing:
      intent: List uploaded files in a space
      effect: read
      questions:
      - Which images and attachments are uploaded to my space?
      - Can I page through all assets in a space's current revision?
      instructions:
      - text: List uploaded files in space {spaceId}.
        slots:
          spaceId: path.spaceId
      - text: Show {limit} assets per page in {spaceId}.
        slots:
          limit: query.limit
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/content/files/{fileId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an uploaded file by ID
      effect: read
      questions:
      - How do I get the download URL and MIME type of a file I already uploaded?
      - What metadata comes back for a specific file ID in a space?
      instructions:
      - text: Get file {fileId} in space {spaceId}.
        slots:
          fileId: path.fileId
          spaceId: path.spaceId
      - text: Show the download URL of {fileId} from {spaceId}.
        slots:
          fileId: path.fileId
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/content/page/{pageId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a page by ID
      effect: read
      questions:
      - How do I fetch the content of one page when I know its ID?
      - Can I get a page's content as markdown with relative references?
      instructions:
      - text: Get page {pageId} in space {spaceId}.
        slots:
          pageId: path.pageId
          spaceId: path.spaceId
      - text: Show {pageId} from {spaceId} as {format}.
        slots:
          pageId: path.pageId
          spaceId: path.spaceId
          format: query.format
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/content/page/{pageId}/meta-links'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a page's previous, next and parent links
      effect: read
      questions:
      - What are the previous and next pages in the navigation flow for a page?
      - Can I get a page's parent link without fetching the whole page tree?
      instructions:
      - text: Get the navigation metadata links for page {pageId} in space {spaceId}.
        slots:
          pageId: path.pageId
          spaceId: path.spaceId
      - text: Show the previous, next and parent of {pageId} in {spaceId}.
        slots:
          pageId: path.pageId
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/content/path/{pagePath}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a page by its URL path
      effect: read
      questions:
      - How do I find a page when I know its URL path, like /guides/getting-started?
      - Can I look up a page by path instead of by ID?
      instructions:
      - text: Get the page at path {pagePath} in space {spaceId}.
        slots:
          pagePath: path.pagePath
          spaceId: path.spaceId
      - text: Look up {pagePath} in {spaceId} and return it as {format}.
        slots:
          pagePath: path.pagePath
          spaceId: path.spaceId
          format: query.format
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/content/reusable-contents/{reusableContentId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a reusable content block by ID
      effect: read
      questions:
      - How do I read the content of a reusable snippet I already created?
      - Can I fetch one reusable content block by its ID?
      instructions:
      - text: Get reusable content block {reusableContentId} in space {spaceId}.
        slots:
          reusableContentId: path.reusableContentId
          spaceId: path.spaceId
      - text: Show the snippet {reusableContentId} from {spaceId}.
        slots:
          reusableContentId: path.reusableContentId
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/content/computed/document'].post
  update:
    x-apievangelist-phrasing:
      intent: Render a single computed document
      effect: read
      questions:
      - How do I preview how a dynamic document will render before publishing?
      - Can I compute a document from a content source definition with a seed value?
      instructions:
      - text: Compute document {source} in space {spaceId} with seed {seed}.
        slots:
          source: requestBody.source
          spaceId: path.spaceId
          seed: requestBody.seed
      - text: Render the single document {source} from {spaceId} using seed {seed}.
        slots:
          source: requestBody.source
          spaceId: path.spaceId
          seed: requestBody.seed
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/content/computed/revision'].post
  update:
    x-apievangelist-phrasing:
      intent: Render a full computed revision
      effect: read
      questions:
      - Can I preview every page and file of a computed revision before publishing?
      - How do I resolve all template expressions in a content source definition into a full revision?
      instructions:
      - text: Compute a full revision of {source} in space {spaceId} with seed {seed}.
        slots:
          source: requestBody.source
          spaceId: path.spaceId
          seed: requestBody.seed
      - text: Render every page and file in {source} for {spaceId} using seed {seed}.
        slots:
          source: requestBody.source
          spaceId: path.spaceId
          seed: requestBody.seed
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/documents/{documentId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a raw document by ID
      effect: read
      questions:
      - What does the raw block-level JSON document look like for a page?
      - Can I fetch a document's raw structure by its ID?
      instructions:
      - text: Get document {documentId} in space {spaceId}.
        slots:
          documentId: path.documentId
          spaceId: path.spaceId
      - text: Show the raw block structure of {documentId} from {spaceId}.
        slots:
          documentId: path.documentId
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/revisions/{revisionId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a historical space revision
      effect: read
      questions:
      - How do I inspect the content of a space as it was at a past revision?
      - Can I see the page tree and metadata of an old snapshot of my space?
      instructions:
      - text: Get revision {revisionId} of space {spaceId}.
        slots:
          revisionId: path.revisionId
          spaceId: path.spaceId
      - text: Show the page tree of {revisionId} in {spaceId}.
        slots:
          revisionId: path.revisionId
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/revisions/{revisionId}/changes'].get
  update:
    x-apievangelist-phrasing:
      intent: See what a revision changed
      effect: read
      questions:
      - What pages were added, removed or updated in a specific revision?
      - Can I get a semantic diff of a revision compared to its parent?
      instructions:
      - text: Show the semantic changes introduced by revision {revisionId} in space {spaceId}.
        slots:
          revisionId: path.revisionId
          spaceId: path.spaceId
      - text: Compare {revisionId} to its parent in {spaceId} and limit changes to {limit}.
        slots:
          revisionId: path.revisionId
          spaceId: path.spaceId
          limit: query.limit
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/revisions/{revisionId}/pages'].get
  update:
    x-apievangelist-phrasing:
      intent: List pages in a historical revision
      effect: read
      questions:
      - Which pages existed in a past snapshot of my space?
      - Can I get the full flat list of pages from a historical revision?
      instructions:
      - text: List all pages in revision {revisionId} of space {spaceId}.
        slots:
          revisionId: path.revisionId
          spaceId: path.spaceId
      - text: Show every page in {revisionId} from {spaceId}.
        slots:
          revisionId: path.revisionId
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/revisions/{revisionId}/files'].get
  update:
    x-apievangelist-phrasing:
      intent: List files in a historical revision
      effect: read
      questions:
      - Which images and assets were attached to a past snapshot of my space?
      - Can I page through the files in a historical revision?
      instructions:
      - text: List files in revision {revisionId} of space {spaceId}.
        slots:
          revisionId: path.revisionId
          spaceId: path.spaceId
      - text: Show {limit} assets per page in {revisionId} from {spaceId}.
        slots:
          limit: query.limit
          revisionId: path.revisionId
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/revisions/{revisionId}/files/{fileId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a file from a historical revision
      effect: read
      questions:
      - How do I get the download URL of an image that was attached to a past revision?
      - What metadata comes back for one file in a historical snapshot?
      instructions:
      - text: Get file {fileId} from revision {revisionId} in space {spaceId}.
        slots:
          fileId: path.fileId
          revisionId: path.revisionId
          spaceId: path.spaceId
      - text: Show the download URL of {fileId} in {revisionId} of {spaceId}.
        slots:
          fileId: path.fileId
          revisionId: path.revisionId
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a page from a historical revision
      effect: read
      questions:
      - How do I fetch a page's content from a past snapshot of my space?
      - Can I get a page from a historical revision as markdown?
      instructions:
      - text: Get page {pageId} from revision {revisionId} in space {spaceId}.
        slots:
          pageId: path.pageId
          revisionId: path.revisionId
          spaceId: path.spaceId
      - text: Show {pageId} in {revisionId} of {spaceId} as {format}.
        slots:
          pageId: path.pageId
          revisionId: path.revisionId
          spaceId: path.spaceId
          format: query.format
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/document'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a page's raw document in a revision
      effect: read
      questions:
      - What does the raw block tree of a page look like in a past snapshot?
      - Can I fetch a page's document body from a historical revision?
      instructions:
      - text: Get the raw document of page {pageId} in revision {revisionId} of space {spaceId}.
        slots:
          pageId: path.pageId
          revisionId: path.revisionId
          spaceId: path.spaceId
      - text: Show the block tree of {pageId} from {revisionId} in {spaceId}.
        slots:
          pageId: path.pageId
          revisionId: path.revisionId
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a page by path in a historical revision
      effect: read
      questions:
      - How do I read a page's content from a past revision when I only know its path?
      - Can I get a page's markdown from a historical revision by its URL path?
      instructions:
      - text: Get the page at path {pagePath} in revision {revisionId} of space {spaceId}.
        slots:
          pagePath: path.pagePath
          revisionId: path.revisionId
          spaceId: path.spaceId
      - text: Fetch page {pagePath} from revision {revisionId} of space {spaceId} as {format}.
        slots:
          pagePath: path.pagePath
          revisionId: path.revisionId
          spaceId: path.spaceId
          format: query.format
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/meta-links'].get
  update:
    x-apievangelist-phrasing:
      intent: Get prev/next links for a page in a revision
      effect: read
      questions:
      - What are the previous and next pages for a given page in a historical revision?
      - Can I build a sequential reading flow through a past revision of my space?
      instructions:
      - text: List the meta navigation links for page {pageId} in revision {revisionId} of space {spaceId}.
        slots:
          pageId: path.pageId
          revisionId: path.revisionId
          spaceId: path.spaceId
      - text: Get the prev and next page links for {pageId} in revision {revisionId} of space {spaceId}.
        slots:
          pageId: path.pageId
          revisionId: path.revisionId
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get reusable content metadata in a revision
      effect: read
      questions:
      - How do I look up the metadata of a reusable content block in a past revision?
      - Can I check when a reusable snippet was last edited in a historical revision?
      instructions:
      - text: Get reusable content {reusableContentId} in revision {revisionId} of space {spaceId}.
        slots:
          reusableContentId: path.reusableContentId
          revisionId: path.revisionId
          spaceId: path.spaceId
      - text: Show metadata for reusable snippet {reusableContentId} from revision {revisionId} of space {spaceId}.
        slots:
          reusableContentId: path.reusableContentId
          revisionId: path.revisionId
          spaceId: path.spaceId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}/document'].get
  update:
    x-apievangelist-phrasing:
      intent: Get reusable content body in a revision
      effect: read
      questions:
      - How do I read the actual content of a reusable snippet from a historical revision?
      - Can I get a reusable block's document body at a point in time?
      instructions:
      - text: Get the document body of reusable content {reusableContentId} in revision {revisionId} of space {spaceId}.
        slots:
          reusableContentId: path.reusableContentId
          revisionId: path.revisionId
          spaceId: path.spaceId
      - text: Fetch reusable snippet {reusableContentId} from revision {revisionId} of space {spaceId} with references dereferenced {dereferenced}.
        slots:
          reusableContentId: path.reusableContentId
          revisionId: path.revisionId
          spaceId: path.spaceId
          dereferenced: query.dereferenced
      method: generated
      generated: '2026-11-26'
- target: $.paths['/spaces/{spaceId}/pdf'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a PDF download link for a space
      effect: read
      questions:
      - How do I generate a PDF of my whole space for a past revision?
      - Can I get a temporary link to download a single page as PDF?
      instructions:
      - text: Get a temporary PDF link for space {spaceId}.
        slots:
          spaceId: path.spaceId
      - text: Generate a PDF of page {page} in space {spaceId} only.
        slots:
          page: query.page
          spaceId: path.spaceId
      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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/gitbook-space-content-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.