Quiver icon
Quiver
箭囊
API Quickstart

Copy-ready Quiver API snippets

These are direct copy snippets for users. The page hides the full key by default, but copy actions will prefer the real key from the current session.

Current Wallet
Not loaded
Current Session Key
Not loaded, copies are template-only
Tier / FC
Not loaded
Gateway
http://localhost:3000/api/v1/proxy
Back to Dashboard
While the dashboard stays open and visible, balance and quota sync automatically. After each 30-minute, 6-hour, or 24-hour release point, you can return to the page or refresh manually before copying or calling again.
Profile Check
Check the wallet, holdings, available FC, and next daily reset bound to the current key.
curl http://localhost:3000/api/v1/me \
  -H "Authorization: Bearer qvr_live_your_key"
Models
Fetch the public quiver model list currently visible to the wallet.
curl http://localhost:3000/api/v1/proxy/v1/models \
  -H "Authorization: Bearer qvr_live_your_key"
Chat Completions
The basic OpenAI-compatible call. Real routing is mapped to upstream models inside the gateway.
curl http://localhost:3000/api/v1/proxy/v1/chat/completions \
  -H "Authorization: Bearer qvr_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "quiver-swift",
    "messages": [
      { "role": "user", "content": "Reply with exactly OK." }
    ]
  }'
JavaScript Fetch
The most direct integration template for scripts, Node jobs, or external services.
const response = await fetch("http://localhost:3000/api/v1/proxy/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: "Bearer qvr_live_your_key",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "quiver-swift",
    messages: [{ role: "user", content: "Reply with exactly OK." }],
  }),
});

const data = await response.json();
console.log(data);
Skill Prompt
A direct instruction block for external agents, automation tools, or your Quiver skill.
Use the Quiver wallet-bound API for this user.
Base URL: http://localhost:3000/api/v1/proxy
Authorization: Bearer qvr_live_your_key
Available public models: quiver-auto, quiver-swift, quiver-core, quiver-deep, quiver-code.
First call GET /v1/models when you need the current model list.
For standard generation call POST /v1/chat/completions with a public quiver model id.
For wallet status call GET http://localhost:3000/api/v1/me with the same bearer token.
If the user just bought more token, ask them to refresh balance manually in the dashboard before retrying.