Machine Templates

List machine templates

Changed on

Deprecated: use Environments (/api/v0/environments) instead. Returns every machine template the caller can access in the authenticated organization, in one response: pagination.hasMore is always false and pagination.nextCursor is always null.

get/api/v0/machines/templates

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

ListMachineTemplates200ResponseBody required
templates, object[] required
pagination, object required

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status