# Get Process Results

Get generation status and results with **`processing_url`** parameter to this endpoint.

**You can alternatively:**

1 - Get response with Webhook's in real-time.

2 - Get same response from your [generate endpoint](https://luw-ai.gitbook.io/api/luw.ai-api-documentation/generators/interior-ai) with adding **`processing_url`** to the url parameters.

3 - Use /v2/results endpoint as show below:

```
POST /v2/results
```

**Parameters**

| Name            | Type   | Description                                                                                              |
| --------------- | ------ | -------------------------------------------------------------------------------------------------------- |
| processing\_url | string | <p><strong>Required.</strong> <br>Returns from <a href="../generators/interior-ai">generate</a> APIs</p> |

**Curl Example**

```bash
curl -X GET https://api.luw.ai/v2/results \
  -H "Authorization: Bearer LUW_API_TOKEN" \
  -d "processing_url=abc123"
```

**Response Example (Processing)**

```json
{
  "status": true,
  "progress": {
    "started_at": "2024-01-04T12:00:00Z",
    "state": "processing",
    "percent": 45
  },
  "processing": true,
  "processing_url": "pred_123..."
}
```

**Response Example (Success)**

```json
{
  "status": true,
  "output": "https://i.luvicdn.com/luwai/18378/luwai-1258-1736026549.png"
}
```


---

# 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://luw-ai.gitbook.io/api/luw.ai-api-documentation/introduction/get-process-results.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.
