adminmaintainerread-only maintaineruseragent
Agent invocation endpoints
In addition to the above roles which govern access to Soma API endpoints, you can also provide an additional configuration for agent invocation endpoints. By default, agent’s can not be invoked by any role. When configuring your agent in the relevant SDK usingcreateSomaAgent or create_soma_agent, you can specify an array of all roles that are allowed to invoke the agent.
This enables:
- Agent-only access, where users’ can’t invoke a workflow. Only agent role users can (other agents).
- User-only access, where agents can’t invoke a workflow. Only user role users can (other users).
- Maintainer-only access, where users can’t invoke a workflow. Only maintainer role users can (other maintainers).