Automations

Get the organization default run target

Changed on

Whether a new Slack automation can run on the organization's default agent profile (its service account, environment or computer pool, and model), what that profile resolves to now, and whether Slack automations must run as a service account.

get/api/v0/automations/org-default-target

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

GetAutomationOrgDefaultTarget200ResponseBody required
available, boolean required
needsSetup, boolean required
serviceAccountName, string
machineType, 'dynamic' | 'persistent'
environmentName, string
serviceAccountRequired, boolean

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