OpenAPI reference
Download the OpenAPI 3.1 document of the Quin Local API, or fetch it from your own running Quin Camoufox, and know what it does and does not describe.
The Local API describes itself with an OpenAPI 3.1 document. Use it to explore endpoints, generate a client, or import requests into an API tool.
Two ways to get it
The published document
quin-local-api-v1.json is the document of Local API version 1, generated from the Local API's own server code
(not written by hand) of Quin Camoufox 0.7.0-rc.3; the API did not change in 0.7.0-rc.4 or 0.7.0-rc.5.
Download it here: quin-local-api-v1.json. A running Quin also serves its own copy at /api/v1/openapi.json.
| Property | Value |
|---|---|
| OpenAPI version | 3.1.0 |
info.title | Quin Camoufox Local API |
info.version | 1 (the API version) |
| Paths / operations | 44 paths, 55 operations, all under /api/v1 |
| Tags | status, profiles, groups, proxies, runtimes, configurations, browsers, rpa, jobs, events |
servers | Not included — use http://127.0.0.1:<your port> |
From your own Quin
While the Local API is on, Quin serves the document of the build you are running:
curl -s http://127.0.0.1:50380/api/v1/openapi.json -o quin-openapi.jsonInvoke-RestMethod http://127.0.0.1:50380/api/v1/openapi.json | ConvertTo-Json -Depth 50 | Set-Content quin-openapi.jsonThis is the only endpoint that needs no token. The Host and Origin checks still apply, so it cannot be fetched from a web page or another computer. In the app, Settings → Local API → API documentation shows the same document in a readable form.
The SDKs fetch it too:
spec = client.openapi()
print(spec["info"]["version"], len(spec["paths"]))const spec = await client.openapi();What the document covers
Every route with its method, path, path and query parameters (with their limits), request-body schema and a short summary. Request bodies are fully described for:
| Schema | Used by |
|---|---|
ProfileIn, ProfilePatch, BulkIn, CloneIn | Profile create, edit, bulk edit, clone configuration |
GroupIn | Group create and edit |
ProxyIn, ProxyPatch, AssignIn | Proxy create, edit, assign |
OpenIn, CloseIn, CloseAllIn | Browser open and close |
TaskIn, SignalIn | RPA tasks and run signals |
ScheduleIn, SchedulePatch | Schedules |
What it does not describe
The document is generated from route definitions, so a few things live only in this documentation:
- Authentication. No security scheme is declared, but every operation except
GET /api/v1/openapi.jsonneedsAuthorization: Bearer <token>, and each needs a scope — see Authentication and scopes. - Error bodies. Operations list a
422response with a generic validation schema; the actual body of every error is Quin's envelope{"error": {"code", "message", "details"}}— see Errors. Other error statuses (401, 403, 404, 409, 411, 413, 421, 429) are not listed per operation. - Response bodies. Most responses are untyped JSON in the document. The shapes are in Profiles API, Browser lifecycle and Jobs.
- Browser actions.
POST /browsers/{session_id}/actionstakes a free-form object; the 50 actions and their parameters are in Browser actions. - Workflows and imports. Workflow bodies are free-form
quin.workflow/1graphs, validated by Quin. - Event stream.
GET /eventsis documented as a plain operation; the event format and kinds are in Events. - Headers.
Idempotency-Key,Idempotent-Replay,Retry-AfterandLast-Event-IDare described in Jobs and Events.
Using it with tools
- Code generators: generate models for the request schemas above, but keep the error envelope and the bearer header in hand-written code. The official SDKs already handle retries, idempotency keys, event reconnects and typed errors: Python, JavaScript.
- Desktop API clients on the same computer: import the file, set the base URL to
http://127.0.0.1:50380and add the bearer header. A tool that sends anOriginheader (as browser-based API tools do) is refused with403 origin_forbidden. - n8n: use the HTTP Request node as shown in n8n.
Endpoint summary
| Area | Operations |
|---|---|
| Status | GET /status |
| Profiles | 12 |
| Groups | 3 |
| Proxies | 6 |
| Runtimes, configurations | 2 |
| Browsers and files | 9 |
| Workflows | 8 |
| Tasks, runs | 6 |
| Schedules | 4 |
| Jobs | 3 |
| Events | GET /events |
Together with GET /openapi.json itself (not listed in the document), these are all routes of API
version 1 in 0.7.0-rc.3.