Fetch task run output from runtime engine
post
/20260430/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/taskRuns/{taskRunKey}/actions/fetchOutput
Fetches the task run output from the runtime engine.
Request
Path Parameters
-
aiDataPlatformId(required): string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance.
-
taskRunKey(required): string
Task run key.
-
workspaceKey(required): string
The key of the Workspace
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.
-
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.
Details for task run output retrieval.
Root Schema : FetchOutputDetails
Type:
objectThe payload to fetch TaskRunOutput.
Show Source
-
outputKey:
string
Minimum Length:
1Maximum Length:100A unique identifier for the output.
Response
Supported Media Types
- application/json
200 Response
Request accepted. Task run output is returned.
Headers
-
etag: string
For optimistic concurrency control. See `if-match`.
-
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 : TaskRunOutput
Type:
objectOutput of a task run.
Show Source
-
data(required):
array data
Array of output objects.
-
errorTrace:
string
If there was an error executing the run, this field contains any available stack traces.
-
isTruncated:
boolean
Default Value:
falseTrue if logs are truncated. -
key:
string
Minimum Length:
1Maximum Length:100A unique identifier for the output. -
outputParameters:
array outputParameters
List of output parameters with name and values.
-
taskType:
string
Allowed Values:
[ "NOTEBOOK_TASK", "PYTHON_TASK", "SPARK_SUBMIT_TASK", "IF_ELSE_TASK", "JOB_TASK", "JAR_TASK" ]The type of the task. -
version:
integer(int32)
Current version of job run object in repository.
Nested Schema : data
Type:
arrayArray of output objects.
Show Source
-
Array of:
object RunOutputData
An object representing execution output of a command.
Nested Schema : outputParameters
Type:
arrayList of output parameters with name and values.
Show Source
-
Array of:
object OutputParameter
Specifies the name and value of the output parameter.
Nested Schema : RunOutputData
Type:
objectAn object representing execution output of a command.
Show Source
-
charset:
string
Allowed Values:
[ "UTF_8", "UTF_16" ]Charset of the result. -
compression:
string
Allowed Values:
[ "GZIP", "DEFLATE", "COMPRESS", "BZIP2" ]Content-Encoding or compression -
isBase64:
boolean
Boolean to identify if output data is base64-encoded.
-
length:
string
Size of object in bytes.
-
type(required):
string
Allowed Values:
[ "TEXT_PLAIN", "NOTEBOOK", "TEXT_HTML", "IMAGE_PNG", "IMAGE_SVG", "IMAGE_JPEG", "APPLICATION_PDF", "APPLICATION_JSON", "FILE_PATH", "NOTEBOOK_PATH" ]The type of the RunOutputData. For example, `TEXT_PLAIN`, `TEXT_HTML`, or `IMAGE`. -
value:
string
The output content string format.
Nested Schema : OutputParameter
Type:
objectSpecifies the name and value of the output parameter.
Show Source
-
name(required):
string
The name of the parameter defined by user.
-
value:
string
Value of the output parameter.
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.
405 Response
Method Not Allowed. Request is recognized but not supported.
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.