List this lane's runs and their estimated cost
This lane’s runs, newest first, with their durations and estimated costs. Only this key’s lane is ever shown. Every cost is an estimate.
/v1/usageAuthorizationBearer token (ibk_<public id>_<secret>) · headerrequiredA lane's API key. The lane is taken from the key, never from the request.
cursorstringThe next_cursor of the page before. Opaque: pass it back unchanged, with the same since, until and limit.
limitintegerRuns per page. 50 when absent, at most 200.
sincestring<date-time>Only runs that started at or after this time, as an RFC 3339 time.
untilstring<date-time>Only runs that started before this time, as an RFC 3339 time.
A page of runs, with totals for the page.
next_cursorstring | nullrequiredPass as cursor for the next page, or null on the last page.
runsUsageRun[]requiredNewest first.
Show propertiesHide properties
UsageRuncpunumberrequiredCPU cores the run had.
duration_msinteger | nullrequiredHow long the run lasted, or null while it runs.
ended_atstring<date-time> | nullrequiredWhen the run ended, or null while it runs.
Show propertiesHide properties
string<date-time>nullestimated_costEstimatedCost | nullrequiredThe run's estimated cost, or null while it runs.
Show propertiesHide properties
amountstringrequiredThe amount as a decimal string, such as 0.004210. Parse it as a decimal, not a float.
currencystringrequiredAn ISO 4217 code. Always USD today.
estimatebooleanrequiredAlways true: the figure is worked out from published rates, not read from a bill.
nullmemory_mibintegerrequiredMemory the run had, in MiB.
namestring | nullrequiredThe sandbox's name, or null.
outcomestring | nullrequiredHow the sandbox ended, or null while it runs: removed (the caller removed it), lifetime_reached (its lifetime_ms ran out), resource_limit (its size limit stopped it) or failed (the create failed or the platform lost it). New values may be added; treat one you do not know as ended.
regionstringrequiredsandbox_idstringrequiredThe sandbox the run was, sbx_....
started_atstring<date-time>requiredA UTC time in RFC 3339 form.
totalsUsageTotalsrequiredTotals for the runs on this page that have ended: their durations and their estimated costs, added up. An estimate.
Show propertiesHide properties
duration_msintegerrequiredThe ended runs' durations on this page, added up.
estimated_costEstimatedCostrequiredAn estimate of what the run cost: its seconds times its CPU and memory size times published rates. Never a bill.
Show propertiesHide properties
amountstringrequiredThe amount as a decimal string, such as 0.004210. Parse it as a decimal, not a float.
currencystringrequiredAn ISO 4217 code. Always USD today.
estimatebooleanrequiredAlways true: the figure is worked out from published rates, not read from a bill.
invalid_request: The request does not match the contract.
errorErrorDetailrequiredShow propertiesHide properties
codestringrequiredA stable, machine-readable code. Known codes: env_name_refused, file_not_found, file_too_large, idempotency_mismatch, image_not_built, in_progress, internal_error, invalid_request, lane_limit, name_in_use, not_found, payload_too_large, resources_over_cap, region_mismatch, sandbox_stopped, unavailable, store_prefix_refused, store_unavailable, unauthorized. New codes may be added, so treat an unknown one by its HTTP status.
messagestringrequiredA sentence for a person. Do not parse it.
request_idstringrequiredThe same value as the X-Request-Id header.
unauthorized: The API key is missing, unknown or revoked.
errorErrorDetailrequiredShow propertiesHide properties
codestringrequiredA stable, machine-readable code. Known codes: env_name_refused, file_not_found, file_too_large, idempotency_mismatch, image_not_built, in_progress, internal_error, invalid_request, lane_limit, name_in_use, not_found, payload_too_large, resources_over_cap, region_mismatch, sandbox_stopped, unavailable, store_prefix_refused, store_unavailable, unauthorized. New codes may be added, so treat an unknown one by its HTTP status.
messagestringrequiredA sentence for a person. Do not parse it.
request_idstringrequiredThe same value as the X-Request-Id header.
internal_error: The platform failed. A retry may succeed; for a call that creates or writes, retry with the same Idempotency-Key.
errorErrorDetailrequiredShow propertiesHide properties
codestringrequiredA stable, machine-readable code. Known codes: env_name_refused, file_not_found, file_too_large, idempotency_mismatch, image_not_built, in_progress, internal_error, invalid_request, lane_limit, name_in_use, not_found, payload_too_large, resources_over_cap, region_mismatch, sandbox_stopped, unavailable, store_prefix_refused, store_unavailable, unauthorized. New codes may be added, so treat an unknown one by its HTTP status.
messagestringrequiredA sentence for a person. Do not parse it.
request_idstringrequiredThe same value as the X-Request-Id header.
unavailable: A service behind the API could not be reached. Retry after a short wait; for a call that creates or writes, with the same Idempotency-Key.
errorErrorDetailrequiredShow propertiesHide properties
codestringrequiredA stable, machine-readable code. Known codes: env_name_refused, file_not_found, file_too_large, idempotency_mismatch, image_not_built, in_progress, internal_error, invalid_request, lane_limit, name_in_use, not_found, payload_too_large, resources_over_cap, region_mismatch, sandbox_stopped, unavailable, store_prefix_refused, store_unavailable, unauthorized. New codes may be added, so treat an unknown one by its HTTP status.
messagestringrequiredA sentence for a person. Do not parse it.
request_idstringrequiredThe same value as the X-Request-Id header.