> For the complete documentation index, see [llms.txt](https://docs.does.qa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.does.qa/test-steps/check/check-api-response-time.md).

# Check API Response Time

Check API Response Time asserts a network request finished within the seconds you set. Use it to guard backend speed for a specific URL pattern captured during the run.

![Check API speed Test Step](https://app.does.qa/screenshots/node/check_api_responseTime.png)

## When to use it

* Confirm a search or autocomplete request stays fast after a UI change.
* Watch server wait time separately from total download time.
* Run after the action that triggers the request so the network entry exists.

## Configure

### Basics

| Field               | What to set                                                                                                                |
| ------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| **Time Attribute**  | Phase to measure: `Total time` (default), `Queueing`, `Request sent`, `Waiting for server response`, or `Content download` |
| **Time**            | Maximum seconds allowed: 0.25 to 30                                                                                        |
| **URL Select Mode** | `Starts with`, `Contains` (default), or `Ends with`                                                                        |
| **URL**             | URL pattern as text and/or [Values](/values/value-store.md)                                                                |

### Advanced

| Field                                 | What to set                                          |
| ------------------------------------- | ---------------------------------------------------- |
| **Mode**                              | `Last Instance` (default) or `All Instances`         |
| **Status on fail**                    | [Failed Status](/test-step-options/failed-status.md) |
| **When should screenshots be taken?** | `Always` or `On Failures` (default)                  |

## Related

* [Check Load Time](/test-steps/check/check-load-time.md)
* [Check](/test-steps/check.md)

**Tags:** `check`, `api`, `responseTime`, `test`, `expect`, `assert`, `response`, `time`, `GET`, `PUT`, `POST`
