---
title: Routes
description: Retrieve top-level routes for the InfluxDB Cloud API.
url: https://docs.influxdata.com/influxdb/cloud/api/routes/
estimated_tokens: 360
product: InfluxDB Cloud (TSM)
version: cloud
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb/cloud/api/routes/
---

[Download InfluxDB Cloud (TSM) API Spec](/openapi/influxdb-cloud-v2-api.yml)

Retrieve top-level routes for the InfluxDB Cloud API.

GET`/api/v2`

### List all top level routes

Retrieves all the top level routes for the InfluxDB API.

#### Limitations

* Only returns top level routes–for example, the response contains`"tasks":"/api/v2/tasks"`, and doesn’t contain resource-specific routes
  for tasks (`/api/v2/tasks/TASK_ID/...`).

#### Parameters

##### Header parameters

`Zap-Trace-Span`string

OpenTracing span context

Example request[Ask AI about this](#)

```sh
curl --request GET \
  "https://us-east-1-1.aws.cloud2.influxdata.com/api/v2" \
  --header "Authorization: Bearer INFLUX_TOKEN"
```

#### Responses

200Success.
The response body contains key-value pairs with the resource name and
top-level route.

`authorizations`string \<uri\>

`buckets`string \<uri\>

`dashboards`string \<uri\>

`external`object

`statusFeed`string \<uri\>

`flags`string \<uri\>

`me`string \<uri\>

`orgs`string \<uri\>

`query`object

`analyze`string \<uri\>

`ast`string \<uri\>

`self`string \<uri\>

`suggestions`string \<uri\>

`setup`string \<uri\>

`signin`string \<uri\>

`signout`string \<uri\>

`sources`string \<uri\>

`system`object

`debug`string \<uri\>

`health`string \<uri\>

`metrics`string \<uri\>

`tasks`string \<uri\>

`telegrafs`string \<uri\>

`users`string \<uri\>

`variables`string \<uri\>

`write`string \<uri\>
