Oracle AI Agent Studio · Inbound REST invocation

Oracle Fusion AI Agent REST API

Oracle Fusion lets external applications invoke an AI agent through a REST API. Your own software — a portal, a middleware flow, a custom UI, a bot — sends a request to the agent, and the agent runs inside Fusion and returns its response. Oracle supports two ways to receive that response: polling (ask again until the result is ready) and SSE (Server-Sent Events, a streamed response). This inbound REST capability is generally available in release 26A.

This page is a practical guide to what the Oracle AI agent REST API does, how the polling and SSE patterns differ, how identity and role-based access govern who can call it, how the asynchronous behaviour works, and how to test and secure it. It sits under Oracle AI Agent Studio and links back to the broader Oracle AI hub.

Last reviewed: 19 July 2026

Scope note — three closely related pages, one direction each. "AI agent" and "REST" appear together in three different Fusion contexts. This page covers only one of them. Keep the direction of the call straight:

  • This page — the inbound REST API (app → agent). The REST endpoint that external applications call to invoke a Fusion agent. The mechanics of the request, the polling and SSE response patterns, and the async lifecycle.
  • The agent calling out (agent → third-party API). When an agent uses an external REST call as a tool to reach a third-party service, that is a different capability — see AI Agent Studio REST tools.
  • The broader external-access model. The wider picture of external invocation — identity, tokens, roles, async patterns and audit across every entry point — is covered on AI agent external access. This page is the REST-specific slice of that model.

Agent-to-agent interoperability (one agent invoking another) is a separate protocol again — see Oracle AI Agent2Agent (A2A).

What the Oracle AI Agent REST API Does

Agents built and deployed in Oracle AI Agent Studio normally run inside Fusion — triggered from a workflow, a page, or a supported channel. The REST API opens a further door: an application outside Fusion can send a request that invokes the agent, receive the agent's response, and act on it. This turns a Fusion agent into a service that your own systems can consume.

Typical consumers of this pattern include a customer-facing portal that wants an agent to answer a question, a middleware or integration flow that orchestrates an agent as one step in a larger process, a custom internal application that surfaces an agent's recommendation, or an automation that needs an agent to perform a task and report back. In every case the external app is the caller, and the Fusion agent is the callee.

Because an agent can reason over knowledge sources, invoke tools and take actions within Fusion, an inbound REST call is not a simple read. It can trigger real work under the identity that made the call. That is why identity, role-based access, and — where an agent's tools require it — human-approval gates matter as much as the request format itself. Availability: Generally available in release 26A; confirm the current enablement steps for your environment with Oracle.

What this page does not claim. Oracle documents the capability as a REST API that supports polling or SSE, generally available in 26A. It does not publish, and this page does not invent, specific endpoint paths, request or response payload schemas, header names, or version strings. Treat the official Oracle documentation as the source of truth for exact request formats, and design your tests to read those from the live API rather than from any assumed contract.

Invocation Patterns: Polling vs SSE

An agent invocation is not instantaneous — the agent reasons, may call tools, and may wait on an approval before it produces a result. Oracle therefore offers two ways for the caller to receive that result. Both are generally available in 26A; the right choice depends on how your application consumes the response.

Polling

The caller submits the invocation, then asks again on an interval until the agent's response is ready. Simple to implement, resilient across proxies and gateways that buffer or close long-lived connections, and a natural fit for middleware and batch-style integrations.

  • Best for: server-to-server flows, integrations behind API gateways, jobs that can wait.
  • Design cost: choosing a poll interval and a give-up timeout; avoiding tight loops.
  • Test focus: completion is eventually returned, interim status is correct, and a slow agent does not cause a false timeout.

SSE (Server-Sent Events)

The caller opens a streamed connection and Oracle pushes the response as it becomes available. Suited to interactive experiences where a user watches an answer arrive, and to any client that benefits from incremental output rather than a single final block.

  • Best for: chat-style UIs, human-facing apps, low-latency perceived response.
  • Design cost: the client and any intermediary must support and not buffer the stream; reconnection handling.
  • Test focus: the stream opens, events arrive in order, the stream closes cleanly, and a dropped connection is handled.

A robust integration usually settles on one pattern per consumer, but a test suite should exercise both — because the same agent reached two ways must return a consistent result, and each transport fails in its own way. Do not assume the two paths are interchangeable at the assertion level; verify each independently.

Authentication & Identity

An inbound agent call is an authenticated Fusion request. The external application must present a valid identity, and Fusion resolves that identity to a user or client before the agent runs. The agent then operates within the permissions of that identity — it does not gain elevated access simply because it was reached over REST.

This is the point most external-invocation designs get wrong. Because the caller is outside Fusion, teams sometimes treat the REST endpoint as a "system" door and wire a single shared credential behind it. That collapses accountability: every agent action then appears to come from one identity, and you lose the ability to answer "who asked the agent to do this?" The identity, token and audit details of that model are covered in depth on AI agent external access; on this page the point is narrower — the REST call carries an identity, and that identity determines what the agent may do.

For testing, treat authentication as a first-class scenario, not a precondition you set up once and forget. A call with no credential, an expired credential, a valid credential for the wrong user, and a valid credential for an authorised user should each produce a distinct, predictable outcome. Confirm the exact authentication and token mechanics for your environment against Oracle's documentation rather than assuming a scheme.

Availability note. The inbound REST API is generally available in release 26A. Related Agent Studio integrations — external REST tools and MCP tools — were also enhanced or introduced in 26A, and agent-to-agent (A2A) invocation is a later addition. When you read "26A" here it refers specifically to external applications invoking agents via REST with polling or SSE.

Role-Based Access

Once identity is established, Fusion's role-based access model governs what the invocation can actually reach. An agent invoked over REST runs within the roles and privileges of the calling identity — the same security framework that governs any Fusion user. An agent cannot read data or perform an action the calling identity is not entitled to.

This has two practical consequences for anyone exposing an agent over REST. First, the answer an agent returns can legitimately differ by caller, because two identities may see different data. Second, the set of callers permitted to invoke a given agent is itself an access-control decision that must be provisioned and reviewed, not left implicit. Under-scoping frustrates legitimate integrations; over-scoping hands an external door more reach than intended.

Because agent invocation can span data access, tool use and transactional actions, role design here overlaps with segregation-of-duties concerns — an external caller should not be able to reach, through an agent, a combination of actions that policy forbids a single user to perform directly. SyntraFlow's Oracle Fusion Segregation of Duties capability can complement agent access review by helping organizations assess whether the roles behind agent-invoking identities introduce conflicting privileges; treat that as a complementary control to confirm during assessment, not an automatic guarantee.

Access dimensionWho / what it governsWhat to verify
Invocation rightWhich identities may call the agent at allUnauthorised identity is refused before the agent runs
Data scopeWhat business data the calling identity can seeAgent response reflects the caller's data entitlement, not more
Action scopeWhat transactions the agent may perform for that identityActions beyond the caller's privileges are blocked
Tool exposureWhich agent tools are reachable via the callSensitive tools require the expected privilege / approval
Approval gatesWhere a human must confirm before an action executesGate fires and the action waits — see human-approval page
SoD overlapWhether combined reachable actions breach a policyNo forbidden combination is reachable through one caller

Asynchronous Behaviour

Agent invocation is inherently asynchronous. The agent may reason for several seconds, call one or more tools, wait on a downstream service, or pause on a human-approval gate before it can return. Both the polling and SSE patterns exist precisely because a single synchronous request/response is a poor fit for that reality.

A caller therefore has to reason about state over time, not just a single reply. An invocation is submitted; it is in progress; it may be waiting on an approval; it completes with a result; or it ends in an error. A well-behaved client observes that lifecycle rather than assuming the first response is the final one. Where a human approval is required before an agent takes an action, the invocation can legitimately remain unresolved until that approval is granted — the deep treatment of those gates lives on AI agent human approval.

The testing implication is that timing is a test dimension, not an environmental nuisance. A suite should cover a fast completion, a slow completion that still succeeds, a completion that waits on an approval before finishing, and a caller that abandons the wait. Each has a correct behaviour, and each is a distinct assertion. Confirm the exact status semantics your Fusion environment reports against Oracle's documentation rather than inferring them from a single happy-path run.

Invocation lifecycle

External app calls REST Identity & role check Agent reasons / calls tools Approval gate? Result via polling or SSE Caller consumes response
  • Submit: the external application authenticates and sends the invocation.
  • In progress: the agent works; the caller polls or receives streamed events.
  • Waiting: where a tool requires human approval, the invocation can pause until the gate is resolved.
  • Complete: the final response is returned and the caller acts on it.
  • Error: authentication, authorisation, timeout, or agent-side failures each surface distinctly.

Error Handling

Because an inbound agent call crosses a trust boundary and runs real work, its failure modes are broader than a typical read API. A caller must distinguish an authentication failure from an authorisation refusal, a transient timeout from a permanent agent error, and an agent that declined an action from one that could not perform it. Collapsing all of these into a single "it failed" makes integrations brittle and hides genuine control failures.

Good error handling on the caller side means deciding, per failure class, whether to retry, escalate, or surface the error to a user — and doing so without retrying an action that may have partially executed. On the SSE path, a dropped stream is its own case: the caller must know whether the underlying invocation continued server-side. Treat every row below as a test case with an expected, asserted outcome rather than a hypothetical.

Failure classExample triggerExpected caller behaviour
UnauthenticatedMissing or expired credentialReject before invocation; do not retry blindly
UnauthorisedValid identity, insufficient roleRefuse cleanly; surface as access error, not agent error
TimeoutAgent slower than the caller's wait windowDistinguish from failure; avoid duplicate side effects on retry
Stream drop (SSE)Connection closes mid-responseDetermine whether the invocation continued; reconcile
Awaiting approvalAction needs a human gateTreat as pending, not failed; wait or notify
Agent-side errorTool call fails or agent cannot completeSurface the reason; do not present a partial result as final
Malformed requestBad input from the calling applicationFail fast with a clear cause; log for the integration owner

Security Considerations

Exposing an agent over REST widens its attack surface: the caller is now outside Fusion, and the agent can reason, invoke tools, and act. Security here is not one control but the sum of identity, role scope, tool exposure, approval gates, and audit — each of which must hold under an external caller, not just an internal one.

The specific risks worth naming for an inbound REST agent, and the control that addresses each:

RiskWhy it matters over RESTPrimary control
Shared / over-broad credentialOne identity behind the door erases accountabilityPer-caller identity; least-privilege roles
Privilege escalation via agentAgent reaches actions the caller should notAgent runs within the caller's role scope
Unapproved action executionA tool takes an action with no human checkHuman-approval gate before the action
Data leakage in responseAgent returns more than the caller may seeResponse bound to caller's data entitlement
Prompt / input abuseHostile input steers the agent's behaviourInput validation; constrained instructions and tools
SoD conflict through an agentReachable actions combine into a forbidden pairSoD review of agent-invoking roles
Weak audit of external calls"Who invoked what" is unanswerable after the factPer-invocation audit tied to caller identity

Several of these controls are shared with the broader external-invocation model and the human-approval design; this page names them as they apply to the REST entry point specifically. For the enterprise-wide identity, token and audit framework, defer to AI agent external access.

Oracle AI Agent REST API Test Matrix

A structured set of test areas for validating an inbound agent REST integration — covering both transports, identity and role scope, the async lifecycle, error handling, and security. Test IDs use the AI-API prefix. Adapt each to the exact request format your Oracle documentation specifies; do not hard-code an assumed contract.

IDTest areaScenarioExpected resultPri
AI-API-001Polling — happy pathAuthorised caller invokes, polls to completionFinal response returned; status progresses correctlyH
AI-API-002SSE — happy pathAuthorised caller opens stream, receives eventsEvents arrive in order; stream closes cleanlyH
AI-API-003Cross-transport paritySame input via polling and via SSEConsistent agent result across both pathsH
AI-API-004No credentialCall with missing authenticationRejected before invocation; agent does not runH
AI-API-005Expired credentialCall with an expired tokenAuthentication failure; clear error classH
AI-API-006Authorised identityValid identity with invocation rightAgent runs within that identity's scopeH
AI-API-007Unauthorised identityValid identity without invocation rightRefused as access error, not agent errorH
AI-API-008Data-scope boundaryTwo identities with different data entitlementEach response reflects only that caller's dataH
AI-API-009Action-scope boundaryCaller lacks privilege for an agent actionAction blocked; no side effectH
AI-API-010Approval gate firesAgent tool requires human approvalInvocation pends; action waits for approvalH
AI-API-011Approval grantedHuman approves the pending actionInvocation resumes and completesM
AI-API-012Slow completionAgent runs longer than a naive timeoutCompletion still returned; no false failureM
AI-API-013Poll timeout / abandonCaller stops polling before completionClean give-up; no duplicate side effect on retryM
AI-API-014SSE stream dropConnection closes mid-responseCaller reconciles server-side state correctlyM
AI-API-015Malformed requestBad input from the calling applicationFails fast with a clear, logged causeM
AI-API-016Agent-side errorA tool call fails during the runError surfaced; no partial result presented as finalM
AI-API-017Data-leakage checkAttempt to elicit out-of-scope dataResponse stays within caller entitlementH
AI-API-018Input-abuse resistanceHostile input tries to steer behaviourAgent stays within constrained instructions / toolsM
AI-API-019Audit trailAny invocation, success or failureCaller identity and outcome recordedM
AI-API-020Regression after updateRe-run pack after a Fusion quarterly updateBehaviour unchanged, or changes are caughtH

Risk Table for Inbound Agent REST Integrations

The failure modes that carry real consequence when an agent is exposed over REST, with a likelihood and impact read and the testing response that catches each. Use it to prioritise the test matrix above against your own exposure.

RiskExampleLikelihoodImpactTesting response
Over-privileged callerAgent acts beyond the caller's real entitlementMediumHighAction-scope boundary tests per identity
Data leakageResponse includes data the caller cannot seeMediumHighData-scope and leakage-elicitation tests
Bypassed approvalA gated action executes with no human checkLowHighApproval-gate fires / grant tests
Duplicate side effectTimeout retry runs an action twiceMediumMediumTimeout / abandon and idempotency tests
Transport divergencePolling and SSE return different resultsLowMediumCross-transport parity tests
Silent update driftA quarterly update changes API behaviourMediumMediumRelease-scoped regression on the API pack
Input abuseHostile input redirects agent behaviourMediumMediumInput-abuse and constraint tests
Weak auditExternal invocation not attributable laterLowMediumPer-invocation audit assertions
SoD conflict via agentOne caller reaches a forbidden action pairLowHighSoD review of agent-invoking roles

Release & Availability

Inbound REST invocation of Fusion AI agents — external applications calling an agent, with responses delivered by polling or SSE — is generally available in release 26A. Oracle AI Agent Studio itself has been generally available since 25C, and several related integrations arrived alongside the REST API in the same 26A wave, with agent-to-agent (A2A) invocation following later.

Because Fusion updates quarterly, treat the API's behaviour as something to re-verify each release rather than assume is fixed. A change to authentication handling, status semantics, or an agent's own configuration can alter how your integration behaves without any change on your side. That is exactly why the regression row in the test matrix exists. Where this page describes a capability, it is labelled with its availability; where a detail depends on your environment, confirm the current behaviour with Oracle rather than inferring it.

CapabilityAvailability
Oracle AI Agent StudioGenerally available (release 25C)
Inbound REST API to invoke agents (polling or SSE)Generally available (release 26A)
External REST tools (agent calling out) & MCP toolsIntroduced / enhanced (release 26A)
Agent-to-agent (A2A) invocationAnnounced for a later release — confirm current availability with Oracle

How SyntraFlow Helps Validate Agent REST Integrations

SyntraFlow is a testing platform for Oracle Fusion. For an inbound agent REST API, its value is in exercising both transports, the identity and role boundaries, and the async lifecycle, then keeping that coverage current across quarterly updates. The points below are framed as configurable capabilities, confirmed at assessment — not automatic guarantees.

Both transports

SyntraFlow can be configured to exercise the polling and SSE paths and assert a consistent agent result across them.

Identity & role boundaries

Test packs can be set up to invoke the same agent under different identities and assert data and action scope hold.

Async lifecycle

SyntraFlow helps organizations assess slow completions, approval-gated pauses, and abandoned waits as distinct cases.

Negative & error cases

Coverage can be configured for missing and expired credentials, malformed requests, timeouts, and stream drops.

Release-aware regression

SyntraFlow can connect release intelligence with test planning to re-run the API pack that a quarterly update affects.

Evidence for audit

Runs can be configured to retain per-invocation results and caller identity as evidence for review and sign-off.

A note on scope. The list above describes how SyntraFlow can be configured to support validation of an Oracle AI agent REST integration. Exact coverage for your agents, identities and environment is confirmed during assessment rather than assumed here. Where role and privilege combinations behind agent-invoking identities need review, this pairs naturally with SyntraFlow's Oracle Fusion Segregation of Duties capability as a complementary control.

Official Oracle References

Verify request formats and current behaviour against Oracle's own documentation. The sources relevant to this page:

Last reviewed: 19 July 2026. Availability and behaviour described here reflect Oracle's 26A readiness content; confirm current details for your environment with Oracle.

Frequently Asked Questions

What is the Oracle AI agent REST API?

It is the REST API that lets an external application invoke a Fusion AI agent — your software sends a request, the agent runs inside Fusion, and the response comes back either by polling or by SSE (Server-Sent Events). It is generally available in release 26A. This page covers that inbound direction: an app calling in to invoke an agent.

How is this different from AI Agent Studio REST tools?

The direction of the call is opposite. This page is the inbound API — an external app invokes a Fusion agent. AI Agent Studio REST tools is the outbound case — a Fusion agent calls out to a third-party REST API as one of its tools. Same technology family, different party initiating the call.

How does this differ from AI agent external access?

AI agent external access covers the broad external-invocation model — identity, tokens, role-based access, async patterns and audit across every entry point. This page is the REST-specific slice of that: the endpoint mechanics, the polling and SSE patterns, and the tests around them. For the enterprise-wide identity and audit framework, use the external-access page.

Should I use polling or SSE?

Polling suits server-to-server flows, integrations behind API gateways, and jobs that can wait — it is simple and resilient. SSE suits interactive, human-facing experiences where a user watches the response arrive. Both are generally available in 26A. Whichever you choose in production, test both paths, because the same agent reached two ways should return a consistent result.

Does an agent invoked over REST bypass Fusion security?

No. The call is authenticated, and the agent runs within the roles and privileges of the calling identity — it cannot read data or take an action the caller is not entitled to. The common mistake is wiring a single shared, over-broad credential behind the endpoint, which erases accountability. Use per-caller identity and least-privilege roles, and confirm the token mechanics with Oracle.

What happens when an agent action needs human approval?

The invocation can pause until the gate is resolved — a pending state, not a failure. A well-behaved caller treats that as "awaiting approval" and waits or notifies, rather than retrying. The deep treatment of approval gates lives on the AI agent human approval page; here it is one state in the async lifecycle your tests should cover.

What should an agent REST API test suite cover?

Both transports and their parity; authentication and authorisation cases; data and action scope per identity; the async lifecycle including slow completions and approval-gated pauses; error handling for timeouts, stream drops, malformed requests and agent-side errors; data-leakage and input-abuse checks; audit; and release-scoped regression. The test matrix on this page lays out a representative set with an AI-API prefix.

Can SyntraFlow test the Oracle AI agent REST API?

SyntraFlow can be configured to exercise both transports, invoke the same agent under different identities to check role and data scope, cover negative and async cases, and re-run the pack when a quarterly update affects it. Exact coverage for your agents and environment is confirmed at assessment rather than assumed. Where agent-invoking roles need review, it pairs with SyntraFlow's Segregation of Duties capability as a complementary control.

Generate an Oracle AI Agent Test Plan

Map your inbound agent REST integration to a test plan that covers both transports, identity and role boundaries, the async lifecycle, and release-aware regression. See how SyntraFlow can be configured against agents like yours.