Stable Baseline Navigation API
Discover organisations, workspaces, projects, folders, and documents.
Discover organisations, workspaces, projects, folders, and documents.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/stablebaseline-io:stablebaseline-io-navigation-api"
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.
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: 3.2.0
info:
title: Stable Baseline REST Navigation API
version: 0.4.0
description: 'REST adapter over the Stable Baseline MCP tool catalogue. Every operation maps 1:1 to an MCP tool; the same handlers serve both surfaces. Auth: OAuth 2.1 (Bearer) or API key with prefix `sta_*` (also Bearer). The full tool catalogue and per-category guides live at https://stablebaseline.io/docs/mcp.'
contact:
name: Stable Baseline
url: https://stablebaseline.io/contact
license:
name: Proprietary SaaS, see Terms
url: https://stablebaseline.io/terms
servers:
- url: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1
description: Production
security:
- bearerAuth: []
tags:
- name: Navigation
description: Discover organisations, workspaces, projects, folders, and documents.
paths:
/tools/searchTools:
post:
summary: searchTools
description: Search available tools by keyword or category. Returns matching tool names and descriptions.
operationId: searchTools
tags:
- Navigation
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
query:
type: string
description: Natural language description of what you want to do.
category:
type: string
description: Category filter. One of the categories returned in each result's `category` field.
enum:
- navigation
- folders
- documents
- diagrams
- images
- whiteboards
- data
- improvements
- plans
- knowledge_graph
- organization
- members
- teams
- permissions
- billing
- kg_admin
- settings
- signup
- agents
- databases
- blueprints
- workflows
responses:
'200':
description: 'Tool result (shape varies per tool: refer to the tool''s docs for the exact return value).'
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Validation error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid credentials.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Authenticated but lacking the required permission or feature flag.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: 'Conflict: the record changed since you read it, or one with that name already exists. Read it again, then retry.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Body did not match the tool's input schema.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'423':
description: 'The credential is valid but its organisation''s own database is locked (code `org_locked`, details.action `contact_admin`). Not a sign-in problem: signing in again does not help.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: 'Too many requests. With the code `rate_limited`, the organisation is past its request limit: wait the number of seconds in the Retry-After header, then try again. Any other code is a limit of the tool itself.'
headers:
Retry-After:
description: Whole seconds to wait before trying again. Sent with the code `rate_limited`.
schema:
type: integer
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/RateLimitedResponse'
- $ref: '#/components/schemas/ErrorResponse'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: 'Not available for a moment. Either the credential is valid but its organisation''s own database cannot be reached right now (code `org_unavailable`), or the credential could not be checked right now for a reason of ours (code `service_unavailable`: it was not judged, so keep it and do not sign in again). Either way details.action is `retry_later`: try again after the Retry-After header''s seconds.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/tools/listOrganisations:
post:
summary: listOrganisations
description: List organisations you have access to. Supports query filtering by name/slug.
operationId: listOrganisations
tags:
- Navigation
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
query:
type: string
limit:
type: number
offset:
type: number
fields:
type: array
items:
type: string
description: 'Field projection. Valid fields: id, name, slug, subscription_tier, created_at.'
responses:
'200':
description: 'Tool result (shape varies per tool: refer to the tool''s docs for the exact return value).'
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Validation error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid credentials.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Authenticated but lacking the required permission or feature flag.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: 'Conflict: the record changed since you read it, or one with that name already exists. Read it again, then retry.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Body did not match the tool's input schema.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'423':
description: 'The credential is valid but its organisation''s own database is locked (code `org_locked`, details.action `contact_admin`). Not a sign-in problem: signing in again does not help.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: 'Too many requests. With the code `rate_limited`, the organisation is past its request limit: wait the number of seconds in the Retry-After header, then try again. Any other code is a limit of the tool itself.'
headers:
Retry-After:
description: Whole seconds to wait before trying again. Sent with the code `rate_limited`.
schema:
type: integer
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/RateLimitedResponse'
- $ref: '#/components/schemas/ErrorResponse'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: 'Not available for a moment. Either the credential is valid but its organisation''s own database cannot be reached right now (code `org_unavailable`), or the credential could not be checked right now for a reason of ours (code `service_unavailable`: it was not judged, so keep it and do not sign in again). Either way details.action is `retry_later`: try again after the Retry-After header''s seconds.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/tools/listWorkspaces:
post:
summary: listWorkspaces
description: 'List workspaces you have access to. Scope to one organisation with organisationId (a structural filter: use it rather than `query`, which only searches names/slugs). Supports query filtering by name/slug. Each workspace says `everyone`: the access everyone in its organisation has there, now and when they join (read is Can view, write is Can edit), or null when it is not shared with everyone. A member reaches a workspace shared with everyone without being one of its members.'
operationId: listWorkspaces
tags:
- Navigation
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
organisationId:
type: string
description: Return only workspaces in this organisation. Use listOrganisations to find the id. (organizationId is accepted as a spelling alias.)
organizationId:
type: string
description: Spelling alias for organisationId.
query:
type: string
limit:
type: number
offset:
type: number
fromDate:
type: string
description: ISO 8601 date filter (from).
toDate:
type: string
description: ISO 8601 date filter (to).
dateField:
type: string
description: 'Date field to filter. Default: updated_at.'
fields:
type: array
items:
type: string
description: 'Field projection. Valid fields: id, name, slug, organization_id, created_at, updated_at, everyone.'
responses:
'200':
description: 'Tool result (shape varies per tool: refer to the tool''s docs for the exact return value).'
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Validation error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid credentials.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Authenticated but lacking the required permission or feature flag.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: 'Conflict: the record changed since you read it, or one with that name already exists. Read it again, then retry.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Body did not match the tool's input schema.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'423':
description: 'The credential is valid but its organisation''s own database is locked (code `org_locked`, details.action `contact_admin`). Not a sign-in problem: signing in again does not help.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: 'Too many requests. With the code `rate_limited`, the organisation is past its request limit: wait the number of seconds in the Retry-After header, then try again. Any other code is a limit of the tool itself.'
headers:
Retry-After:
description: Whole seconds to wait before trying again. Sent with the code `rate_limited`.
schema:
type: integer
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/RateLimitedResponse'
- $ref: '#/components/schemas/ErrorResponse'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: 'Not available for a moment. Either the credential is valid but its organisation''s own database cannot be reached right now (code `org_unavailable`), or the credential could not be checked right now for a reason of ours (code `service_unavailable`: it was not judged, so keep it and do not sign in again). Either way details.action is `retry_later`: try again after the Retry-After header''s seconds.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/tools/listProjects:
post:
summary: listProjects
description: List projects in a workspace. Supports query filtering by project name.
operationId: listProjects
tags:
- Navigation
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
workspaceId:
type: string
query:
type: string
limit:
type: number
offset:
type: number
fromDate:
type: string
description: ISO 8601 date filter (from).
toDate:
type: string
description: ISO 8601 date filter (to).
dateField:
type: string
description: 'Date field to filter. Default: updated_at.'
fields:
type: array
items:
type: string
description: 'Field projection. Valid fields: id, name, description, workspace_id, created_at, updated_at.'
required:
- workspaceId
responses:
'200':
description: 'Tool result (shape varies per tool: refer to the tool''s docs for the exact return value).'
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Validation error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid credentials.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Authenticated but lacking the required permission or feature flag.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: 'Conflict: the record changed since you read it, or one with that name already exists. Read it again, then retry.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Body did not match the tool's input schema.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'423':
description: 'The credential is valid but its organisation''s own database is locked (code `org_locked`, details.action `contact_admin`). Not a sign-in problem: signing in again does not help.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: 'Too many requests. With the code `rate_limited`, the organisation is past its request limit: wait the number of seconds in the Retry-After header, then try again. Any other code is a limit of the tool itself.'
headers:
Retry-After:
description: Whole seconds to wait before trying again. Sent with the code `rate_limited`.
schema:
type: integer
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/RateLimitedResponse'
- $ref: '#/components/schemas/ErrorResponse'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: 'Not available for a moment. Either the credential is valid but its organisation''s own database cannot be reached right now (code `org_unavailable`), or the credential could not be checked right now for a reason of ours (code `service_unavailable`: it was not judged, so keep it and do not sign in again). Either way details.action is `retry_later`: try again after the Retry-After header''s seconds.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/tools/getProjectHierarchy:
post:
summary: getProjectHierarchy
description: Get the complete folder and document tree for a project in one call. Recommended first call for navigation.
operationId: getProjectHierarchy
tags:
- Navigation
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
projectId:
type: string
description: Project ID. Required if folderId not provided.
folderId:
type: string
description: Start from this folder instead of project root.
maxDepth:
type: number
description: 'Max nesting depth. Default: 10, max: 20.'
includeDocuments:
type: boolean
description: 'Include documents. Default: true.'
query:
type: string
description: Filter by name/title (case-insensitive).
fromDate:
type: string
description: ISO 8601 date filter (from).
toDate:
type: string
description: ISO 8601 date filter (to).
dateField:
type: string
description: 'Date field to filter. Default: updated_at.'
responses:
'200':
description: 'Tool result (shape varies per tool: refer to the tool''s docs for the exact return value).'
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Validation error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid credentials.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Authenticated but lacking the required permission or feature flag.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: 'Conflict: the record changed since you read it, or one with that name already exists. Read it again, then retry.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Body did not match the tool's input schema.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'423':
description: 'The credential is valid but its organisation''s own database is locked (code `org_locked`, details.action `contact_admin`). Not a sign-in problem: signing in again does not help.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: 'Too many requests. With the code `rate_limited`, the organisation is past its request limit: wait the number of seconds in the Retry-After header, then try again. Any other code is a limit of the tool itself.'
headers:
Retry-After:
description: Whole seconds to wait before trying again. Sent with the code `rate_limited`.
schema:
type: integer
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/RateLimitedResponse'
- $ref: '#/components/schemas/ErrorResponse'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: 'Not available for a moment. Either the credential is valid but its organisation''s own database cannot be reached right now (code `org_unavailable`), or the credential could not be checked right now for a reason of ours (code `service_unavailable`: it was not judged, so keep it and do not sign in again). Either way details.action is `retry_later`: try again after the Retry-After header''s seconds.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/tools/getFolderHierarchy:
post:
summary: getFolderHierarchy
description: Get the folder and document tree. Pass folderId for the subtree under one folder, or projectId for the project's ENTIRE folder tree from the root (no need to reassemble listFolders' flat list by parentId). Alias for getProjectHierarchy.
operationId: getFolderHierarchy
tags:
- Navigation
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
projectId:
type: string
description: Return the whole project's folder tree from the root. Provide this or folderId.
folderId:
type: string
description: The folder ID to start from. Omit and pass projectId to get the project root hierarchy.
maxDepth:
type: number
description: 'Max nesting depth. Default: 10, max: 20.'
includeDocuments:
type: boolean
description: 'Include documents. Default: true.'
query:
type: string
description: Filter by name/title (case-insensitive).
fromDate:
type: string
description: ISO 8601 date filter (from).
toDate:
type: string
description: ISO 8601 date filter (to).
dateField:
type: string
description: 'Date field to filter. Default: updated_at.'
responses:
'200':
description: 'Tool result (shape varies per tool: refer to the tool''s docs for the exact return value).'
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Validation error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid credentials.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Authenticated but lacking the required permission or feature flag.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: 'Conflict: the record changed since you read it, or one with that name already exists. Read it again, then retry.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Body did not match the tool's input schema.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'423':
description: 'The credential is valid but its organisation''s own database is locked (code `org_locked`, details.action `contact_admin`). Not a sign-in problem: signing in again does not help.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: 'Too many requests. With the code `rate_limited`, the organisation is past its request limit: wait the number of seconds in the Retry-After header, then try again. Any other code is a limit of the tool itself.'
headers:
Retry-After:
description: Whole seconds to wait before trying again. Sent with the code `rate_limited`.
schema:
type: integer
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/RateLimitedResponse'
- $ref: '#/components/schemas/ErrorResponse'
'500':
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: 'Not available for a moment. Either the credential is valid but its organisation''s own database cannot be reached right now (code `org_unavailable`), or the credential could not be checked right now for a reason of ours (code `service_unavailable`: it was not judged, so keep it and do not sign in again). Either way details.action is `retry_later`: try again after the Retry-After header''s seconds.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
ErrorResponse:
type: object
properties:
error:
type: object
properties:
code:
type: string
description: Stable error code (e.g. `permission_denied`, `not_found`, `validation_failed`).
message:
type: string
description: Human-readable explanation.
details:
type: object
additionalProperties: true
description: Optional context.
required:
- code
- message
required:
- error
RateLimitedResponse:
type: object
properties:
error:
type: object
properties:
code:
type: string
description: Always `rate_limited`.
message:
type: string
description: One sentence saying the organisation is past its limit and how long to wait.
retry_after:
type: integer
description: Whole seconds to wait before trying again. The same value as the Retry-After header.
rate:
type: number
description: How many requests a second the organisation may send, across all its API keys and connections.
burst:
type: number
description: How many requests it may send at once after a quiet spell.
required:
- code
- message
- retry_after
- rate
- burst
required:
- error
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Either an MCP API key (prefix `sta_`, mint at https://app.stablebaseline.io/settings/developers) or an OAuth 2.1 access token. Every OAuth endpoint lives under this function, and the authoritative list is at https://api.stablebaseline.io/functions/v1/cloud-serve/.well-known/oauth-authorization-server: authorise at https://api.stablebaseline.io/functions/v1/cloud-serve/oauth/authorize, exchange at https://api.stablebaseline.io/functions/v1/cloud-serve/oauth/token.'