Let the exchange read you (pull)

On the pull lane you serve two JSON documents at https addresses, and the exchange reads them. You open no connection and keep no session. Use pull when you cannot keep a WebSocket open, or when you want one document for text, image and speech models.

On push, your software opens a WebSocket to the exchange and sends quotes. On pull, the exchange reads your document every 5 minutes and your offer list every 30 seconds, and it rests your offers. On both lanes the exchange sends each awarded job to your dispatch address. See Send quotes over a WebSocket (push) for the other lane.

Facts

Question Answer
Who opens the connection? The exchange, to your server.
What do you serve? A provider document, an offer list, and a dispatch address that takes jobs.
How often does it read? The offer list every 30 seconds and the document every 5 minutes, each with 20 percent jitter. You can ask for a read now: 1 request in 10 seconds, 60 in an hour.
What keeps an offer alive? A higher revision in the offer list before the expires_at of the entry.
What if a read fails? The offer rests while the last good list read is younger than 3 list periods and the last good document read is younger than 3 document periods.
How do jobs authenticate? The exchange sends Authorization: Bearer <dispatch token>. The console makes the token.
What waits for a person? A new dispatch address, offer list address, dialect or key waits for you. A new model waits for an operator.
What does the exchange ask for? Public keys only. It never asks for a private key.
Where do you act? In the console, on the Delivery page, Pull tab. These actions need a console session. An API key or a CLI token does not work.

Set it up

  1. Register the provider and its deployments. The deployments in your document must match the deployments that you register.
  2. Serve the document, the offer list and a dispatch address over https.
  3. In the console, paste the document and the offer list in Check a document. The tool runs the checks of the exchange. It reads no network and stores nothing.
  4. Enter the https address of the document on the Pull tab.
  5. Make a dispatch token and set it in your service.
  6. Declare the pull protocol. After that, the exchange refuses a WebSocket login of this provider. Declare push again to go back.
  7. Select Read now to ask for a read at once.

The exchange trusts the first document that it reads from your address, because you chose the address. A later change to the address, the offer list address or the dialect waits in the Review queue until you release it. A new model waits for an operator. A price, is_ready and a removed model apply at once.

The provider document

The document says what you serve and where jobs go. It states no price.

{
  "version": 1,
  "keys": [
    {
      "id": "2026-11",
      "algorithm": "ed25519",
      "public_key": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="
    }
  ],
  "dialect": "openai",
  "dispatch_url": "https://api.example-lab.test/v1",
  "offers_url": "https://api.example-lab.test/offers.json",
  "models": [
    {
      "deployment_name": "llama-70b-fp8",
      "model": "llama-3.3-70b-instruct",
      "precision": "fp8",
      "region": "us-east",
      "max_input_tokens": 131072,
      "max_output_tokens": 16384
    }
  ]
}
Field Meaning
version The number 1.
keys At least one Ed25519 public key in standard base64 (32 bytes). Each key has an id, and can have not_before and not_after.
dialect How the exchange sends a job: openai (your API is OpenAI-compatible), anthropic (your API is a Messages API) or liquid (the job format in Serve and get paid).
dispatch_url The https address that takes jobs.
offers_url The https address of the offer list.
models The deployments. Each has deployment_name, model, precision, region and max_input_tokens. It can also have job_kind, max_output_tokens, modalities, supported_features, is_ready and deprecation_date.
list_version Optional. A name for the list of models. It changes when the list changes.

Do not put a secret in the document. A fault in one model refuses that model only. A fault in the keys, the dialect or an address refuses the whole document. Check a document names each fault with a code and a field.

The offer list

The offer list says what changes often: the price, the revision and the end of each offer.

{
  "version": 1,
  "list_version": "42",
  "offers": [
    {
      "deployment_name": "llama-70b-fp8",
      "revision": 7,
      "expires_at": "2026-11-29T12:10:00Z",
      "pricing": [
        { "billable": "input.text", "unit": "mtok", "usd": 0.6 },
        { "billable": "output.text", "unit": "mtok", "usd": 0.9 }
      ],
      "retention_policy_supported": ["none"]
    }
  ]
}

A fault in the whole list refuses the list. A fault in one entry refuses that entry only, and the last good revision of that deployment stays. The Pull tab shows each refusal with its code and field.

The dispatch address

The exchange sends each awarded job to dispatch_url as a POST, with the award id as the idempotency key. The path and the body follow the dialect:

Dialect Route
openai {dispatch_url}/chat/completions and the routes in Sell with an OpenAI-compatible API
anthropic {dispatch_url}/messages, see Sell with an Anthropic API
liquid The job format in Serve and get paid

If your API is OpenAI-compatible, use openai. You then serve no job format, and the exchange calls your API directly. anthropic serves chat only. Use liquid for video and for jobs that the other dialects do not carry.

Answer a repeated award id with the same job, not a second job. A deadline that you miss does not change what the buyer pays, and the exchange marks your deployment slow.

Dispatch tokens

The exchange sends a token with each job, as Authorization: Bearer. Check it in your service. The console makes the token and shows it once, as it does for an API key. A provider has at most two live tokens. To rotate a token:

  1. Make a second token.
  2. Set it in your service next to the first token.
  3. Revoke the first token.

The exchange sends the older live token until you revoke it.

Register your public keys

The document lists your public keys. You can also register them in the console, in the Keys card of the Pull tab. The exchange then pins them. You keep the private key. The exchange never asks for it.

Make a key pair on your own machine. The second command prints the public key in base64.

openssl genpkey -algorithm ed25519 -out provider-key.pem
openssl pkey -in provider-key.pem -pubout -outform DER | tail -c 32 | base64

Give each key a name that is unique for your provider, such as 2026-11. The name has 1 to 64 letters, digits, dots, underscores or hyphens. A key can have a start time and an end time.

Sign your documents

After you register a key, you must sign the document and the offer list. The exchange checks each body with your registered keys. It does not use the keys that the document lists. A read fails if the body has no signature, has a wrong signature, or comes from a key that is not registered or not valid now. The last good read stays in force, and your offers end at their expiry. A provider with no registered key signs nothing.

Send the signature in the header x-architect-body-signature, with the value <key name>:<signature>. The signature is Ed25519 in base64url with no padding. It covers these bytes, in order:

Each of the first three lines ends with \n. The signature covers the address, so the signature of the document is not valid for the offer list.

To try it in a shell:

body=document.json
{ printf 'architect-pull-body-v1\napi.example-lab.test\n/document.json\n'; cat "$body"; } > signed-bytes
openssl pkeyutl -sign -inkey provider-key.pem -rawin -in signed-bytes -out sig.bin
openssl base64 -A -in sig.bin | tr '+/' '-_' | tr -d '='

The command needs OpenSSL 3 or later. Put the result after 2026-11: in the header.

Check who reads you

The exchange can sign each GET that it sends to your document and your offer list with Ed25519. Use this check when a gateway is in front of your application and you cannot end mutual TLS there. The exchange signs only when its operator turns signing on. A signed request has four headers:

Header Value
x-architect-key-id The id of the key in the published set
x-architect-timestamp Unix seconds
x-architect-nonce 16 random bytes, base64url with no padding
x-architect-signature The signature, base64url with no padding

The signature covers seven lines, joined with \n: architect-pull-request-v1, the method, the host, the path and query, the time stamp, the nonce and the key id. Use the host that you registered, from your own configuration. Do not use the Host header, because a gateway can rewrite it.

Fetch the keys from GET /v1/exchange/pull-keys on the exchange. The answer has no secret. You can keep it for 5 minutes. A new key is listed at least 24 hours before its first use. An old key leaves one hour after its last use. Fetch the set again when a request names a key that you do not know. Refuse a key that the set does not list.

Refuse a request with 401 in these cases:

The exchange does not use your registered keys for mutual TLS.

What you can do in the console

On the Pull tab of the Delivery page, a person with READ access can see each item. A person with MANAGE access can change it.

Item What you can do
Address Set, replace or remove the address of the document. Removing it puts a pull provider on push.
Reads Pause or resume the reads. Ask for a read now. The address stays.
Check a document Run a document and an offer list through the checks of the exchange. Nothing is stored.
Refusals See what the last read refused, with the code and the field.
Dispatch tokens Make or revoke a token. At most two tokens are live.
Keys Register or revoke a public key. At most ten keys are live.
Review queue Release or refuse a held change.
Protocol Declare push or pull. pull needs an address.

A held change does not withdraw the offers that rest.

The exchange reads a body. If you registered a key, the body must carry a valid signature, or the read fails and the last good read stays. Then the exchange compares the document with the values that you confirmed. A new address, dialect or key waits for you. A new model waits for an operator. A price, is_ready and a removed model apply at once.