(Preview) Create a new bundle in a workspace folder
/20260430/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles
Request
-
aiDataPlatformId(required): string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance.
-
workspaceKey(required): string
The key of the Workspace
-
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.
-
opc-retry-token: string
Minimum Length:
1Maximum Length:64A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of running that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and removed from the system, then a retry of the original creation request might be rejected.
object-
bundledResources(required):
array bundledResources
List of workspace resource descriptors (jobs, agentflows) to be included. Each has minimally resourceType and resourceKey.
-
description:
string
Description for the bundle.
-
name(required):
string
Name for the new bundle.
-
path(required):
string
Target folder for the new bundle.
array-
Array of:
object BundledResource
Descriptor for a workspace resource (Job/Agentflow) to include in a bundle.
object-
resourceKey(required):
string
Workspace unique key for the resource.
-
resourceType(required):
string
Allowed Values:
[ "JOB", "AGENTFLOW" ]Type of resource (job or agentflow).
Response
- application/json
202 Response
-
aidp-async-operation-key: string
The key of the asynchronous operations associated with an AI Data Platform instance. Use GetAsyncOperation with this key to track the status of the request.
-
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.
400 Response
-
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.
object-
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
-
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.
object-
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
-
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.
object-
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
-
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.
object-
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
-
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.
object-
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
-
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.
object-
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
-
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.
object-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
Examples
Dependency Reference Examples
Dependency references use template variables, for example:- compute:
${jobs.dependencies.training_compute.compute.key} - nested jobs:
${jobs.dependencies.training_job.job.key} - aicompute:
${jobs.dependencies.training_aicompute.aicompute.key}
${bundle.root}, which
points to the root of the bundle folder and is used for referencing artifacts.
Variables and overrides
Bundles support parameterization using variables defined in the bundle manifest (aidp_workbench.yaml).
Example manifest defaults:defaults:
variables:
job_compute_key: "${jobs.dependencies.small.compute.key}"Variables
can be referenced in resource descriptors using the
${var.<name>} syntax.
Example usage in a job descriptor:
"clusterKey": "${var.job_compute_key}"Workspace-specific
overrides can be provided via .aidp/overrides.yaml inside the
bundle. This file is intended for environment-specific configuration and should not
be committed to Git, allowing the bundle to remain portable and
environment-agnostic.
Example overrides file:
variables: job_compute_key: f6e7f5d8-d965-4009-95d9-02e993d9a16b
When an override is provided, the referenced dependency (for example, compute) is not
created, and the provided value is used instead - when no override is provided, the
system falls back to the default variable value, which may reference a dependency
included in the bundle (resulting in that dependency being created). This mechanism
enables environment-specific customization (for example, reusing existing infrastructure
in production while creating new resources in development). The same pattern can be used
for other environment-specific parameters such as compute shape, number of OCPUs, or
other configuration values