API keys

Returns API keys visible to the current workspace as a JSON array sorted by name. Raw tokens are never included; the token field contains a masked display value.

get/v2/api-keys

Request

  • Base URL
    https://my.orq.ai
  • URL
    https://my.orq.ai/v2/api-keys
  • Auth
    HTTP bearer

Query parameters

project_idstring

Only return keys bound to this project. When omitted, every key visible to the caller is returned.

source'workspace' | 'router'

Only return keys of this source.

Response

API keys in the workspace.

idstring required
namestring required
workspace_idstring required
tokenstring required

Raw on create; the key prefix on retrieve and update; masked in list responses.

activeboolean
is_legacyboolean
sourcestring
budgetobject
expirationstring date-time
projectsstring[]
created_by_idstring nullable
updated_by_idstring nullable
createdstring date-time
updatedstring date-time
consumptionnumber
token_consumptionnumber
requests_per_minute_consumptionnumber
ownerobject
project_scopeobject
permission_modestring
accessobject
token_prefixstring
statusstring
constraintsobject
mcp_accessobject
legacy_token_familystring
legacy_key_idstring
last_used_atstring date-time

Changes

    • warning

      deleted the query request parameter ending_before

    • warning

      deleted the query request parameter include_budget

    • warning

      deleted the query request parameter limit

    • warning

      deleted the query request parameter owner_type

    • warning

      deleted the query request parameter permission_mode

    • warning

      deleted the query request parameter search

    • warning

      deleted the query request parameter starting_after

    • warning

      deleted the query request parameter status

    • info

      added the new optional query request parameter source

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      deleted the query request parameter source

    • info

      added the new optional query request parameter ending_before

    • info

      added the new optional query request parameter include_budget

    • info

      added the new optional query request parameter limit

    • info

      added the new optional query request parameter owner_type

    • info

      added the new optional query request parameter permission_mode

    • info

      added the new optional query request parameter search

    • info

      added the new optional query request parameter starting_after

    • info

      added the new optional query request parameter status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status