v34

latestOpenAPI 3.0.0End User License Agreementraw.githubusercontent.com2026-08-01249654.9 KB
POST

Submit code

Notes

  • This endpoint can only be invoked once every few seconds

  • If a code submission has failed to compile (binary.state.compiled_success = false), you can re-use the same algorithm name.

  • Header X-Api-Key is required. Use /request-api-key endpoint.

    • If <api_key> is invalid, a 401 error will be returned
post/submit-code

Headers

X-Api-Keystring

<api_key> from /request-api-key endpoint

Request body

namestring
challenge_idstring

Example request

{
  "name": "clarke_wright",
  "challenge_id": "c002"
}

Response

Success

algorithm_idstring