---
title: Routes
description: Retrieve top-level routes for the InfluxDB OSS v2 API.
url: https://docs.influxdata.com/influxdb/v2/api/routes/
estimated_tokens: 2120
product: InfluxDB OSS v2
version: v2
---

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

Retrieve top-level routes for the InfluxDB OSS v2 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 \
  "http://localhost:8086/api/v2" \
  --header "Authorization: Bearer INFLUX_TOKEN"
```

#### Responses

200 Success. 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>
