Find a section & browse all pages

The solve object

// fields on the raw API response

FieldTypeDescription
idstringUnique solve id, prefixed slv_. Pass to retrieve.
statusstringsolved, pending, or failed.
gatestringWhich gate was cleared — turnstile or waf.
tokenstring | nullA Turnstile token or JSON-encoded WAF cookie/header payload. Null for pending/failed solves and after a solved result's storage TTL expires. A solved status does not guarantee a retrievable token. See Result lifetime.
solve_msintegerProvider attempt duration in milliseconds. Excludes admission, queue wait, previous retries and result persistence; it is not end-to-end request time.
expires_atinteger | nullSolveGate result-storage cutoff in Unix seconds, null before a result exists. It does not override Cloudflare token or cookie validity. Retrieving a record does not extend this lifetime.
modestringlive for a production solve, or sandbox for the deterministic test response a sk_test_ key returns. Check this before trusting a token in production — a sandbox token never clears a real gate.
meterstringMeter selected at admission: credits, pass or sandbox. Credits are consumed on success, not merely acceptance. A prepaid pass has no per-solve credit charge. The admission meter is never re-derived.
billedbooleantrue when a successful provider result consumed a credit. This does not confirm acceptance by the target. Failed solves are never billed, and a pass solve is never billed either — check meter to tell those apart.
error_codestring | nullStable failure code when status is failed; otherwise null.
error_messagestring | nullHuman-readable explanation of error_code.

Ready to pour through the gate?

// free sandbox keys · no card required to start