A baton is a durable storage object agents create, append, read, and cryptographically pro
A baton is a durable storage object agents create, append, read, and cryptographically prove — then hand off to other agents or people. Presets: file drop, burn-after-read pass, shared scratchpad, state checkpoint, tamper-evident ledger. Metered by bytes, time, egress, writes; price frozen at purchase. 155 tools, one balance — relaystation.ai
10000 (raw units)
price
3
calls / 30d
1
unique payers
2026-09-05
updated
Provider
api.relaystation.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A",
"asset": "0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42",
"amount": "10000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"contentEncoding": "utf-8",
"contentType": "string",
"customShape": {
"durationSeconds": {},
"maxEgressBytes": {},
"readsAllowed": 0,
"sizeBytes": {},
"writesAllowed": 0
},
"description": "string",
"name": "string",
"preset": "drop",
"tags": [
"string"
],
"tier": "femto"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"ok": true
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"acl": {
"additionalProperties": {
"enum": [
"editor",
"reader"
],
"type": "string"
},
"description": "Collaborator ACL keyed by customer UUID.",
"type": "object"
},
"content": {
"description": "Inline initial content (base64-encoded when contentEncoding is base64/binary). Omit for an empty baton.",
"type": "string"
},
"contentEncoding": {
"enum": [
"utf-8",
"base64",
"binary"
],
"type": "string"
},
"contentType": {
"maxLength": 255,
"type": "string"
},
"customShape": {
"properties": {
"durationSeconds": {
"description": "Lifetime in seconds (number or stringified bigint)."
},
"maxEgressBytes": {
"description": "Egress budget in bytes (number or stringified bigint)."
},
"readsAllowed": {
"minimum": 0,
"type": "integer"
},
"sizeBytes": {
"description": "Capacity in bytes (number or stringified bigint)."
},
"writesAllowed": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"sizeBytes",
"durationSeconds",
"maxEgressBytes"
],
"type": "object"
},
"deleteOnAllTokensConsumed": {
"type": "boolean"
},
"description": {
"maxLength": 2000,
"type": "string"
},
"eventTriggers": {
"description": "Webhook event triggers; each { url, events[], description? }. The secret is server-minted and returned ONCE.",
"items": {
"type": "object"
},
"type": "array"
},
"flags": {
"description": "flags.hashChaining: true auto-commits a prepaid witness (an explicit witness: false alongside it → 422 FLAG_DEPENDENCY_UNMET).",
"properties": {
"hashChaining": {
"type": "boolean"
},
"witness": {
"type": "boolean"
}
},
"type": "object"
},
"name": {
"maxLength": 255,
"type": "string"
},
"onExpiration": {
"enum": [
"hard_delete",
"tombstone_then_delete"
],
"type": "string"
},
"preset": {
"description": "Named preconfig prefill. The LIVE active set is GET /v1/baton/prices.",
"enum": [
"drop",
"pass",
"scratchpad",
"checkpoint",
"ledger",
"witness"
],
"type": "string"
},
"rateLimits": {
"type": "object"
},
"requestPresignedUpload": {
"description": "Mint a presigned-PUT URL for an out-of-band initial upload instead of inline content.",
"type": "boolean"
},
"schemaRef": {
"maxLength": 255,
"type": "string"
},
"tags": {
"items": {
"maxLength": 64,
"type": "string"
},
"maxItems": 32,
"type": "array"
},
"tier": {
"description": "Bundled resource tier, or \"custom\" (requires customShape).",
"enum": [
"femto",
"pico",
"nano",
"micro",
"standard",
"big",
"custom"
],
"type": "string"
},
"tokens": {
"description": "Create-time collaborator tokens; each entry follows the POST /v1/baton/{id}/tokens body.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.relaystation.ai/v1/baton" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.relaystation.ai/v1/baton");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.relaystation.ai/v1/baton")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4622.json, and this resource appears in /discovery/resources and /discovery/search.