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.
openapi: 3.2.0
info:
title: QuillHub Public Workspaces API
version: 1.0.0
description: Public REST API for transcription. Submit a URL (YouTube, Instagram, or a direct media link) or an inline base64 file to `POST /v1/transcriptions`, then poll `GET /v1/transcriptions/{id}` or subscribe to webhooks for the result.
servers:
- url: https://api.quillhub.ai
tags:
- name: Workspaces
paths:
/v1/workspaces:
get:
tags:
- Workspaces
summary: List workspaces and their projects
description: Every workspace the caller owns or is an active member of, with the projects inside each workspace nested in the response. This is the discovery endpoint for `workspace_id` / `project_id` values used by other endpoints. Archived workspaces and projects are excluded.
security:
- BearerAuth: []
responses:
'200':
description: Workspaces with nested projects.
content:
application/json:
schema:
$ref: '#/components/schemas/WorkspacesResponse'
'401':
description: Missing or invalid Bearer token.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: getV1Workspaces
x-operation-id-source: derived
/v1/workspaces/:wsId/unassigned-count:
get:
tags:
- Workspaces
summary: Count of unassigned recordings
description: How many desktop-recorded meetings (`source='desktop'`, excluding dictation) in this workspace have no project, excluding the ones a human explicitly kept without one (`ai_layer_status='kept'`) and the ones whose AI analysis hasn't finished yet. Bot/web/API recordings are never counted here. Backs the «Входящие»/Inbox nav badge. Same predicate as `GET /v1/transcriptions?unassigned=true` — see `apps/api/src/lib/unassigned-filter.ts` (the count and the list used to disagree because each hand-rolled its own condition).
security:
- BearerAuth: []
parameters:
- schema:
type: integer
minimum: 0
exclusiveMinimum: true
required: true
name: wsId
in: path
responses:
'200':
description: Count.
content:
application/json:
schema:
$ref: '#/components/schemas/UnassignedCountResponse'
'401':
description: Missing or invalid Bearer token.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Not a member of this workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Workspace not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: getV1Workspaces:wsIdUnassignedCount
x-operation-id-source: derived
components:
schemas:
Error:
type: object
properties:
error:
type: object
properties:
type:
type: string
enum:
- invalid_request_error
- authentication_error
- permission_error
- not_found_error
- rate_limit_error
- api_error
description: 'Machine-readable error family. Always matches the HTTP status: 400 → invalid_request_error, 401 → authentication_error, 403 → permission_error, 404 → not_found_error, 429 → rate_limit_error, 5xx → api_error.'
example: invalid_request_error
code:
type: string
description: Stable machine-readable code within the error family. Branch on `code`, not on `message`.
example: missing_field
message:
type: string
description: Human-readable description, suitable for logs or developer-facing UIs.
example: '`url` or `file` is required'
param:
type: string
description: Name of the offending field for `invalid_request_error`. Absent for other error types.
example: url
request_id:
type: string
description: Unique identifier for this request. Include it in support requests — it lets us pull the full trace in seconds.
example: req_01HZX5T9Y2R7Q8KMPF3VZABCDE
required:
- type
- code
- message
- request_id
description: All error responses share this envelope. See the Errors guide for retry semantics (only 5xx are retryable).
required:
- error
WorkspacesResponse:
type: object
properties:
workspaces:
type: array
items:
type: object
properties:
id:
type: integer
name:
type: string
type:
type: string
description: '`personal` or `team`.'
role:
type: string
description: 'Caller''s role: `owner`, `admin`, or `member`.'
projects:
type: array
items:
type: object
properties:
id:
type: integer
name:
type: string
description:
type: string
nullable: true
color:
type: string
nullable: true
recordings_count:
type: integer
required:
- id
- name
- description
- color
- recordings_count
required:
- id
- name
- type
- role
- projects
required:
- workspaces
UnassignedCountResponse:
type: object
properties:
count:
type: integer
required:
- count
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: API key starting with qai_live_