Fetch a single record from a PocketBase collection by ID.
List records from a PocketBase collection. Supports filtering, sorting, pagination, and expansion.
Create a new record in a PocketBase collection.
Update an existing record in a PocketBase collection by ID.
Get the schema (fields, rules, etc.) of a PocketBase collection.
List all collections in the PocketBase instance.
Upload a file (provided as content string) to a PocketBase collection record field.
Get the URL to download a file from a PocketBase collection record field.
Set the directory where migration files will be created and read from.
Create a new, empty PocketBase migration file with a timestamped name.
Create a migration file specifically for creating a new PocketBase collection.
Create a migration file for adding a field to an existing collection.
List all migration files found in the PocketBase migrations directory.
Apply a specific migration file.
Revert a specific migration file.
Apply all pending migrations.
Revert migrations up to a specific target.
List API request logs from PocketBase with filtering, sorting, and pagination.
Get a single API request log by ID.
Get API request logs statistics with optional filtering.
Your PocketBase admin token.
The URL of your PocketBase instance.