Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
refactor: rewrite API skill following skill-creator spec
Gabriel Stein14d8e1ffdbb8
diff --git a/agent-skills/openwhispr-api/SKILL.md b/agent-skills/openwhispr-api/SKILL.mdindex 6dcbea330..9d8de9306 100644--- a/agent-skills/openwhispr-api/SKILL.md+++ b/agent-skills/openwhispr-api/SKILL.md@@ -1,16 +1,32 @@-# OpenWhispr API+---+name: openwhispr-api+description: Use this skill when building integrations with the OpenWhispr REST API, calling OpenWhispr endpoints, managing notes/folders/transcriptions programmatically, or connecting to the OpenWhispr MCP server. Covers authentication, all V1 endpoints, pagination, rate limits, error handling, and the remote MCP server.+----Use the OpenWhispr REST API to manage notes, folders, transcriptions, and usage programmatically.+# OpenWhispr API v1++Use this reference when making requests to the OpenWhispr REST API. All endpoints are under the V1 path and require API key authentication.## Authentication-All requests require a Bearer token. Generate an API key from the OpenWhispr desktop app under **Settings > API Keys**.+Pass the API key as a Bearer token in the `Authorization` header on every request.```Authorization: Bearer owk_live_YOUR_KEY```-Keys use scoped permissions: `notes:read`, `notes:write`, `transcriptions:read`, `usage:read`.+Generate keys from the OpenWhispr desktop app under **Settings > API Keys**. Keys start with `owk_live_` and are shown once at creation.++### Scopes++Each key has scoped permissions. The API rejects requests missing the required scope with `403 Forbidden`.++| Scope | Grants |+|-------|--------|+| `notes:read` | List, get, and search notes. List folders. |+| `notes:write` | Create, update, and delete notes. Create folders. |+| `transcriptions:read` | List and get transcriptions. |+| `usage:read` | Read usage statistics. |## Base URL@@ -18,16 +34,22 @@ Keys use scoped permissions: `notes:read`, `notes:write`, `transcriptions:read`,https://api.openwhispr.com/api/v1```-## Response Format+## Response Envelope++Wrap all responses in a consistent envelope.-**Success (single resource):**+**Single resource:**```json-{ "data": { ... } }+{ "data": { "id": "uuid", "title": "My note", ... } }```-**Success (list with pagination):**+**Paginated list:**```json-{ "data": [...], "has_more": true, "next_cursor": "2026-04-15T..." }+{+ "data": [{ ... }, { ... }],+ "has_more": true,+ "next_cursor": "2026-04-15T10:30:00.000Z"+}```**Error:**@@ -35,16 +57,22 @@ https://api.openwhispr.com/api/v1{ "error": { "code": "not_found", "message": "Note not found" } }```-## Rate Limits+### Error Codes-Limits are per API key. Headers returned on every response:+| HTTP Status | Code | Meaning |+|-------------|------|---------|+| 400 | `validation_error` | Invalid request body or query params |+| 401 | `invalid_api_key` | Missing, malformed, expired, or revoked key |+| 403 | `forbidden` | Key lacks required scope |+| 404 | `not_found` | Resource does not exist or belongs to another user |+| 405 | `method_not_allowed` | Wrong HTTP method |+| 409 | `conflict` | Duplicate resource (e.g. folder name) |+| 429 | `rate_limited` | Rate limit exceeded — check `Retry-After` header |+| 500 | `internal_error` | Server error |-| Header | Description |-|--------|-------------|-| `X-RateLimit-Limit` | Requests allowed per minute |-| `X-RateLimit-Remaining` | Requests remaining in window |-| `X-RateLimit-Reset` | Unix timestamp when window resets |-| `Retry-After` | Seconds to wait (only on 429) |+## Rate Limits++Enforced per API key with minute and daily windows. Search requests cost 5x against the rate limit.| Plan | Per Minute | Per Day ||------|-----------|---------|@@ -52,146 +80,145 @@ Limits are per API key. Headers returned on every response:| Pro | 120 | 10,000 || Business | 300 | 50,000 |-## Endpoints--### Notes+Response headers on every request:-#### List Notes-```-GET /notes/list?limit=50&cursor=CURSOR&folder_id=UUID-```-- **Scope:** `notes:read`-- **Query:** `limit` (1-100, default 50), `cursor` (pagination), `folder_id` (optional filter)-- **Returns:** Paginated list with `has_more` and `next_cursor`--#### Get Note-```-GET /notes/{id}-```-- **Scope:** `notes:read`-- **Path:** `id` — UUID of the note+| Header | Description |+|--------|-------------|+| `X-RateLimit-Limit` | Max requests per minute |+| `X-RateLimit-Remaining` | Remaining in current window |+| `X-RateLimit-Reset` | Unix timestamp when window resets |+| `Retry-After` | Seconds to wait (only on 429) |-#### Create Note-```-POST /notes/create-Content-Type: application/json+## Pagination-{- "content": "Note text here",- "title": "Optional title",- "note_type": "personal",- "folder_id": "UUID"-}-```-- **Scope:** `notes:write`-- **Body:** `content` (required), `title`, `note_type` (`personal` | `meeting` | `upload`), `folder_id`-- **Returns:** 201 with created note+List endpoints use cursor-based pagination. Pass the `next_cursor` value from a previous response as the `cursor` query parameter to fetch the next page. When `has_more` is `false`, there are no more results.-#### Update Note```-PATCH /notes/{id}-Content-Type: application/json--{- "title": "Updated title",- "content": "Updated content",- "folder_id": "UUID"-}+GET /notes/list?limit=50&cursor=2026-04-15T10:30:00.000Z```-- **Scope:** `notes:write`-- **Body:** `title`, `content`, `enhanced_content`, `folder_id` (all optional)-#### Delete Note-```-DELETE /notes/{id}-```-- **Scope:** `notes:write`-- **Returns:** 204 No Content+## Endpoints-#### Search Notes-```-POST /notes/search-Content-Type: application/json+### Notes-{- "query": "meeting with design team",- "limit": 20-}-```-- **Scope:** `notes:read`-- **Body:** `query` (1-500 chars, required), `limit` (1-50, default 20)-- **Search:** Hybrid semantic (vector) + full-text search with relevance scoring+**List Notes** — `GET /notes/list`+| Param | Type | Required | Description |+|-------|------|----------|-------------|+| `limit` | integer | No | 1-100, default 50 |+| `cursor` | string | No | Pagination cursor |+| `folder_id` | UUID | No | Filter by folder |+Scope: `notes:read`++**Get Note** — `GET /notes/{id}`+Scope: `notes:read`. Returns 404 if the note does not exist or is deleted.++**Create Note** — `POST /notes/create`+| Field | Type | Required | Description |+|-------|------|----------|-------------|+| `content` | string | Yes | Note body text |+| `title` | string | No | Note title |+| `enhanced_content` | string | No | Cleaned/enhanced version |+| `note_type` | enum | No | `personal` (default), `meeting`, `upload` |+| `folder_id` | UUID | No | Target folder |+Scope: `notes:write`. Returns `201` with the created note.++**Update Note** — `PATCH /notes/{id}`+| Field | Type | Required | Description |+|-------|------|----------|-------------|+| `title` | string | No | New title |+| `content` | string | No | New content |+| `enhanced_content` | string | No | New enhanced content |+| `folder_id` | UUID | No | Move to folder |+Scope: `notes:write`. All fields optional — only provided fields are updated.++**Delete Note** — `DELETE /notes/{id}`+Scope: `notes:write`. Soft-deletes the note. Returns `204 No Content`.++**Search Notes** — `POST /notes/search`+| Field | Type | Required | Description |+|-------|------|----------|-------------|+| `query` | string | Yes | Search text (1-500 chars) |+| `limit` | integer | No | 1-50, default 20 |+Scope: `notes:read`. Uses hybrid semantic (vector) + full-text search with relevance scoring. Costs 5x against rate limit.### Folders-#### List Folders-```-GET /folders/list-```-- **Scope:** `notes:read`--#### Create Folder-```-POST /folders/create-Content-Type: application/json+**List Folders** — `GET /folders/list`+Scope: `notes:read`. Returns all folders sorted by `sort_order` then `created_at`.-{- "name": "Work",- "sort_order": 1-}-```-- **Scope:** `notes:write`-- **Body:** `name` (1-100 chars, required), `sort_order` (optional integer)-- **Limits:** Max 50 folders per user+**Create Folder** — `POST /folders/create`+| Field | Type | Required | Description |+|-------|------|----------|-------------|+| `name` | string | Yes | Folder name (1-100 chars) |+| `sort_order` | integer | No | Sort position |+Scope: `notes:write`. Max 50 folders per user. Returns `409` if name already exists.### Transcriptions-#### List Transcriptions-```-GET /transcriptions/list?limit=50&cursor=CURSOR-```-- **Scope:** `transcriptions:read`-- **Returns:** Paginated list of transcription history (text, word count, provider, duration)+**List Transcriptions** — `GET /transcriptions/list`+| Param | Type | Required | Description |+|-------|------|----------|-------------|+| `limit` | integer | No | 1-100, default 50 |+| `cursor` | string | No | Pagination cursor |+Scope: `transcriptions:read`. Returns transcription history with `text`, `word_count`, `source`, `provider`, `model`, `language`, `audio_duration_ms`, `processing_ms`.-#### Get Transcription-```-GET /transcriptions/{id}-```-- **Scope:** `transcriptions:read`+**Get Transcription** — `GET /transcriptions/{id}`+Scope: `transcriptions:read`.### Usage-#### Get Usage Stats-```-GET /usage-```-- **Scope:** `usage:read`-- **Returns:** `words_used`, `words_remaining`, `limit`, `plan`, `is_subscribed`, `current_period_end`, `billing_interval`+**Get Usage** — `GET /usage`+Scope: `usage:read`. Returns:+- `words_used` — Words consumed this period+- `words_remaining` — Words left in quota+- `limit` — Total word quota+- `plan` — Current plan (`free`, `pro`, `business`)+- `is_subscribed` — Whether user has active subscription+- `current_period_end` — End of current billing period+- `billing_interval` — Billing cycle## MCP Server-For AI assistant integration (Claude, Cursor, VS Code), connect to the remote MCP server:+For AI assistant integration (Claude, Cursor, VS Code), connect to the remote MCP server at:```https://mcp.openwhispr.com/mcp```-Pass your API key via the `Authorization: Bearer` header. All API endpoints above are available as MCP tools.+Pass the API key via `Authorization: Bearer` header. All V1 endpoints are available as MCP tools. The server uses Streamable HTTP transport (stateless, no sessions).++### Claude Code+```bash+claude mcp add openwhispr --transport http https://mcp.openwhispr.com/mcp \+ --header "Authorization: Bearer owk_live_YOUR_KEY"+```++### Cursor / VS Code+```json+{+ "mcpServers": {+ "openwhispr": {+ "url": "https://mcp.openwhispr.com/mcp",+ "headers": { "Authorization": "Bearer owk_live_YOUR_KEY" }+ }+ }+}+```## Examples-### List recent notes with curl+### List recent notes```bashcurl -H "Authorization: Bearer owk_live_YOUR_KEY" \- https://api.openwhispr.com/api/v1/notes/list?limit=10+ "https://api.openwhispr.com/api/v1/notes/list?limit=10"```-### Create a note+### Create a note in a folder```bashcurl -X POST \-H "Authorization: Bearer owk_live_YOUR_KEY" \-H "Content-Type: application/json" \- -d '{"content": "Remember to review PR #42", "title": "TODO"}' \+ -d '{"content": "Remember to review PR #42", "title": "TODO", "folder_id": "UUID"}' \https://api.openwhispr.com/api/v1/notes/create```@@ -216,3 +243,9 @@ while true; docursor=$(echo "$response" | jq -r '.next_cursor')done```++### Check usage+```bash+curl -H "Authorization: Bearer owk_live_YOUR_KEY" \+ https://api.openwhispr.com/api/v1/usage+```