Skip to main content
GET
/
api
/
v1
/
client
/
request-status
/
{request_id}
cURL
curl --request GET \
  --url https://api.deapi.ai/api/v1/client/request-status/{request_id} \
  --header 'Accept: <accept>' \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "status": "pending",
    "preview": "https://example.com/preview.jpg",
    "result_url": "https://example.com/results/image.jpg",
    "results_alt_formats": {
      "jpg": "https://example.com/results/image.jpg",
      "webp": "https://example.com/results/image.webp"
    },
    "result": "https://example.com/results/image.jpg",
    "progress": 45.5
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.deapi.ai/llms.txt

Use this file to discover all available pages before exploring further.

Consider using webhooks or WebSockets instead of polling.Polling requires repeated API calls and adds latency. For production applications, we recommend:
  • Webhooks — Results pushed to your server automatically (best for backends)
  • WebSockets — Real-time updates with live previews (best for interactive UIs)
See Execution Modes for a full comparison.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
enum<string>
default:application/json
required
Available options:
application/json

Path Parameters

request_id
string
required
Example:

"c08a339c-73e5-4d67-a4d5-231302fbff9a"

Response

Current status of requested inference.

data
object

Status response data