---
title: InfluxDB HTTP API
description: Use the InfluxDB HTTP API to write data, query data, and manage databases (buckets), organizations, and tokens.
url: https://docs.influxdata.com/influxdb3/cloud-serverless/api/
estimated_tokens: 1256
product: InfluxDB Cloud Serverless
version: cloud-serverless
---

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

Use the InfluxDB Cloud Serverless HTTP API to write data, query data, and manage databases (buckets), organizations, and tokens.

#### InfluxDB Cloud (TSM) endpoints

InfluxDB Cloud Serverless may expose InfluxDB Cloud (TSM) API endpoints. These endpoints are not supported or recommended for use with InfluxDB Cloud Serverless. For TSM endpoint documentation, see the [InfluxDB Cloud API reference](/influxdb/cloud/api/).

### [Quick start](/influxdb3/cloud-serverless/api/quick-start/)

Get started writing and querying data with the InfluxDB 3 Cloud Serverless API.

### [API compatibility](/influxdb3/cloud-serverless/api/api-compatibility/)

InfluxDB Cloud Serverless supports a subset of the InfluxDB v2 API. Other endpoints in this reference are for the InfluxDB Cloud (TSM) API — they may be accessible, but are not supported or…

### [Authentication](/influxdb3/cloud-serverless/api/authentication/)

Use one of the following schemes to authenticate to the InfluxDB Cloud Serverless API:

### [Common parameters](/influxdb3/cloud-serverless/api/common-parameters/)

Most InfluxDB Cloud Serverless API endpoints require parameters in the request–for example, to specify the bucket or organization.

### [Headers](/influxdb3/cloud-serverless/api/headers/)

InfluxDB Cloud Serverless API endpoints use standard HTTP request and response headers. The following table shows common headers used by many InfluxDB Cloud Serverless API endpoints. Some endpoints…

### [Pagination](/influxdb3/cloud-serverless/api/pagination/)

List endpoints in the InfluxDB Cloud Serverless API support pagination via query parameters. Use these parameters to page through large result sets.

### [Response codes](/influxdb3/cloud-serverless/api/response-codes/)

InfluxDB Cloud Serverless API endpoints return standard HTTP status codes. The following table summarizes the most common response codes.

### [Supported operations](/influxdb3/cloud-serverless/api/supported-operations/)

The InfluxDB 3 Cloud Serverless API supports create, read, update, and delete operations on resources. Most endpoints follow standard HTTP method conventions:

### [Authorizations (API tokens)](/influxdb3/cloud-serverless/api/authorizations-api-tokens/)

Create and manage API token authorizations that grant read and write permissions to InfluxDB 3 Cloud Serverless organization resources.

### [Buckets](/influxdb3/cloud-serverless/api/buckets/)

Create and manage named storage locations (buckets) in InfluxDB 3 Cloud Serverless, each with a configurable retention period.

### [DBRPs](/influxdb3/cloud-serverless/api/dbrps/)

Create and manage database retention policy (DBRP) mappings for InfluxDB Cloud Serverless. DBRP mappings associate v1-compatible database and retention policy combinations with Cloud Serverless…

### [Limits](/influxdb3/cloud-serverless/api/limits/)

Retrieve rate limits and usage quotas for an InfluxDB 3 Cloud Serverless organization.

### [Organizations](/influxdb3/cloud-serverless/api/organizations/)

View and manage InfluxDB 3 Cloud Serverless organizations, which are workspaces that group users, buckets, and resources.

### [Query data](/influxdb3/cloud-serverless/api/query-data/)

Query data stored in InfluxDB 3 Cloud Serverless using InfluxQL via the v1-compatible `/query` endpoint, or using SQL and InfluxQL via Flight+gRPC clients.

### [Usage](/influxdb3/cloud-serverless/api/usage/)

Retrieve usage metrics and cardinality data for an InfluxDB 3 Cloud Serverless organization.

### [Write data](/influxdb3/cloud-serverless/api/write-data/)

Write time series data to InfluxDB 3 Cloud Serverless buckets using the v2-compatible `/api/v2/write` endpoint or the v1-compatible `/write` endpoint with line protocol.
