Skip to main content
Services are the core resources in Aiven, including databases like PostgreSQL and MySQL, streaming platforms like Apache Kafka, and other data infrastructure services.

List services

Retrieve all services in a project.
string
required
Project name

Request example

Response

array
List of service objects

Response example

Get service details

Retrieve detailed information about a specific service.
string
required
Project name
string
required
Service name

Request example

Response

object
Detailed service information (same structure as list services)

Create service

Create a new Aiven service.
string
required
Project name

Request body

string
required
Name for the new service (3-63 characters)
string
required
Service type: pg, mysql, kafka, opensearch, caching, clickhouse, grafana, etc.
string
required
Service plan (e.g., hobbyist, startup-4, business-4)
string
required
Cloud region (e.g., google-europe-west3, aws-us-east-1)
integer
Total disk space in megabytes (overrides plan default)
string
VPC ID to deploy the service in
boolean
Enable termination protection (default: false)
object
Service-specific configuration options

Request example

Response

object
The newly created service object with state REBUILDING
Services start in the REBUILDING state and transition to RUNNING when ready. This typically takes 5-15 minutes depending on the service type and plan.

Update service

Update service configuration, plan, or cloud region.
string
required
Project name
string
required
Service name

Request body

string
Change service plan
string
Migrate service to different cloud region
integer
Increase disk space (cannot be decreased)
boolean
Power service on (true) or off (false)
boolean
Enable or disable termination protection
object
Maintenance window configuration (dow, time)
object
Update service-specific configuration

Request example

Response

object
The updated service object

Delete service

Permanently delete a service and all its data.
string
required
Project name
string
required
Service name
This operation is irreversible. All service data will be permanently deleted. Services with termination protection enabled cannot be deleted until protection is disabled.

Request example

Response

Returns 200 OK with an empty response body on success.

List service types

Get available service types and their descriptions.

Request example

Response

array
List of available service types

Response example

List service plans

Get available plans for a service type in a specific cloud region.
string
required
Project name
string
required
Service type (e.g., pg, kafka)
string
Filter by cloud region

Request example