neon.data_api.update ​
Update Neon Data API settings or refresh the schema cache
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-neon |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
cloud_connection_uuid | uuid | Yes | — | — |
neon_branch_uuid | uuid | Yes | — | — |
neon_database_uuid | uuid | No | — | — |
db_name | string | No | — | — |
settings | json | No | — | Settings patch (merged by default) or full replace when merge_settings=false |
merge_settings | boolean | No | — | Merge settings with current config before PATCH (default true) |
actor | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
cloud_connection_uuid | uuid | Yes | — | — |
neon_branch_uuid | uuid | Yes | — | — |
neon_database_uuid | uuid | No | — | — |
db_name | string | No | — | — |
settings | json | No | — | Settings patch (merged by default) or full replace when merge_settings=false |
merge_settings | boolean | No | — | Merge settings with current config before PATCH (default true) |
actor | string | No | — | — |
neon_project_id | string | No | — | — |
neon_branch_id | string | No | — | — |
refreshed | boolean | No | — | — |
provider_metadata | json | No | — | — |
updated_at | string | No | — | — |
failed_at | string | No | — | — |
failure_reason | string | No | — | Engine-stamped human-readable failure reason |
failed_at_state | string | No | — | Engine-stamped state when the workflow failed |
failed_step | string | No | — | Engine-stamped step name (DAG path) |
failed_layer | integer | No | — | Engine-stamped layer index (DAG path) |
error | string | No | — | Engine-stamped exception message |
error_type | string | No | — | Engine-stamped exception class name |
failure_type | string | No | — | Engine-stamped failure category (atomic path) |
failed_action | string | No | — | Engine-stamped action method that raised (atomic path) |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | update | Inputs accepted |
updating | No | No | — | complete | Calling neon.data_apis.update |
completed | No | Yes | Yes | — | Updated |
failed | No | Yes | No | — | Update failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | update | updating | — |
updating | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "neon.data_api.update",
"initial_data": {
"organization_uuid": "value",
"cloud_connection_uuid": "value",
"neon_branch_uuid": "value"
}
}