Skip to main content

ParallelModelTreeClient.ResultAsync method

Retrieves the result of the specified tree job.

public Task<JsonElement> ResultAsync(Guid modelId, Guid jobId, string computeSize,
string inputEncryptionKey, string eventType = "tree_blob_uploaded",
string fileName = "result.json", TimeSpan? timeout = default,
CancellationToken cancellationToken = default)
parameterdescription
modelIdThe model identifier.
jobIdThe job identifier.
computeSizeThe compute size identifier sent with the request.
inputEncryptionKeyThe Base64 encryption key for the input data or artifact.
eventTypeThe event type used to locate the generated artifact.
fileNameThe name of the requested file in the artifact.
timeoutAn optional timeout for the API request.
cancellationTokenA token used to cancel the asynchronous operation.

Return Value​

A task that returns the job result.

Exceptions​

exceptioncondition
ParallelModelConfigurationExceptionA required configuration value or identifier is invalid.

See Also​