Documentation
Send your first request, check its receipt, and run Panward in production. Start with the card for what you are doing.
Start here#
Send your first requestSend your first sealed request and verify its receipt. It takes about five minutes, and the code you already have for OpenAI keeps working.Move from OpenAIMove an OpenAI integration to Panward by changing the base URL and the key, then handle the few differences.Verify a receiptCheck Panward's gateway and a receipt yourself, step by step, and see exactly what each check does and does not establish.
Understand the product#
What Panward isWhat Panward is, the two tiers, what a receipt is, and what you can and cannot conclude from one.Sealed and RoutedSealed and Routed, the model ids you send, and what is available through the API today.Receipts and verification levelsWhat a receipt is, what each verification level shows, and what checking one yourself does and does not establish.What is and is not provenAttestation protects against software and administrators. It cannot rule out someone with physical access to the hardware.
Build#
One OpenAI-compatible API. Each page shows the request, the response and the headers Panward adds, in curl, Python and TypeScript.
Chat completionsSend a conversation to POST /v1/chat/completions, control the output, and read the response, its headers and its receipt.StreamingReceive a chat completion as an event stream, read usage and the receipt id, and keep the bytes you need to verify it.Tool callingDefine tools, let the model call them, and return their results.Structured outputAsk for JSON, or for JSON that matches a schema you give.ReasoningOne way to control and read a model's reasoning, whichever model serves the request.VisionSend images to a chat model with the vision capability.Text completionsSend a prompt and get text back on the legacy completions endpoint, for code written before chat completions.EmbeddingsTurn texts into vectors for search and retrieval with a model of kind embedding.RerankOrder documents by relevance to a query with a model of kind rerank.Audio transcriptionTranscribe an audio file with a model of kind transcription.Image generationGenerate images from a text prompt with a model of kind image, returned inline as base64.
Prove#
Receipts and verificationWhat a receipt is, what each verification level shows, and what checking one yourself does and does not establish.Warden command lineThe commands, flags, verdicts and exit codes of warden, the open-source receipt verifier.Attest the gatewayCheck, before you send anything, that an API host runs Panward's published gateway software in a genuine enclave.Verification guideCheck Panward's gateway and a receipt yourself, step by step, and see exactly what each check does and does not establish.
Control and operate#
PoliciesHow organization and project policies constrain requests, and how to change them safely.Regions and residencyThe regional hosts, how a request is kept in a region, and what stays where.LimitsRate limits, capacity, request size and time limits, and how to retry.ErrorsEvery error type the API returns, what causes it, whether to retry, and whether the request was billed.Usage APIRead your organization's requests, tokens and spend from code, grouped by model, project, key, tier, region or day.Credits, top-ups and limitsHow prepaid credit works, how a request is priced, how to add credit, how spending is capped, and where invoices are.WebhooksReceive signed events from Panward on your own server, check each signature and handle retries and duplicates.
For security and compliance reviewers#
Verification guideCheck Panward's gateway and a receipt yourself, step by step, and see exactly what each check does and does not establish.Security modelThe security design at the level you need to integrate correctly: what protects your content, what you are responsible for, and the limits.Data handlingWhat Panward processes, what it stores, for how long, and what it never stores.What is and is not provenWhat a receipt shows, what it does not, and the limit of attestation.
Reference#
API referenceEvery operation, parameter, schema and error of the public API, generated from the OpenAPI document.SDKsWhich libraries to use with Panward, and how to read Panward's headers and keep the raw bytes with them.Warden command lineThe commands, flags, verdicts and exit codes of warden, the open-source receipt verifier.GlossaryThe one definition of each term the documentation uses, with its identifier and the page that explains it.ChangelogNew models, receipt fields and API changes, newest first.StatusThe current state of Panward's services and open incidents.
Base URL and status#
Send requests to https://api.panward.ai/v1, or to a regional host: https://api.eu.panward.ai/v1 (Regions and residency).
Your first request
curl -i https://api.panward.ai/v1/chat/completions \ -H "Authorization: Bearer $PANWARD_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "z-ai/glm-5.3", "messages": [{"role": "user", "content": "Summarise this discharge note."}] }'