# Check upscale status and final URL

<mark style="color:green;">`GET`</mark> <https://app.lupaupscaler.com/api/1.1/wf/check-upscale-statu&#x73;**`?upscale_id={ID}`>\*\*

**Headers**

| Name      | Value          |
| --------- | -------------- |
| x-api-key | `your-api-key` |

**Query parameters**

| Name         | Type   | Description                      |
| ------------ | ------ | -------------------------------- |
| `upscale_id` | string | ID returned from initial request |

**Response**

{% tabs %}
{% tab title="200" %}
{% code title="Image completed" %}

```json
{
    "status": "success",
    "response": {
        "process_status": "completed",
        "final_image_url": "https://website.com/image.png"
    }
}
```

{% endcode %}
{% endtab %}

{% tab title="200" %}
{% code title="Image in progress" %}

```json
{
    "status": "success",
    "response": {
        "process_status": "processing"
    }
}
```

{% endcode %}
{% endtab %}

{% tab title="200" %}
{% code title="Upscale Id not found" %}

```json
{
    "status": "success",
    "response": {
        "process_status": "failed",
        "error_type": "not_found",
        "message": "Upscale ID not found"
    }
}
```

{% endcode %}
{% endtab %}

{% tab title="200" %}
{% code title="Upscaling Failed (Unexpected error)" %}

```json
{
    "status": "success",
    "response": {
        "process_status": "failed",
        "error_type": "unexpected_error"
    }
}
```

{% endcode %}
{% endtab %}
{% endtabs %}

**Example Request**

```
curl -X GET "https://app.lupaupscaler.com/api/1.1/wf/check-upscale-status?upscale_id=123456" \
  -H "x-api-key: your-api-key"
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lupaupscaler.gitbook.io/lupaupscaler-docs/api/apis-endpoints/images-and-media.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
