Docs

Running a model

Fetch a request's result

GET/<address>/requests/{request_id}on https://queue.auray.run

The result

#Authentication

Authorization: Bearer auray_sk_… — a key with the scope the route names.

#Request

#Path parameters

NameTypeRequiredDescription
request_idstringyesThe request_id the submit answered with.

#Query parameters

NameTypeRequiredDescription
logsstringnoInclude the runner's log lines on a read. Off by default, because a status polled at 10 Hz that carries a growing log is the same lines paid for a hundred times. One of "1", "0", "true", "false".

#Example request

curl https://queue.auray.run/auray-ai/hunyuan-3d/image-to-3d/requests/photo_docs-mtpb1vnh \
  -H "Authorization: Bearer $AURAY_API_KEY"

#Responses

#200 OK

The request and its output, once its status is COMPLETED.

#400 Bad Request

The request has not finished: request_in_progress, with its status (IN_QUEUE or IN_PROGRESS), queue_position while it waits, and Retry-After. Nothing a job made part-way is its result: poll status_url until COMPLETED, then read this again.

The error body: error, message, docs (the entry that explains it) and request_id.

#401 Unauthorized

The request produced no output. error_type is AuthenticationError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

#402 Payment Required

The request produced no output. error_type is PaymentError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

#403 Forbidden

The request produced no output. error_type is PermissionError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

#404 Not Found

The request produced no output. error_type is NotFoundError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

#409 Conflict

The request produced no output. error_type is ConflictError or CancellationError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

#410 Gone

The request produced no output. error_type is GoneError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

#413 Payload Too Large

The request produced no output. error_type is PayloadTooLargeError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

#422 Unprocessable Content

The request produced no output. error_type is ValidationError or ContentPolicyError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

#428 Precondition Required

The request produced no output. error_type is PreconditionError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

#429 Too Many Requests

The request produced no output. error_type is RateLimitError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

The request produced no output. error_type is RegionError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

#500 Internal Server Error

The request produced no output. error_type is ExecutionError or InternalError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

#501 Not Implemented

The request produced no output. error_type is NotImplementedError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

#502 Bad Gateway

The request produced no output. error_type is UpstreamError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

#503 Service Unavailable

The request produced no output. error_type is CapacityError or ConfigurationError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

#504 Gateway Timeout

The request produced no output. error_type is TimeoutError; the code is in error and the sentence in detail.

The error body: error, message, docs (the entry that explains it) and request_id.

#Status codes

StatusMeaning
200The request and its output, once its status is COMPLETED.
400The request has not finished: request_in_progress, with its status (IN_QUEUE or IN_PROGRESS), queue_position while it waits, and Retry-After.
401The request produced no output.
402The request produced no output.
403The request produced no output.
404The request produced no output.
409The request produced no output.
410The request produced no output.
413The request produced no output.
422The request produced no output.
428The request produced no output.
429The request produced no output.
451The request produced no output.
500The request produced no output.
501The request produced no output.
502The request produced no output.
503The request produced no output.
504The request produced no output.

Every refusal names its code, and every code is explained at Errors.

Start typing to search every page of the documentation.

Up arrow Down arrow to moveEnter to openEscape to close