Retrieve an AI Agent in a Project

get

/ic/api/integration/v1/projects/{projectId}/ai/agents/{id}

Fetches details of a specific AI Agent.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Match All
Show Source
Nested Schema : AIAgentListRs
Match All
Show Source
Nested Schema : IdRs
Match All
Show Source
Nested Schema : GenericRestRs
Type: object
Show Source
Nested Schema : IdRs-allOf[1]
Type: object
Show Source
Nested Schema : AIAgentListRs-allOf[2]
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : AIAgentResourceDependencyRs
Type: object
Show Source
Nested Schema : templates
Type: array
Show Source
Nested Schema : PatternDependencyRs
Type: object
Show Source
Nested Schema : tools
Type: array
Show Source
Nested Schema : TemplateDependencyRs
Type: object
Show Source
Nested Schema : ToolDependencyRs
Type: object
Show Source

404 Response

AI Agent not found

500 Response

Server error
Back to Top

Examples

The following example shows how to retrieve a specific AI Agent by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.

Example: Retrieve AI Agent ORDER_AGENT in project TEST_PROJECT

This command retrieves the specified AI Agent. The id is in the form: code%7Cversion.

The %7C is the encoded | (vertical line).

curl -X GET -H 'Authorization: Bearer access_token' https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/projects/TEST_PROJECT/ai/agents/ORDER_AGENT%7C01.00.0000?integrationInstance=service-instance
Back to Top