auth

List this account’s API keys (never their values)

Changed on

A key never makes or changes a key into more than it has itself: every group at or under its own level, its scope inside its own (a workspace key makes keys only for that workspace, never one for every workspace), and an expiry no later than its own when it expires. It changes or revokes only keys already within its own access, and only narrows itself; anything past that is 403 key_escalation. A signed in session may do anything to its own keys. A computer’s own key manages no keys (403 computer_key), nor does a key for one computer (403 computer_scope). An expired key answers 401 key_expired. Lists only the keys inside the caller’s own scope (a workspace key sees that workspace’s). Needs API keys read.

get/api/keys

Request

  • Base URL
    https://www.orgo.ai
  • Auth
    HTTP bearer

Query parameters

workspace_idstring uuid

Only that workspace’s keys, keys for one of its computers included.

computer_idstring

Only the keys bound to that computer (its id, or its current or a past VM id).

Response

{ keys: ApiKey[], hasKey, hasDeveloperKey, one_computer_keys }. Each key carries scope (account, workspace or computer). A computer’s own key carries computer_key: true and computer: { id, name } | null; a key for one computer carries computer: { id, name }.

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the non-success response with the status