Organization

Get global user credits limit

Changed on

Returns the global per-user credits limit for the organization. This limit applies to all users who do not have an individual override.

get/api/v0/organization/usage/limits/global

Request

  • Base URL
    https://api.factory.ai
  • Auth
    HTTP bearer

Headers

X-Factory-Org-Id, string

Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.

Response

Response for status 200

GetGlobalLimit200ResponseBody required
limit, integer nullable required

Current global per-user credits limit, or null if none is configured

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the new optional header request parameter X-Factory-Org-Id

    15 more changes in this revision