API reference / Devices, signing & primitives / X-Cylons token
X-Cylons token
Generate an X-Cylons session-binding header from query, stub, and Lanus keys.
- Upstream
local · X-Cylons SM3/MD5 signer- Access
- Every plan
- Runs on
- Primitive
- Billing
- Failed calls are free
Authorization
x-api-keyheader · stringrequired
Your API key. Create one in API keys.
Body
Send JSON with content-type: application/json.
query_stringstringrequired
Raw URL query string. For example aid=1233&count=6.
x_ss_stubstring
Optional 32-hex MD5 body digest.
lanuskstring
Session Lanus key.
lanusvstring
Session Lanus version. For example 1.
khronosinteger
Unix timestamp in seconds. For example 1762900000.
Response
A 200 returns JSON with stable field names. Every response carries x-credits-cost, x-credits-tier and x-credits-remaining.
Errors
Errors return a JSON body with a stable code and cost 0 credits. See Errors and retries.