Documentation
QUEWD API
  • Dashboard
  • Explore models
  • Quick start
  • Documentation
  • Pricing
  • API keys
  • Analytics
  • Billing
  • Top up
  • Contact sales
  • Status
Ask your assistant

Reference

Authentication

Send your key as a bearer token: Authorization: Bearer YOUR_API_KEY. Each key carries scopes; a request outside them is refused with missing_scope.

Money rules

Every generation needs max_credits (in US dollars) and an Idempotency-Key. A run priced above max_credits, or above your balance, is refused before anything starts. Orders never take payment: they return a checkout link a person opens to pay.

Limits

Per key: 120 requests a minute, 10 new generations a minute and 5 orders a minute. Over the limit you get rate_limited with a Retry-After header.

Endpoints

MethodPathScopeWhat it does
GET/api/v1/modelsAny keyList the models you can run, with prices
POST/api/v1/generationsstudio:writeStart a generation
POST/api/v1/generations/quotestudio:readQuote a generation
GET/api/v1/generations/{id}studio:readRead a generation and its output
POST/api/v1/generations/{id}/cancelstudio:writeCancel a run that has not started; you are refunded
GET/api/v1/walletstudio:readYour wallet balance
GET/api/v1/servicesAny keyList the services you can order
POST/api/v1/ordersorders:writeCreate an order and get its checkout link (no payment taken)
POST/api/v1/quips/officialquips:officialPost as Quewd (platform owner)

Posting as Quewd

Only the platform owner's API keys with the quips:official scope can post as the official Quewd account; every other key gets 403. Up to 280 characters, an optional https link and Library media. One post a minute and 30 a day; send an Idempotency-Key so a retry never posts twice. Add the quips:review scope, or "status": "draft", to approve each post in the admin Quips list first. The same is the MCP tool post_official_quip.

curl
curl -X POST https://quewd.com/api/v1/quips/official \
  -H "Authorization: Bearer $QUEWD_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: release-2026-11-18" \
  -d '{"text":"Product update: the official Quewd account is on Quips.","link":"https://quewd.com/quips/official"}'
n8n (HTTP Request)
Method: POST
URL: https://quewd.com/api/v1/quips/official
Authentication: Generic Credential Type > Header Auth
  Name: Authorization
  Value: Bearer <your key>   (an n8n credential, never in the workflow)
Send Headers: Idempotency-Key = {{ $execution.id }}
Send Body: JSON
  { "text": "{{ $json.text }}", "link": "{{ $json.link }}", "status": "draft" }
Retry On Fail: on (a 429 means wait a minute)

Error codes

Errors are JSON: an error object with code, message and details. The code is stable; the message may change.

CodeStatus
unauthorized401
missing_scope403
forbidden403
not_found404
method_not_allowed405
invalid_request400
idempotency_key_required400
max_credits_exceeded402
insufficient_balance402
conflict409
rate_limited429
model_unavailable503
generation_failed502
unavailable503
internal_error500
Full interactive reference