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.

Local APIÁp dụng cho Quin Camoufox 0.7Cập nhật 2 tháng 11, 2026

Trang này chưa có bản tiếng Việt. Nội dung tiếng Anh được hiển thị bên dưới.

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.

PropertyValue
OpenAPI version3.1.0
info.titleQuin Camoufox Local API
info.version1 (the API version)
Paths / operations44 paths, 55 operations, all under /api/v1
Tagsstatus, profiles, groups, proxies, runtimes, configurations, browsers, rpa, jobs, events
serversNot 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:

Shell
curl -s http://127.0.0.1:50380/api/v1/openapi.json -o quin-openapi.json
PowerShell
Invoke-RestMethod http://127.0.0.1:50380/api/v1/openapi.json | ConvertTo-Json -Depth 50 | Set-Content quin-openapi.json

This 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:

Python
spec = client.openapi()
print(spec["info"]["version"], len(spec["paths"]))
TypeScript
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:

SchemaUsed by
ProfileIn, ProfilePatch, BulkIn, CloneInProfile create, edit, bulk edit, clone configuration
GroupInGroup create and edit
ProxyIn, ProxyPatch, AssignInProxy create, edit, assign
OpenIn, CloseIn, CloseAllInBrowser open and close
TaskIn, SignalInRPA tasks and run signals
ScheduleIn, SchedulePatchSchedules

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.json needs Authorization: Bearer <token>, and each needs a scope — see Authentication and scopes.
  • Error bodies. Operations list a 422 response 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}/actions takes a free-form object; the 50 actions and their parameters are in Browser actions.
  • Workflows and imports. Workflow bodies are free-form quin.workflow/1 graphs, validated by Quin.
  • Event stream. GET /events is documented as a plain operation; the event format and kinds are in Events.
  • Headers. Idempotency-Key, Idempotent-Replay, Retry-After and Last-Event-ID are 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:50380 and add the bearer header. A tool that sends an Origin header (as browser-based API tools do) is refused with 403 origin_forbidden.
  • n8n: use the HTTP Request node as shown in n8n.

Endpoint summary

AreaOperations
StatusGET /status
Profiles12
Groups3
Proxies6
Runtimes, configurations2
Browsers and files9
Workflows8
Tasks, runs6
Schedules4
Jobs3
EventsGET /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.

Tải tài liệu OpenAPI