Get clusters in a workspace

get

/20260430/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters

Returns a list of all clusters in a given workspace.

Request

Path Parameters
Query Parameters
  • Minimum Length: 1
    Maximum Length: 255
    A filter to return only resources that match the given display name exactly.
  • A filter to return only resources that have a display name containing the text provided.
  • Minimum Value: 1
    Maximum Value: 1000
    For 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
  • Minimum Length: 1
    For 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).
  • 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: timeCreated
    Allowed Values: [ "timeCreated", "displayName" ]
  • The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    Allowed Values: [ "ASC", "DESC" ]
  • A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
  • Cluster type. When the filter is not provided list shows all type of cluster - USER else it show only cluster of type chosen. Only clusters of type USER are attachable to a workspace notebook.
Header Parameters
  • Unique 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.
Back to Top

Response

Supported Media Types

200 Response

Successful operation. List of all clusters in workspace is retrieved.
Headers
  • For list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : ClusterCollection
Type: object
Results of a cluster list.
Show Source
Nested Schema : items
Type: array
List of Clusters.
Show Source
Nested Schema : ClusterSummary
Type: object
Summary information about a workspace cluster.
Show Source
Nested Schema : ActiveClusterResources
Type: object
Active resources of a cluster.
Show Source
Nested Schema : attachedNotebooks
Type: array
List of notebooks attached to a specific cluster.
Show Source
Nested Schema : attachedSessions
Type: array
List of sessions attached to a specific cluster.
Show Source
Nested Schema : ClusterRuntimeConfig
Type: object
Discriminator: type
Cluster runtime configurations.
Show Source
Nested Schema : DriverConfig
Type: object
Driver configuration.
Show Source
Nested Schema : WorkerConfig
Type: object
Worker configuration.
Show Source
Nested Schema : AttachedSession
Type: object
Details of attached sessions to a cluster
Show Source
Nested Schema : initScripts
Type: array
Init script paths that are run in the order of definition.
Show Source
Nested Schema : InitScriptPath
Type: object
The path details of init script.
Show Source
  • Full path of the init script file. Example - /Workspace/Shared/Folder1/my-init.sh or /Volumes/catalogName/schemaName/volumeName/Shared/Folder1/my-init.sh.
Nested Schema : ShapeConfig
Type: object
Shape of the driver or executor if a flexible shape is used.
Show Source
  • Minimum Value: 0
    Total number of GPUs used for the driver or workers.
  • Minimum Value: 16
    Amount of memory used for the driver or workers.
  • Minimum Value: 1
    Total number of OCPUs used for the driver or workers.

400 Response

Bad Request (invalid query parameters, malformed headers, and so on).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

401 Response

Unauthorized (missing or expired credentials, and so on).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

404 Response

Not Found. The requested resource was not found.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

429 Response

Too Many Requests. Too many requests sent to the server in a short period.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

500 Response

Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

Default Response

Unknown Error. Error is not recognized by the system.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source
Back to Top