Service Accounts
List the service accounts you may run automations as
Changed onReturns 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 URLhttps://api.factory.ai
- AuthHTTP 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
List Service Account Run As Options200 Response Body required
serviceAccounts, object[] required
Changes
- info
endpoint added
- info