limits

What this key may do, its agent's daily spending limit with what is left, the machine time the account can still run without credit, the account's limits with what it uses of each, and its credit with how long it lasts.

A key is full, read (read-only: every read, no write) or selected. An owner may set a daily limit on the agent a key belongs to, at https://withruntime.com/account/keys; a key can read it here but never change it. When a create, wake, extension or renewal would take the agent past it, the request fails with spending_limit_reached (402). The account's limits (sandboxes at once, their vCPUs and memory, volumes, snapshots and the rest) come with what it uses of each now, the numbers a create past one is refused quota_exceeded by. credit says what is left, how many days it lasts at this month's pace, and who adds more: an account opened with a wallet that no person pays for adds its own with POST /v1/billing/topups. Money is integer microdollars in strings.

get/v1/limits

Request

  • Base URL: https://api.withruntime.com
  • URL: https://api.withruntime.com/v1/limits
  • Auth: HTTP bearer

Response

Success

access'full' | 'read' | 'selected' | 'null' nullable required

full: every action in every product. read: every read and nothing else (a read-only key). selected: the actions the key names.

Changes

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