> For the complete documentation index, see [llms.txt](https://docs.ratl.ai/guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ratl.ai/guide/public-apis/documentation-1.md).

# API Documentation

### Web Test

#### Start Web Test

**Method:** `POST`\
**Endpoint:** `/api/v1/webshot/start`

**Headers:**

* `api-key`: User API key for authorization.

**Query Parameters:**

* `webshot_id`: ID of the web Automation flow.

**Response:**

```json
{
    "success": true,
    "task_id": "44d147763b9649578fb0808d6d87b7a0"
}
```

***

#### Get Web Test Report

**Method:** `GET`\
**Endpoint:** `/api/v1/webshot/report`

**Headers:**

* `api-key`: User API key for authorization.

**Query Parameters:**

* `task_id`: ID of the end-to-end flow.

**Response:**

```json
{
    "status": "completed",
    "report": "https://ril.ratl.ai/v2/tests/66b31ccdfa70c624e5149880/webshots/44d147763b9649578fb0808d6d87b7a0/report"
}
```
