Creates a standalone service (database or shared storage) that can be shared across multiple applications in a project.
Bearer token for authentication. Format: 'Bearer {token}'
Workspace ID (uses default workspace if not provided)
Create a new service
Service type: 'postgres' (PostgreSQL database), 'shared_storage' (shared persistent volume)
postgres, shared_storage ID of the project to create the service in
ID of the compute resource to provision the service on
Human-readable display name for the service
RAM allocation in MiB (e.g., 64, 128, 256)
Disk storage in GiB (e.g., 1, 5, 10)
CPU allocation in cores (e.g., 0.1, 0.25, 0.5)
PostgreSQL version (e.g., '15', '16'). Only for postgres type.
Enable public internet access: '0' disabled, '1' enabled. For postgres type.
0, 1 Automatically inject connection environment variables into parent application
Container mount path (e.g., /data). For shared_storage type.
Access mode: 'RWO' (single node read-write), 'RWX' (multi-node read-write). For shared_storage type.
RWO, RWX Create a new service
Api_V1_Entities_Service model
Service UUID
Service name
Display name
Service type (postgres, shared_storage)
Associated project UUID
Assigned resource UUID
Creation timestamp
Last update timestamp