Organization

Get user credits limits

Changed on

Returns the global per-user credits limit and any individual user overrides for the organization.

get/api/v0/organization/usage/limits/users

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

GetUserLimits200ResponseBody required
globalLimit, integer nullable required

Global per-user credits limit applied to all users without an individual override

userLimits, object[] required

Users with individual limit overrides

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