GitBook Agents API

The agents API from GitBook — 3 operation(s) for agents.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /orgs/{organizationId}/agent-instructions Get the Docs agent's instructions · Get Docs agent instructions for an organization #
Ask an LLM
“What instructions does the Docs agent follow for my organization?”
“Can I read the agent's current prompt settings?”
Tell an agent
Get the Docs agent instructions for organization {organizationId}.
Show the agent prompt configured for {organizationId}.
PUT /orgs/{organizationId}/agent-instructions Update the Docs agent's instructions · Update Docs agent instructions for an organization #
Ask an LLM
“How do I change what the Docs agent says when it answers?”
“Can I replace the agent's instructions for my organization?”
Tell an agent
Update the Docs agent instructions for organization {organizationId} to {instructions}.
Replace the agent prompt in {organizationId} with {instructions}.
GET /orgs/{organizationId}/agent/conversations List the organization's agent conversations · List AI agent conversations in an organization #
Ask an LLM
“Which AI agent conversations has my organization had?”
“Can I page through the agent conversations in an organization?”
Tell an agent
List the agent conversations in organization {organizationId}.
Show {limit} agent conversations for {organizationId}, page {page}.
PUT /orgs/{organizationId}/agent/conversations/{conversationId} Provision an agent conversation · Provision an AI agent conversation in an organization #
Ask an LLM
“How do I connect to the organization agent before sending messages?”
“What happens if I open an agent conversation that was never provisioned?”
Tell an agent
Provision agent conversation {conversationId} in organization {organizationId}.
Prepare the agent for conversation {conversationId} in {organizationId} so I can connect.
PATCH /orgs/{organizationId}/agent/conversations/{conversationId} Rename an agent conversation · Update an AI agent conversation in an organization #
Ask an LLM
“Can I rename an AI agent conversation?”
“How do I give an agent conversation a new title?”
Tell an agent
Rename agent conversation {conversationId} in organization {organizationId} to {title}.
Change the title of agent conversation {conversationId} in {organizationId} to {title}.
DELETE /orgs/{organizationId}/agent/conversations/{conversationId} Delete an agent conversation · Delete an agent conversation in an organization #
Ask an LLM
“How do I delete an AI agent conversation I no longer need?”
“Is deleting an agent conversation permanent?”
Tell an agent destructive · confirm first
Delete agent conversation {conversationId} in organization {organizationId}.
Remove the agent conversation {conversationId} from {organizationId}.

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gitbook:gitbook-agents-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

gitbook-agents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GitBook Agents API
  description: The GitBook API
  termsOfService: https://policies.gitbook.com
  contact:
    name: API Support
    url: https://gitbook.com/support
    email: support@gitbook.com
  version: 0.0.1-beta
servers:
- url: '{host}/v1'
  variables:
    host:
      default: https://api.gitbook.com
security:
- user: []
- user-internal: []
- user-staff: []
- integration: []
- integration-installation: []
tags:


# --- truncated at 32 KB (89 KB total) ---
# Full source: https://artifacts.apis.io/gitbook/openapi/gitbook-agents-api-openapi.yml