Get Agents in schema
get
/20260430/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents
Returns a list of Agents in a schema.
Request
Path Parameters
-
aiDataPlatformId(required): string
Minimum Length:
1Maximum Length:500The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance. -
workspaceKey(required): string
Minimum Length:
1Maximum Length:200The key of the Workspace
Query Parameters
-
computeKey: string
Compute key.
-
displayName: string
Maximum Length:
255A filter to return only resources that match the given display name exactly. -
displayNameContains: string
Maximum Length:
1000A filter to return only resources that have a display name containing the text provided. -
limit: integer
Minimum Value:
1Maximum Value:1000For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).Default Value:100 -
page: string
Maximum Length:
1024For list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine). -
sortBy: string
The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.Default Value:
timeCreatedAllowed Values:[ "timeCreated", "displayName" ] -
sortOrder: string
The sort order to use, either ascending (`ASC`) or descending (`DESC`).Allowed Values:
[ "ASC", "DESC" ]
Header Parameters
-
opc-request-id: string
Maximum Length:
255Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Response
Supported Media Types
- application/json
200 Response
Successful operation
Headers
-
opc-next-page: string
For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : AgentCollection
Type:
objectResult of listing agents in a schema.
Show Source
-
items(required):
array items
List of Agents.
Nested Schema : items
Type:
arrayList of Agents.
Show Source
-
Array of:
object AgentInfo
Summary information of agent in the schema.
Nested Schema : AgentInfo
Type:
objectSummary information of agent in the schema.
Show Source
-
computeKey:
string
Minimum Length:
1Maximum Length:255The key of the agent compute associated with this agent. -
createdBy:
string
Minimum Length:
1Maximum Length:255The OCID of the user/principal who created the agent. -
dependenciesFilePath:
string
The path to dependencies file.
-
deploymentComputeKey:
string
The key of the compute where agent is deployed.
-
deploymentMode:
string
Agent deployment mode.
-
description:
string
Agent description.
-
displayName(required):
string
Agent name.
-
entryFilePath:
string
The path to project entry file.
-
key(required):
string
The unique identifier (UUID) of the agent.
-
lifecycleDetails:
string
A message that describes the current state of the agent in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
-
lifecycleState:
string
The current state of the agent.
-
pathInfo:
string
Path inside volume where the agent JSON is written.
-
timeCreated:
string(date-time)
The date and time the agent was created.
-
timeUpdated:
string(date-time)
The date and time the agent was updated.
-
type:
string
Allowed Values:
[ "CANVAS", "CODE" ]The type of agent (Canvas or Code). -
updatedBy:
string
Minimum Length:
1Maximum Length:255The ID of the user who last updated the schema. -
uri:
string
Agent URI.
-
uriState:
string
Agent URI state.
-
workspaceKey:
string
The key of the workspace to which this agent belongs.
400 Response
Bad Request (invalid query parameters, malformed headers, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
401 Response
Unauthorized (missing or expired credentials, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
404 Response
Not Found. The requested resource was not found.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
409 Response
Conflict. Request conflicts with the current state of the resource.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
412 Response
Precondition Failed (One or more conditions in request failed).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
429 Response
Too Many Requests. Too many requests sent to the server in a short period.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
500 Response
Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
Default Response
Unknown Error. Error is not recognized by the system.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.