Skip to content
Proud to collaborate with Microsoft for Startups

neon.endpoints.list ​

List all compute endpoints in a Neon project

List all compute endpoints in a Neon project by its provider (Neon) project ID.

Endpoints are needed to resolve connection hosts: each endpoint carries an id, host, branch_id, type (read_write or read_only) and current_state.

Inputs:

  • neon_project_id: Neon project ID to list endpoints for (required).

Outputs (terminal state_data):

  • neon_project_id: str — the project ID queried
  • endpoints: list — the raw Neon endpoint objects returned by the API

Error policy:

  • 4xx (esp. 401/404) → WorkflowNotRetryableError (via _common.raise_for_neon_status).
  • 5xx / timeouts → propagate so the engine retries.

Plugin required: context.get_plugin("neon") must expose .api_token.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-neon
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—Cloud connection holding the Neon credential
neon_project_idstringYes—Neon project ID to list endpoints for

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo——
neon_project_idstringNo——
endpointslistNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "neon.endpoints.list",
  "initial_data": {
    "connection_uuid": "value",
    "neon_project_id": "value"
  }
}