GitBook
communityDocumentation platform with collaborative editing, Git sync, and AI-powered search.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://api.gitbook.com/v1/spaces/{spaceId}/searchSearch documentation in a space
Parameters
querysearch query (stringrequiredspaceIdspace ID (stringrequiredReturns
items[] with id, title, path, body, sections[]GET
https://api.gitbook.com/v1/orgs/{orgId}/spacesList documentation spaces
Parameters
limitresults (integeroptionalorgIdorganization ID (stringrequiredReturns
items[] with id, title, visibility, createdAt, updatedAt, urls.app, urls.publicGET
https://api.gitbook.com/v1/spaces/{spaceId}/content/page/{pageId}Get page content
Parameters
pageIdpage ID (stringrequiredspaceIdspace ID (stringrequiredReturns
id, title, kind, path, document with nodes[] containing type, content