---
title: "Cloud: API"
description: "Automate RavenDB Cloud operations using the OpenAPI 3.0 REST API with Swagger UI, client libraries, and configurable API keys."
url: "https://docs.ravendb.net/cloud/cloud-api"
---

# Cloud: API

> RavenDB publishes an official agent skill for coding assistants at https://docs.ravendb.net/skills/ravendb/SKILL.md (also installable with `npx skills add ravendb/skills`). The skill describes itself as: "Read this before writing any RavenDB query, client call or /databases/ request. Covers server setup, document modelling, the Node.js, .NET and Python clients, RQL, indexes, vector search and AI agents. Code written from recall tends to run and return the wrong rows, because RQL resembles SQL and the clients take field names as plain strings."

## Cloud: API

> **Note**
>
> *RavenDB Cloud API* provides client libraries that allow you to perform API operations.
> The API is defined using the OpenAPI 3.0 standard.
>
> - In this page:
>   - [Swagger & available clients](#swagger--available-clients)
>   - [API methods overview](#api-methods-overview)
>   - [API Keys expiration](#api-keys-expiration)
>   - [API limitations](#api-limitations)

## Swagger & available clients

![Swagger UI](https://docs.ravendb.net/assets/images/cloud-api-swagger-ui-overview-e53e2b6ae1728e59128df102d67bff19.png)

You can use [Swagger UI](https://api.cloud.ravendb.net/swagger/index.html) to perform the API calls directly from the website
or use [Swagger JSON](https://api.cloud.ravendb.net/api/v1/swagger.json) to prepare your own API client.

Client libraries are available in the following languages:

[C#](https://www.nuget.org/packages/RavenDB.Cloud.Api.Client)  
[node.js](https://www.npmjs.com/package/ravendb-cloud)

## API methods overview

*The RavenDB Cloud API* contains three categories of API methods: **Account**, **Metadata**, **Products**.

| **Category** | **Description** |
| - | - |
| Account | Returns Cloud account information - domain name. |
| Metadata | Return information about available instance types, regions and release channels. |
| Products | Allows to manage products - restart a node, download a client certificate, change the instance and disk type, terminate a cluster, add or remove an additional node from the cluster. |

More information about available methods, requests and responses can be found in the [Swagger & available clients](#swagger--available-clients) section.

> **Note:** API keys and product permissions
>
> An API key authenticates at the **account level** and operates with **Account Owner** authority — it is not tied to an individual user. Consequently, the Cloud API is **not** subject to the finer-grained [per-product permissions](https://docs.ravendb.net/cloud/cloud-account.md#product-permissions) that apply in the portal: any valid API key can invoke any **Products** method on any product belonging to its account. Restrict access accordingly when issuing API keys.

## API Keys expiration

Max expiration period is *12 months* and cannot be longer than this period.

> **Warning**
>
> RavenDB Cloud does not send reminders about upcoming API key expiration.

You can change the expiration date or extend it for another *12 months*.  
For more details, please check the [Edit API Key](https://docs.ravendb.net/cloud/portal/cloud-portal-api-tab.md#edit-api-key) section.

## API limitations

You cannot create another product via the *RavenDB Cloud API* if you have **three or more** products.

> **Info**
>
> Contact support to extend the quota.

The API limits the number of requests per second. For each IP address and each endpoint, the API can accept **one request per second**.
