Get a list of workspaces
get
/20260430/aiDataPlatforms/{aiDataPlatformId}/workspaces
Gets a list of AI Data Platform Workbench workspaces.
Request
Path Parameters
-
aiDataPlatformId(required): string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance.
Query Parameters
-
displayName: string
Minimum Length:
1Maximum Length:255A filter to return only resources that match the given display name exactly. -
displayNameContains: string
A filter to return only resources that have a display name containing the text provided.
-
isPrivateNetworkEnabled: boolean
A flag to filter the workspaces which are private network enabled or disabledDefault Value:
false -
lifecycleState: string
A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
-
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
Minimum Length:
1For 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" ] -
type: string
When no value is provided, all workspaces are returned. Otherwise, workspace of selected value is returned.
Header Parameters
-
opc-request-id: string
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.
Response
Supported Media Types
- application/json
200 Response
A page of workspace summary objects is retrieved.
Headers
-
opc-next-page: string
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).
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : WorkspaceCollection
Type:
objectResults of a workspace search. Contains summary information of workspaces.
Show Source
-
items(required):
array items
List of workspaces.
Nested Schema : items
Type:
arrayList of workspaces.
Show Source
-
Array of:
object WorkspaceSummary
Summary information about a Workspace.
Nested Schema : WorkspaceSummary
Type:
objectSummary information about a Workspace.
Show Source
-
aicUserSchemaName:
string
The name of the AIC user schema if created.
-
createdBy:
string
OCID of the user who created this record.
-
createdByName:
string
Name of the user who created this record.
-
defaultCatalogKey:
string
The key of the catalog to be used as the default catalog for this workspace. A default catalog in the workspace will allow users to use that catalog without the need to refer it in the notebook. For example, if default catalog is iCat1, and it has schema1 and table1, you can refer to the table in a notebook using: schema1.table1.
-
description:
string
Description of the workspace.
-
displayName(required):
string
A user-friendly name that has to be unique in a AI Data Platform Workbench instance.
-
isPrivateNetworkEnabled:
boolean
A flag to display whether workspace is private network enabled or not.
-
key(required):
string
The key of the AI Data Platform Workbench workspace.
-
lifecycleDetails:
string
A message that describes the current state of the workspace in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
-
lifecycleState(required):
string
The current state of the AI Data Platform Workbench workspace.
-
systemTags:
object systemTags
Additional Properties Allowed: additionalPropertiesSystem tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
-
timeCreated(required):
string(date-time)
The date and time the AI Data Platform Workbench workspace was created, in the format defined by RFC 3339. Example: `2016-08-25T21:10:29.600Z`
-
timeUpdated:
string(date-time)
The date and time the AI Data Platform Workbench workspace was updated, in the format defined by RFC 3339. Example: `2016-08-25T21:10:29.600Z`
-
type(required):
string
Allowed Values:
[ "DEFAULT", "USER" ]Workspace type. Type is DEFAULT for workspace created at AI Data Platform Workbench creation, type is USER for workspace created by AI Data Platform Workbench user. -
updatedBy:
string
OCID of the user who updated this record.
-
updatedByName:
string
Name of the user who updated this record.
Nested Schema : systemTags
Type:
objectAdditional Properties Allowed
Show Source
-
object additionalProperties
Additional Properties Allowed: additionalPropertiesKey-value pair representing a system tag key and value, scoped to a namespace. Example: `{"free-tier-retained": "true"}`
System tags for this resource. Each key is predefined and scoped to a namespace.
Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
Nested Schema : additionalProperties
Type:
objectAdditional Properties Allowed
Show Source
-
object additionalProperties
The value of the tag. Only the String type is supported.
Key-value pair representing a system tag key and value, scoped to a namespace.
Example: `{"free-tier-retained": "true"}`
Nested Schema : additionalProperties
Type:
objectThe value of the tag. Only the String type is supported.
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.
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.