Retrieve an Agent Pattern in a Project

get

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

Returns details of a specific Agent Pattern.

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 : IdRs
Match All
Show Source
Nested Schema : GenericRestRs
Type: object
Show Source
Nested Schema : IdRs-allOf[1]
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : PatternDependencies
Type: object
Show Source
Nested Schema : patternRoles
Type: array
Pattern Roles
Show Source
Nested Schema : integrations
Type: array
Integration id's
Show Source
Nested Schema : Integration
Type: object
Show Source
Nested Schema : PatternDependencyProject
Type: object
Show Source
Nested Schema : PatternRoles
Type: object
Show Source
Nested Schema : connectionList
Type: array
Show Source
Nested Schema : PatternRoleConnection
Type: object
Show Source

404 Response

Agent Pattern not found

500 Response

Server error
Back to Top

Examples

The following example shows how to retrieve a specific agent pattern in a project 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 agent pattern ORDER_PROCESSING_PATTERN in project TEST_PROJECT

This command retrieves the specified agent pattern in the specified project.

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/patterns/ORDER_PROCESSING_PATTERN%7C01.00.0000?integrationInstance=service-instance
Back to Top