Environments

List Factory Environments visible to the caller

Changed on
get/api/v0/environments

Request

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

Query parameters

serviceAccountId, string

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

ListEnvironments200ResponseBody required
environments, object[] required
defaultEnvironmentId, string
hiddenOrganizationEnvironmentCount, integer

Changes

    • info

      added the optional property environments/items/computerSizes to the response with the status

    • info

      added the optional property environments/items/activeRepositories/items/check to the response with the status

    • info

      added the optional property environments/items/repositories/items/check to the response with the status