Tiro Workspace API
List the workspaces an API key can reach. Workspace-scoped endpoints take a `{workspaceGuid}` path segment; get it from `GET /v1/external/workspaces`.
List the workspaces an API key can reach. Workspace-scoped endpoints take a `{workspaceGuid}` path segment; get it from `GET /v1/external/workspaces`.
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/tiro-ooo:tiro-ooo-workspace-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: Tiro Ooo Workspace API
version: 1.0.0
contact:
name: Tiro Support
email: support@tiro.ooo
url: https://tiro.ooo
description: 'Operations tagged Workspace across 2 of this provider''s published API definitions: openapi.yaml, tiro-ooo-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.tiro.ooo
description: Production server
security:
- BearerAuth: []
tags:
- name: Workspace
description: 'List the workspaces an API key can reach. Workspace-scoped endpoints take a
`{workspaceGuid}` path segment; get it from `GET /v1/external/workspaces`.'
paths:
/v1/external/workspaces:
get:
summary: List Workspaces
description: 'List all workspaces accessible to the caller''s API key or OAuth token.
Resolution order:
1. Workspace-bound API key → the single bound workspace
2. Organization-bound API key → active workspaces in the organization, limited to the key''s selected workspaces if any
3. Legacy team API key → the team''s workspace
4. Personal key → workspaces the user is a member of, limited to the key''s selected workspaces if any; OAuth token → all workspaces the user is a member of
Pass a returned `guid` as the `{workspaceGuid}` path segment of the workspace-scoped
endpoints — notes, folders, note document templates, word memories, and wiki.'
operationId: listWorkspaces
tags:
- Workspace
responses:
'200':
description: List of accessible workspaces
content:
application/json:
schema:
$ref: '#/components/schemas/ExternalWorkspaceListResponse'
example:
workspaces:
- guid: ws_abc123
name: Acme Corp
isWikiEnabled: true
- guid: ws_def456
name: Personal
isWikiEnabled: false
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
servers:
- url: https://api.tiro.ooo
description: Production server
/v1/external/workspaces/me:
get:
summary: Get My Workspace
deprecated: true
description: '**Deprecated.** Use `GET /v1/external/workspaces` and pass the chosen `guid`
explicitly. This endpoint stays available for backward compatibility.
Returns a workspace only when the API key can access exactly one. A key that can
access two or more workspaces gets `409` with the candidates in
`error.detail.workspaces`; a key that can access none gets `404`.'
operationId: getMyWorkspace
tags:
- Workspace
responses:
'200':
description: The caller's implicit workspace
content:
application/json:
schema:
$ref: '#/components/schemas/WorkspaceMeResponse'
example:
guid: ws_abc123
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No workspace is accessible with this API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: 'The API key can access two or more workspaces. `error.detail.workspaces` lists
the candidates; pass one `guid` as `{workspaceGuid}` on the workspace-scoped endpoints.
'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: 409028
errorType: conflict
message: This API key can access 2 workspaces; specify one explicitly.
detail:
workspaces:
- guid: ws_abc123
name: Acme Corp
- guid: ws_def456
name: Personal
servers:
- url: https://api.tiro.ooo
description: Production server
components:
schemas:
WorkspaceMeResponse:
type: object
required:
- guid
properties:
guid:
type: string
description: The caller's implicit workspace GUID
example: ws_abc123
ExternalWorkspaceSummary:
type: object
required:
- guid
- name
- isWikiEnabled
properties:
guid:
type: string
description: Unique workspace identifier
example: ws_abc123
name:
type: string
description: Human-readable workspace name
example: Acme Corp
isWikiEnabled:
type: boolean
description: Whether wiki is both plan-eligible and activated for this workspace
example: true
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- errorType
- message
properties:
code:
type: integer
description: '6-digit error code in `AAABBB` form: first 3 digits match the HTTP status,
last 3 digits are a per-status serial (e.g. `404018`). Use only when you need
to distinguish specific error cases within the same HTTP status — values may be
added or renumbered across releases. For general client branching, prefer `errorType`.
'
example: 404018
errorType:
type: string
description: "Stable, coarse-grained error category. Recommended default for client-side\nbranching: the value-to-status mapping is part of the API contract and will not\nchange without a breaking-change notice. Typical use:\n - `unauthorized` → trigger re-authentication\n - `forbidden` → surface a permission error to the user\n - `not_found` → treat as missing resource\n - `too_many_requests` → back off and retry\n - `internal_error` → retry with exponential backoff\n"
enum:
- bad_request
- unauthorized
- forbidden
- not_found
- not_acceptable
- conflict
- payload_too_large
- unprocessable_entity
- too_many_requests
- internal_error
example: not_found
message:
type: string
description: Human-readable error message. Not stable; do not use for branching.
example: 'No team found for user #217'
detail:
description: Additional error details. Authorization failures may include a reason and required scopes.
oneOf:
- type: string
nullable: true
- type: object
additionalProperties: true
properties:
reason:
type: string
example: insufficient_scope
required:
type: array
items:
type: string
example:
- folder:read
example: null
ExternalWorkspaceListResponse:
type: object
required:
- workspaces
properties:
workspaces:
type: array
items:
$ref: '#/components/schemas/ExternalWorkspaceSummary'
description: List of accessible workspaces
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: 'API key in format `{id}.{secret}`.
The notes an endpoint returns depend on the key type. A **user key** reaches the
notes that user can see in the app, including notes in their own private folders.
A **system key** (workspace or organization, no user identity) reaches only notes
that sit in a folder shared with all workspace members. Notes in a private folder,
in a folder shared with only some members, or in no folder at all fall outside a
system key''s read scope, and scopes do not widen that boundary.
List and search endpoints drop out-of-scope notes from the response without an
error. Single-note reads and their sub-resources return `404`, the same response
as a deleted note. See [What notes a system key reads](https://docs.tiro.ooo/en/developers/fundamentals/system-key-note-scope).
'
x-refined-from:
- openapi.yaml
- tiro-ooo-openapi.yml