Create a new service account.
Create a service account. The grant_type decides which field applies:
org: carriescapability_scopes; a non-emptyproject_grantsis rejected.project: carriesproject_grants(at most 50, each project once); a non-emptycapability_scopesis rejected.
The applicable field may be empty or omitted. An account with no scopes or grants can still authenticate, and its keys keep a small baseline of organization-level access, such as reading server information, until scopes or grants are added. To stop its keys from authenticating, disable the account. The name must be unique within the organization.
Returns 400 if the request is invalid, including more than 50 project
grants or a project named more than once. Returns 404 if a project grant references a project not in the
caller’s organization. Returns 409 if the name is already taken or the
organization has reached its service-account limit.
Authorizations
Body
Only the field matching grant_type is accepted: capability_scopes for an org-scoped account, project_grants for a project-scoped account. The matching field may be empty or omitted. Unknown fields return a 400.
Capability scopes for an org-scoped account. May be empty; duplicates are collapsed.
A capability scope (not an OAuth scope) an org-scoped service account may hold. models:artifact-read is held only by the service account Fiddler manages for each model deployment and cannot be assigned by users.
traces:ingest, models:artifact-read, guardrails:invoke Response
Service account created successfully.
Response object for standard API responses.