runs

Open the budget of one run of a task

Calls that name the run in X-Run-Id are held to its amount and call limits by the server. An account has at most 100 runs open (not yet expired) at once: one more is refused with 429 rate_limited, reason open_runs, until one expires. Free; it draws on the account's rate for what is not charged, and answers 429 rate_limited with Retry-After when that is used up.

post/v1/runs

Request

  • Base URL
    https://api.dataxapi.com
  • Auth
    HTTP bearer

Request body

task_idstring required
task_revisionstring required
max_amountstring required

US dollars, as a decimal string.

max_callsinteger required
ttl_secondsinteger

Response

OK

code'ok' required
request_idstring uuid required

Changes

No recorded changes to this operation across all 1 revision of this API.