Skip to main content
Menu

API reference

OpenAI-compatible inference with a signed receipt for every response, plus the open endpoints used to verify them.

Panward is an OpenAI-compatible inference gateway. Every response, streamed or not, has a receipt: a signed record that binds the exact request and response bytes to Panward's attested gateway and states what the gateway verified about the model environment that served it.

Version 1.0.0 of the contract. Operations marked "Not served yet" are described by the contract and are not served yet. To make a first request, follow the quickstart; keys are made in the console under API keys, and usage is billed as described on the Billing page. Changes are listed in the changelog.

Base URL
https://api.panward.ai/v1
Format
JSON over HTTPS
Compatibility
OpenAI SDKs
Region
eu
Verifier
warden

Hosts

GroupBase URLAuthentication
Gatewayhttps://api.panward.ai/v1 (geo-steered) and the regional hosts api.eu., api.us., api.ap.panward.aiAPI key, except /attestation and /health
App public routeshttps://panward.ai/api/publicnone

Paths that start with /public/ in this document are served by the app host; their server entry is https://panward.ai/api, so /public/status is https://panward.ai/api/public/status. All other paths are served by the gateway hosts. An organization whose policy pins regions should call the regional host: the gateway checks the region and refuses a mis-steered request with 403 region_not_allowed; it never proxies to another region.

Authentication

Authorization: Bearer pw_live_…. A key belongs to one project and carries scopes:

ScopeAllows
inferencePOST /chat/completions, /completions, /embeddings, /rerank, /audio/transcriptions, /images/generations
models.readGET /models, GET /models/{vendor}/{name}
receipts.readGET /receipts, GET /receipts/{id}
usage.readGET /usage

A key without the needed scope gets 403 permission_denied. Each operation names its scope in x-required-scope.

Tiers and verification levels

A model is offered in the Sealed tier, the Routed tier, or both. The level reached is stated per response in the receipt:

levelMeaning
sealed_model_signedthe model enclave's key signed the exact upstream request and response hashes
sealed_attested_pathan attested gateway enclave on the upstream hop signed them and bound an attested model environment
sealed_attested_channelno signature: the upstream exchange went over a channel (TLS pinned to, or bodies encrypted to, a key) that only an enclave could terminate whose evidence Panward verified with its own nonce. Nobody can re-check the response itself against the upstream later. The weakest Sealed level: a policy whose minimum level is sealed_attested_path excludes it
routedno enclave evidence exists for the upstream hop; the receipt binds the bytes to Panward's gateway only
failedan expected proof was missing, late, invalid or against policy

Attestation protects against software and administrators. It cannot rule out someone with physical access to the hardware. A Sealed request is never served by a Routed offer, and failover never relaxes a policy constraint.

Request headers on inference

Authorization, Content-Type, and optionally panward-tier: sealed|routed, panward-fallback: allow, panward-hold-until-verified: true (non-streaming only) and X-Request-Id (echoed as panward-client-request-id). Inference requests do not accept Idempotency-Key.

Response headers on inference

panward-request-id, panward-receipt-id, panward-tier, panward-region, panward-model and the rate-limit headers. Nothing is added to the response body or the event stream, so the response hash in the receipt covers exactly the bytes the client received.

Errors

Every error has the same body: {"error": {"type", "message", "param", "request_id", "doc_url"}}. type is a stable machine value; message is safe to show and never contains upstream text. New type values may be added; clients should treat an unknown value by its HTTP status.

StatusType
400invalid_request
400context_length_exceeded
400unsupported_parameter
401authentication_required
401invalid_api_key
402insufficient_credit
402spend_limit_reached
402billing_unavailable
403permission_denied
403model_not_enabled
403policy_blocked
403region_not_allowed
403ip_not_allowed
403organization_suspended
404not_found
404model_not_found
410gone
413request_too_large
429rate_limit_exceeded
500internal_error
502upstream_unavailable
502upstream_rejected
503no_capacity
503sealed_unavailable
503verification_unavailable
503receipt_unavailable
504upstream_timeout

Conventions

  • JSON, UTF-8, snake_case. Timestamps are Unix seconds.
  • Ids are prefixed strings (rcpt_, req_, org_, prj_, key_, …).
  • Money is an integer *_nano_usd (1 USD = 1,000,000,000 nano-USD) with a formatted *_usd string where it is displayed.
  • Lists use cursor pagination: ?limit= (default 50, maximum 200) and &cursor=; the response is {"data": [...], "next_cursor": "…" | null}.
  • Streaming is text/event-stream in the OpenAI chunk format, ended by data: [DONE]. A failure after the first byte is an event: error frame with the error object; the stream then ends without [DONE].
  • Versioning: /v1, additive changes only. Breaking changes need a new version and 12 months' notice; model retirements get 90 days.

What is billed

Tokens actually produced, including a stream the client cut. Requests refused by Panward (authentication, policy, limits, validation) and upstream failures before any output are not billed. Receipts and verification are free.

Create a chat completion

POST/v1/chat/completions
Served

Generates a model response for a conversation. Compatible with the OpenAI Chat Completions request and response formats, so existing SDKs work by changing the base URL and the key.

Routing: the gateway resolves the canonical model, applies the project's policy, and picks an eligible offer in the requested tier. With panward-fallback: allow and a fallback list in the project's policy, another listed model may serve the request when the requested one has no capacity; panward-model names the model used. There is no retry after the first byte has been sent to the client.

Streaming: set stream: true. Usage is delivered only when stream_options.include_usage is true, in one extra final chunk with empty choices. Streams on Sealed models reach the level sealed_attested_path; if the organization's policy requires a model-enclave signature, the gateway obtains the response unstreamed and re-streams it, which raises the time to first token.

The receipt has status pending when the response ends and becomes final shortly after (usually under one second).

Needs an API key with the inference scope.

Request headers

  • AuthorizationstringRequired
    Bearer pw_live_…: your API key.
  • panward-tierTierPanward
    Tier to serve the request in. Without it the model's default tier applies, or Sealed when the policy is "Sealed only". Asking for routed where the policy forbids it returns 403 policy_blocked. A sealed request is never served by a Routed offer; with no eligible Sealed offer the answer is 503 sealed_unavailable. One of sealed, routed.
  • panward-fallbackstringPanward
    Opt in to the project's fallback models. When the requested model has no capacity, the gateway tries each model of the policy's fallback list in order, with every policy constraint unchanged. The panward-model response header and the body's model name the model that answered. One of allow.
  • panward-hold-until-verifiedstringPanward
    Non-streaming requests only. Delays the response until the verification level is known and returns 503 verification_unavailable instead of an unverified answer. Combined with stream: true it returns 400 unsupported_parameter. One of true.
  • X-Request-Idstringmax length 128 · pattern ^[A-Za-z0-9._:-]+$
    Client correlation id, echoed in the panward-client-request-id response header. It is not forwarded upstream.

Body parameters application/json

  • modelstringRequired
    Canonical model id. Aliases are not resolved.
  • messagesarray of ChatMessageRequiredmin items 1
  • max_completion_tokensintegermin 1
    Upper bound on generated tokens, including reasoning tokens. Capped by the model's max_output_tokens.
  • max_tokensintegermin 1
    Older name of max_completion_tokens. If both are sent they must be equal.
  • temperaturenumbermin 0 · max 2
  • top_pnumbermax 1
  • top_kintegermin 1
    Not supported by every model.
  • frequency_penaltynumbermin -2 · max 2
  • presence_penaltynumbermin -2 · max 2
  • seedinteger
    Best-effort determinism; the same seed and parameters usually give the same output on the same offer.
  • stopstring | array of string
    Up to 4 sequences at which generation stops.
    One of: string, array of string
  • nintegerdefault: 1 · min 1 · max 1
    Number of choices. Only 1 is supported.
  • logprobsbooleandefault: false
  • top_logprobsintegermin 0 · max 20
    Needs logprobs: true.
  • streambooleandefault: false
    Return the response as an event stream.
  • stream_optionsStreamOptions
    Only valid with stream: true.
    • include_usagebooleandefault: false
      Send one extra final chunk with empty choices that carries usage. Without it the stream carries no usage.
  • toolsarray of Toolmax items 128
    • typestringRequired
      One of function.
    • functionobjectRequired
      • namestringRequiredpattern ^[A-Za-z0-9_-]{1,64}$
      • descriptionstring
      • parametersobject
        JSON Schema of the function arguments.
      • strictbooleandefault: false
  • tool_choiceToolChoice
    none, auto (default when tools are present), required, or one named function.
    One of: string, object
  • parallel_tool_callsbooleandefault: true
  • response_formatResponseFormat
    Output format. json_schema needs a model with the json_schema capability.
    One of: object, object, object
  • reasoningReasoning
    Canonical reasoning control, translated by the gateway for the model that serves the request. On a model without the reasoning capability it is rejected with 400 unsupported_parameter. Reasoning tokens are billed as output tokens.
    • effortstring
      How much the model may reason. none is the same as enabled: false. One of none, low, medium, high.
    • enabledboolean
      Switch reasoning on or off for models where it is optional. Defaults to the model's default.
  • reasoning_effortstring
    OpenAI-style shorthand for reasoning.effort. If both are sent they must agree. One of none, low, medium, high.
  • userstringmax length 256
    Accepted for compatibility and ignored. It is never stored and never forwarded upstream.

Responses

200

The completion. application/json when stream is false or absent; text/event-stream when stream is true.

Headers: panward-request-id, panward-receipt-id, panward-tier, panward-region, panward-model, panward-client-request-id, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

application/json: ChatCompletionResponse

text/event-stream: ChatCompletionStream

  • idstringRequired
    Completion id assigned by Panward (chatcmpl-…).
  • objectstringRequired
    One of chat.completion.
  • createdintegerRequired
    Unix seconds.
  • modelstringRequired
    Canonical id of the model that answered.
  • choicesarray of ChatChoiceRequired
  • usageUsageRequired
    Token usage in the OpenAI field names. These are the quantities that are billed.

400BadRequest

The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

Error types: invalid_request, context_length_exceeded, unsupported_parameter.

Headers: panward-request-id.

401Unauthorized

No API key was sent (authentication_required) or the key is unknown, revoked or expired (invalid_api_key).

Error types: authentication_required, invalid_api_key.

Headers: panward-request-id.

402PaymentRequired

The request cannot be paid for: insufficient_credit (balance too low for the estimated cost), spend_limit_reached (organization, project or key limit) or billing_unavailable. Nothing was forwarded and nothing is billed.

Error types: insufficient_credit, spend_limit_reached, billing_unavailable.

Headers: panward-request-id, panward-receipt-id.

403Forbidden

The key is valid but the request is not allowed: permission_denied (missing scope), model_not_enabled, policy_blocked (the project's policy refused the request), region_not_allowed (this gateway region is outside the policy's regions), ip_not_allowed or organization_suspended. Policy refusals on inference produce a signed receipt with policy.applied.decision: "deny". Max input tokens (a policy's prompt.max_input_tokens, a key's own prompt limit) is checked before the request is sent, on an estimate of the prompt's tokens made from its words, digits and punctuation. The model counts the prompt only after it answers, and its count can be above or below the estimate, most for very short prompts: a prompt close to the limit, under it or over it, can be refused or served. Each image counts as a fixed 16,384 tokens.

Error types: permission_denied, model_not_enabled, policy_blocked, region_not_allowed, ip_not_allowed, organization_suspended.

Headers: panward-request-id, panward-receipt-id.

404ModelNotFound

The model id is not a canonical model (model_not_found). Aliases are not resolved.

Error types: model_not_found.

Headers: panward-request-id.

413RequestTooLarge

The request body exceeds the size limit of the endpoint (request_too_large).

Error types: request_too_large.

Headers: panward-request-id.

429RateLimited

A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

Error types: rate_limit_exceeded.

Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

500InternalError

An unexpected error inside Panward (internal_error). Safe to retry.

Error types: internal_error.

Headers: panward-request-id.

502BadGateway

No upstream attempt produced a response: upstream_unavailable (retryable) or upstream_rejected (the upstream refused a request Panward considered valid; reported to Panward automatically). The message never contains upstream text. Not billed.

Error types: upstream_unavailable, upstream_rejected.

Headers: panward-request-id, panward-receipt-id.

503ServiceUnavailable

The request cannot be served now: no_capacity (no eligible offer has headroom; retry after Retry-After), sealed_unavailable (no Sealed offer is currently eligible; the request is never downgraded to Routed) or verification_unavailable (verification material could not be produced, or the gateway could not verify a held response). 503 no_capacity and sealed_unavailable carry Retry-After; when the model's offers are temporarily closed it is the time until one is tried again.

Error types: no_capacity, sealed_unavailable, verification_unavailable, sealed_unavailable.

Headers: panward-request-id, panward-receipt-id, Retry-After.

504GatewayTimeout

No upstream attempt produced a first byte within the time budget (upstream_timeout). Retryable. Not billed.

Error types: upstream_timeout.

Headers: panward-request-id, panward-receipt-id.

Request
curl 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":"system","content":"You are a careful assistant."},{"role":"user","content":"Summarise the attached clause in one sentence."}],"max_completion_tokens":256,"temperature":0.2,"reasoning":{"effort":"low"}}'
{
  "id": "chatcmpl-01JC7Q4N8G5T2R9X1M3K6P7W4D",
  "object": "chat.completion",
  "created": 1790000000,
  "model": "z-ai/glm-5.3",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "The clause limits each party's liability to the fees paid in the previous twelve months."
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 1500,
    "completion_tokens": 500,
    "total_tokens": 2000,
    "prompt_tokens_details": {
      "cached_tokens": 0
    },
    "completion_tokens_details": {
      "reasoning_tokens": 472
    }
  }
}

Create a text completion

POST/v1/completions
Served

Legacy text completion for models of kind completion or chat. Same headers, routing, receipts and errors as chat completions. Streaming uses the same event-stream framing with text_completion chunks. This endpoint is served Routed only: a request for the Sealed tier (by panward-tier, or by default) is refused 400 unsupported_parameter naming panward-tier.

Needs an API key with the inference scope.

Request headers

  • AuthorizationstringRequired
    Bearer pw_live_…: your API key.
  • panward-tierTierPanward
    Tier to serve the request in. Without it the model's default tier applies, or Sealed when the policy is "Sealed only". Asking for routed where the policy forbids it returns 403 policy_blocked. A sealed request is never served by a Routed offer; with no eligible Sealed offer the answer is 503 sealed_unavailable. One of sealed, routed.
  • panward-fallbackstringPanward
    Opt in to the project's fallback models. When the requested model has no capacity, the gateway tries each model of the policy's fallback list in order, with every policy constraint unchanged. The panward-model response header and the body's model name the model that answered. One of allow.
  • panward-hold-until-verifiedstringPanward
    Non-streaming requests only. Delays the response until the verification level is known and returns 503 verification_unavailable instead of an unverified answer. Combined with stream: true it returns 400 unsupported_parameter. One of true.
  • X-Request-Idstringmax length 128 · pattern ^[A-Za-z0-9._:-]+$
    Client correlation id, echoed in the panward-client-request-id response header. It is not forwarded upstream.

Body parameters application/json

  • modelstringRequired
  • promptstring | array of stringRequired
    One of: string, array of string
  • max_tokensintegermin 1
  • temperaturenumbermin 0 · max 2
  • top_pnumbermax 1
  • frequency_penaltynumbermin -2 · max 2
  • presence_penaltynumbermin -2 · max 2
  • seedinteger
  • stopstring | array of string
    One of: string, array of string
  • echobooleandefault: false
  • logprobsintegermin 0 · max 5
  • streambooleandefault: false
  • stream_optionsStreamOptions
    Only valid with stream: true.
    • include_usagebooleandefault: false
      Send one extra final chunk with empty choices that carries usage. Without it the stream carries no usage.
  • userstringmax length 256
    Accepted for compatibility and ignored. Never stored, never forwarded upstream.

Responses

200

The completion, as JSON or as an event stream when stream is true.

Headers: panward-request-id, panward-receipt-id, panward-tier, panward-region, panward-model, panward-client-request-id, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

application/json: CompletionResponse

text/event-stream: CompletionStream

  • idstringRequired
    Completion id (cmpl-…).
  • objectstringRequired
    One of text_completion.
  • createdintegerRequired
  • modelstringRequired
  • choicesarray of objectRequired
    • indexintegerRequired
    • textstringRequired
    • finish_reasonFinishReason | nullRequired
      Why generation stopped. null on stream chunks before the last one. One of stop, length, tool_calls, content_filter, null.
    • logprobsobject | null
  • usageUsage | any
    Always present on non-streamed responses; on streams only in the final chunk when stream_options.include_usage is true.
    One of: Usage, any | null

400BadRequest

The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

Error types: invalid_request, context_length_exceeded, unsupported_parameter.

Headers: panward-request-id.

401Unauthorized

No API key was sent (authentication_required) or the key is unknown, revoked or expired (invalid_api_key).

Error types: authentication_required, invalid_api_key.

Headers: panward-request-id.

402PaymentRequired

The request cannot be paid for: insufficient_credit (balance too low for the estimated cost), spend_limit_reached (organization, project or key limit) or billing_unavailable. Nothing was forwarded and nothing is billed.

Error types: insufficient_credit, spend_limit_reached, billing_unavailable.

Headers: panward-request-id, panward-receipt-id.

403Forbidden

The key is valid but the request is not allowed: permission_denied (missing scope), model_not_enabled, policy_blocked (the project's policy refused the request), region_not_allowed (this gateway region is outside the policy's regions), ip_not_allowed or organization_suspended. Policy refusals on inference produce a signed receipt with policy.applied.decision: "deny". Max input tokens (a policy's prompt.max_input_tokens, a key's own prompt limit) is checked before the request is sent, on an estimate of the prompt's tokens made from its words, digits and punctuation. The model counts the prompt only after it answers, and its count can be above or below the estimate, most for very short prompts: a prompt close to the limit, under it or over it, can be refused or served. Each image counts as a fixed 16,384 tokens.

Error types: permission_denied, model_not_enabled, policy_blocked, region_not_allowed, ip_not_allowed, organization_suspended.

Headers: panward-request-id, panward-receipt-id.

404ModelNotFound

The model id is not a canonical model (model_not_found). Aliases are not resolved.

Error types: model_not_found.

Headers: panward-request-id.

413RequestTooLarge

The request body exceeds the size limit of the endpoint (request_too_large).

Error types: request_too_large.

Headers: panward-request-id.

429RateLimited

A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

Error types: rate_limit_exceeded.

Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

500InternalError

An unexpected error inside Panward (internal_error). Safe to retry.

Error types: internal_error.

Headers: panward-request-id.

502BadGateway

No upstream attempt produced a response: upstream_unavailable (retryable) or upstream_rejected (the upstream refused a request Panward considered valid; reported to Panward automatically). The message never contains upstream text. Not billed.

Error types: upstream_unavailable, upstream_rejected.

Headers: panward-request-id, panward-receipt-id.

503ServiceUnavailable

The request cannot be served now: no_capacity (no eligible offer has headroom; retry after Retry-After), sealed_unavailable (no Sealed offer is currently eligible; the request is never downgraded to Routed) or verification_unavailable (verification material could not be produced, or the gateway could not verify a held response). 503 no_capacity and sealed_unavailable carry Retry-After; when the model's offers are temporarily closed it is the time until one is tried again.

Error types: no_capacity, sealed_unavailable, verification_unavailable, sealed_unavailable.

Headers: panward-request-id, panward-receipt-id, Retry-After.

504GatewayTimeout

No upstream attempt produced a first byte within the time budget (upstream_timeout). Retryable. Not billed.

Error types: upstream_timeout.

Headers: panward-request-id, panward-receipt-id.

Request
curl https://api.panward.ai/v1/completions \
  -H "Authorization: Bearer $PANWARD_API_KEY" \
  -H "panward-tier: routed" \
  -H "Content-Type: application/json" \
  -d '{"model":"z-ai/glm-5.3","prompt":"text"}'
{
  "error": {
    "type": "invalid_request",
    "message": "temperature must be between 0 and 2.",
    "param": "temperature",
    "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
    "doc_url": "https://panward.ai/docs/errors#invalid_request"
  }
}

Create embeddings

POST/v1/embeddings
Served

Returns one embedding vector per input, for models of kind embedding. panward-hold-until-verified is accepted. Billed on input tokens. This endpoint is served Routed only: a request for the Sealed tier (by panward-tier, or by default) is refused 400 unsupported_parameter naming panward-tier.

Needs an API key with the inference scope.

Request headers

  • AuthorizationstringRequired
    Bearer pw_live_…: your API key.
  • panward-tierTierPanward
    Tier to serve the request in. Without it the model's default tier applies, or Sealed when the policy is "Sealed only". Asking for routed where the policy forbids it returns 403 policy_blocked. A sealed request is never served by a Routed offer; with no eligible Sealed offer the answer is 503 sealed_unavailable. One of sealed, routed.
  • panward-fallbackstringPanward
    Opt in to the project's fallback models. When the requested model has no capacity, the gateway tries each model of the policy's fallback list in order, with every policy constraint unchanged. The panward-model response header and the body's model name the model that answered. One of allow.
  • panward-hold-until-verifiedstringPanward
    Non-streaming requests only. Delays the response until the verification level is known and returns 503 verification_unavailable instead of an unverified answer. Combined with stream: true it returns 400 unsupported_parameter. One of true.
  • X-Request-Idstringmax length 128 · pattern ^[A-Za-z0-9._:-]+$
    Client correlation id, echoed in the panward-client-request-id response header. It is not forwarded upstream.

Body parameters application/json

  • modelstringRequired
    Canonical id of a model of kind embedding.
  • inputstring | array of stringRequired
    One text or up to 2048 texts.
    One of: string, array of string
  • encoding_formatstringdefault: "float"
    One of float, base64.
  • dimensionsintegermin 1
    Shorten the vectors, for models that support it.
  • userstringmax length 256
    Accepted for compatibility and ignored. Never stored, never forwarded upstream.

Responses

200

The embeddings, in input order.

Headers: panward-request-id, panward-receipt-id, panward-tier, panward-region, panward-model, panward-client-request-id, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

application/json: EmbeddingResponse

  • objectstringRequired
    One of list.
  • dataarray of objectRequired
    • objectstringRequired
      One of embedding.
    • indexintegerRequired
    • embeddingarray of number | stringRequired
      The vector as numbers, or as base64 of little-endian 32-bit floats when encoding_format is base64.
      One of: array of number, string
  • modelstringRequired
  • usageInputUsageRequired
    Usage of endpoints that bill input tokens only.

400BadRequest

The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

Error types: invalid_request, context_length_exceeded, unsupported_parameter.

Headers: panward-request-id.

401Unauthorized

No API key was sent (authentication_required) or the key is unknown, revoked or expired (invalid_api_key).

Error types: authentication_required, invalid_api_key.

Headers: panward-request-id.

402PaymentRequired

The request cannot be paid for: insufficient_credit (balance too low for the estimated cost), spend_limit_reached (organization, project or key limit) or billing_unavailable. Nothing was forwarded and nothing is billed.

Error types: insufficient_credit, spend_limit_reached, billing_unavailable.

Headers: panward-request-id, panward-receipt-id.

403Forbidden

The key is valid but the request is not allowed: permission_denied (missing scope), model_not_enabled, policy_blocked (the project's policy refused the request), region_not_allowed (this gateway region is outside the policy's regions), ip_not_allowed or organization_suspended. Policy refusals on inference produce a signed receipt with policy.applied.decision: "deny". Max input tokens (a policy's prompt.max_input_tokens, a key's own prompt limit) is checked before the request is sent, on an estimate of the prompt's tokens made from its words, digits and punctuation. The model counts the prompt only after it answers, and its count can be above or below the estimate, most for very short prompts: a prompt close to the limit, under it or over it, can be refused or served. Each image counts as a fixed 16,384 tokens.

Error types: permission_denied, model_not_enabled, policy_blocked, region_not_allowed, ip_not_allowed, organization_suspended.

Headers: panward-request-id, panward-receipt-id.

404ModelNotFound

The model id is not a canonical model (model_not_found). Aliases are not resolved.

Error types: model_not_found.

Headers: panward-request-id.

413RequestTooLarge

The request body exceeds the size limit of the endpoint (request_too_large).

Error types: request_too_large.

Headers: panward-request-id.

429RateLimited

A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

Error types: rate_limit_exceeded.

Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

500InternalError

An unexpected error inside Panward (internal_error). Safe to retry.

Error types: internal_error.

Headers: panward-request-id.

502BadGateway

No upstream attempt produced a response: upstream_unavailable (retryable) or upstream_rejected (the upstream refused a request Panward considered valid; reported to Panward automatically). The message never contains upstream text. Not billed.

Error types: upstream_unavailable, upstream_rejected.

Headers: panward-request-id, panward-receipt-id.

503ServiceUnavailable

The request cannot be served now: no_capacity (no eligible offer has headroom; retry after Retry-After), sealed_unavailable (no Sealed offer is currently eligible; the request is never downgraded to Routed) or verification_unavailable (verification material could not be produced, or the gateway could not verify a held response). 503 no_capacity and sealed_unavailable carry Retry-After; when the model's offers are temporarily closed it is the time until one is tried again.

Error types: no_capacity, sealed_unavailable, verification_unavailable, sealed_unavailable.

Headers: panward-request-id, panward-receipt-id, Retry-After.

504GatewayTimeout

No upstream attempt produced a first byte within the time budget (upstream_timeout). Retryable. Not billed.

Error types: upstream_timeout.

Headers: panward-request-id, panward-receipt-id.

Request
curl https://api.panward.ai/v1/embeddings \
  -H "Authorization: Bearer $PANWARD_API_KEY" \
  -H "panward-tier: routed" \
  -H "Content-Type: application/json" \
  -d '{"model":"'"$PANWARD_EMBEDDING_MODEL"'","input":"text"}'
{
  "error": {
    "type": "invalid_request",
    "message": "temperature must be between 0 and 2.",
    "param": "temperature",
    "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
    "doc_url": "https://panward.ai/docs/errors#invalid_request"
  }
}

Rerank documents against a query

POST/v1/rerank
Served

Scores each document for relevance to the query and returns them ordered by score, for models of kind rerank. Billed on input tokens.

Needs an API key with the inference scope.

Request headers

  • AuthorizationstringRequired
    Bearer pw_live_…: your API key.
  • panward-tierTierPanward
    Tier to serve the request in. Without it the model's default tier applies, or Sealed when the policy is "Sealed only". Asking for routed where the policy forbids it returns 403 policy_blocked. A sealed request is never served by a Routed offer; with no eligible Sealed offer the answer is 503 sealed_unavailable. One of sealed, routed.
  • panward-fallbackstringPanward
    Opt in to the project's fallback models. When the requested model has no capacity, the gateway tries each model of the policy's fallback list in order, with every policy constraint unchanged. The panward-model response header and the body's model name the model that answered. One of allow.
  • panward-hold-until-verifiedstringPanward
    Non-streaming requests only. Delays the response until the verification level is known and returns 503 verification_unavailable instead of an unverified answer. Combined with stream: true it returns 400 unsupported_parameter. One of true.
  • X-Request-Idstringmax length 128 · pattern ^[A-Za-z0-9._:-]+$
    Client correlation id, echoed in the panward-client-request-id response header. It is not forwarded upstream.

Body parameters application/json

  • modelstringRequired
    Canonical id of a model of kind rerank.
  • querystringRequired
  • documentsarray of stringRequiredmin items 1 · max items 1000
  • top_nintegermin 1
    Return only the best top_n results. Defaults to all documents.
  • return_documentsbooleandefault: false
    Include each document's text in the results.

Responses

200

The ranked results.

Headers: panward-request-id, panward-receipt-id, panward-tier, panward-region, panward-model, panward-client-request-id, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

application/json: RerankResponse

  • idstringRequired
    Rerank id (rerank-…).
  • objectstringRequired
    One of rerank.
  • modelstringRequired
  • resultsarray of objectRequired
    Ordered by relevance_score, highest first.
    • indexintegerRequired
      Position of the document in the request.
    • relevance_scorenumberRequired
    • documentstring
      Present when return_documents is true.
  • usageInputUsageRequired
    Usage of endpoints that bill input tokens only.

400BadRequest

The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

Error types: invalid_request, context_length_exceeded, unsupported_parameter.

Headers: panward-request-id.

401Unauthorized

No API key was sent (authentication_required) or the key is unknown, revoked or expired (invalid_api_key).

Error types: authentication_required, invalid_api_key.

Headers: panward-request-id.

402PaymentRequired

The request cannot be paid for: insufficient_credit (balance too low for the estimated cost), spend_limit_reached (organization, project or key limit) or billing_unavailable. Nothing was forwarded and nothing is billed.

Error types: insufficient_credit, spend_limit_reached, billing_unavailable.

Headers: panward-request-id, panward-receipt-id.

403Forbidden

The key is valid but the request is not allowed: permission_denied (missing scope), model_not_enabled, policy_blocked (the project's policy refused the request), region_not_allowed (this gateway region is outside the policy's regions), ip_not_allowed or organization_suspended. Policy refusals on inference produce a signed receipt with policy.applied.decision: "deny". Max input tokens (a policy's prompt.max_input_tokens, a key's own prompt limit) is checked before the request is sent, on an estimate of the prompt's tokens made from its words, digits and punctuation. The model counts the prompt only after it answers, and its count can be above or below the estimate, most for very short prompts: a prompt close to the limit, under it or over it, can be refused or served. Each image counts as a fixed 16,384 tokens.

Error types: permission_denied, model_not_enabled, policy_blocked, region_not_allowed, ip_not_allowed, organization_suspended.

Headers: panward-request-id, panward-receipt-id.

404ModelNotFound

The model id is not a canonical model (model_not_found). Aliases are not resolved.

Error types: model_not_found.

Headers: panward-request-id.

413RequestTooLarge

The request body exceeds the size limit of the endpoint (request_too_large).

Error types: request_too_large.

Headers: panward-request-id.

429RateLimited

A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

Error types: rate_limit_exceeded.

Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

500InternalError

An unexpected error inside Panward (internal_error). Safe to retry.

Error types: internal_error.

Headers: panward-request-id.

502BadGateway

No upstream attempt produced a response: upstream_unavailable (retryable) or upstream_rejected (the upstream refused a request Panward considered valid; reported to Panward automatically). The message never contains upstream text. Not billed.

Error types: upstream_unavailable, upstream_rejected.

Headers: panward-request-id, panward-receipt-id.

503ServiceUnavailable

The request cannot be served now: no_capacity (no eligible offer has headroom; retry after Retry-After), sealed_unavailable (no Sealed offer is currently eligible; the request is never downgraded to Routed) or verification_unavailable (verification material could not be produced, or the gateway could not verify a held response). 503 no_capacity and sealed_unavailable carry Retry-After; when the model's offers are temporarily closed it is the time until one is tried again.

Error types: no_capacity, sealed_unavailable, verification_unavailable, sealed_unavailable.

Headers: panward-request-id, panward-receipt-id, Retry-After.

504GatewayTimeout

No upstream attempt produced a first byte within the time budget (upstream_timeout). Retryable. Not billed.

Error types: upstream_timeout.

Headers: panward-request-id, panward-receipt-id.

Request
curl https://api.panward.ai/v1/rerank \
  -H "Authorization: Bearer $PANWARD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"'"$PANWARD_RERANK_MODEL"'","query":"text","documents":["text"]}'
{
  "error": {
    "type": "invalid_request",
    "message": "temperature must be between 0 and 2.",
    "param": "temperature",
    "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
    "doc_url": "https://panward.ai/docs/errors#invalid_request"
  }
}

Transcribe audio

POST/v1/audio/transcriptions
Served

Transcribes an audio file with a model of kind transcription. The request is multipart/form-data; the receipt's request hash covers the exact multipart body bytes. The audio is processed in memory and is not stored. Billed per audio minute.

Needs an API key with the inference scope.

Request headers

  • AuthorizationstringRequired
    Bearer pw_live_…: your API key.
  • panward-tierTierPanward
    Tier to serve the request in. Without it the model's default tier applies, or Sealed when the policy is "Sealed only". Asking for routed where the policy forbids it returns 403 policy_blocked. A sealed request is never served by a Routed offer; with no eligible Sealed offer the answer is 503 sealed_unavailable. One of sealed, routed.
  • panward-fallbackstringPanward
    Opt in to the project's fallback models. When the requested model has no capacity, the gateway tries each model of the policy's fallback list in order, with every policy constraint unchanged. The panward-model response header and the body's model name the model that answered. One of allow.
  • panward-hold-until-verifiedstringPanward
    Non-streaming requests only. Delays the response until the verification level is known and returns 503 verification_unavailable instead of an unverified answer. Combined with stream: true it returns 400 unsupported_parameter. One of true.
  • X-Request-Idstringmax length 128 · pattern ^[A-Za-z0-9._:-]+$
    Client correlation id, echoed in the panward-client-request-id response header. It is not forwarded upstream.

Body parameters multipart/form-data

  • filestringRequired
    The audio file (flac, mp3, mp4, m4a, ogg, wav or webm), at most 25 MB.
  • modelstringRequired
    Canonical id of a model of kind transcription.
  • languagestring
    Language of the audio as an ISO 639-1 code. Improves accuracy and speed.
  • promptstring
    Text to guide style or spelling.
  • response_formatstringdefault: "json"
    One of json, text, verbose_json, srt, vtt.
  • temperaturenumbermin 0 · max 1

Responses

200

The transcription. JSON for response_format json (default) and verbose_json; plain text for text, srt and vtt.

Headers: panward-request-id, panward-receipt-id, panward-tier, panward-region, panward-model, panward-client-request-id, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

application/json: TranscriptionResponse

text/plain

  • textstringRequired
  • languagestring
    Detected or given language (verbose_json).
  • durationnumber
    Audio length in seconds (verbose_json). This is the billed quantity.
  • segmentsarray of object
    Timed segments (verbose_json).
    • idintegerRequired
    • startnumberRequired
    • endnumberRequired
    • textstringRequired

400BadRequest

The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

Error types: invalid_request, context_length_exceeded, unsupported_parameter.

Headers: panward-request-id.

401Unauthorized

No API key was sent (authentication_required) or the key is unknown, revoked or expired (invalid_api_key).

Error types: authentication_required, invalid_api_key.

Headers: panward-request-id.

402PaymentRequired

The request cannot be paid for: insufficient_credit (balance too low for the estimated cost), spend_limit_reached (organization, project or key limit) or billing_unavailable. Nothing was forwarded and nothing is billed.

Error types: insufficient_credit, spend_limit_reached, billing_unavailable.

Headers: panward-request-id, panward-receipt-id.

403Forbidden

The key is valid but the request is not allowed: permission_denied (missing scope), model_not_enabled, policy_blocked (the project's policy refused the request), region_not_allowed (this gateway region is outside the policy's regions), ip_not_allowed or organization_suspended. Policy refusals on inference produce a signed receipt with policy.applied.decision: "deny". Max input tokens (a policy's prompt.max_input_tokens, a key's own prompt limit) is checked before the request is sent, on an estimate of the prompt's tokens made from its words, digits and punctuation. The model counts the prompt only after it answers, and its count can be above or below the estimate, most for very short prompts: a prompt close to the limit, under it or over it, can be refused or served. Each image counts as a fixed 16,384 tokens.

Error types: permission_denied, model_not_enabled, policy_blocked, region_not_allowed, ip_not_allowed, organization_suspended.

Headers: panward-request-id, panward-receipt-id.

404ModelNotFound

The model id is not a canonical model (model_not_found). Aliases are not resolved.

Error types: model_not_found.

Headers: panward-request-id.

413RequestTooLarge

The request body exceeds the size limit of the endpoint (request_too_large).

Error types: request_too_large.

Headers: panward-request-id.

429RateLimited

A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

Error types: rate_limit_exceeded.

Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

500InternalError

An unexpected error inside Panward (internal_error). Safe to retry.

Error types: internal_error.

Headers: panward-request-id.

502BadGateway

No upstream attempt produced a response: upstream_unavailable (retryable) or upstream_rejected (the upstream refused a request Panward considered valid; reported to Panward automatically). The message never contains upstream text. Not billed.

Error types: upstream_unavailable, upstream_rejected.

Headers: panward-request-id, panward-receipt-id.

503ServiceUnavailable

The request cannot be served now: no_capacity (no eligible offer has headroom; retry after Retry-After), sealed_unavailable (no Sealed offer is currently eligible; the request is never downgraded to Routed) or verification_unavailable (verification material could not be produced, or the gateway could not verify a held response). 503 no_capacity and sealed_unavailable carry Retry-After; when the model's offers are temporarily closed it is the time until one is tried again.

Error types: no_capacity, sealed_unavailable, verification_unavailable, sealed_unavailable.

Headers: panward-request-id, panward-receipt-id, Retry-After.

504GatewayTimeout

No upstream attempt produced a first byte within the time budget (upstream_timeout). Retryable. Not billed.

Error types: upstream_timeout.

Headers: panward-request-id, panward-receipt-id.

Request
curl https://api.panward.ai/v1/audio/transcriptions \
  -H "Authorization: Bearer $PANWARD_API_KEY" \
  -F [email protected] \
  -F model="$PANWARD_TRANSCRIPTION_MODEL"
{
  "error": {
    "type": "invalid_request",
    "message": "temperature must be between 0 and 2.",
    "param": "temperature",
    "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
    "doc_url": "https://panward.ai/docs/errors#invalid_request"
  }
}

Generate images

POST/v1/images/generations
Served

Generates images from a text prompt with a model of kind image. Images are returned inline as base64 (b64_json); Panward stores no content, so hosted image URLs are not offered. Billed per image.

Needs an API key with the inference scope.

Request headers

  • AuthorizationstringRequired
    Bearer pw_live_…: your API key.
  • panward-tierTierPanward
    Tier to serve the request in. Without it the model's default tier applies, or Sealed when the policy is "Sealed only". Asking for routed where the policy forbids it returns 403 policy_blocked. A sealed request is never served by a Routed offer; with no eligible Sealed offer the answer is 503 sealed_unavailable. One of sealed, routed.
  • panward-fallbackstringPanward
    Opt in to the project's fallback models. When the requested model has no capacity, the gateway tries each model of the policy's fallback list in order, with every policy constraint unchanged. The panward-model response header and the body's model name the model that answered. One of allow.
  • panward-hold-until-verifiedstringPanward
    Non-streaming requests only. Delays the response until the verification level is known and returns 503 verification_unavailable instead of an unverified answer. Combined with stream: true it returns 400 unsupported_parameter. One of true.
  • X-Request-Idstringmax length 128 · pattern ^[A-Za-z0-9._:-]+$
    Client correlation id, echoed in the panward-client-request-id response header. It is not forwarded upstream.

Body parameters application/json

  • modelstringRequired
    Canonical id of a model of kind image.
  • promptstringRequiredmax length 32000
  • nintegerdefault: 1 · min 1 · max 4
  • sizestring
    Width x height in pixels; allowed values depend on the model.
  • response_formatstringdefault: "b64_json"
    Only inline base64 is offered; url returns 400 unsupported_parameter. One of b64_json.
  • seedinteger
  • userstringmax length 256
    Accepted for compatibility and ignored. Never stored, never forwarded upstream.

Responses

200

The generated images.

Headers: panward-request-id, panward-receipt-id, panward-tier, panward-region, panward-model, panward-client-request-id, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

application/json: ImageGenerationResponse

  • createdintegerRequired
  • dataarray of objectRequired
    • b64_jsonstringRequired
      The image, base64-encoded.
    • revised_promptstring
  • usageobject
    Billed quantity.
    • imagesintegerRequired

400BadRequest

The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

Error types: invalid_request, context_length_exceeded, unsupported_parameter.

Headers: panward-request-id.

401Unauthorized

No API key was sent (authentication_required) or the key is unknown, revoked or expired (invalid_api_key).

Error types: authentication_required, invalid_api_key.

Headers: panward-request-id.

402PaymentRequired

The request cannot be paid for: insufficient_credit (balance too low for the estimated cost), spend_limit_reached (organization, project or key limit) or billing_unavailable. Nothing was forwarded and nothing is billed.

Error types: insufficient_credit, spend_limit_reached, billing_unavailable.

Headers: panward-request-id, panward-receipt-id.

403Forbidden

The key is valid but the request is not allowed: permission_denied (missing scope), model_not_enabled, policy_blocked (the project's policy refused the request), region_not_allowed (this gateway region is outside the policy's regions), ip_not_allowed or organization_suspended. Policy refusals on inference produce a signed receipt with policy.applied.decision: "deny". Max input tokens (a policy's prompt.max_input_tokens, a key's own prompt limit) is checked before the request is sent, on an estimate of the prompt's tokens made from its words, digits and punctuation. The model counts the prompt only after it answers, and its count can be above or below the estimate, most for very short prompts: a prompt close to the limit, under it or over it, can be refused or served. Each image counts as a fixed 16,384 tokens.

Error types: permission_denied, model_not_enabled, policy_blocked, region_not_allowed, ip_not_allowed, organization_suspended.

Headers: panward-request-id, panward-receipt-id.

404ModelNotFound

The model id is not a canonical model (model_not_found). Aliases are not resolved.

Error types: model_not_found.

Headers: panward-request-id.

413RequestTooLarge

The request body exceeds the size limit of the endpoint (request_too_large).

Error types: request_too_large.

Headers: panward-request-id.

429RateLimited

A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

Error types: rate_limit_exceeded.

Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

500InternalError

An unexpected error inside Panward (internal_error). Safe to retry.

Error types: internal_error.

Headers: panward-request-id.

502BadGateway

No upstream attempt produced a response: upstream_unavailable (retryable) or upstream_rejected (the upstream refused a request Panward considered valid; reported to Panward automatically). The message never contains upstream text. Not billed.

Error types: upstream_unavailable, upstream_rejected.

Headers: panward-request-id, panward-receipt-id.

503ServiceUnavailable

The request cannot be served now: no_capacity (no eligible offer has headroom; retry after Retry-After), sealed_unavailable (no Sealed offer is currently eligible; the request is never downgraded to Routed) or verification_unavailable (verification material could not be produced, or the gateway could not verify a held response). 503 no_capacity and sealed_unavailable carry Retry-After; when the model's offers are temporarily closed it is the time until one is tried again.

Error types: no_capacity, sealed_unavailable, verification_unavailable, sealed_unavailable.

Headers: panward-request-id, panward-receipt-id, Retry-After.

504GatewayTimeout

No upstream attempt produced a first byte within the time budget (upstream_timeout). Retryable. Not billed.

Error types: upstream_timeout.

Headers: panward-request-id, panward-receipt-id.

Request
curl https://api.panward.ai/v1/images/generations \
  -H "Authorization: Bearer $PANWARD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"'"$PANWARD_IMAGE_MODEL"'","prompt":"text"}'
{
  "error": {
    "type": "invalid_request",
    "message": "temperature must be between 0 and 2.",
    "param": "temperature",
    "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
    "doc_url": "https://panward.ai/docs/errors#invalid_request"
  }
}

List models

GET/v1/models
Served

Lists the canonical models enabled for the key's organization and project, with the organization's prices (list prices unless the organization has an override). Under a region-pinned policy only models that can be served within the pinned regions are marked available. The response keeps the OpenAI list shape (object, data) and adds next_cursor.

Needs an API key with the models.read scope.

Request headers

  • AuthorizationstringRequired
    Bearer pw_live_…: your API key.

    Query parameters

    • kindModelKind
      Restrict to models of one kind. One of chat, completion, embedding, rerank, transcription, image.
    • tierTier
      Restrict to models offered in this tier. One of sealed, routed.
    • regionRegion
      Restrict to models that can be served in this region. One of eu, us, ap.
    • limitintegerdefault: 50 · min 1 · max 200
      Page size.
    • cursorstring
      Opaque cursor from a previous response's next_cursor.

    Responses

    200

    A page of models.

    Headers: panward-request-id.

    application/json: ModelList

    • objectstringRequired
      One of list.
    • dataarray of ModelRequired
    • next_cursorstring | nullRequired

    400BadRequest

    The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

    Error types: invalid_request, context_length_exceeded, unsupported_parameter.

    Headers: panward-request-id.

    401Unauthorized

    No API key was sent (authentication_required) or the key is unknown, revoked or expired (invalid_api_key).

    Error types: authentication_required, invalid_api_key.

    Headers: panward-request-id.

    403Forbidden

    The key is valid but the request is not allowed: permission_denied (missing scope), model_not_enabled, policy_blocked (the project's policy refused the request), region_not_allowed (this gateway region is outside the policy's regions), ip_not_allowed or organization_suspended. Policy refusals on inference produce a signed receipt with policy.applied.decision: "deny". Max input tokens (a policy's prompt.max_input_tokens, a key's own prompt limit) is checked before the request is sent, on an estimate of the prompt's tokens made from its words, digits and punctuation. The model counts the prompt only after it answers, and its count can be above or below the estimate, most for very short prompts: a prompt close to the limit, under it or over it, can be refused or served. Each image counts as a fixed 16,384 tokens.

    Error types: permission_denied, model_not_enabled, policy_blocked, region_not_allowed, ip_not_allowed, organization_suspended.

    Headers: panward-request-id, panward-receipt-id.

    429RateLimited

    A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

    Error types: rate_limit_exceeded.

    Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

    500InternalError

    An unexpected error inside Panward (internal_error). Safe to retry.

    Error types: internal_error.

    Headers: panward-request-id.

    Request
    curl https://api.panward.ai/v1/models \
      -H "Authorization: Bearer $PANWARD_API_KEY"
    {
      "error": {
        "type": "invalid_request",
        "message": "temperature must be between 0 and 2.",
        "param": "temperature",
        "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
        "doc_url": "https://panward.ai/docs/errors#invalid_request"
      }
    }

    Retrieve a model

    GET/v1/models/{vendor}/{name}
    Served

    Returns one model. Canonical model ids contain a slash (z-ai/glm-5.3), so the id is written as two path segments. The single-segment form with the slash percent-encoded (/models/z-ai%2Fglm-5.3) returns the same document.

    Needs an API key with the models.read scope.

    Request headers

    • AuthorizationstringRequired
      Bearer pw_live_…: your API key.

      Path parameters

      • vendorstringRequiredpattern ^[a-z0-9][a-z0-9._-]*$
        First segment of the canonical model id (the model's publisher).
      • namestringRequiredpattern ^[A-Za-z0-9][A-Za-z0-9._-]*$
        Second segment of the canonical model id.

      Responses

      200

      The model.

      Headers: panward-request-id.

      application/json: Model

      • idstringRequired
        Canonical model id, vendor/name.
      • objectstringRequired
        One of model.
      • createdinteger
        When the model was added to the catalog, Unix seconds.
      • owned_bystring
        Publisher of the model (the first segment of the id).
      • namestringRequired
        Display name.
      • descriptionstring
      • kindModelKindRequired
        What the model does, which decides the endpoint it is called through. One of chat, completion, embedding, rerank, transcription, image.
      • tiersarray of TierRequired
        Tiers the model is offered in.
      • default_tierTierRequired
        Product tier. sealed means the gateway verifies the upstream hop against enclave evidence; routed means it does not. One of sealed, routed.
      • verification_levelsarray of SealedLevelRequired
        Sealed sub-levels that can be reached for this model; empty for a model offered only in the Routed tier. sealed_model_signed is available for non-streamed requests only. The level reached is stated per response in the receipt.
      • hardwarearray of string
        Hardware technologies behind the Sealed tier of this model.
      • context_lengthinteger | null
        The model's advertised context, in tokens: the catalog's override, otherwise the largest context among the offers that serve the model's default tier (the figure the site, the console and the back office show). A request is only sent to an offer it fits; a request no offer can take is refused with context_length_exceeded. Null for kinds without a token context.
      • max_output_tokensinteger | null
        The model's advertised maximum output, in tokens: the catalog's own figure, otherwise the largest among the offers that serve the model's default tier (the figure the site and the console show). A request is only sent to an offer that gives the output it asks for. Null where there is none or the kind writes no tokens.
      • capabilitiesModelCapabilitiesRequired
      • thinks_before_answeringbooleanRequired
        The model thinks before it answers: its answers carry reasoning tokens (usage.completion_tokens_details.reasoning_tokens, billed as output tokens), whether or not the request sends a reasoning control. This is the catalog's statement about the model. It is independent of capabilities.reasoning, which says whether the model accepts the reasoning and reasoning_effort controls: a model can think before answering and still refuse the controls with 400 unsupported_parameter.
      • modalitiesobjectRequired
      • pricingarray of PriceRequired
        One price per tier the model is offered in.
      • regionsarray of objectRequired
        Where the model can be served. A model that cannot be pinned to a region is absent from region-pinned catalogs.
        • regionRegionRequired
          Panward region. One of eu, us, ap.
        • statusstringRequired
          One of available, degraded, unavailable.
        • tiersarray of TierRequired
      • statusstringRequired
        Lifecycle state. A deprecated model has a retirement date at least 90 days after its announcement. One of available, preview, degraded, deprecated, retired.
      • retires_atinteger | null
        Retirement time, Unix seconds, when the model is deprecated.

      401Unauthorized

      No API key was sent (authentication_required) or the key is unknown, revoked or expired (invalid_api_key).

      Error types: authentication_required, invalid_api_key.

      Headers: panward-request-id.

      403Forbidden

      The key is valid but the request is not allowed: permission_denied (missing scope), model_not_enabled, policy_blocked (the project's policy refused the request), region_not_allowed (this gateway region is outside the policy's regions), ip_not_allowed or organization_suspended. Policy refusals on inference produce a signed receipt with policy.applied.decision: "deny". Max input tokens (a policy's prompt.max_input_tokens, a key's own prompt limit) is checked before the request is sent, on an estimate of the prompt's tokens made from its words, digits and punctuation. The model counts the prompt only after it answers, and its count can be above or below the estimate, most for very short prompts: a prompt close to the limit, under it or over it, can be refused or served. Each image counts as a fixed 16,384 tokens.

      Error types: permission_denied, model_not_enabled, policy_blocked, region_not_allowed, ip_not_allowed, organization_suspended.

      Headers: panward-request-id, panward-receipt-id.

      404ModelNotFound

      The model id is not a canonical model (model_not_found). Aliases are not resolved.

      Error types: model_not_found.

      Headers: panward-request-id.

      429RateLimited

      A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

      Error types: rate_limit_exceeded.

      Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

      500InternalError

      An unexpected error inside Panward (internal_error). Safe to retry.

      Error types: internal_error.

      Headers: panward-request-id.

      Request
      curl https://api.panward.ai/v1/models/z-ai/glm-5.3 \
        -H "Authorization: Bearer $PANWARD_API_KEY"
      {
        "id": "z-ai/glm-5.3",
        "object": "model",
        "created": 1788000000,
        "owned_by": "z-ai",
        "name": "GLM 5.3",
        "description": "General-purpose reasoning model with tool calling and structured output.",
        "kind": "chat",
        "tiers": [
          "sealed"
        ],
        "default_tier": "sealed",
        "verification_levels": [
          "sealed_model_signed",
          "sealed_attested_path"
        ],
        "hardware": [
          "intel-tdx",
          "nvidia-gpu"
        ],
        "context_length": 200000,
        "max_output_tokens": 32768,
        "capabilities": {
          "streaming": true,
          "tools": true,
          "json_schema": true,
          "vision": false,
          "reasoning": true,
          "prompt_caching": true
        },
        "thinks_before_answering": true,
        "modalities": {
          "input": [
            "text"
          ],
          "output": [
            "text"
          ]
        },
        "pricing": [
          {
            "tier": "sealed",
            "currency": "USD",
            "components": {
              "input": {
                "unit": "per_1m_tokens",
                "amount_nano_usd": 2160000000,
                "amount_usd": "2.16"
              },
              "cached_input": {
                "unit": "per_1m_tokens",
                "amount_nano_usd": 432000000,
                "amount_usd": "0.432"
              },
              "output": {
                "unit": "per_1m_tokens",
                "amount_nano_usd": 8640000000,
                "amount_usd": "8.64"
              }
            }
          }
        ],
        "regions": [
          {
            "region": "us",
            "status": "available",
            "tiers": [
              "sealed"
            ]
          },
          {
            "region": "eu",
            "status": "available",
            "tiers": [
              "sealed"
            ]
          }
        ],
        "status": "available",
        "retires_at": null
      }

      Retrieve a model by percent-encoded id

      GET/v1/models/{id}
      Served

      Same as GET /models/{vendor}/{name}, for clients that pass the model id as one path segment. The slash in the id must be percent-encoded (z-ai%2Fglm-5.3).

      Needs an API key with the models.read scope.

      Request headers

      • AuthorizationstringRequired
        Bearer pw_live_…: your API key.

        Path parameters

        • idstringRequired
          Canonical model id with its slash percent-encoded.

        Responses

        200

        The model.

        Headers: panward-request-id.

        application/json: Model

        • idstringRequired
          Canonical model id, vendor/name.
        • objectstringRequired
          One of model.
        • createdinteger
          When the model was added to the catalog, Unix seconds.
        • owned_bystring
          Publisher of the model (the first segment of the id).
        • namestringRequired
          Display name.
        • descriptionstring
        • kindModelKindRequired
          What the model does, which decides the endpoint it is called through. One of chat, completion, embedding, rerank, transcription, image.
        • tiersarray of TierRequired
          Tiers the model is offered in.
        • default_tierTierRequired
          Product tier. sealed means the gateway verifies the upstream hop against enclave evidence; routed means it does not. One of sealed, routed.
        • verification_levelsarray of SealedLevelRequired
          Sealed sub-levels that can be reached for this model; empty for a model offered only in the Routed tier. sealed_model_signed is available for non-streamed requests only. The level reached is stated per response in the receipt.
        • hardwarearray of string
          Hardware technologies behind the Sealed tier of this model.
        • context_lengthinteger | null
          The model's advertised context, in tokens: the catalog's override, otherwise the largest context among the offers that serve the model's default tier (the figure the site, the console and the back office show). A request is only sent to an offer it fits; a request no offer can take is refused with context_length_exceeded. Null for kinds without a token context.
        • max_output_tokensinteger | null
          The model's advertised maximum output, in tokens: the catalog's own figure, otherwise the largest among the offers that serve the model's default tier (the figure the site and the console show). A request is only sent to an offer that gives the output it asks for. Null where there is none or the kind writes no tokens.
        • capabilitiesModelCapabilitiesRequired
        • thinks_before_answeringbooleanRequired
          The model thinks before it answers: its answers carry reasoning tokens (usage.completion_tokens_details.reasoning_tokens, billed as output tokens), whether or not the request sends a reasoning control. This is the catalog's statement about the model. It is independent of capabilities.reasoning, which says whether the model accepts the reasoning and reasoning_effort controls: a model can think before answering and still refuse the controls with 400 unsupported_parameter.
        • modalitiesobjectRequired
        • pricingarray of PriceRequired
          One price per tier the model is offered in.
        • regionsarray of objectRequired
          Where the model can be served. A model that cannot be pinned to a region is absent from region-pinned catalogs.
          • regionRegionRequired
            Panward region. One of eu, us, ap.
          • statusstringRequired
            One of available, degraded, unavailable.
          • tiersarray of TierRequired
        • statusstringRequired
          Lifecycle state. A deprecated model has a retirement date at least 90 days after its announcement. One of available, preview, degraded, deprecated, retired.
        • retires_atinteger | null
          Retirement time, Unix seconds, when the model is deprecated.

        401Unauthorized

        No API key was sent (authentication_required) or the key is unknown, revoked or expired (invalid_api_key).

        Error types: authentication_required, invalid_api_key.

        Headers: panward-request-id.

        403Forbidden

        The key is valid but the request is not allowed: permission_denied (missing scope), model_not_enabled, policy_blocked (the project's policy refused the request), region_not_allowed (this gateway region is outside the policy's regions), ip_not_allowed or organization_suspended. Policy refusals on inference produce a signed receipt with policy.applied.decision: "deny". Max input tokens (a policy's prompt.max_input_tokens, a key's own prompt limit) is checked before the request is sent, on an estimate of the prompt's tokens made from its words, digits and punctuation. The model counts the prompt only after it answers, and its count can be above or below the estimate, most for very short prompts: a prompt close to the limit, under it or over it, can be refused or served. Each image counts as a fixed 16,384 tokens.

        Error types: permission_denied, model_not_enabled, policy_blocked, region_not_allowed, ip_not_allowed, organization_suspended.

        Headers: panward-request-id, panward-receipt-id.

        404ModelNotFound

        The model id is not a canonical model (model_not_found). Aliases are not resolved.

        Error types: model_not_found.

        Headers: panward-request-id.

        429RateLimited

        A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

        Error types: rate_limit_exceeded.

        Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

        500InternalError

        An unexpected error inside Panward (internal_error). Safe to retry.

        Error types: internal_error.

        Headers: panward-request-id.

        Request
        curl https://api.panward.ai/v1/models/z-ai%2Fglm-5.3 \
          -H "Authorization: Bearer $PANWARD_API_KEY"
        {
          "error": {
            "type": "invalid_api_key",
            "message": "The API key is invalid, revoked or expired.",
            "param": null,
            "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
            "doc_url": "https://panward.ai/docs/errors#invalid_api_key"
          }
        }

        Get the gateway's attestation document

        GET/v1/attestation
        Served

        Returns a fresh attestation document from the gateway instance that answers, bound to the caller's nonce. No API key is needed. A verifier checks, in the client:

        1. the quote chains to the hardware vendor's root with current collateral, and debug mode is off;
        2. the quote's report_data equals SHA-256(JCS(report_data_statement)) followed by 32 zero bytes, and the statement carries the caller's nonce;
        3. report_data_statement.keyset_digest equals sha256: + hex of SHA-256(JCS(keyset));
        4. measurements equal a row of the published release file (GET /public/releases);
        5. runtime_signature is valid under a key of keyset.receipt_keys;
        6. optionally, the TLS connection's key hash is in keyset.tls_keys.

        Instances differ in keys (each generates its own at boot), so verifiers pin measurements, never keys. A verifier checks older receipts against the archived boot-time document named by their gateway.attestation_id (returned by POST /public/receipts/verify).

        No API key needed.

        Query parameters

        • noncestringRequiredpattern ^[0-9a-fA-F]{64}$
          32 random bytes chosen by the caller, as 64 hexadecimal characters. It is bound into the quote.

        Responses

        200

        The attestation document of the answering instance.

        Headers: panward-request-id, panward-region.

        application/json: Attestation

        • formatstringRequired
          One of panward.attestation/1.
        • teestringRequired
          One of intel-tdx.
        • quotestringRequiredpattern ^[0-9a-f]+$
          The hardware quote, hexadecimal. Its report_data is SHA-256(JCS(report_data_statement)) followed by 32 zero bytes.
        • report_data_statementobjectRequired
          • purposestringRequired
            One of panward.attestation/1.
          • noncestringRequiredpattern ^[0-9a-fA-F]{64}$
            The caller's nonce; in an archived boot-time document, the hash of the keyset.
          • keyset_digestanyRequired
            sha256: + hex of SHA-256(JCS(keyset)).
        • keysetKeysetRequired
          Keys generated inside the enclave at boot and bound into the quote. Verifiers pin measurements, not these keys.
        • measurementsMeasurementsRequired
          Launch and runtime measurement registers, each 96 hexadecimal characters.
        • event_logarray of objectRequired
          Measured boot events that replay to the runtime measurement registers.
          • registerintegerRequiredmin 0 · max 3
          • eventstringRequired
          • digeststringRequiredpattern ^[0-9a-f]+$
          • payloadstring
        • releaseobjectRequired
          • versionstringRequired
          • image_digestSha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
            A content hash, sha256: followed by 64 lowercase hexadecimal characters.
          • transparency_logTransparencyLogEntryRequired
        • runtimeobjectRequired
          Values that change without a new image. They are not hardware-measured; they are signed by the attested receipt key.
          • config_bundleSha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
            A content hash, sha256: followed by 64 lowercase hexadecimal characters.
          • verification_policySha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
            A content hash, sha256: followed by 64 lowercase hexadecimal characters.
          • regionRegionRequired
            Panward region. One of eu, us, ap.
          • started_atintegerRequired
        • runtime_signaturestringRequiredpattern ^[0-9a-f]{128}$
          Ed25519 signature by a key of keyset.receipt_keys over JCS(runtime), hexadecimal.

        400BadRequest

        The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

        Error types: invalid_request, context_length_exceeded, unsupported_parameter.

        Headers: panward-request-id.

        429RateLimited

        A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

        Error types: rate_limit_exceeded.

        Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

        500InternalError

        An unexpected error inside Panward (internal_error). Safe to retry.

        Error types: internal_error.

        Headers: panward-request-id.

        503ServiceUnavailable

        The request cannot be served now: no_capacity (no eligible offer has headroom; retry after Retry-After), sealed_unavailable (no Sealed offer is currently eligible; the request is never downgraded to Routed) or verification_unavailable (verification material could not be produced, or the gateway could not verify a held response). 503 no_capacity and sealed_unavailable carry Retry-After; when the model's offers are temporarily closed it is the time until one is tried again.

        Error types: no_capacity, sealed_unavailable, verification_unavailable, sealed_unavailable.

        Headers: panward-request-id, panward-receipt-id, Retry-After.

        Request
        curl "https://api.panward.ai/v1/attestation?nonce=5f3c9a1e7b2d4c6f8a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f"
        {
          "format": "panward.attestation/1",
          "tee": "intel-tdx",
          "quote": "040002008100000000000000939a7233f79c4ca9940a0db3957f0607",
          "report_data_statement": {
            "purpose": "panward.attestation/1",
            "nonce": "5f3c9a1e7b2d4c6f8a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f",
            "keyset_digest": "sha256:9b1d2f4c6e8a0b3d5f7a9c1e3b5d7f9a1c3e5b7d9f1a3c5e7b9d1f3a5c7e9b1d"
          },
          "keyset": {
            "receipt_keys": [
              {
                "key_id": "rk_01JC7M2Q8X",
                "alg": "ed25519",
                "public_key": "3b6a27bcceb6a42d62a3a8d02a6f0d73653215771de243a63ac048a18b59da29"
              }
            ],
            "tls_keys": [
              {
                "domain": "api.eu.panward.ai",
                "spki_sha256": "7d1a54127b222502f5b79b5fb0803061152a44f92b37e23c6527baf665d4da9a"
              }
            ],
            "not_after": 1790600000
          },
          "measurements": {
            "mrtd": "c68518a0ebb42136c12b2275164f8c72f25fa9a34392228687ed6e9caeb9c0f1dbd895e9cf475121c029dc47e70e91fd",
            "rtmr0": "85e0855a6384fa1c8a6ab36d0dcbfaa11a5753e5a070c08218ae5fe872fcb86967fd2449c29e22e59dc9fec998cb6547",
            "rtmr1": "9b43f9f34a64bec7ec8c2a1d6b5d0a9e2c1f8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c7d6e5f4a3b2c1d0e9f",
            "rtmr2": "7cc2dadd5849bad220ab122c4fbf25a74dc91cc12702447d3b5cac0f49b2b139994f5cd936b293e5f0f14dea4262d668",
            "rtmr3": "2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d"
          },
          "event_log": [
            {
              "register": 3,
              "event": "image-digest",
              "digest": "2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d",
              "payload": "sha256:4f8b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b"
            }
          ],
          "release": {
            "version": "2026.11.3",
            "image_digest": "sha256:4f8b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b",
            "transparency_log": {
              "log_index": 148220931,
              "bundle": "eyJTaWduZWRFbnRyeVRpbWVzdGFtcCI6Ik1FVUNJUUQifQ"
            }
          },
          "runtime": {
            "config_bundle": "sha256:1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b",
            "verification_policy": "sha256:6f5e4d3c2b1a0f9e8d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e0d9c8b7a6f5e",
            "region": "eu",
            "started_at": 1789990000
          },
          "runtime_signature": "8ef196e78fc6d3734becb55e3d6ce49a939b8eed820dc5c1f1c4c7c11fd7b365bf5eac898e5cdad15aa77fcf8431c1713ccb3aba597fb897b1d58c7ebc8f0c66"
        }

        Retrieve a receipt

        GET/v1/receipts/{id}
        Served

        Returns the receipt of a request made by the key's organization. The id comes from the panward-receipt-id response header. Right after a response the receipt is pending: it holds the events up to response.emitted and has no signature. It becomes final when the upstream proof has been processed, or at the 60-second proof deadline, in which case upstream.verified.result is failed with a reason. Poll with a short delay until status is final. Refused requests also have a signed receipt.

        Receipts contain no prompt or response content and no prices. They are kept for the organization's retention period (a plan attribute); after that the endpoint returns 404 not_found.

        503 receipt_unavailable (retry after Retry-After) means the receipt exists and cannot be read right now: it was issued moments ago by another gateway instance and is not stored yet, or its stored bytes failed their integrity check, in which case they are never returned.

        Needs an API key with the receipts.read scope.

        Request headers

        • AuthorizationstringRequired
          Bearer pw_live_…: your API key.

          Path parameters

          • idReceiptIdValueRequiredpattern ^rcpt_[0-9A-Za-z]+$
            Receipt id from the panward-receipt-id response header.

          Responses

          200

          The receipt.

          Headers: panward-request-id.

          application/json: Receipt

          • formatstringRequired
            One of panward.receipt/1.
          • idReceiptIdValueRequiredpattern ^rcpt_[0-9A-Za-z]+$
            Receipt id.
          • statusstringRequired
            pending receipts hold the events up to response.emitted and carry no signature. final receipts are signed and never change. One of pending, final.
          • created_atintegerRequired
            Gateway-observed time the request arrived, Unix seconds. Receipts are not a trusted timestamping service.
          • completed_atinteger
            Gateway-observed time the receipt was finalised. Absent while pending.
          • endpointstringRequired
          • streambooleanRequired
          • modelstringRequired
            Canonical id of the model that answered (or that was requested, for a refusal).
          • tierTierRequired
            Product tier. sealed means the gateway verifies the upstream hop against enclave evidence; routed means it does not. One of sealed, routed.
          • organizationstringRequiredpattern ^org_[0-9A-Za-z]+$
          • projectstringRequiredpattern ^prj_[0-9A-Za-z]+$
          • key_idstringRequiredpattern ^key_[0-9A-Za-z]+$
            Id of the API key that made the request (never the secret).
          • regionRegionRequired
            Panward region. One of eu, us, ap.
          • eventsarray of ReceiptEventRequired
            What happened, in order. Retries and failover repeat the group route.selected … response.received with increasing attempt; only the last attempt's response is returned. A refusal has policy.applied.decision: "deny", no forwarding events, and the hash of the error body in response.emitted. A request that was forwarded and failed on every attempt has decision: "allow", one group ending in attempt.abandoned per attempt, no upstream.verified, and the hash of the error body in response.emitted.
          • Token counts of the request. Absent for refusals.
          • gatewayReceiptGatewayRequired
            The gateway instance that handled the request and signed the receipt.
          • key_id_signingstringpattern ^rk_[0-9A-Za-z]+$
            Id of the receipt key that signed; it must be in the keyset of the attestation named by gateway.attestation_id. Absent while pending.
          • signaturestringpattern ^[0-9a-f]{128}$
            Ed25519 signature over JCS(receipt without signature), 128 hexadecimal characters. Absent while pending.

          401Unauthorized

          No API key was sent (authentication_required) or the key is unknown, revoked or expired (invalid_api_key).

          Error types: authentication_required, invalid_api_key.

          Headers: panward-request-id.

          403Forbidden

          The key is valid but the request is not allowed: permission_denied (missing scope), model_not_enabled, policy_blocked (the project's policy refused the request), region_not_allowed (this gateway region is outside the policy's regions), ip_not_allowed or organization_suspended. Policy refusals on inference produce a signed receipt with policy.applied.decision: "deny". Max input tokens (a policy's prompt.max_input_tokens, a key's own prompt limit) is checked before the request is sent, on an estimate of the prompt's tokens made from its words, digits and punctuation. The model counts the prompt only after it answers, and its count can be above or below the estimate, most for very short prompts: a prompt close to the limit, under it or over it, can be refused or served. Each image counts as a fixed 16,384 tokens.

          Error types: permission_denied, model_not_enabled, policy_blocked, region_not_allowed, ip_not_allowed, organization_suspended.

          Headers: panward-request-id, panward-receipt-id.

          404NotFound

          The resource does not exist, is not visible to the caller, or is past its retention period (not_found).

          Error types: not_found.

          Headers: panward-request-id.

          429RateLimited

          A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

          Error types: rate_limit_exceeded.

          Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

          500InternalError

          An unexpected error inside Panward (internal_error). Safe to retry.

          Error types: internal_error.

          Headers: panward-request-id.

          503ReceiptUnavailable

          receipt_unavailable: the receipt exists and cannot be read right now. It was issued moments ago by another gateway instance and is not stored yet, or its stored bytes failed their integrity check (they are never returned). Retry after Retry-After.

          Error types: receipt_unavailable.

          Headers: panward-request-id, Retry-After.

          Request
          curl https://api.panward.ai/v1/receipts/rcpt_01JC7Q4N9W3XK2H8ZP5T6V7B8M \
            -H "Authorization: Bearer $PANWARD_API_KEY"
          {
            "format": "panward.receipt/1",
            "id": "rcpt_01JC7Q4N9W3XK2H8ZP5T6V7B8M",
            "status": "final",
            "created_at": 1790000000,
            "completed_at": 1790000002,
            "endpoint": "/v1/chat/completions",
            "stream": true,
            "model": "z-ai/glm-5.3",
            "tier": "sealed",
            "organization": "org_01JB2K7M4T",
            "project": "prj_01JB2K9P6W",
            "key_id": "key_01JB3A1C8E",
            "region": "eu",
            "events": [
              {
                "type": "request.received",
                "body_sha256": "2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae"
              },
              {
                "type": "policy.applied",
                "policy_version": 12,
                "decision": "allow",
                "constraints": [
                  "sealed_only",
                  "region:eu"
                ]
              },
              {
                "type": "route.selected",
                "offer_class": "sealed",
                "attempt": 1
              },
              {
                "type": "request.forwarded",
                "body_sha256": "fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9",
                "channel": "tls_pinned",
                "attempt": 1
              },
              {
                "type": "upstream.verified",
                "result": "verified",
                "level": "sealed_attested_path",
                "evidence": [
                  {
                    "id": "sha256:0b9a8f7e6d5c4b3a2f1e0d9c8b7a6f5e4d3c2b1a0f9e8d7c6b5a4f3e2d1c0b9a",
                    "kind": "gateway_enclave",
                    "hardware": "intel-tdx",
                    "firmware_status": "up_to_date",
                    "nonce_bound": true
                  },
                  {
                    "id": "sha256:5e4d3c2b1a0f9e8d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e0d9c8b7a6f5e4d",
                    "kind": "model_environment",
                    "hardware": "intel-tdx",
                    "operator_rating": "B",
                    "nonce_bound": true
                  }
                ],
                "response_proof": {
                  "kind": "enclave_signature",
                  "signer_scope": "gateway_enclave",
                  "verified_at": 1790000002
                },
                "claims": {
                  "gpu_attested": "asserted",
                  "debug_mode": "refuted",
                  "weights_provenance": "unknown"
                }
              },
              {
                "type": "response.received",
                "body_sha256": "18ac3e7343f016890c510e93f935261169d9e3f565436429830faf0934f4f8e4",
                "attempt": 1
              },
              {
                "type": "response.emitted",
                "body_sha256": "3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278",
                "bytes": 18234,
                "complete": true
              }
            ],
            "usage": {
              "input_tokens": 1500,
              "cached_input_tokens": 0,
              "output_tokens": 500
            },
            "gateway": {
              "attestation_id": "sha256:a3f1c5e7b9d1f3a5c7e9b1d3f5a7c9e1b3d5f7a9c1e3b5d7f9a1c3e5b7d9f1a3",
              "release": "2026.11.3",
              "config_bundle": "sha256:1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b",
              "verification_policy": "sha256:6f5e4d3c2b1a0f9e8d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e0d9c8b7a6f5e"
            },
            "key_id_signing": "rk_01JC7M2Q8X",
            "signature": "acb7a09579530297dc13cc2194762600b3a491d615b376135faef5d642aa676871d617ec6976ba0f203cf6f32e41ffa851c382ebd12cdebc7fb18e26b8409bb3"
          }

          Retrieve several receipts

          GET/v1/receipts
          Served

          Returns up to 100 receipts of the key's organization in one call. Ids that do not exist, belong to another organization or are past retention are listed in not_found; the call itself still succeeds. The order of data follows the order of ids. next_cursor is always null.

          Needs an API key with the receipts.read scope.

          Request headers

          • AuthorizationstringRequired
            Bearer pw_live_…: your API key.

            Query parameters

            • idsarray of ReceiptIdValueRequiredmin items 1 · max items 100
              Comma-separated receipt ids, 1 to 100.

            Responses

            200

            The receipts that were found.

            Headers: panward-request-id.

            application/json: ReceiptBatch

            • dataarray of ReceiptRequiredmax items 100
            • not_foundarray of ReceiptIdValueRequired
              Requested ids with no readable receipt.
            • next_cursorany | nullRequired

            400BadRequest

            The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

            Error types: invalid_request, context_length_exceeded, unsupported_parameter.

            Headers: panward-request-id.

            401Unauthorized

            No API key was sent (authentication_required) or the key is unknown, revoked or expired (invalid_api_key).

            Error types: authentication_required, invalid_api_key.

            Headers: panward-request-id.

            403Forbidden

            The key is valid but the request is not allowed: permission_denied (missing scope), model_not_enabled, policy_blocked (the project's policy refused the request), region_not_allowed (this gateway region is outside the policy's regions), ip_not_allowed or organization_suspended. Policy refusals on inference produce a signed receipt with policy.applied.decision: "deny". Max input tokens (a policy's prompt.max_input_tokens, a key's own prompt limit) is checked before the request is sent, on an estimate of the prompt's tokens made from its words, digits and punctuation. The model counts the prompt only after it answers, and its count can be above or below the estimate, most for very short prompts: a prompt close to the limit, under it or over it, can be refused or served. Each image counts as a fixed 16,384 tokens.

            Error types: permission_denied, model_not_enabled, policy_blocked, region_not_allowed, ip_not_allowed, organization_suspended.

            Headers: panward-request-id, panward-receipt-id.

            429RateLimited

            A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

            Error types: rate_limit_exceeded.

            Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

            500InternalError

            An unexpected error inside Panward (internal_error). Safe to retry.

            Error types: internal_error.

            Headers: panward-request-id.

            Request
            curl "https://api.panward.ai/v1/receipts?ids=rcpt_01JC7Q4N9W3XK2H8ZP5T6V7B8M,rcpt_01JC7Q5B2M8YV4K1TQ9R3D6F7G" \
              -H "Authorization: Bearer $PANWARD_API_KEY"
            {
              "error": {
                "type": "invalid_request",
                "message": "temperature must be between 0 and 2.",
                "param": "temperature",
                "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                "doc_url": "https://panward.ai/docs/errors#invalid_request"
              }
            }

            Get usage

            GET/v1/usage
            Served

            Aggregated requests, tokens and spend of the key's organization for a time range, optionally grouped. Needs a key with the usage.read scope. Figures come from hourly rollups and appear within a few minutes of the request; amounts are what was billed.

            Needs an API key with the usage.read scope.

            Request headers

            • AuthorizationstringRequired
              Bearer pw_live_…: your API key.

              Query parameters

              • fromintegerRequired
                Start of the range, inclusive, Unix seconds.
              • tointeger
                End of the range, exclusive, Unix seconds. Defaults to now. The range may span at most 366 days.
              • projectstringpattern ^prj_[0-9A-Za-z]+$
                Restrict to one project (prj_…).
              • modelstring
                Restrict to one canonical model id.
              • group_bystring
                Dimension to group rows by. Without it the response has one row for the whole range. One of model, project, key, tier, region, day.
              • limitintegerdefault: 50 · min 1 · max 200
                Page size.
              • cursorstring
                Opaque cursor from a previous response's next_cursor.

              Responses

              200

              Usage rows and totals for the range.

              Headers: panward-request-id.

              application/json: UsageReport

              • fromintegerRequired
              • tointegerRequired
              • group_bystring | null
                One of model, project, key, tier, region, day, null.
              • dataarray of UsageRowRequired
              • totalsUsageFiguresRequired
              • next_cursorstring | nullRequired

              400BadRequest

              The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

              Error types: invalid_request, context_length_exceeded, unsupported_parameter.

              Headers: panward-request-id.

              401Unauthorized

              No API key was sent (authentication_required) or the key is unknown, revoked or expired (invalid_api_key).

              Error types: authentication_required, invalid_api_key.

              Headers: panward-request-id.

              403Forbidden

              The key is valid but the request is not allowed: permission_denied (missing scope), model_not_enabled, policy_blocked (the project's policy refused the request), region_not_allowed (this gateway region is outside the policy's regions), ip_not_allowed or organization_suspended. Policy refusals on inference produce a signed receipt with policy.applied.decision: "deny". Max input tokens (a policy's prompt.max_input_tokens, a key's own prompt limit) is checked before the request is sent, on an estimate of the prompt's tokens made from its words, digits and punctuation. The model counts the prompt only after it answers, and its count can be above or below the estimate, most for very short prompts: a prompt close to the limit, under it or over it, can be refused or served. Each image counts as a fixed 16,384 tokens.

              Error types: permission_denied, model_not_enabled, policy_blocked, region_not_allowed, ip_not_allowed, organization_suspended.

              Headers: panward-request-id, panward-receipt-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl "https://api.panward.ai/v1/usage?from=1790000000" \
                -H "Authorization: Bearer $PANWARD_API_KEY"
              {
                "error": {
                  "type": "invalid_request",
                  "message": "temperature must be between 0 and 2.",
                  "param": "temperature",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#invalid_request"
                }
              }

              List the public model catalog

              GET/api/public/models
              Served

              The public catalog with list prices, as shown on the site. Same model schema as the authenticated GET /models, without organization-specific enablement or price overrides. Cacheable.

              No API key needed.

              Query parameters

              • kindModelKind
                Restrict to models of one kind. One of chat, completion, embedding, rerank, transcription, image.
              • tierTier
                Restrict to models offered in this tier. One of sealed, routed.
              • regionRegion
                Restrict to models that can be served in this region. One of eu, us, ap.
              • limitintegerdefault: 50 · min 1 · max 200
                Page size.
              • cursorstring
                Opaque cursor from a previous response's next_cursor.

              Responses

              200

              A page of models.

              application/json: ModelList

              • objectstringRequired
                One of list.
              • dataarray of ModelRequired
              • next_cursorstring | nullRequired

              400BadRequest

              The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

              Error types: invalid_request, context_length_exceeded, unsupported_parameter.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/models
              {
                "error": {
                  "type": "invalid_request",
                  "message": "temperature must be between 0 and 2.",
                  "param": "temperature",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#invalid_request"
                }
              }

              Retrieve a public model

              GET/api/public/models/{vendor}/{name}
              Served

              One model of the public catalog with list prices. The model id is written as two path segments (/public/models/z-ai/glm-5.3).

              No API key needed.

              Path parameters

              • vendorstringRequiredpattern ^[a-z0-9][a-z0-9._-]*$
                First segment of the canonical model id (the model's publisher).
              • namestringRequiredpattern ^[A-Za-z0-9][A-Za-z0-9._-]*$
                Second segment of the canonical model id.

              Responses

              200

              The model.

              application/json: Model

              • idstringRequired
                Canonical model id, vendor/name.
              • objectstringRequired
                One of model.
              • createdinteger
                When the model was added to the catalog, Unix seconds.
              • owned_bystring
                Publisher of the model (the first segment of the id).
              • namestringRequired
                Display name.
              • descriptionstring
              • kindModelKindRequired
                What the model does, which decides the endpoint it is called through. One of chat, completion, embedding, rerank, transcription, image.
              • tiersarray of TierRequired
                Tiers the model is offered in.
              • default_tierTierRequired
                Product tier. sealed means the gateway verifies the upstream hop against enclave evidence; routed means it does not. One of sealed, routed.
              • verification_levelsarray of SealedLevelRequired
                Sealed sub-levels that can be reached for this model; empty for a model offered only in the Routed tier. sealed_model_signed is available for non-streamed requests only. The level reached is stated per response in the receipt.
              • hardwarearray of string
                Hardware technologies behind the Sealed tier of this model.
              • context_lengthinteger | null
                The model's advertised context, in tokens: the catalog's override, otherwise the largest context among the offers that serve the model's default tier (the figure the site, the console and the back office show). A request is only sent to an offer it fits; a request no offer can take is refused with context_length_exceeded. Null for kinds without a token context.
              • max_output_tokensinteger | null
                The model's advertised maximum output, in tokens: the catalog's own figure, otherwise the largest among the offers that serve the model's default tier (the figure the site and the console show). A request is only sent to an offer that gives the output it asks for. Null where there is none or the kind writes no tokens.
              • capabilitiesModelCapabilitiesRequired
              • thinks_before_answeringbooleanRequired
                The model thinks before it answers: its answers carry reasoning tokens (usage.completion_tokens_details.reasoning_tokens, billed as output tokens), whether or not the request sends a reasoning control. This is the catalog's statement about the model. It is independent of capabilities.reasoning, which says whether the model accepts the reasoning and reasoning_effort controls: a model can think before answering and still refuse the controls with 400 unsupported_parameter.
              • modalitiesobjectRequired
              • pricingarray of PriceRequired
                One price per tier the model is offered in.
              • regionsarray of objectRequired
                Where the model can be served. A model that cannot be pinned to a region is absent from region-pinned catalogs.
                • regionRegionRequired
                  Panward region. One of eu, us, ap.
                • statusstringRequired
                  One of available, degraded, unavailable.
                • tiersarray of TierRequired
              • statusstringRequired
                Lifecycle state. A deprecated model has a retirement date at least 90 days after its announcement. One of available, preview, degraded, deprecated, retired.
              • retires_atinteger | null
                Retirement time, Unix seconds, when the model is deprecated.

              404ModelNotFound

              The model id is not a canonical model (model_not_found). Aliases are not resolved.

              Error types: model_not_found.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/models/z-ai/glm-5.3
              {
                "id": "z-ai/glm-5.3",
                "object": "model",
                "created": 1788000000,
                "owned_by": "z-ai",
                "name": "GLM 5.3",
                "description": "General-purpose reasoning model with tool calling and structured output.",
                "kind": "chat",
                "tiers": [
                  "sealed"
                ],
                "default_tier": "sealed",
                "verification_levels": [
                  "sealed_model_signed",
                  "sealed_attested_path"
                ],
                "hardware": [
                  "intel-tdx",
                  "nvidia-gpu"
                ],
                "context_length": 200000,
                "max_output_tokens": 32768,
                "capabilities": {
                  "streaming": true,
                  "tools": true,
                  "json_schema": true,
                  "vision": false,
                  "reasoning": true,
                  "prompt_caching": true
                },
                "thinks_before_answering": true,
                "modalities": {
                  "input": [
                    "text"
                  ],
                  "output": [
                    "text"
                  ]
                },
                "pricing": [
                  {
                    "tier": "sealed",
                    "currency": "USD",
                    "components": {
                      "input": {
                        "unit": "per_1m_tokens",
                        "amount_nano_usd": 2160000000,
                        "amount_usd": "2.16"
                      },
                      "cached_input": {
                        "unit": "per_1m_tokens",
                        "amount_nano_usd": 432000000,
                        "amount_usd": "0.432"
                      },
                      "output": {
                        "unit": "per_1m_tokens",
                        "amount_nano_usd": 8640000000,
                        "amount_usd": "8.64"
                      }
                    }
                  }
                ],
                "regions": [
                  {
                    "region": "us",
                    "status": "available",
                    "tiers": [
                      "sealed"
                    ]
                  },
                  {
                    "region": "eu",
                    "status": "available",
                    "tiers": [
                      "sealed"
                    ]
                  }
                ],
                "status": "available",
                "retires_at": null
              }

              Retrieve a public model by percent-encoded id

              GET/api/public/models/{id}
              Served

              Same as GET /public/models/{vendor}/{name}, with the model id as one path segment and its slash percent-encoded (z-ai%2Fglm-5.3).

              No API key needed.

              Path parameters

              • idstringRequired
                Canonical model id with its slash percent-encoded.

              Responses

              200

              The model.

              application/json: Model

              • idstringRequired
                Canonical model id, vendor/name.
              • objectstringRequired
                One of model.
              • createdinteger
                When the model was added to the catalog, Unix seconds.
              • owned_bystring
                Publisher of the model (the first segment of the id).
              • namestringRequired
                Display name.
              • descriptionstring
              • kindModelKindRequired
                What the model does, which decides the endpoint it is called through. One of chat, completion, embedding, rerank, transcription, image.
              • tiersarray of TierRequired
                Tiers the model is offered in.
              • default_tierTierRequired
                Product tier. sealed means the gateway verifies the upstream hop against enclave evidence; routed means it does not. One of sealed, routed.
              • verification_levelsarray of SealedLevelRequired
                Sealed sub-levels that can be reached for this model; empty for a model offered only in the Routed tier. sealed_model_signed is available for non-streamed requests only. The level reached is stated per response in the receipt.
              • hardwarearray of string
                Hardware technologies behind the Sealed tier of this model.
              • context_lengthinteger | null
                The model's advertised context, in tokens: the catalog's override, otherwise the largest context among the offers that serve the model's default tier (the figure the site, the console and the back office show). A request is only sent to an offer it fits; a request no offer can take is refused with context_length_exceeded. Null for kinds without a token context.
              • max_output_tokensinteger | null
                The model's advertised maximum output, in tokens: the catalog's own figure, otherwise the largest among the offers that serve the model's default tier (the figure the site and the console show). A request is only sent to an offer that gives the output it asks for. Null where there is none or the kind writes no tokens.
              • capabilitiesModelCapabilitiesRequired
              • thinks_before_answeringbooleanRequired
                The model thinks before it answers: its answers carry reasoning tokens (usage.completion_tokens_details.reasoning_tokens, billed as output tokens), whether or not the request sends a reasoning control. This is the catalog's statement about the model. It is independent of capabilities.reasoning, which says whether the model accepts the reasoning and reasoning_effort controls: a model can think before answering and still refuse the controls with 400 unsupported_parameter.
              • modalitiesobjectRequired
              • pricingarray of PriceRequired
                One price per tier the model is offered in.
              • regionsarray of objectRequired
                Where the model can be served. A model that cannot be pinned to a region is absent from region-pinned catalogs.
                • regionRegionRequired
                  Panward region. One of eu, us, ap.
                • statusstringRequired
                  One of available, degraded, unavailable.
                • tiersarray of TierRequired
              • statusstringRequired
                Lifecycle state. A deprecated model has a retirement date at least 90 days after its announcement. One of available, preview, degraded, deprecated, retired.
              • retires_atinteger | null
                Retirement time, Unix seconds, when the model is deprecated.

              404ModelNotFound

              The model id is not a canonical model (model_not_found). Aliases are not resolved.

              Error types: model_not_found.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/models/z-ai%2Fglm-5.3
              {
                "error": {
                  "type": "model_not_found",
                  "message": "The model 'z-ai/glm-9' does not exist.",
                  "param": "model",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#model_not_found"
                }
              }

              Get list prices

              GET/api/public/pricing
              Served

              List prices per canonical model, tier and component, from the same price table the gateway bills with. Token prices are integer nano-USD per 1,000,000 tokens. Prices follow our suppliers' prices and can change at any time; the price in force when a request is made is the one charged. A change appears under next with its effective time a few minutes before it takes effect. Receipts and verification are free.

              No API key needed.

              Query parameters

              • kindModelKind
                Restrict to models of one kind. One of chat, completion, embedding, rerank, transcription, image.
              • tierTier
                Restrict to models offered in this tier. One of sealed, routed.

              Responses

              200

              The price list.

              application/json: PriceList

              • currencystringRequired
                One of USD.
              • updated_atintegerRequired
              • dataarray of objectRequired
                • modelstringRequired
                  Canonical model id.
                • namestringRequired
                • kindModelKindRequired
                  What the model does, which decides the endpoint it is called through. One of chat, completion, embedding, rerank, transcription, image.
                • pricingarray of PriceRequired

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/pricing
              Responses
              {
                "error": {
                  "type": "rate_limit_exceeded",
                  "message": "Rate limit reached for this key. Retry in 12 seconds.",
                  "param": null,
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#rate_limit_exceeded"
                }
              }

              List changelog entries

              GET/api/public/changelog
              Served

              Published changelog entries, newest first, with optional filters by category and time range.

              No API key needed.

              Query parameters

              • categoryChangelogCategory
                Restrict to one category. One of models, api, console, security, pricing, verification.
              • qstringmax length 200
                Free-text filter on title and body.
              • frominteger
                Start of the time range, inclusive, Unix seconds.
              • tointeger
                End of the time range, exclusive, Unix seconds.
              • limitintegerdefault: 50 · min 1 · max 200
                Page size.
              • cursorstring
                Opaque cursor from a previous response's next_cursor.

              Responses

              200

              A page of changelog entries.

              application/json: ChangelogList

              400BadRequest

              The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

              Error types: invalid_request, context_length_exceeded, unsupported_parameter.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/changelog
              {
                "error": {
                  "type": "invalid_request",
                  "message": "temperature must be between 0 and 2.",
                  "param": "temperature",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#invalid_request"
                }
              }

              List published gateway releases

              GET/api/public/releases
              Not served yet

              The release file: every gateway release with its measurements per host platform and VM shape, source commit, image digest, transparency-log entry and notice dates, plus the published verification-policy versions. A verifier accepts an attestation only if its measurements equal a row here. Releases are announced at least 7 days before they serve traffic; during a rollout the old and the new release are both valid.

              Asked for without status, limit or cursor, the answer is the gateway's signed release file (measurements/releases.json of the gateway repository) byte for byte: its data, its revoked_keys, the file_statement signed for the file as a whole and its transparency-log entry file_log, every member of every row as signed; there is then no next_cursor. Its ETag is the SHA-256 of the bytes. Warden fetches this answer and checks the file statement and each row's log entry itself (step 2). A filtered or paged read is a list built from the same releases for display, not signed.

              No API key needed.

              Query parameters

              • statusReleaseStatus
                Restrict to releases in this state. One of announced, active, retired.
              • limitintegerdefault: 50 · min 1 · max 200
                Page size.
              • cursorstring
                Opaque cursor from a previous response's next_cursor.

              Responses

              200

              A page of releases, newest first.

              application/json: ReleaseList

              • dataarray of ReleaseEntryRequired
              • revoked_keysarray of object
                The release file's revoked receipt keys (in the unfiltered answer only).
              • file_statementobject
                What is signed for the release file as a whole (format panward.release-file/1; unfiltered answer only).
              • file_logobject
                The transparency-log entry of the file statement (unfiltered answer only).
              • verification_policiesarray of VerificationPolicyVersion
                Published verification-policy versions, newest first.
              • next_cursorstring | null
                The next page of a filtered or paged read; absent from the release file itself.

              400BadRequest

              The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

              Error types: invalid_request, context_length_exceeded, unsupported_parameter.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/releases
              {
                "error": {
                  "type": "invalid_request",
                  "message": "temperature must be between 0 and 2.",
                  "param": "temperature",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#invalid_request"
                }
              }

              Fetch an archived gateway attestation by its id

              GET/api/public/attestations/{attestation_id}
              Served

              Returns the boot-time attestation document a gateway instance archived before it issued any receipt, named by the receipt's gateway.attestation_id (sha256: and the hex SHA-256 of the document's canonical JSON). The body is the archived bytes unchanged: a verifier hashes it and compares with the id itself, so the answer does not depend on trusting this endpoint, and nothing about the receipt is sent here (ADR-B-113). Content-addressed: the answer never changes and may be cached for a year.

              No API key needed.

              Path parameters

              • attestation_idstringRequiredpattern ^sha256:[0-9a-f]{64}$
                The receipt's gateway.attestation_id.

              Responses

              200

              The archived attestation document, byte for byte.

              Headers: Cache-Control.

              400BadRequest

              The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

              Error types: invalid_request, context_length_exceeded, unsupported_parameter.

              Headers: panward-request-id.

              404NotFound

              The resource does not exist, is not visible to the caller, or is past its retention period (not_found).

              Error types: not_found.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              503ServiceUnavailable

              The request cannot be served now: no_capacity (no eligible offer has headroom; retry after Retry-After), sealed_unavailable (no Sealed offer is currently eligible; the request is never downgraded to Routed) or verification_unavailable (verification material could not be produced, or the gateway could not verify a held response). 503 no_capacity and sealed_unavailable carry Retry-After; when the model's offers are temporarily closed it is the time until one is tried again.

              Error types: no_capacity, sealed_unavailable, verification_unavailable, sealed_unavailable.

              Headers: panward-request-id, panward-receipt-id, Retry-After.

              Request
              curl https://panward.ai/api/public/attestations/sha256:3f2a9c6e1b7d4a08c5e2f91b6d3a7c40e8b25f19d6c3a7e4b0f28d91c5a6e37b
              {
                "error": {
                  "type": "invalid_request",
                  "message": "temperature must be between 0 and 2.",
                  "param": "temperature",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#invalid_request"
                }
              }

              Fetch the proof that a receipt is in a logged hourly checkpoint

              GET/api/public/receipt-checkpoints/{receipt_id}
              Served

              Every hour each region signs a Merkle root over the receipts it stored in that hour and enters it in a public transparency log (ADR-037). This returns the inclusion proof of one receipt: the checkpoint statement, its transparency-log bundle, the receipt's leaf index and the audit path. Give it to Warden with --checkpoint: the receipt is then shown to have existed when the log accepted the checkpoint, a time Panward does not control. Warden checks the proof itself, so the answer does not depend on trusting this endpoint, and it names no organization, request or price.

              A receipt is under a checkpoint about an hour after it is stored. Until then the answer is 503 receipt_unavailable with Retry-After. A checkpoint never changes once published.

              No API key needed.

              Path parameters

              • receipt_idstringRequiredpattern ^rcpt_[0-9A-HJKMNP-TV-Z]{26}$
                The receipt's id (panward-receipt-id).

              Responses

              200

              The inclusion proof.

              Headers: panward-request-id, Cache-Control.

              application/json: ReceiptCheckpointProof

              • checkpointobjectRequired
                The signed statement panward.checkpoint/1; its id is sha256: and the hex SHA-256 of its JCS form.
                • formatstringRequired
                  One of panward.checkpoint/1.
                • regionstringRequired
                • period_startintegerRequired
                  Unix seconds, on the hour.
                • period_endintegerRequired
                  Unix seconds, one hour after period_start.
                • tree_sizeintegerRequiredmin 1
                • rootstringRequiredpattern ^sha256:[0-9a-f]{64}$
                • previousstring | nullRequiredpattern ^sha256:[0-9a-f]{64}$
                  The id of the region's previous checkpoint, or null for its first.
              • bundlestringRequired
                The Sigstore bundle (JSON) of the statement in the transparency log, base64url without padding.
              • leaf_indexintegerRequiredmin 0
              • audit_patharray of stringRequiredmax items 64
              • key_epochobject
                The receipt's boot-time attestation in the same transparency log, entered with the epoch of its keys before the gateway instance served (ADR-037). Absent while it cannot be read; the answer is then not cached. Warden checks it against the archived attestation the receipt names.
                • statementobjectRequired
                  The signed statement panward.boot/1.
                  • formatstringRequired
                    One of panward.boot/1.
                  • attestation_idstringRequiredpattern ^sha256:[0-9a-f]{64}$
                  • regionstringRequired
                  • not_beforeintegerRequired
                    Unix seconds; the instance's start, as its attestation states it.
                  • not_afterintegerRequired
                    Unix seconds; the end of the attested keyset's validity.
                • bundlestringRequired
                  The Sigstore bundle (JSON) of the statement in the transparency log, base64url without padding.

              400BadRequest

              The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

              Error types: invalid_request, context_length_exceeded, unsupported_parameter.

              Headers: panward-request-id.

              404NotFound

              The resource does not exist, is not visible to the caller, or is past its retention period (not_found).

              Error types: not_found.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              503ReceiptUnavailable

              receipt_unavailable: the receipt exists and cannot be read right now. It was issued moments ago by another gateway instance and is not stored yet, or its stored bytes failed their integrity check (they are never returned). Retry after Retry-After.

              Error types: receipt_unavailable.

              Headers: panward-request-id, Retry-After.

              Request
              curl https://panward.ai/api/public/receipt-checkpoints/rcpt_01JC7Q4N8G5T2R9X1M3K6P7W4D
              {
                "error": {
                  "type": "invalid_request",
                  "message": "temperature must be between 0 and 2.",
                  "param": "temperature",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#invalid_request"
                }
              }

              List the published verification policy versions

              GET/api/public/verification-policies
              Served

              Every published verification policy version, newest first (at most 100), as its hash and a human-readable summary (architecture 02 §3). The hash is the one a receipt carries in verification_policy; a verifier matches it here (Warden step 5). The documents are not published: their supplier sections are supplier-specific, so the summary names no provider, operator or measurement (ADR-B-113).

              No API key needed.

              Responses

              200

              The published versions.

              application/json

              • dataarray of objectRequired
                • versionintegerRequiredmin 1
                • hashstringRequiredpattern ^sha256:[0-9a-f]{64}$
                • published_atstringRequired
                • summaryobjectRequired
                  • max_evidence_age_sintegerRequired
                  • refresh_interval_sintegerRequired
                  • operatorsobjectRequired
                    Rated enclave operators per rating, and how many may serve Sealed.
                    • rated_aintegerRequired
                    • rated_bintegerRequired
                    • rated_cintegerRequired
                    • rated_dintegerRequired
                    • may_serve_sealedintegerRequired
                  • provider_sectionsintegerRequired
                    Suppliers with a verification section.
                  • textstringRequired
                    The same summary in one paragraph.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/verification-policies
              Responses
              {
                "error": {
                  "type": "rate_limit_exceeded",
                  "message": "Rate limit reached for this key. Retry in 12 seconds.",
                  "param": null,
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#rate_limit_exceeded"
                }
              }

              Fetch the material needed to verify a receipt

              POST/api/public/receipts/verify
              Not served yet

              Deprecated, not served (ADR-B-113): a verifier reads the receipt locally and fetches the material by content address instead (getArchivedAttestation, the signed release file, the published policy hashes), so no receipt is sent. Kept for reference.

              Accepts a share token or a receipt document and returns everything a verifier needs: the receipt, the archived attestation document named by gateway.attestation_id, the release entry whose measurements that attestation must match, and the published verification policy. The server returns no verdict. Verification (quote, measurements, signature, hashes, stated result) runs in the client with the open-source verifier, so the answer does not depend on trusting this endpoint.

              With {"receipt": …} the receipt is echoed unchanged; it need not belong to any signed-in account, and only public material is looked up. Prompt or response content is never sent here: the optional byte comparison happens locally.

              No API key needed.

              Body parameters application/json

              Responses

              200

              The verification material.

              application/json: ReceiptVerificationBundle

              • receiptReceiptRequired
                The receipt document (panward.receipt/1). Its canonical form is RFC 8785 (JCS); the Ed25519 signature covers the document without the signature member. It holds hashes, never content, and no prices. It never names who served the upstream hop: evidence is referenced by content hash with neutral descriptors.
              • attestationobjectRequired
                The archived boot-time attestation document named by receipt.gateway.attestation_id. Its nonce is the hash of its keyset.
                • formatstringRequired
                  One of panward.attestation/1.
                • teestringRequired
                  One of intel-tdx.
                • quotestringRequiredpattern ^[0-9a-f]+$
                  The hardware quote, hexadecimal. Its report_data is SHA-256(JCS(report_data_statement)) followed by 32 zero bytes.
                • report_data_statementobjectRequired
                  • purposestringRequired
                    One of panward.attestation/1.
                  • noncestringRequiredpattern ^[0-9a-fA-F]{64}$
                    The caller's nonce; in an archived boot-time document, the hash of the keyset.
                  • keyset_digestanyRequired
                    sha256: + hex of SHA-256(JCS(keyset)).
                • keysetKeysetRequired
                  Keys generated inside the enclave at boot and bound into the quote. Verifiers pin measurements, not these keys.
                • measurementsMeasurementsRequired
                  Launch and runtime measurement registers, each 96 hexadecimal characters.
                • event_logarray of objectRequired
                  Measured boot events that replay to the runtime measurement registers.
                  • registerintegerRequiredmin 0 · max 3
                  • eventstringRequired
                  • digeststringRequiredpattern ^[0-9a-f]+$
                  • payloadstring
                • releaseobjectRequired
                  • versionstringRequired
                  • image_digestSha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
                    A content hash, sha256: followed by 64 lowercase hexadecimal characters.
                  • transparency_logTransparencyLogEntryRequired
                • runtimeobjectRequired
                  Values that change without a new image. They are not hardware-measured; they are signed by the attested receipt key.
                  • config_bundleSha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
                    A content hash, sha256: followed by 64 lowercase hexadecimal characters.
                  • verification_policySha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
                    A content hash, sha256: followed by 64 lowercase hexadecimal characters.
                  • regionRegionRequired
                    Panward region. One of eu, us, ap.
                  • started_atintegerRequired
                • runtime_signaturestringRequiredpattern ^[0-9a-f]{128}$
                  Ed25519 signature by a key of keyset.receipt_keys over JCS(runtime), hexadecimal.
              • releaseobjectRequired
                The release entry for receipt.gateway.release.
                • versionstringRequired
                • statusReleaseStatusRequired
                  announced: published, not yet serving. active: may serve. retired: no longer serves; kept so old receipts stay verifiable. One of announced, active, retired.
                • source_commitstringRequiredpattern ^[0-9a-f]{40}$
                  Commit of the open-source gateway the image was built from.
                • source_urlstring
                • image_digestSha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
                  A content hash, sha256: followed by 64 lowercase hexadecimal characters.
                • measurementsarray of objectRequired
                  Expected measurements per host platform and VM shape. An attestation must equal one row.
                  • platformstringRequired
                    Host platform generation the row applies to.
                  • vm_shapestringRequired
                    Virtual machine size (vCPU and memory) the row applies to.
                  • teestringRequired
                    One of intel-tdx.
                  • mrtdRegisterRequiredpattern ^[0-9a-f]{96}$
                  • rtmr0RegisterRequiredpattern ^[0-9a-f]{96}$
                  • rtmr1RegisterRequiredpattern ^[0-9a-f]{96}$
                  • rtmr2RegisterRequiredpattern ^[0-9a-f]{96}$
                  • rtmr3RegisterRequiredpattern ^[0-9a-f]{96}$
                  • td_attributesstringpattern ^[0-9a-f]{16}$
                    TD attributes of the shape, 16 hexadecimal characters. When present, the quote's value must equal it.
                  • xfamstringpattern ^[0-9a-f]{16}$
                    Extended features mask of the shape, 16 hexadecimal characters. When present, the quote's value must equal it.
                • transparency_logTransparencyLogEntryRequired
                • announced_atintegerRequired
                • effective_atintegerRequired
                  Earliest time the release serves traffic; at least 7 days after announced_at.
                • retired_atinteger | null
                • notesstring
              • verification_policyVerificationPolicyVersion | any
                The published policy version matching receipt.gateway.verification_policy, when it is published.
                One of: VerificationPolicyVersion, any | null

              400BadRequest

              The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

              Error types: invalid_request, context_length_exceeded, unsupported_parameter.

              Headers: panward-request-id.

              404NotFound

              The resource does not exist, is not visible to the caller, or is past its retention period (not_found).

              Error types: not_found.

              Headers: panward-request-id.

              410Gone

              The resource existed and is no longer available (gone), for example a revoked or expired share link or an expired confirmation token.

              Error types: gone.

              Headers: panward-request-id.

              413RequestTooLarge

              The request body exceeds the size limit of the endpoint (request_too_large).

              Error types: request_too_large.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/receipts/verify \
                -H "Content-Type: application/json" \
                -d '{"share_token":"shr_7Hq2mXc9LwT4vN8bK1pR5yZ3dF6gJ0sA"}'
              {
                "error": {
                  "type": "invalid_request",
                  "message": "temperature must be between 0 and 2.",
                  "param": "temperature",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#invalid_request"
                }
              }

              Get the public sample receipt

              GET/api/public/receipts/sample
              Served

              The one receipt Panward publishes as an example, with everything needed to verify it: the receipt, the exact request and response bytes it was made from (base64), the id of the archived attestation it names (served by getArchivedAttestation, also for this receipt when the gateway instance is long gone) and, when published with it, the signed release file (base64). The verify page and the documentation use it. The sample is permanent: it is not subject to receipt retention. 404 not_found while no sample is published.

              No API key needed.

              Responses

              200

              The sample receipt and its material.

              Headers: Cache-Control.

              application/json: SampleReceipt

              • receipt_idstringRequiredpattern ^rcpt_[0-9A-Za-z]{10,64}$
              • receiptReceiptRequired
                The receipt document (panward.receipt/1). Its canonical form is RFC 8785 (JCS); the Ed25519 signature covers the document without the signature member. It holds hashes, never content, and no prices. It never names who served the upstream hop: evidence is referenced by content hash with neutral descriptors.
              • request_bodystringRequired
                The exact request bytes; their SHA-256 is the receipt's request.received.
              • response_bodystringRequired
                The exact response bytes; their SHA-256 is the receipt's response.emitted.
              • attestation_idstringRequiredpattern ^sha256:[0-9a-f]{64}$
                The receipt's gateway.attestation_id.
              • release_filestring | nullRequired
                The signed release file that lists the attestation's measurements, when published with the sample.
              • designated_atintegerRequired

              404NotFound

              The resource does not exist, is not visible to the caller, or is past its retention period (not_found).

              Error types: not_found.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/receipts/sample
              {
                "error": {
                  "type": "not_found",
                  "message": "No such receipt.",
                  "param": "id",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#not_found"
                }
              }

              Read a shared receipt

              GET/api/public/receipts/shared/{token}
              Served

              Returns the receipt behind a share link. Share links are created and revoked by the owning organization in the console; the token is unguessable. An unknown token returns 404 not_found; a revoked or expired link returns 410 gone.

              No API key needed.

              Path parameters

              • tokenShareTokenRequiredpattern ^shr_[0-9A-Za-z_-]{20,}$
                Share token from the link.

              Responses

              200

              The shared receipt.

              application/json: SharedReceipt

              • receiptReceiptRequired
                The receipt document (panward.receipt/1). Its canonical form is RFC 8785 (JCS); the Ed25519 signature covers the document without the signature member. It holds hashes, never content, and no prices. It never names who served the upstream hop: evidence is referenced by content hash with neutral descriptors.
              • shareobjectRequired
                • created_atintegerRequired
                • expires_atinteger | null

              404NotFound

              The resource does not exist, is not visible to the caller, or is past its retention period (not_found).

              Error types: not_found.

              Headers: panward-request-id.

              410Gone

              The resource existed and is no longer available (gone), for example a revoked or expired share link or an expired confirmation token.

              Error types: gone.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/receipts/shared/…
              {
                "error": {
                  "type": "not_found",
                  "message": "No such receipt.",
                  "param": "id",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#not_found"
                }
              }

              Get cached Intel attestation collateral

              GET/api/public/collateral/intel
              Served

              Cached copy of the Intel collateral needed to verify a TDX quote (TCB info, enclave identity, certificate revocation lists and their issuer chains), for verifiers that run in a browser and cannot call Intel's service directly. Every item is signed by Intel and is checked by the verifier against Intel's root, so the cache does not need to be trusted. Verifiers outside a browser should fetch collateral from Intel.

              No API key needed.

              Query parameters

              • fmspcstringRequiredpattern ^[0-9a-fA-F]{12}$
                Platform identifier from the quote's certification data, 12 hexadecimal characters.
              • castringdefault: "platform"
                Which certificate authority issued the platform certificate. One of platform, processor.

              Responses

              200

              The collateral bundle.

              Headers: Cache-Control.

              application/json: IntelCollateral

              • fmspcstringRequiredpattern ^[0-9a-f]{12}$
              • tcb_infostringRequired
                The signed TCB info document, byte-exact JSON as a string.
              • tcb_info_issuer_chainstringRequired
                PEM certificate chain.
              • qe_identitystringRequired
                The signed quoting-enclave identity document, byte-exact JSON as a string.
              • qe_identity_issuer_chainstringRequired
                PEM certificate chain.
              • pck_crlstringRequired
                Certificate revocation list of the platform certificate authority, PEM.
              • pck_crl_issuer_chainstringRequired
                PEM certificate chain.
              • root_ca_crlstringRequired
                Certificate revocation list of Intel's root, PEM.
              • tcb_evaluation_data_numberintegerRequired
                Evaluation number of the TCB info; verifiers enforce a minimum.
              • fetched_atintegerRequired
              • next_updateintegerRequired
                Earliest expiry among the items, Unix seconds.

              400BadRequest

              The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

              Error types: invalid_request, context_length_exceeded, unsupported_parameter.

              Headers: panward-request-id.

              404NotFound

              The resource does not exist, is not visible to the caller, or is past its retention period (not_found).

              Error types: not_found.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              502BadGateway

              No upstream attempt produced a response: upstream_unavailable (retryable) or upstream_rejected (the upstream refused a request Panward considered valid; reported to Panward automatically). The message never contains upstream text. Not billed.

              Error types: upstream_unavailable, upstream_rejected.

              Headers: panward-request-id, panward-receipt-id.

              503ServiceUnavailable

              The request cannot be served now: no_capacity (no eligible offer has headroom; retry after Retry-After), sealed_unavailable (no Sealed offer is currently eligible; the request is never downgraded to Routed) or verification_unavailable (verification material could not be produced, or the gateway could not verify a held response). 503 no_capacity and sealed_unavailable carry Retry-After; when the model's offers are temporarily closed it is the time until one is tried again.

              Error types: no_capacity, sealed_unavailable, verification_unavailable, sealed_unavailable.

              Headers: panward-request-id, panward-receipt-id, Retry-After.

              Request
              curl "https://panward.ai/api/public/collateral/intel?fmspc=90c06f000000"
              {
                "error": {
                  "type": "invalid_request",
                  "message": "temperature must be between 0 and 2.",
                  "param": "temperature",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#invalid_request"
                }
              }

              Get current service status

              GET/api/public/status
              Served

              Overall state, components, and per region the gateway release, attestation age and verification success rate, with open incidents and scheduled maintenance. Components describe Panward's own services only.

              No API key needed.

              Responses

              200

              The current status.

              application/json: Status

              • overallComponentStatusRequired
                One of operational, degraded, partial_outage, major_outage, maintenance.
              • updated_atintegerRequired
              • componentsarray of StatusComponentRequired
              • regionsarray of RegionStatusRequired
                The open gateway regions that have a state (from their components, else measured), by region code.
              • incidentsarray of IncidentRequired
                Open incidents.
              • maintenancearray of IncidentRequired
                Scheduled and ongoing maintenance.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/status
              Responses
              {
                "error": {
                  "type": "rate_limit_exceeded",
                  "message": "Rate limit reached for this key. Retry in 12 seconds.",
                  "param": null,
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#rate_limit_exceeded"
                }
              }

              List incidents and maintenance

              GET/api/public/status/incidents
              Served

              Incident and maintenance history, newest first, each with its updates.

              No API key needed.

              Query parameters

              • statusIncidentStatus
                Restrict to incidents in this state. One of scheduled, investigating, identified, monitoring, resolved, cancelled.
              • regionRegion
                Restrict to incidents that affect this region. One of eu, us, ap.
              • frominteger
                Start of the time range, inclusive, Unix seconds.
              • tointeger
                End of the time range, exclusive, Unix seconds.
              • limitintegerdefault: 50 · min 1 · max 200
                Page size.
              • cursorstring
                Opaque cursor from a previous response's next_cursor.

              Responses

              200

              A page of incidents.

              application/json: IncidentList

              • dataarray of IncidentRequired
              • next_cursorstring | nullRequired

              400BadRequest

              The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

              Error types: invalid_request, context_length_exceeded, unsupported_parameter.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/status/incidents
              {
                "error": {
                  "type": "invalid_request",
                  "message": "temperature must be between 0 and 2.",
                  "param": "temperature",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#invalid_request"
                }
              }

              Get the status Atom feed

              GET/api/public/status/feed.atom
              Served

              Atom feed of incidents and maintenance, generated from the same data as GET /public/status/incidents. Also published at https://status.panward.ai/feed.atom.

              No API key needed.

              Responses

              200

              The feed.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/status/feed.atom
              Responses
              {
                "error": {
                  "type": "rate_limit_exceeded",
                  "message": "Rate limit reached for this key. Retry in 12 seconds.",
                  "param": null,
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#rate_limit_exceeded"
                }
              }

              Subscribe to status updates

              POST/api/public/status/subscriptions
              Served

              Creates a pending email subscription and sends a confirmation email (double opt-in). Updates are sent only after confirmation. The response is the same whether or not the address is already subscribed, so the endpoint does not reveal subscribers. Rate limited to 5 requests per hour per IP. On a deployment without a mail provider the request is refused with 503 no_capacity before anything is stored (a confirmation email could not be sent); the status feed is the way to follow updates there.

              No API key needed.

              Body parameters application/json

              • emailstringRequiredmax length 254
              • componentsarray of string
                Component ids to follow. Omit for all components.
              • regionsarray of Region
                Regions to follow. Omit for all regions.
              • include_maintenancebooleandefault: true

              Responses

              202

              Accepted. A confirmation email is sent if the address is not yet subscribed.

              application/json: StatusSubscriptionAccepted

              • statusstringRequired
                One of pending_confirmation.

              400BadRequest

              The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

              Error types: invalid_request, context_length_exceeded, unsupported_parameter.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              503ServiceUnavailable

              The request cannot be served now: no_capacity (no eligible offer has headroom; retry after Retry-After), sealed_unavailable (no Sealed offer is currently eligible; the request is never downgraded to Routed) or verification_unavailable (verification material could not be produced, or the gateway could not verify a held response). 503 no_capacity and sealed_unavailable carry Retry-After; when the model's offers are temporarily closed it is the time until one is tried again.

              Error types: no_capacity, sealed_unavailable, verification_unavailable, sealed_unavailable.

              Headers: panward-request-id, panward-receipt-id, Retry-After.

              Request
              curl https://panward.ai/api/public/status/subscriptions \
                -H "Content-Type: application/json" \
                -d '{"email":"[email protected]"}'
              {
                "error": {
                  "type": "invalid_request",
                  "message": "temperature must be between 0 and 2.",
                  "param": "temperature",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#invalid_request"
                }
              }

              Confirm a status subscription

              POST/api/public/status/subscriptions/confirm
              Served

              Confirms a pending subscription with the token from the confirmation email. Confirming twice succeeds.

              No API key needed.

              Body parameters application/json

              • tokenstringRequiredmin length 20 · max length 128

              Responses

              200

              The subscription is active.

              application/json: StatusSubscription

              • statusstringRequired
                One of confirmed.
              • componentsarray of string
              • regionsarray of Region
              • include_maintenanceboolean

              400BadRequest

              The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

              Error types: invalid_request, context_length_exceeded, unsupported_parameter.

              Headers: panward-request-id.

              404NotFound

              The resource does not exist, is not visible to the caller, or is past its retention period (not_found).

              Error types: not_found.

              Headers: panward-request-id.

              410Gone

              The resource existed and is no longer available (gone), for example a revoked or expired share link or an expired confirmation token.

              Error types: gone.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/status/subscriptions/confirm \
                -H "Content-Type: application/json" \
                -d '{"token":"xxxxxxxxxxxxxxxxxxxx"}'
              {
                "error": {
                  "type": "invalid_request",
                  "message": "temperature must be between 0 and 2.",
                  "param": "temperature",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#invalid_request"
                }
              }

              Unsubscribe from status updates

              DELETE/api/public/status/subscriptions/{token}
              Served

              One-click unsubscribe with the token carried by the link in every status email. The subscription and its address are deleted.

              No API key needed.

              Path parameters

              • tokenstringRequiredmin length 20 · max length 128
                Unsubscribe token from a status email.

              Responses

              204

              Unsubscribed.

              404NotFound

              The resource does not exist, is not visible to the caller, or is past its retention period (not_found).

              Error types: not_found.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl -X DELETE https://panward.ai/api/public/status/subscriptions/…
              {
                "error": {
                  "type": "not_found",
                  "message": "No such receipt.",
                  "param": "id",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#not_found"
                }
              }

              Search docs, models and pages

              GET/api/public/search
              Served

              Site search over documentation, the model catalog and site pages. Used by the docs search field and the not-found page. Returns at most 8 results by default; the excerpt marks matches with <mark> elements.

              No API key needed.

              Query parameters

              • qstringRequiredmin length 2 · max length 200
                Search text, 2 to 200 characters.
              • kindSearchKind
                Restrict to one kind of result. One of doc, model, page.
              • limitintegerdefault: 8 · min 1 · max 20
                Maximum number of results.

              Responses

              200

              Matching documents, best first.

              application/json: SearchResults

              • dataarray of objectRequired
                • kindSearchKindRequired
                  One of doc, model, page.
                • titlestringRequired
                • sectionstring | null
                  Section heading within the page, for docs results.
                • urlstringRequired
                  Site-relative or absolute URL of the result.
                • excerptstring
                  Text around the match, with matches wrapped in <mark>.
              • next_cursorany | nullRequired

              400BadRequest

              The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

              Error types: invalid_request, context_length_exceeded, unsupported_parameter.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl "https://panward.ai/api/public/search?q=…"
              {
                "error": {
                  "type": "invalid_request",
                  "message": "temperature must be between 0 and 2.",
                  "param": "temperature",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#invalid_request"
                }
              }

              Record a docs page vote

              POST/api/public/docs/feedback
              Served

              Records an anonymous "helpful" or "not helpful" vote for a documentation page. No account, cookie, free text or IP address is stored. Rate limited per IP.

              No API key needed.

              Body parameters application/json

              • page_pathstringRequiredmax length 300 · pattern ^/docs(/[A-Za-z0-9._~-]+)*$
                Path of the docs page.
              • helpfulbooleanRequired

              Responses

              204

              The vote was recorded.

              400BadRequest

              The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

              Error types: invalid_request, context_length_exceeded, unsupported_parameter.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/docs/feedback \
                -H "Content-Type: application/json" \
                -d '{"page_path":"/docs/quickstart","helpful":false}'
              {
                "error": {
                  "type": "invalid_request",
                  "message": "temperature must be between 0 and 2.",
                  "param": "temperature",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#invalid_request"
                }
              }

              Send a sales or sovereign-deployment enquiry

              POST/api/public/contact
              Served

              Creates a contact request for the sales team. Rate limited per IP. Field errors are reported one at a time as 400 invalid_request with param set.

              No API key needed.

              Body parameters application/json

              • namestringRequiredmin length 1 · max length 120
              • emailstringRequiredmax length 254
              • companystringmax length 160
              • rolestringmax length 120
              • countrystringpattern ^[A-Z]{2}$
                ISO 3166-1 alpha-2 code.
              • topicstringRequired
                dpa asks for the named subprocessor list under the data-processing agreement (G-51); support is a request for help, with the request id of a failed call in message (G-53). One of support, sales, sovereign, enterprise, security, dpa, other.
              • deploymentstring
                For sovereign enquiries, the kind of deployment wanted. One of dedicated_region, customer_cloud, on_premises, undecided.
              • expected_monthly_usagestringmax length 120
              • messagestringRequiredmin length 1 · max length 5000
              • source_pagestringmax length 300
                Site path the form was sent from.

              Responses

              202

              The enquiry was accepted.

              application/json: ContactAccepted

              • idstringRequiredpattern ^ctr_[0-9A-Za-z]+$
              • statusstringRequired
                One of received.

              400BadRequest

              The request is malformed or not acceptable. type is invalid_request (malformed JSON, unknown or invalid parameter; param names it), context_length_exceeded (input plus maximum output exceeds the model's context) or unsupported_parameter (the parameter is not supported by this model).

              Error types: invalid_request, context_length_exceeded, unsupported_parameter.

              Headers: panward-request-id.

              413RequestTooLarge

              The request body exceeds the size limit of the endpoint (request_too_large).

              Error types: request_too_large.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              Request
              curl https://panward.ai/api/public/contact \
                -H "Content-Type: application/json" \
                -d '{"name":"x","email":"[email protected]","topic":"support","message":"x"}'
              {
                "error": {
                  "type": "invalid_request",
                  "message": "temperature must be between 0 and 2.",
                  "param": "temperature",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#invalid_request"
                }
              }

              Fetch a profile photo

              GET/api/public/assets/avatars/{user_id}/{file}
              Served

              A member's profile photo as the console shows it (the address in avatar_url, PUBLIC_ASSETS_URL). Photos are stored cleaned, under their own SHA-256 (avatars/<user>/<sha256>.<png|jpg|webp>), in a bucket that is never public; the app serves them. Only that shape of name is served: nothing else in the bucket can be named here, and nothing is listed. Content-addressed: the answer never changes and may be cached for a year. The type is the extension's, sent with X-Content-Type-Options: nosniff.

              No API key needed.

              Path parameters

              • user_idstringRequiredpattern ^[A-Za-z0-9_]{1,64}$
              • filestringRequiredpattern ^[0-9a-f]{64}[.](png|jpg|webp)$
                The photo's SHA-256 (64 lowercase hex digits) and its type.

              Responses

              200

              The photo, byte for byte as stored.

              Headers: Cache-Control, X-Content-Type-Options.

              404NotFound

              The resource does not exist, is not visible to the caller, or is past its retention period (not_found).

              Error types: not_found.

              Headers: panward-request-id.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              500InternalError

              An unexpected error inside Panward (internal_error). Safe to retry.

              Error types: internal_error.

              Headers: panward-request-id.

              503ServiceUnavailable

              The request cannot be served now: no_capacity (no eligible offer has headroom; retry after Retry-After), sealed_unavailable (no Sealed offer is currently eligible; the request is never downgraded to Routed) or verification_unavailable (verification material could not be produced, or the gateway could not verify a held response). 503 no_capacity and sealed_unavailable carry Retry-After; when the model's offers are temporarily closed it is the time until one is tried again.

              Error types: no_capacity, sealed_unavailable, verification_unavailable, sealed_unavailable.

              Headers: panward-request-id, panward-receipt-id, Retry-After.

              Request
              curl https://panward.ai/api/public/assets/avatars/…/…
              {
                "error": {
                  "type": "not_found",
                  "message": "No such receipt.",
                  "param": "id",
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#not_found"
                }
              }

              Check gateway liveness

              GET/v1/health
              Served

              Returns 200 when the answering gateway region accepts requests. No authentication. It says nothing about individual models; see GET /public/status.

              No API key needed.

              Responses

              200

              The gateway is serving.

              application/json: Health

              • statusstringRequired
                One of ok.
              • regionRegion
                Panward region. One of eu, us, ap.
              • releasestring
                Gateway release version of the answering instance.

              429RateLimited

              A rate limit of the key, project, organization or caller IP was exceeded (rate_limit_exceeded). Retry after the stated delay.

              Error types: rate_limit_exceeded.

              Headers: panward-request-id, Retry-After, panward-ratelimit-limit, panward-ratelimit-remaining, panward-ratelimit-reset, panward-ratelimit-limit-tokens, panward-ratelimit-remaining-tokens, panward-ratelimit-reset-tokens.

              503ServiceUnavailable

              The request cannot be served now: no_capacity (no eligible offer has headroom; retry after Retry-After), sealed_unavailable (no Sealed offer is currently eligible; the request is never downgraded to Routed) or verification_unavailable (verification material could not be produced, or the gateway could not verify a held response). 503 no_capacity and sealed_unavailable carry Retry-After; when the model's offers are temporarily closed it is the time until one is tried again.

              Error types: no_capacity, sealed_unavailable, verification_unavailable, sealed_unavailable.

              Headers: panward-request-id, panward-receipt-id, Retry-After.

              Request
              curl https://api.panward.ai/v1/health
              {
                "error": {
                  "type": "rate_limit_exceeded",
                  "message": "Rate limit reached for this key. Retry in 12 seconds.",
                  "param": null,
                  "request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
                  "doc_url": "https://panward.ai/docs/errors#rate_limit_exceeded"
                }
              }

              Schemas

              Every schema of the contract, 108 in all. Nested schemas are linked by name.

              ReceiptCheckpointProofobject

              The inclusion proof of a receipt in its region's hourly checkpoint (ADR-B-093), the input of Warden's --checkpoint. Leaves are SHA-256(0x00 ‖ receipt bytes) in a RFC 6962 tree.

              • checkpointobjectRequired
                The signed statement panward.checkpoint/1; its id is sha256: and the hex SHA-256 of its JCS form.
                • formatstringRequired
                  One of panward.checkpoint/1.
                • regionstringRequired
                • period_startintegerRequired
                  Unix seconds, on the hour.
                • period_endintegerRequired
                  Unix seconds, one hour after period_start.
                • tree_sizeintegerRequiredmin 1
                • rootstringRequiredpattern ^sha256:[0-9a-f]{64}$
                • previousstring | nullRequiredpattern ^sha256:[0-9a-f]{64}$
                  The id of the region's previous checkpoint, or null for its first.
              • bundlestringRequired
                The Sigstore bundle (JSON) of the statement in the transparency log, base64url without padding.
              • leaf_indexintegerRequiredmin 0
              • audit_patharray of stringRequiredmax items 64
              • key_epochobject
                The receipt's boot-time attestation in the same transparency log, entered with the epoch of its keys before the gateway instance served (ADR-037). Absent while it cannot be read; the answer is then not cached. Warden checks it against the archived attestation the receipt names.
                • statementobjectRequired
                  The signed statement panward.boot/1.
                  • formatstringRequired
                    One of panward.boot/1.
                  • attestation_idstringRequiredpattern ^sha256:[0-9a-f]{64}$
                  • regionstringRequired
                  • not_beforeintegerRequired
                    Unix seconds; the instance's start, as its attestation states it.
                  • not_afterintegerRequired
                    Unix seconds; the end of the attested keyset's validity.
                • bundlestringRequired
                  The Sigstore bundle (JSON) of the statement in the transparency log, base64url without padding.

              Errorobject

              The error body used by every endpoint.

              • errorobjectRequired
                • typeErrorTypeRequired
                  Stable machine value. New values may be added; treat an unknown value by its HTTP status.
                • messagestringRequired
                  Human-readable and safe to show. Never contains upstream text.
                • paramstring | null
                  The request parameter or field the error refers to, when there is one.
                • request_idstringRequired
                  Panward's request id (req_…).
                • doc_urlstring
                  Documentation for this error type.

              ErrorTypestring

              Stable machine value. New values may be added; treat an unknown value by its HTTP status.

              One of invalid_request, context_length_exceeded, unsupported_parameter, authentication_required, invalid_api_key, insufficient_credit, spend_limit_reached, billing_unavailable, permission_denied, model_not_enabled, policy_blocked, region_not_allowed, ip_not_allowed, organization_suspended, not_found, model_not_found, gone, request_too_large, rate_limit_exceeded, internal_error, upstream_unavailable, upstream_rejected, no_capacity, sealed_unavailable, verification_unavailable, receipt_unavailable, upstream_timeout.

              Tierstring

              Product tier. sealed means the gateway verifies the upstream hop against enclave evidence; routed means it does not.

              One of sealed, routed.

              VerificationLevelstring

              Level reached for one response. See "Tiers and verification levels".

              One of sealed_model_signed, sealed_attested_path, sealed_attested_channel, routed, failed.

              SealedLevelstring

              A Sealed sub-level.

              One of sealed_model_signed, sealed_attested_path, sealed_attested_channel.

              Regionstring

              Panward region.

              One of eu, us, ap.

              Sha256Refstring

              A content hash, sha256: followed by 64 lowercase hexadecimal characters.

              pattern ^sha256:[0-9a-f]{64}$

              Sha256Hexstring

              SHA-256 as 64 lowercase hexadecimal characters.

              pattern ^[0-9a-f]{64}$

              ReceiptIdValuestring

              Receipt id.

              pattern ^rcpt_[0-9A-Za-z]+$

              ShareTokenstring

              Unguessable token of a receipt share link.

              pattern ^shr_[0-9A-Za-z_-]{20,}$

              Healthobject

              • statusstringRequired
                One of ok.
              • regionRegion
                Panward region. One of eu, us, ap.
              • releasestring
                Gateway release version of the answering instance.

              ChatCompletionRequestobject

              OpenAI-compatible chat completion request. Unknown parameters are rejected with 400 invalid_request; parameters a model cannot honour are rejected with 400 unsupported_parameter before any upstream call.

              • modelstringRequired
                Canonical model id. Aliases are not resolved.
              • messagesarray of ChatMessageRequiredmin items 1
              • max_completion_tokensintegermin 1
                Upper bound on generated tokens, including reasoning tokens. Capped by the model's max_output_tokens.
              • max_tokensintegermin 1
                Older name of max_completion_tokens. If both are sent they must be equal.
              • temperaturenumbermin 0 · max 2
              • top_pnumbermax 1
              • top_kintegermin 1
                Not supported by every model.
              • frequency_penaltynumbermin -2 · max 2
              • presence_penaltynumbermin -2 · max 2
              • seedinteger
                Best-effort determinism; the same seed and parameters usually give the same output on the same offer.
              • stopstring | array of string
                Up to 4 sequences at which generation stops.
                One of: string, array of string
              • nintegerdefault: 1 · min 1 · max 1
                Number of choices. Only 1 is supported.
              • logprobsbooleandefault: false
              • top_logprobsintegermin 0 · max 20
                Needs logprobs: true.
              • streambooleandefault: false
                Return the response as an event stream.
              • stream_optionsStreamOptions
                Only valid with stream: true.
              • toolsarray of Toolmax items 128
              • tool_choiceToolChoice
                none, auto (default when tools are present), required, or one named function.
              • parallel_tool_callsbooleandefault: true
              • response_formatResponseFormat
                Output format. json_schema needs a model with the json_schema capability.
              • reasoningReasoning
                Canonical reasoning control, translated by the gateway for the model that serves the request. On a model without the reasoning capability it is rejected with 400 unsupported_parameter. Reasoning tokens are billed as output tokens.
              • reasoning_effortstring
                OpenAI-style shorthand for reasoning.effort. If both are sent they must agree. One of none, low, medium, high.
              • userstringmax length 256
                Accepted for compatibility and ignored. It is never stored and never forwarded upstream.

              StreamOptionsobject

              Only valid with stream: true.

              • include_usagebooleandefault: false
                Send one extra final chunk with empty choices that carries usage. Without it the stream carries no usage.

              Reasoningobject

              Canonical reasoning control, translated by the gateway for the model that serves the request. On a model without the reasoning capability it is rejected with 400 unsupported_parameter. Reasoning tokens are billed as output tokens.

              • effortstring
                How much the model may reason. none is the same as enabled: false. One of none, low, medium, high.
              • enabledboolean
                Switch reasoning on or off for models where it is optional. Defaults to the model's default.

              ChatMessageSystemMessage | UserMessage | AssistantMessage | ToolMessage

              One message of the conversation.

              One of: SystemMessage, UserMessage, AssistantMessage, ToolMessage

              SystemMessageobject

              • rolestringRequired
                One of system, developer.
              • contentstring | array of TextPartRequired
                One of: string, array of TextPart
              • namestring

              UserMessageobject

              • rolestringRequired
                One of user.
              • contentstring | array of ContentPartRequired
                Text, or a list of text and image parts. Image parts need a model with the vision capability.
                One of: string, array of ContentPart
              • namestring

              AssistantMessageobject

              A previous assistant turn. content may be null when tool_calls is present.

              • rolestringRequired
                One of assistant.
              • contentstring | any | array of TextPart
                One of: string, any | null, array of TextPart
              • reasoning_contentstring | null
                Reasoning text of the earlier turn, if the client passes it back.
              • tool_callsarray of ToolCall
              • namestring

              ToolMessageobject

              • rolestringRequired
                One of tool.
              • contentstring | array of TextPartRequired
                One of: string, array of TextPart
              • tool_call_idstringRequired

              ContentPartTextPart | ImagePart

              One of: TextPart, ImagePart

              TextPartobject

              • typestringRequired
                One of text.
              • textstringRequired

              ImagePartobject

              • typestringRequired
                One of image_url.
              • image_urlobjectRequired
                • urlstringRequired
                  A data: URL with base64 image data (data:image/png;base64,…). Remote http(s) URLs are not fetched by the gateway and are rejected with 400 invalid_request.
                • detailstringdefault: "auto"
                  One of auto, low, high.

              Toolobject

              • typestringRequired
                One of function.
              • functionobjectRequired
                • namestringRequiredpattern ^[A-Za-z0-9_-]{1,64}$
                • descriptionstring
                • parametersobject
                  JSON Schema of the function arguments.
                • strictbooleandefault: false

              ToolChoicestring | object

              none, auto (default when tools are present), required, or one named function.

              One of: string, object

              ToolCallobject

              • idstringRequired
              • typestringRequired
                One of function.
              • functionobjectRequired
                • namestringRequired
                • argumentsstringRequired
                  The arguments as a JSON-encoded string. Validate before use.

              ResponseFormatobject | object | object

              Output format. json_schema needs a model with the json_schema capability.

              One of: object, object, object

              ChatCompletionResponseobject

              • idstringRequired
                Completion id assigned by Panward (chatcmpl-…).
              • objectstringRequired
                One of chat.completion.
              • createdintegerRequired
                Unix seconds.
              • modelstringRequired
                Canonical id of the model that answered.
              • choicesarray of ChatChoiceRequired
              • usageUsageRequired
                Token usage in the OpenAI field names. These are the quantities that are billed.

              ChatChoiceobject

              • indexintegerRequired
              • messageChatResponseMessageRequired
              • finish_reasonFinishReason | nullRequired
                Why generation stopped. null on stream chunks before the last one. One of stop, length, tool_calls, content_filter, null.
              • logprobsLogProbs | any
                One of: LogProbs, any | null

              ChatResponseMessageobject

              • rolestringRequired
                One of assistant.
              • contentstring | nullRequired
              • reasoning_contentstring | null
                The model's reasoning text, when the model returns it. Always under this field name.
              • refusalstring | null
                Set when the model declined to answer.
              • tool_callsarray of ToolCall

              FinishReasonstring

              Why generation stopped. null on stream chunks before the last one.

              One of stop, length, tool_calls, content_filter, null.

              LogProbsobject

              • contentarray of object | null
                • tokenstringRequired
                • logprobnumberRequired
                • bytesarray of integer | null
                • top_logprobsarray of object
                  • tokenstringRequired
                  • logprobnumberRequired

              Usageobject

              Token usage in the OpenAI field names. These are the quantities that are billed.

              • prompt_tokensintegerRequired
                Input tokens, including cached ones.
              • completion_tokensintegerRequired
                Output tokens, including reasoning tokens.
              • total_tokensintegerRequired
              • prompt_tokens_detailsobject
                • cached_tokensinteger
                  Input tokens served from the prompt cache, billed at the cached-input price, where the upstream keeps a cache per organization. Where an upstream shares its cache across its customers (a stated limit, ADR-B-120), cached input is billed and reported as ordinary input and this is 0.
              • completion_tokens_detailsobject
                • reasoning_tokensinteger
                  Output tokens spent on reasoning.

              ChatCompletionStreamstring

              Server-sent events. Each frame is data: followed by one JSON-encoded ChatCompletionChunk and a blank line; the stream ends with data: [DONE]. A failure after the first byte is sent as an event: error frame whose data is an Error object, after which the stream ends without [DONE].

              ChatCompletionChunkobject

              • idstringRequired
                Same id on every chunk of one completion.
              • objectstringRequired
                One of chat.completion.chunk.
              • createdintegerRequired
              • modelstringRequired
              • choicesarray of objectRequired
                Empty on the final usage chunk.
                • indexintegerRequired
                • deltaChatDeltaRequired
                • finish_reasonFinishReason | nullRequired
                  Why generation stopped. null on stream chunks before the last one. One of stop, length, tool_calls, content_filter, null.
                • logprobsLogProbs | any
                  One of: LogProbs, any | null
              • usageUsage | any
                Present only on the final chunk when stream_options.include_usage is true.
                One of: Usage, any | null

              ChatDeltaobject

              • rolestring
                One of assistant.
              • contentstring | null
              • reasoning_contentstring | null
              • refusalstring | null
              • tool_callsarray of object
                • indexintegerRequired
                • idstring
                • typestring
                  One of function.
                • functionobject
                  • namestring
                  • argumentsstring
                    A fragment of the JSON-encoded arguments; concatenate fragments by index.

              CompletionRequestobject

              • modelstringRequired
              • promptstring | array of stringRequired
                One of: string, array of string
              • max_tokensintegermin 1
              • temperaturenumbermin 0 · max 2
              • top_pnumbermax 1
              • frequency_penaltynumbermin -2 · max 2
              • presence_penaltynumbermin -2 · max 2
              • seedinteger
              • stopstring | array of string
                One of: string, array of string
              • echobooleandefault: false
              • logprobsintegermin 0 · max 5
              • streambooleandefault: false
              • stream_optionsStreamOptions
                Only valid with stream: true.
              • userstringmax length 256
                Accepted for compatibility and ignored. Never stored, never forwarded upstream.

              CompletionResponseobject

              • idstringRequired
                Completion id (cmpl-…).
              • objectstringRequired
                One of text_completion.
              • createdintegerRequired
              • modelstringRequired
              • choicesarray of objectRequired
                • indexintegerRequired
                • textstringRequired
                • finish_reasonFinishReason | nullRequired
                  Why generation stopped. null on stream chunks before the last one. One of stop, length, tool_calls, content_filter, null.
                • logprobsobject | null
              • usageUsage | any
                Always present on non-streamed responses; on streams only in the final chunk when stream_options.include_usage is true.
                One of: Usage, any | null

              CompletionStreamstring

              Server-sent events with the same framing as chat completions; each data: frame is a CompletionResponse-shaped chunk with partial text.

              EmbeddingRequestobject

              • modelstringRequired
                Canonical id of a model of kind embedding.
              • inputstring | array of stringRequired
                One text or up to 2048 texts.
                One of: string, array of string
              • encoding_formatstringdefault: "float"
                One of float, base64.
              • dimensionsintegermin 1
                Shorten the vectors, for models that support it.
              • userstringmax length 256
                Accepted for compatibility and ignored. Never stored, never forwarded upstream.

              EmbeddingResponseobject

              • objectstringRequired
                One of list.
              • dataarray of objectRequired
                • objectstringRequired
                  One of embedding.
                • indexintegerRequired
                • embeddingarray of number | stringRequired
                  The vector as numbers, or as base64 of little-endian 32-bit floats when encoding_format is base64.
                  One of: array of number, string
              • modelstringRequired
              • usageInputUsageRequired
                Usage of endpoints that bill input tokens only.

              InputUsageobject

              Usage of endpoints that bill input tokens only.

              • prompt_tokensintegerRequired
              • total_tokensintegerRequired

              RerankRequestobject

              • modelstringRequired
                Canonical id of a model of kind rerank.
              • querystringRequired
              • documentsarray of stringRequiredmin items 1 · max items 1000
              • top_nintegermin 1
                Return only the best top_n results. Defaults to all documents.
              • return_documentsbooleandefault: false
                Include each document's text in the results.

              RerankResponseobject

              • idstringRequired
                Rerank id (rerank-…).
              • objectstringRequired
                One of rerank.
              • modelstringRequired
              • resultsarray of objectRequired
                Ordered by relevance_score, highest first.
                • indexintegerRequired
                  Position of the document in the request.
                • relevance_scorenumberRequired
                • documentstring
                  Present when return_documents is true.
              • usageInputUsageRequired
                Usage of endpoints that bill input tokens only.

              TranscriptionRequestobject

              • filestringRequired
                The audio file (flac, mp3, mp4, m4a, ogg, wav or webm), at most 25 MB.
              • modelstringRequired
                Canonical id of a model of kind transcription.
              • languagestring
                Language of the audio as an ISO 639-1 code. Improves accuracy and speed.
              • promptstring
                Text to guide style or spelling.
              • response_formatstringdefault: "json"
                One of json, text, verbose_json, srt, vtt.
              • temperaturenumbermin 0 · max 1

              TranscriptionResponseobject

              • textstringRequired
              • languagestring
                Detected or given language (verbose_json).
              • durationnumber
                Audio length in seconds (verbose_json). This is the billed quantity.
              • segmentsarray of object
                Timed segments (verbose_json).
                • idintegerRequired
                • startnumberRequired
                • endnumberRequired
                • textstringRequired

              ImageGenerationRequestobject

              • modelstringRequired
                Canonical id of a model of kind image.
              • promptstringRequiredmax length 32000
              • nintegerdefault: 1 · min 1 · max 4
              • sizestring
                Width x height in pixels; allowed values depend on the model.
              • response_formatstringdefault: "b64_json"
                Only inline base64 is offered; url returns 400 unsupported_parameter. One of b64_json.
              • seedinteger
              • userstringmax length 256
                Accepted for compatibility and ignored. Never stored, never forwarded upstream.

              ImageGenerationResponseobject

              • createdintegerRequired
              • dataarray of objectRequired
                • b64_jsonstringRequired
                  The image, base64-encoded.
                • revised_promptstring
              • usageobject
                Billed quantity.
                • imagesintegerRequired

              ModelKindstring

              What the model does, which decides the endpoint it is called through.

              One of chat, completion, embedding, rerank, transcription, image.

              Modelobject

              A canonical model. It never names who hosts it; hardware vendors may be named.

              • idstringRequired
                Canonical model id, vendor/name.
              • objectstringRequired
                One of model.
              • createdinteger
                When the model was added to the catalog, Unix seconds.
              • owned_bystring
                Publisher of the model (the first segment of the id).
              • namestringRequired
                Display name.
              • descriptionstring
              • kindModelKindRequired
                What the model does, which decides the endpoint it is called through. One of chat, completion, embedding, rerank, transcription, image.
              • tiersarray of TierRequired
                Tiers the model is offered in.
              • default_tierTierRequired
                Product tier. sealed means the gateway verifies the upstream hop against enclave evidence; routed means it does not. One of sealed, routed.
              • verification_levelsarray of SealedLevelRequired
                Sealed sub-levels that can be reached for this model; empty for a model offered only in the Routed tier. sealed_model_signed is available for non-streamed requests only. The level reached is stated per response in the receipt.
              • hardwarearray of string
                Hardware technologies behind the Sealed tier of this model.
              • context_lengthinteger | null
                The model's advertised context, in tokens: the catalog's override, otherwise the largest context among the offers that serve the model's default tier (the figure the site, the console and the back office show). A request is only sent to an offer it fits; a request no offer can take is refused with context_length_exceeded. Null for kinds without a token context.
              • max_output_tokensinteger | null
                The model's advertised maximum output, in tokens: the catalog's own figure, otherwise the largest among the offers that serve the model's default tier (the figure the site and the console show). A request is only sent to an offer that gives the output it asks for. Null where there is none or the kind writes no tokens.
              • capabilitiesModelCapabilitiesRequired
              • thinks_before_answeringbooleanRequired
                The model thinks before it answers: its answers carry reasoning tokens (usage.completion_tokens_details.reasoning_tokens, billed as output tokens), whether or not the request sends a reasoning control. This is the catalog's statement about the model. It is independent of capabilities.reasoning, which says whether the model accepts the reasoning and reasoning_effort controls: a model can think before answering and still refuse the controls with 400 unsupported_parameter.
              • modalitiesobjectRequired
              • pricingarray of PriceRequired
                One price per tier the model is offered in.
              • regionsarray of objectRequired
                Where the model can be served. A model that cannot be pinned to a region is absent from region-pinned catalogs.
                • regionRegionRequired
                  Panward region. One of eu, us, ap.
                • statusstringRequired
                  One of available, degraded, unavailable.
                • tiersarray of TierRequired
              • statusstringRequired
                Lifecycle state. A deprecated model has a retirement date at least 90 days after its announcement. One of available, preview, degraded, deprecated, retired.
              • retires_atinteger | null
                Retirement time, Unix seconds, when the model is deprecated.

              ModelCapabilitiesobject

              • streamingbooleanRequired
              • toolsbooleanRequired
              • json_schemabooleanRequired
              • visionbooleanRequired
              • reasoningbooleanRequired
                The model accepts the reasoning controls (reasoning, reasoning_effort). Without it they are refused with 400 unsupported_parameter. Whether the model's answers carry reasoning tokens is thinks_before_answering.
              • prompt_cachingbooleanRequired

              Modalitystring

              One of text, image, audio, embedding.

              ModelListobject

              • objectstringRequired
                One of list.
              • dataarray of ModelRequired
              • next_cursorstring | nullRequired

              Priceobject

              The price of one model in one tier, per component. Amounts are integer nano-USD (1 USD = 1,000,000,000).

              • tierTierRequired
                Product tier. sealed means the gateway verifies the upstream hop against enclave evidence; routed means it does not. One of sealed, routed.
              • currencystringRequired
                One of USD.
              • componentsPriceComponentsRequired
                Components that apply to the model. A request's amount per component is ceil(quantity × amount_nano_usd / 1,000,000) for token components, in integer arithmetic.
              • per_request_minimumobject
                The least one request in this tier is charged: a request's price is the larger of the sum of its components and this amount (ADR-045). amount_nano_usd 0 means there is no minimum. Always present.
                • amount_nano_usdintegerRequiredmin 0
                  Nano-USD per request (200,000 = $0.0002).
                • amount_usdstringRequired
                  The same amount formatted in USD for display.
              • nextPriceChange | any
                A scheduled price change, if one is announced.
                One of: PriceChange, any | null

              PriceComponentsobject

              Components that apply to the model. A request's amount per component is ceil(quantity × amount_nano_usd / 1,000,000) for token components, in integer arithmetic.

              PriceComponentobject

              • unitstringRequired
                output includes reasoning tokens. request is a flat amount per request, normally 0. One of per_1m_tokens, per_image, per_audio_minute, per_request.
              • amount_nano_usdintegerRequiredmin 0
                For per_1m_tokens, nano-USD per 1,000,000 tokens (2,160,000,000 = $2.16 per 1M tokens).
              • amount_usdstringRequired
                The same amount formatted in USD for display.

              PriceChangeobject

              • effective_atintegerRequired
                When the new price starts to apply, Unix seconds.
              • componentsPriceComponentsRequired
                Components that apply to the model. A request's amount per component is ceil(quantity × amount_nano_usd / 1,000,000) for token components, in integer arithmetic.

              PriceListobject

              • currencystringRequired
                One of USD.
              • updated_atintegerRequired
              • dataarray of objectRequired
                • modelstringRequired
                  Canonical model id.
                • namestringRequired
                • kindModelKindRequired
                  What the model does, which decides the endpoint it is called through. One of chat, completion, embedding, rerank, transcription, image.
                • pricingarray of PriceRequired

              Receiptobject

              The receipt document (panward.receipt/1). Its canonical form is RFC 8785 (JCS); the Ed25519 signature covers the document without the signature member. It holds hashes, never content, and no prices. It never names who served the upstream hop: evidence is referenced by content hash with neutral descriptors.

              • formatstringRequired
                One of panward.receipt/1.
              • idReceiptIdValueRequiredpattern ^rcpt_[0-9A-Za-z]+$
                Receipt id.
              • statusstringRequired
                pending receipts hold the events up to response.emitted and carry no signature. final receipts are signed and never change. One of pending, final.
              • created_atintegerRequired
                Gateway-observed time the request arrived, Unix seconds. Receipts are not a trusted timestamping service.
              • completed_atinteger
                Gateway-observed time the receipt was finalised. Absent while pending.
              • endpointstringRequired
              • streambooleanRequired
              • modelstringRequired
                Canonical id of the model that answered (or that was requested, for a refusal).
              • tierTierRequired
                Product tier. sealed means the gateway verifies the upstream hop against enclave evidence; routed means it does not. One of sealed, routed.
              • organizationstringRequiredpattern ^org_[0-9A-Za-z]+$
              • projectstringRequiredpattern ^prj_[0-9A-Za-z]+$
              • key_idstringRequiredpattern ^key_[0-9A-Za-z]+$
                Id of the API key that made the request (never the secret).
              • regionRegionRequired
                Panward region. One of eu, us, ap.
              • eventsarray of ReceiptEventRequired
                What happened, in order. Retries and failover repeat the group route.selected … response.received with increasing attempt; only the last attempt's response is returned. A refusal has policy.applied.decision: "deny", no forwarding events, and the hash of the error body in response.emitted. A request that was forwarded and failed on every attempt has decision: "allow", one group ending in attempt.abandoned per attempt, no upstream.verified, and the hash of the error body in response.emitted.
              • Token counts of the request. Absent for refusals.
              • gatewayReceiptGatewayRequired
                The gateway instance that handled the request and signed the receipt.
              • key_id_signingstringpattern ^rk_[0-9A-Za-z]+$
                Id of the receipt key that signed; it must be in the keyset of the attestation named by gateway.attestation_id. Absent while pending.
              • signaturestringpattern ^[0-9a-f]{128}$
                Ed25519 signature over JCS(receipt without signature), 128 hexadecimal characters. Absent while pending.

              ReceiptEventRequestReceivedEvent | PolicyAppliedEvent | RouteSelectedEvent | RequestForwardedEvent | AttemptAbandonedEvent | UpstreamVerifiedEvent | ResponseReceivedEvent | ResponseEmittedEvent

              One step of the request, selected by type.

              One of: RequestReceivedEvent, PolicyAppliedEvent, RouteSelectedEvent, RequestForwardedEvent, AttemptAbandonedEvent, UpstreamVerifiedEvent, ResponseReceivedEvent, ResponseEmittedEvent

              RequestReceivedEventobject

              • typestringRequired
                One of request.received.
              • body_sha256anyRequired
                SHA-256 of the exact request body bytes the client sent.

              PolicyAppliedEventobject

              • typestringRequired
                One of policy.applied.
              • policy_versionintegerRequired
                Version of the organization's policy that was in force.
              • decisionstringRequired
                One of allow, deny.
              • constraintsarray of string
                Constraints the policy imposed on routing, for example sealed_only, model_signed_required, region:eu.
              • reasonstring
                For deny, the error type returned to the client.

              RouteSelectedEventobject

              • typestringRequired
                One of route.selected.
              • offer_classTierRequired
                Product tier. sealed means the gateway verifies the upstream hop against enclave evidence; routed means it does not. One of sealed, routed.
              • attemptintegerRequiredmin 1
              • modelstring
                Present when a fallback model was selected instead of the requested one.

              RequestForwardedEventobject

              • typestringRequired
                One of request.forwarded.
              • body_sha256anyRequired
                SHA-256 of the request bytes sent on the upstream hop. It differs from request.received because the gateway rewrites ids and model names; with channel encrypted_to_model_enclave it covers ciphertext.
              • channelstringRequired
                What the gateway checked about the upstream hop, never more (ADR-B-123). tls: the upstream's certificate checked against public certificate authorities only (Routed offers, and Sealed offers whose evidence binds no TLS key). tls_pinned: the connection's server key matched a TLS key bound by evidence the gateway verified with its own nonce; another key refuses the connection before any request byte. encrypted_to_model_enclave: the message content was also encrypted to the model enclave's key bound by evidence the gateway verified. encrypted_to_gateway_enclave: the request and response bodies were encrypted (HPKE) to the upstream gateway enclave's key bound by evidence the gateway verified with its own nonce. One of tls, tls_pinned, encrypted_to_model_enclave, encrypted_to_gateway_enclave.
              • attemptintegermin 1

              AttemptAbandonedEventobject

              An upstream attempt that was given up before any byte reached the client (architecture 02 section 4). The next attempt follows.

              • typestringRequired
                One of attempt.abandoned.
              • reasonstringRequired
                One of timeout, upstream_error, rate_limited, sealed_unavailable.
              • body_sha256anyRequired
                SHA-256 of the request bytes that were sent on this attempt.
              • cancelledbooleanRequired
                Whether the upstream call was cancelled.
              • attemptintegerRequiredmin 1

              UpstreamVerifiedEventobject

              What the gateway's enclave verified about the upstream hop for this response.

              • typestringRequired
                One of upstream.verified.
              • resultstringRequired
                verified: the expected proof was checked. failed: it was missing, late, invalid or against policy (reason set). not_applicable: Routed tier, no proof exists. One of verified, failed, not_applicable.
              • levelVerificationLevelRequired
                Level reached for one response. See "Tiers and verification levels". One of sealed_model_signed, sealed_attested_path, sealed_attested_channel, routed, failed.
              • reasonstring
                Set when result is failed. One of proof_unavailable, signature_invalid, hash_mismatch, evidence_expired, policy_violation, stream_incomplete, client_aborted.
              • evidencearray of EvidenceRef
              • response_proofobject
                • kindstringRequired
                  enclave_signature and signed_receipt: an upstream key signed the exact request and response hashes. attested_channel (level sealed_attested_channel only): no signature exists; the proof is that the exchange went over a channel only the holder of a key bound in nonce-bound, verified evidence could terminate. It cannot be re-checked against the upstream later; Warden re-appraises the archived evidence. One of enclave_signature, signed_receipt, attested_channel.
                • signer_scopestringRequired
                  Which enclave's key signed the request and response hashes; for attested_channel, which enclave holds the channel key (nothing is signed). One of model_enclave, gateway_enclave.
                • instance_boundboolean
                  True only when the signing key is bound to one attested instance or session. False for a key shared by a pool of enclaves; the proof then does not identify the instance that served the response.
                • verified_atintegerRequired
              • claimsobject
                Recorded claims that never raise or gate the level.
                • gpu_attestedstring
                  GPU evidence was presented and checked offline; it is not bound to the serving CPU enclave. One of asserted, unknown.
                • gpu_bindingstring
                  none: GPU evidence is not bound to this response or to the serving CPU enclave. session_bound: reserved for offers that bind CPU and GPU evidence to one session; not issued today. One of none, session_bound.
                • debug_modestring
                  One of refuted, unknown.
                • weights_provenancestring
                  One of asserted, unknown.
              • attemptintegermin 1

              EvidenceRefobject

              A piece of archived upstream evidence, named only by content hash.

              • idSha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
                A content hash, sha256: followed by 64 lowercase hexadecimal characters.
              • kindstringRequired
                One of gateway_enclave, model_enclave, model_environment.
              • hardwarestring
                The hardware whose quote or report Panward's gateway verified itself for this piece. Absent when the piece is a record of an attested upstream gateway and Panward verified no hardware evidence of it directly. One of intel-tdx, amd-sev-snp, nvidia-gpu.
              • firmware_statusstring
                Firmware level as judged by the verification policy. One of up_to_date, accepted_with_advisory.
              • operator_ratingstring
                Panward's custody rating of the environment's operator. Only A and B can serve Sealed. One of A, B.
              • nonce_boundbooleanRequired
                The evidence was bound to a fresh nonce chosen by Panward's gateway.
              • freshnessstring
                fixed_attestation: the enclave's attestation document has no nonce input (the operator fixes it; the gateway re-fetches and re-verifies it every refresh interval). nonce_bound is then false. Allowed only under sealed_model_signed, where the key it binds signed this response. Absent: nonce_bound says it all. One of fixed_attestation.

              ResponseReceivedEventobject

              • typestringRequired
                One of response.received.
              • body_sha256anyRequired
                SHA-256 of the response bytes received on the upstream hop.
              • attemptintegermin 1

              ResponseEmittedEventobject

              • typestringRequired
                One of response.emitted.
              • body_sha256anyRequired
                SHA-256 of the exact response body bytes the gateway wrote to the client connection; for a stream, every byte written, including the terminator when complete is true.
              • bytesintegerRequiredmin 0
              • completebooleanRequired
                False when the stream ended early (client disconnect or mid-stream failure).

              ReceiptUsageobject

              Token counts of the request. Absent for refusals.

              • input_tokensintegerRequired
              • cached_input_tokensintegerRequired
              • output_tokensintegerRequired
                Includes reasoning tokens.

              ReceiptGatewayobject

              The gateway instance that handled the request and signed the receipt.

              • attestation_idanyRequired
                Content hash of the instance's archived boot-time attestation document.
              • releasestringRequired
                Gateway release version; its measurements are in the release file.
              • config_bundleanyRequired
                Hash of the configuration bundle that was live.
              • verification_policyanyRequired
                Hash of the verification policy that was live; published with a summary in the release file.

              ReceiptBatchobject

              • dataarray of ReceiptRequiredmax items 100
              • not_foundarray of ReceiptIdValueRequired
                Requested ids with no readable receipt.
              • next_cursorany | nullRequired

              ReceiptVerifyRequestobject | object

              Either a share token or a receipt document.

              One of: object, object

              ReceiptVerificationBundleobject

              Material for client-side verification. It contains no verdict.

              • receiptReceiptRequired
                The receipt document (panward.receipt/1). Its canonical form is RFC 8785 (JCS); the Ed25519 signature covers the document without the signature member. It holds hashes, never content, and no prices. It never names who served the upstream hop: evidence is referenced by content hash with neutral descriptors.
              • attestationobjectRequired
                The archived boot-time attestation document named by receipt.gateway.attestation_id. Its nonce is the hash of its keyset.
                • formatstringRequired
                  One of panward.attestation/1.
                • teestringRequired
                  One of intel-tdx.
                • quotestringRequiredpattern ^[0-9a-f]+$
                  The hardware quote, hexadecimal. Its report_data is SHA-256(JCS(report_data_statement)) followed by 32 zero bytes.
                • report_data_statementobjectRequired
                  • purposestringRequired
                    One of panward.attestation/1.
                  • noncestringRequiredpattern ^[0-9a-fA-F]{64}$
                    The caller's nonce; in an archived boot-time document, the hash of the keyset.
                  • keyset_digestanyRequired
                    sha256: + hex of SHA-256(JCS(keyset)).
                • keysetKeysetRequired
                  Keys generated inside the enclave at boot and bound into the quote. Verifiers pin measurements, not these keys.
                • measurementsMeasurementsRequired
                  Launch and runtime measurement registers, each 96 hexadecimal characters.
                • event_logarray of objectRequired
                  Measured boot events that replay to the runtime measurement registers.
                  • registerintegerRequiredmin 0 · max 3
                  • eventstringRequired
                  • digeststringRequiredpattern ^[0-9a-f]+$
                  • payloadstring
                • releaseobjectRequired
                  • versionstringRequired
                  • image_digestSha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
                    A content hash, sha256: followed by 64 lowercase hexadecimal characters.
                  • transparency_logTransparencyLogEntryRequired
                • runtimeobjectRequired
                  Values that change without a new image. They are not hardware-measured; they are signed by the attested receipt key.
                  • config_bundleSha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
                    A content hash, sha256: followed by 64 lowercase hexadecimal characters.
                  • verification_policySha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
                    A content hash, sha256: followed by 64 lowercase hexadecimal characters.
                  • regionRegionRequired
                    Panward region. One of eu, us, ap.
                  • started_atintegerRequired
                • runtime_signaturestringRequiredpattern ^[0-9a-f]{128}$
                  Ed25519 signature by a key of keyset.receipt_keys over JCS(runtime), hexadecimal.
              • releaseobjectRequired
                The release entry for receipt.gateway.release.
                • versionstringRequired
                • statusReleaseStatusRequired
                  announced: published, not yet serving. active: may serve. retired: no longer serves; kept so old receipts stay verifiable. One of announced, active, retired.
                • source_commitstringRequiredpattern ^[0-9a-f]{40}$
                  Commit of the open-source gateway the image was built from.
                • source_urlstring
                • image_digestSha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
                  A content hash, sha256: followed by 64 lowercase hexadecimal characters.
                • measurementsarray of objectRequired
                  Expected measurements per host platform and VM shape. An attestation must equal one row.
                  • platformstringRequired
                    Host platform generation the row applies to.
                  • vm_shapestringRequired
                    Virtual machine size (vCPU and memory) the row applies to.
                  • teestringRequired
                    One of intel-tdx.
                  • mrtdRegisterRequiredpattern ^[0-9a-f]{96}$
                  • rtmr0RegisterRequiredpattern ^[0-9a-f]{96}$
                  • rtmr1RegisterRequiredpattern ^[0-9a-f]{96}$
                  • rtmr2RegisterRequiredpattern ^[0-9a-f]{96}$
                  • rtmr3RegisterRequiredpattern ^[0-9a-f]{96}$
                  • td_attributesstringpattern ^[0-9a-f]{16}$
                    TD attributes of the shape, 16 hexadecimal characters. When present, the quote's value must equal it.
                  • xfamstringpattern ^[0-9a-f]{16}$
                    Extended features mask of the shape, 16 hexadecimal characters. When present, the quote's value must equal it.
                • transparency_logTransparencyLogEntryRequired
                • announced_atintegerRequired
                • effective_atintegerRequired
                  Earliest time the release serves traffic; at least 7 days after announced_at.
                • retired_atinteger | null
                • notesstring
              • verification_policyVerificationPolicyVersion | any
                The published policy version matching receipt.gateway.verification_policy, when it is published.
                One of: VerificationPolicyVersion, any | null

              SampleReceiptobject

              The public sample receipt and what a verifier needs besides Intel's collateral and the policy list.

              • receipt_idstringRequiredpattern ^rcpt_[0-9A-Za-z]{10,64}$
              • receiptReceiptRequired
                The receipt document (panward.receipt/1). Its canonical form is RFC 8785 (JCS); the Ed25519 signature covers the document without the signature member. It holds hashes, never content, and no prices. It never names who served the upstream hop: evidence is referenced by content hash with neutral descriptors.
              • request_bodystringRequired
                The exact request bytes; their SHA-256 is the receipt's request.received.
              • response_bodystringRequired
                The exact response bytes; their SHA-256 is the receipt's response.emitted.
              • attestation_idstringRequiredpattern ^sha256:[0-9a-f]{64}$
                The receipt's gateway.attestation_id.
              • release_filestring | nullRequired
                The signed release file that lists the attestation's measurements, when published with the sample.
              • designated_atintegerRequired

              SharedReceiptobject

              • receiptReceiptRequired
                The receipt document (panward.receipt/1). Its canonical form is RFC 8785 (JCS); the Ed25519 signature covers the document without the signature member. It holds hashes, never content, and no prices. It never names who served the upstream hop: evidence is referenced by content hash with neutral descriptors.
              • shareobjectRequired
                • created_atintegerRequired
                • expires_atinteger | null

              Attestationobject

              Attestation document of one gateway instance (panward.attestation/1).

              • formatstringRequired
                One of panward.attestation/1.
              • teestringRequired
                One of intel-tdx.
              • quotestringRequiredpattern ^[0-9a-f]+$
                The hardware quote, hexadecimal. Its report_data is SHA-256(JCS(report_data_statement)) followed by 32 zero bytes.
              • report_data_statementobjectRequired
                • purposestringRequired
                  One of panward.attestation/1.
                • noncestringRequiredpattern ^[0-9a-fA-F]{64}$
                  The caller's nonce; in an archived boot-time document, the hash of the keyset.
                • keyset_digestanyRequired
                  sha256: + hex of SHA-256(JCS(keyset)).
              • keysetKeysetRequired
                Keys generated inside the enclave at boot and bound into the quote. Verifiers pin measurements, not these keys.
              • measurementsMeasurementsRequired
                Launch and runtime measurement registers, each 96 hexadecimal characters.
              • event_logarray of objectRequired
                Measured boot events that replay to the runtime measurement registers.
                • registerintegerRequiredmin 0 · max 3
                • eventstringRequired
                • digeststringRequiredpattern ^[0-9a-f]+$
                • payloadstring
              • releaseobjectRequired
                • versionstringRequired
                • image_digestSha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
                  A content hash, sha256: followed by 64 lowercase hexadecimal characters.
                • transparency_logTransparencyLogEntryRequired
              • runtimeobjectRequired
                Values that change without a new image. They are not hardware-measured; they are signed by the attested receipt key.
                • config_bundleSha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
                  A content hash, sha256: followed by 64 lowercase hexadecimal characters.
                • verification_policySha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
                  A content hash, sha256: followed by 64 lowercase hexadecimal characters.
                • regionRegionRequired
                  Panward region. One of eu, us, ap.
                • started_atintegerRequired
              • runtime_signaturestringRequiredpattern ^[0-9a-f]{128}$
                Ed25519 signature by a key of keyset.receipt_keys over JCS(runtime), hexadecimal.

              Keysetobject

              Keys generated inside the enclave at boot and bound into the quote. Verifiers pin measurements, not these keys.

              • receipt_keysarray of objectRequired
                • key_idstringRequiredpattern ^rk_[0-9A-Za-z]+$
                • algstringRequired
                  One of ed25519.
                • public_keySha256HexRequiredpattern ^[0-9a-f]{64}$
                  SHA-256 as 64 lowercase hexadecimal characters.
              • tls_keysarray of objectRequired
                • domainstringRequired
                • spki_sha256Sha256HexRequiredpattern ^[0-9a-f]{64}$
                  SHA-256 as 64 lowercase hexadecimal characters.
              • not_afterintegerRequired

              Measurementsobject

              Launch and runtime measurement registers, each 96 hexadecimal characters.

              • mrtdRegisterRequiredpattern ^[0-9a-f]{96}$
              • rtmr0RegisterRequiredpattern ^[0-9a-f]{96}$
              • rtmr1RegisterRequiredpattern ^[0-9a-f]{96}$
              • rtmr2RegisterRequiredpattern ^[0-9a-f]{96}$
              • rtmr3RegisterRequiredpattern ^[0-9a-f]{96}$

              Registerstring

              pattern ^[0-9a-f]{96}$

              TransparencyLogEntryobject

              • log_indexintegerRequired
              • bundlestringRequired
                Sigstore bundle (its JSON, base64url) proving that this row's release statement, the canonical JSON of type (panward.release/1), version, source_commit, image_digest and measurements, was signed by the release workflow and entered in the public transparency log.

              ReleaseStatusstring

              announced: published, not yet serving. active: may serve. retired: no longer serves; kept so old receipts stay verifiable.

              One of announced, active, retired.

              ReleaseEntryobject

              One published gateway release.

              • versionstringRequired
              • statusReleaseStatusRequired
                announced: published, not yet serving. active: may serve. retired: no longer serves; kept so old receipts stay verifiable. One of announced, active, retired.
              • source_commitstringRequiredpattern ^[0-9a-f]{40}$
                Commit of the open-source gateway the image was built from.
              • source_urlstring
              • image_digestSha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
                A content hash, sha256: followed by 64 lowercase hexadecimal characters.
              • measurementsarray of objectRequired
                Expected measurements per host platform and VM shape. An attestation must equal one row.
                • platformstringRequired
                  Host platform generation the row applies to.
                • vm_shapestringRequired
                  Virtual machine size (vCPU and memory) the row applies to.
                • teestringRequired
                  One of intel-tdx.
                • mrtdRegisterRequiredpattern ^[0-9a-f]{96}$
                • rtmr0RegisterRequiredpattern ^[0-9a-f]{96}$
                • rtmr1RegisterRequiredpattern ^[0-9a-f]{96}$
                • rtmr2RegisterRequiredpattern ^[0-9a-f]{96}$
                • rtmr3RegisterRequiredpattern ^[0-9a-f]{96}$
                • td_attributesstringpattern ^[0-9a-f]{16}$
                  TD attributes of the shape, 16 hexadecimal characters. When present, the quote's value must equal it.
                • xfamstringpattern ^[0-9a-f]{16}$
                  Extended features mask of the shape, 16 hexadecimal characters. When present, the quote's value must equal it.
              • transparency_logTransparencyLogEntryRequired
              • announced_atintegerRequired
              • effective_atintegerRequired
                Earliest time the release serves traffic; at least 7 days after announced_at.
              • retired_atinteger | null
              • notesstring

              VerificationPolicyVersionobject

              A published version of the policy the gateway applies to upstream evidence.

              • hashSha256RefRequiredpattern ^sha256:[0-9a-f]{64}$
                A content hash, sha256: followed by 64 lowercase hexadecimal characters.
              • versionintegerRequired
              • summarystringRequired
                Human-readable summary of what the policy requires.
              • effective_atintegerRequired

              ReleaseListobject

              • dataarray of ReleaseEntryRequired
              • revoked_keysarray of object
                The release file's revoked receipt keys (in the unfiltered answer only).
              • file_statementobject
                What is signed for the release file as a whole (format panward.release-file/1; unfiltered answer only).
              • file_logobject
                The transparency-log entry of the file statement (unfiltered answer only).
              • verification_policiesarray of VerificationPolicyVersion
                Published verification-policy versions, newest first.
              • next_cursorstring | null
                The next page of a filtered or paged read; absent from the release file itself.

              IntelCollateralobject

              Intel-signed collateral for verifying a TDX quote, as fetched from Intel's provisioning certification service.

              • fmspcstringRequiredpattern ^[0-9a-f]{12}$
              • tcb_infostringRequired
                The signed TCB info document, byte-exact JSON as a string.
              • tcb_info_issuer_chainstringRequired
                PEM certificate chain.
              • qe_identitystringRequired
                The signed quoting-enclave identity document, byte-exact JSON as a string.
              • qe_identity_issuer_chainstringRequired
                PEM certificate chain.
              • pck_crlstringRequired
                Certificate revocation list of the platform certificate authority, PEM.
              • pck_crl_issuer_chainstringRequired
                PEM certificate chain.
              • root_ca_crlstringRequired
                Certificate revocation list of Intel's root, PEM.
              • tcb_evaluation_data_numberintegerRequired
                Evaluation number of the TCB info; verifiers enforce a minimum.
              • fetched_atintegerRequired
              • next_updateintegerRequired
                Earliest expiry among the items, Unix seconds.

              UsageReportobject

              • fromintegerRequired
              • tointegerRequired
              • group_bystring | null
                One of model, project, key, tier, region, day, null.
              • dataarray of UsageRowRequired
              • totalsUsageFiguresRequired
              • next_cursorstring | nullRequired

              UsageRowobject

              • modelstring
                Set when grouped by model.
              • projectstring
                Project id, set when grouped by project.
              • key_idstring
                API key id, set when grouped by key.
              • tierTier
                Product tier. sealed means the gateway verifies the upstream hop against enclave evidence; routed means it does not. One of sealed, routed.
              • regionRegion
                Panward region. One of eu, us, ap.
              • daystring
                UTC day, set when grouped by day.
              • requestsintegerRequired
              • input_tokensintegerRequired
              • cached_input_tokensintegerRequired
              • output_tokensintegerRequired
                Includes reasoning tokens.
              • reasoning_tokensinteger
              • imagesinteger
              • audio_secondsinteger
              • cost_nano_usdintegerRequired
                Amount billed, in nano-USD.
              • cost_usdstringRequired
                The same amount formatted in USD.

              UsageFiguresobject

              • requestsintegerRequired
              • input_tokensintegerRequired
              • cached_input_tokensintegerRequired
              • output_tokensintegerRequired
                Includes reasoning tokens.
              • reasoning_tokensinteger
              • imagesinteger
              • audio_secondsinteger
              • cost_nano_usdintegerRequired
                Amount billed, in nano-USD.
              • cost_usdstringRequired
                The same amount formatted in USD.

              ChangelogCategorystring

              One of models, api, console, security, pricing, verification.

              ChangelogEntryobject

              • idstringRequiredpattern ^chg_[0-9A-Za-z]+$
              • slugstringRequired
              • titlestringRequired
              • categoryChangelogCategoryRequired
                One of models, api, console, security, pricing, verification.
              • tagsarray of string
              • published_atintegerRequired
              • summarystring
              • body_htmlstringRequired
                Sanitised HTML of the entry.
              • urlstring

              ChangelogListobject

              SearchKindstring

              One of doc, model, page.

              SearchResultsobject

              • dataarray of objectRequired
                • kindSearchKindRequired
                  One of doc, model, page.
                • titlestringRequired
                • sectionstring | null
                  Section heading within the page, for docs results.
                • urlstringRequired
                  Site-relative or absolute URL of the result.
                • excerptstring
                  Text around the match, with matches wrapped in <mark>.
              • next_cursorany | nullRequired

              DocsFeedbackRequestobject

              • page_pathstringRequiredmax length 300 · pattern ^/docs(/[A-Za-z0-9._~-]+)*$
                Path of the docs page.
              • helpfulbooleanRequired

              ContactRequestobject

              • namestringRequiredmin length 1 · max length 120
              • emailstringRequiredmax length 254
              • companystringmax length 160
              • rolestringmax length 120
              • countrystringpattern ^[A-Z]{2}$
                ISO 3166-1 alpha-2 code.
              • topicstringRequired
                dpa asks for the named subprocessor list under the data-processing agreement (G-51); support is a request for help, with the request id of a failed call in message (G-53). One of support, sales, sovereign, enterprise, security, dpa, other.
              • deploymentstring
                For sovereign enquiries, the kind of deployment wanted. One of dedicated_region, customer_cloud, on_premises, undecided.
              • expected_monthly_usagestringmax length 120
              • messagestringRequiredmin length 1 · max length 5000
              • source_pagestringmax length 300
                Site path the form was sent from.

              ContactAcceptedobject

              • idstringRequiredpattern ^ctr_[0-9A-Za-z]+$
              • statusstringRequired
                One of received.

              ComponentStatusstring

              One of operational, degraded, partial_outage, major_outage, maintenance.

              Statusobject

              • overallComponentStatusRequired
                One of operational, degraded, partial_outage, major_outage, maintenance.
              • updated_atintegerRequired
              • componentsarray of StatusComponentRequired
              • regionsarray of RegionStatusRequired
                The open gateway regions that have a state (from their components, else measured), by region code.
              • incidentsarray of IncidentRequired
                Open incidents.
              • maintenancearray of IncidentRequired
                Scheduled and ongoing maintenance.

              StatusComponentobject

              • idstringRequired
              • namestringRequired
              • groupstring
              • regionRegion | any
                One of: Region, any | null
              • statusComponentStatusRequired
                One of operational, degraded, partial_outage, major_outage, maintenance.
              • uptime_90dnumber
                Uptime over the last 90 days, percent.

              RegionStatusobject

              What was recorded for the region. A figure nothing recorded is null, never estimated.

              • regionRegionRequired
                Panward region. One of eu, us, ap.
              • statusComponentStatusRequired
                One of operational, degraded, partial_outage, major_outage, maintenance.
              • gateway_releasestring | nullRequired
                The release of Panward's gateway the region runs (its gateways' report, else the release that answered most requests in the last hour). Null when neither was recorded.
              • attestation_age_secondsinteger | nullRequired
                Age of the newest boot attestation of the region's running gateways. A gateway is attested when it starts and serves under that attestation until it stops, so this is how long ago the newest of them started, not how recently anything was checked. Null when none is recorded.
              • verification_success_ratenumber | nullRequiredmin 0 · max 1
                Share of Sealed responses in the last hour whose receipt reached a sealed level. Null when no Sealed response's receipt was due in the last hour.

              IncidentStatusstring

              A maintenance is scheduled, then monitoring while in progress and resolved when completed; a maintenance withdrawn before it started is cancelled (it never took place, and has no resolved_at).

              One of scheduled, investigating, identified, monitoring, resolved, cancelled.

              Incidentobject

              • idstringRequiredpattern ^inc_[0-9A-Za-z]+$
              • kindstringRequired
                One of incident, maintenance.
              • titlestringRequired
              • statusIncidentStatusRequired
                A maintenance is scheduled, then monitoring while in progress and resolved when completed; a maintenance withdrawn before it started is cancelled (it never took place, and has no resolved_at). One of scheduled, investigating, identified, monitoring, resolved, cancelled.
              • impactstringRequired
                One of none, minor, major, critical.
              • componentsarray of string
                Ids of affected components.
              • regionsarray of Region
              • started_atintegerRequired
              • scheduled_untilinteger | null
              • resolved_atinteger | null
              • updatesarray of objectRequired
                Newest first.
                • idstringRequired
                • statusIncidentStatusRequired
                  A maintenance is scheduled, then monitoring while in progress and resolved when completed; a maintenance withdrawn before it started is cancelled (it never took place, and has no resolved_at). One of scheduled, investigating, identified, monitoring, resolved, cancelled.
                • bodystringRequired
                • created_atintegerRequired
              • urlstring

              IncidentListobject

              • dataarray of IncidentRequired
              • next_cursorstring | nullRequired

              StatusSubscriptionRequestobject

              • emailstringRequiredmax length 254
              • componentsarray of string
                Component ids to follow. Omit for all components.
              • regionsarray of Region
                Regions to follow. Omit for all regions.
              • include_maintenancebooleandefault: true

              StatusSubscriptionAcceptedobject

              • statusstringRequired
                One of pending_confirmation.

              StatusSubscriptionConfirmRequestobject

              • tokenstringRequiredmin length 20 · max length 128

              StatusSubscriptionobject

              • statusstringRequired
                One of confirmed.
              • componentsarray of string
              • regionsarray of Region
              • include_maintenanceboolean