Use this page to choose the right request body based on your input (Documentation Index
Fetch the complete documentation index at: https://docs.herodotus.cloud/llms.txt
Use this file to discover all available pages before exploring further.
programFile or
pieFile) and expected result.
For production scripts and AI agents, prefer the HCloud SDK or CLI for
Atlantic submission, polling, artifact download, auth reuse, and x402
handling. If you want full control over the wire client, implement it from the
Atlantic OpenAPI contract at https://atlantic.api.herodotus.cloud/docs/json.
api-keyas a request headerdeclaredJobSizein the request bodysharpProveronly when you want to override the default prover; accepted values arestoneandstwo, and the default isstone
declaredJobSize determines the machine used for trace generation and affects cost.
Choose it based on expected program step count.
| Number of steps [millions] | Size |
|---|---|
| 0 - 13 | S |
| 13 - 30 | M |
| >30 | L |
Input: Cairo Program (programFile)
- Generate trace (
pie.zip)
- Inputs:
programFileinputFile(optional, available for Cairo1 and Cairo0 with Rust VM)layout(can beauto)cairoVersionresult = TRACE_GENERATION
pieFilemust be empty- Output: trace file (
pie.zip)
- Generate proof file (
proof.json)
- Inputs:
programFileinputFile(optional, available for Cairo1 and Cairo0 with Rust VM)layout(can beauto)cairoVersionresult = PROOF_GENERATIONsharpProver(stoneorstwo) - defaults tostone; set tostwoto use S-two
pieFilemust be empty- Output: proof file (
proof.json)
- Generate proof and verify on Layer 1 (L1)
- Inputs:
programFileinputFile(optional, available for Cairo1 and Cairo0 with Rust VM)layout(can beauto)cairoVersionresult = PROOF_VERIFICATION_ON_L1sharpProver(stoneorstwo) - defaults tostone; set tostwoto use S-two
pieFilemust be empty- Output: trace, proof, and L1 verification
- Generate proof and verify on Layer 2 (L2)
- Inputs:
programFileinputFile(optional, available for Cairo1 and Cairo0 with Rust VM)layout(can beauto)cairoVersionresult = PROOF_VERIFICATION_ON_L2
pieFilemust be empty- Output: trace, proof, and L2 verification
Input: Trace File (pie.zip)
- Generate proof file (
proof.json)
- Inputs:
pieFilelayout(can beauto)result = PROOF_GENERATIONsharpProver(stoneorstwo) - defaults tostone; set tostwoto use S-two
- Output: proof file (
proof.json)
- Generate proof and verify on Layer 1 (L1)
- Inputs:
pieFilelayout(can beauto)result = PROOF_VERIFICATION_ON_L1sharpProver(stoneorstwo) - defaults tostone; set tostwoto use S-two
- Output: proof and L1 verification
- Generate proof and verify on Layer 2 (L2)
- Inputs:
pieFilelayout(can beauto)result = PROOF_VERIFICATION_ON_L2
- Output: proof and L2 verification

