Access AI agents using REST API
You can now access AI agents using REST API. The API can be used to access agent teams from applications outside of Oracle Fusion Cloud Applications too. The access is based on the roles assigned to the agent team in AI Agent Studio. If your user is assigned a role that has access to the agent team, you can call the agent team using the REST API. You can call the agent teams using polling or by making Server-Sent Events (SSE) requests.
AI Agent Studio uses User Assertion to make sure that access is allowed only for the assigned agent teams and data. For this, JWT token generation is enabled for the scope urn:opc:resource:fusion:<<podname>>:fusion-ai/, using client ID and client secret from the Oracle Identity Cloud Service (IDCS) confidential client application. After token generation is enabled, Fusion Applications REST API can be called.
You can use REST API to access your agent teams from Fusion Applications and from other applications, expanding the scope of your agent teams.
Steps to enable and configure
You must have access to use AI Agent Studio. Also, complete these configurations:
- Obtain access token by following the instructions in User Assertion Workflow.
- For calling agents from applications outside of Fusion Applications, do these steps:
- Set up cross-domain authentication via Oracle Cloud Infrastructure Identity and Access Management. See Oracle Identity Cloud Service or Oracle Cloud Infrastructure Identity and Access Management.
- Create confidential applications in Identity and Access Management for Fusion Applications and other Oracle applications. See Configure OAuth Using the Fusion Applications Identity Domain.
Key resources
Access requirements
See Access Requirements for AI Agent Studio.