Workspace

Workspace of the API key, plan limits and usage

GET/v1/workspace
Authentication
API key (Authorization: Bearer)
Required scope
read

Responses#

200Workspace.

Response headers

  • RateLimit-Limitinteger

    Requests allowed per window.

  • RateLimit-Remaininginteger

    Requests left in the current window.

  • RateLimit-Resetinteger

    Seconds until the window resets.

  • RateLimit-Policystring

    e.g. 10;w=1.

  • Aicscan-Daily-Quota-Limitinteger

    Calls allowed per UTC day (plans with a daily quota).

  • Aicscan-Daily-Quota-Remaininginteger

    Calls left today (UTC).

Object fields
  • workspaceobject
    Object fields
    • idstring · uuid
    • namestring
    • planstring
    • statestring
      Values active suspended
    • created_atstring · date-time
  • planobject
    Object fields
    • codestring
    • namestring
  • limitsobject

    From the workspace's plan. null = unlimited.

    Object fields
    • addressesintegernullable
    • rulesintegernullable
    • channelsintegernullable
    • channel_kindsarray of stringnullable

      null = all kinds.

    • chainsintegernullable
    • requests_per_secondinteger

      Applied to this key.

    • requests_per_dayintegernullable
    • immediate_alertboolean
  • usageobject
    Object fields
    • addressesinteger
    • rulesinteger
    • channelsinteger
    • requests_todayinteger

      Calls served today (UTC).

  • api_keyobject
    Object fields
    • idstring · uuid
    • prefixstring
    • scopesarray of string
      Values read write
4xx · 5xxError.

Standard error format: see Errors.