Skip to main content
Generated from the application OpenAPI contract. Do not edit endpoint examples independently. Read the agent guide before automating deployments. Fetch the public schema with GET /api/openapi.json; no token is needed to read it. Customer data and deployment operations still require authentication. The interactive reference is in the app. Authenticated operations accept Authorization: Bearer $SPRINGWINTER_TOKEN. Cookie mutations require a CSRF token. Signed webhooks use their own signature checks. Read each operation’s security setting.

POST /api/projects/{project_id}/sql

Create an RDS or Aurora database Private encrypted PostgreSQL or MySQL. Standard RDS passwords stay only in customer Secrets Manager. Rotation is not automatic. Missing family selects Aurora for compatibility. For meaningful deployment decisions, read relevant agent notes first. After approval, use createAgentNote to record intent and link returned resource/workflow IDs; append observed outcomes or failures. Notes never authorize changes and must not contain secrets.

GET /api/projects/{project_id}/sql/engines

Discover regional SQL configurations Returns family, engine version, instance class, storage limits, serverless capacity limits, and Multi-AZ support. Revalidate on submission.

GET /api/projects/{project_id}/sql/{id}

Read SQL configuration and workflow history Includes observed nodes, writer and reader endpoints, desired configuration, pending changes, and workflow history. Passwords are excluded.

PATCH /api/projects/{project_id}/sql/{id}

Start a database change Review with preview_change first. Compute conversion applies within Aurora only. Reader endpoints require application read routing. Scheduled changes remain pending until AWS applies them. For meaningful deployment decisions, read relevant agent notes first. After approval, use createAgentNote to record intent and link returned resource/workflow IDs; append observed outcomes or failures. Notes never authorize changes and must not contain secrets.

DELETE /api/projects/{project_id}/sql/{id}

Delete database and readers Readers are deleted first. Default keeps a final snapshot. RDS retains its credential secret with the snapshot. For meaningful deployment decisions, read relevant agent notes first. After approval, use createAgentNote to record intent and link returned resource/workflow IDs; append observed outcomes or failures. Notes never authorize changes and must not contain secrets.

PUT /api/projects/{project_id}/sql/{id}

Start a database change Review with preview_change first. Compute conversion applies within Aurora only. Reader endpoints require application read routing. Scheduled changes remain pending until AWS applies them. For meaningful deployment decisions, read relevant agent notes first. After approval, use createAgentNote to record intent and link returned resource/workflow IDs; append observed outcomes or failures. Notes never authorize changes and must not contain secrets.

GET /api/projects/{project_id}/sql/{id}/cost

Read tagged billed SQL cost Trailing 30-day cost from project Cost Explorer. Includes nodes tagged with this SQL resource ID.

GET /api/projects/{project_id}/sql/{id}/credentials

Fetch credentials on demand Returns username, password, host, and port from the customer-account secret. node_id must identify an available node of this resource.

GET /api/projects/{project_id}/sql/{id}/metrics

Read per-node CloudWatch metrics

POST /api/projects/{project_id}/sql/{id}/preview_change

Preview a database change Read-only AWS validation. Returns changed fields, interruption risk, endpoint effects, and irreversible storage growth. This request does not reserve or apply the change. For meaningful deployment decisions, read relevant agent notes first. After approval, use createAgentNote to record intent and link returned resource/workflow IDs; append observed outcomes or failures. Notes never authorize changes and must not contain secrets.

Referenced definitions

These keys resolve the local references in the operations above.