---
title: Resources
description: Retrieve a list of top-level resource types available in the InfluxDB Cloud API.
url: https://docs.influxdata.com/influxdb/cloud/api/resources/
estimated_tokens: 1256
product: InfluxDB Cloud (TSM)
version: cloud
---

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

Retrieve a list of top-level resource types available in the InfluxDB Cloud API.

GET `/api/v2/resources`

### List all known resources

#### 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/resources" \
  --header "Authorization: Bearer INFLUX_TOKEN"
```

#### Responses

200 All resources targets

default Internal server error

`code` required string

code is the machine-readable error code.

Allowed: `internal error` , `not implemented` , `not found` , `conflict` , `invalid` , `unprocessable entity` , `empty value` , `unavailable` , `forbidden` , `too many requests` , `unauthorized` , `method not allowed` , `request too large` , `unsupported media type`

`err` string

Stack of errors that occurred during processing of the request. Useful for debugging.

`message` string

Human-readable message.

`op` string

Describes the logical code operation when the error occurred. Useful for debugging.
