# PocketBase Cloud API

**Canonical:** https://apis.io/apis/pocketbasecloud-com/pocketbasecloud-com-api/  
**Provider:** PocketBase Cloud — https://apis.io/providers/pocketbasecloud-com/  
**Documentation:** https://pocketbasecloud.com/docs/ci-cd/reference

PocketBase Cloud API is one of 2 APIs that [PocketBase Cloud](https://apis.io/providers/pocketbasecloud-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

PocketBase Cloud API as documented publicly: 36 operations. Contract generated from the documentation by API Evangelist (2026-11-21); not the provider's own document.

## Operations (36)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/backups` | List backups Returns list with all available backup files. |
| POST | `/api/backups` | Create backup Creates a new app data backup. |
| DELETE | `/api/backups/key` | Delete backup Deletes a single backup by its name. |
| GET | `/api/backups/key` | Download backup Downloads a single backup file. |
| POST | `/api/backups/key/restore` | Restore backup Restore a single backup by its name and restarts the current running PocketBase process. |
| POST | `/api/backups/upload` | Upload backup Uploads an existing backup zip file. |
| POST | `/api/batch` | Batch create/update/upsert/delete records Batch and transactional create/update/upsert/delete of multiple records in a single request. |
| GET | `/api/collections/collectionIdOrName/auth-methods` | List auth methods Returns a public list with the allowed collection authentication methods. |
| POST | `/api/collections/collectionIdOrName/auth-refresh` | Auth refresh Returns a new auth response (token and user data) for already authenticated auth record. |
| POST | `/api/collections/collectionIdOrName/auth-with-oauth2` | Auth2 provider and returns a new auth token and record data. |
| POST | `/api/collections/collectionIdOrName/auth-with-otp` | Auth with OTP |
| POST | `/api/collections/collectionIdOrName/auth-with-password` | Auth with password Authenticate a single auth record by combination of a password and a unique identity field. |
| POST | `/api/collections/collectionIdOrName/confirm-email-change` | Confirm email change |
| POST | `/api/collections/collectionIdOrName/confirm-password-reset` | Confirm password reset |
| POST | `/api/collections/collectionIdOrName/confirm-verification` | Confirm verification |
| POST | `/api/collections/collectionIdOrName/impersonate/id` | Impersonate allows you to authenticate as a different user by generating a nonrefreshable auth token. |
| GET | `/api/collections/collectionIdOrName/records` | List/Search records Returns a paginated records list, supporting sorting and filtering. |
| POST | `/api/collections/collectionIdOrName/records` | Create record Creates a new collection Record. |
| DELETE | `/api/collections/collectionIdOrName/records/recordId` | Delete record Deletes a single collection Record by its ID. |
| GET | `/api/collections/collectionIdOrName/records/recordId` | View record Returns a single collection record by its ID. |
| PATCH | `/api/collections/collectionIdOrName/records/recordId` | Update record Updates an existing collection Record. |
| POST | `/api/collections/collectionIdOrName/request-email-change` | Request email change |
| POST | `/api/collections/collectionIdOrName/request-otp` | OTP Request OTP Auth |
| POST | `/api/collections/collectionIdOrName/request-password-reset` | Request password reset |
| POST | `/api/collections/collectionIdOrName/request-verification` | Request verification |
| POST | `/api/collections/users/auth-refresh` | CI/CD Reference — PocketBase Cloud |
| GET | `/api/crons` | List cron jobs Returns list with all registered app level cron jobs. |
| POST | `/api/crons/jobId` | Run cron job Triggers a single cron job by its id. |
| GET | `/api/files/collectionIdOrName` | Downloads a single file resource (aka. the URL address to the file). |
| POST | `/api/files/token` | Generates a short-lived file token for accessing protected file(s). |
| DELETE | `/api/logs` | Truncate logs Deletes all logs from the database. |
| GET | `/api/logs` | API Logs List logs Returns a paginated logs list. |
| GET | `/api/logs/id` | View log Returns a single log by its ID. |
| GET | `/api/logs/stats` | Logs statistics Returns hourly aggregated logs statistics. |
| POST | `/api/sql` | Run raw SQL query |
| GET | `/pocketbasecloud/cli/main/scripts/install.sh` | GET /pocketbasecloud/cli/main/scripts/install.sh |

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/pocketbasecloud-com/openapi/_ae-authored/pocketbasecloud-com-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/pocketbasecloud-com/json-schema/pocketbasecloud-com-post-api-collections-collectionidorname-auth-with-oauth2-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/pocketbasecloud-com/json-schema/pocketbasecloud-com-post-api-sql-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/pocketbasecloud-com/json-schema/pocketbasecloud-com-post-api-collections-collectionidorname-records-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/pocketbasecloud-com/json-schema/pocketbasecloud-com-patch-api-collections-collectionidorname-records-recordid-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/pocketbasecloud-com/json-schema/pocketbasecloud-com-post-api-collections-collectionidorname-confirm-password-reset-requ-schema.json
- **JSONSchema** — https://artifacts.apis.io/pocketbasecloud-com/json-schema/pocketbasecloud-com-post-api-collections-collectionidorname-auth-with-password-request-schema.json

## Other PocketBase Cloud APIs (1)

- [PocketBase Cloud API](https://apis.io/apis/pocketbasecloud-com/pocketbase-cloud-api/)

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/pocketbasecloud-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/pocketbasecloud-com/pocketbasecloud-com-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/pocketbasecloud-com/.
