Service Accounts

List the service accounts you may run automations as

Changed on

Returns the service accounts the caller may run as, for an automation's run identity (triggerConfig.serviceAccountId), with only their ID, name, description, status, and agent profile link. Open to every human member. Service account credentials are rejected. Not available on self-hosted deployments.

get/api/v0/service-accounts/run-as

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

ListServiceAccountRunAsOptions200ResponseBody required
serviceAccounts, object[] required

Changes