v1

latestOpenAPI 3.0.22026-07-173834119.9 KB
Model Invocation

Get Async Output

Endpoint to Retrieve the Result of an Asynchronous Model Invocation

This endpoint allows users to retrieve the result of an asynchronous model invocation using the invocation ID returned by the async_invoke endpoint.


Path Parameters

ParameterTypeDescription
invocation_idstrThe ID of the asynchronous invocation.

Response Body

FieldTypeDescription
statusstrThe status of the invocation (SUCCESS or FAILED).
resultdictThe result of the invocation.

Errors

  • 404 Not Found: If the invocation ID is not found or the result has expired.
  • 500 Internal Server Error: If there is an unexpected error retrieving the result.
get/model/async_output/{invocation_id}

Path parameters

invocation_idstring required

Response

Successful Response

{"stackTrail":"paths:/model/async_output/{invocation_id}:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}