# Overview

The DeviceCloud REST API gives you programmatic access to the same data available in the console — test results, upload history, and flow analytics.

## Authentication

Include your API key in every request:

```
x-app-api-key: <your-api-key>
```

You can find your API key in the console under **Settings → API Key**.

## Base URL

```
https://api.devicecloud.dev
```

## Endpoints

| Resource                        | Description                                         |
| ------------------------------- | --------------------------------------------------- |
| [Uploads](/rest-api/uploads.md) | List uploads and poll run status                    |
| [Results](/rest-api/results.md) | Fetch results, reports, and artifacts for an upload |
| [Flows](/rest-api/flows.md)     | Aggregated analytics and run history per flow file  |


---

# 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.devicecloud.dev/rest-api/overview.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.
