# 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"
}
```


---

# 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://docs.ratl.ai/guide/public-apis/documentation-1.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.
