Create Sync Inference Task

Changed on

Runs a sync inference prediction.

post/v1/sync-tasks

Request

  • The document declares no server URL.
  • Auth
    • HTTP basic
    • or OAuth 2
      Password
      Token URL: token

Query parameters

model_endpoint_idstring required

Request body

urlstring nullable
argsunknown
cloudpicklestring nullable
callback_urlstring nullable
return_pickledboolean
destination_pathstring nullable
timeout_secondsnumber nullable
num_retriesinteger nullable

Response

Successful Response

status'PENDING' | 'STARTED' | 'SUCCESS' | 'FAILURE' | 'TIMEOUT' | 'UNDEFINED' required
resultunknown
tracebackstring nullable
status_codeinteger nullable

Changes

    • warning

      added the new TIMEOUT enum value to the response property for the response status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status