VegaFlow API reference

Workspace-scoped resource groups, request conventions and lifecycle operations.

The VegaFlow service API is scoped by organization and workspace. Use the API base shown by your deployment.

Read API fundamentals for service base paths, bearer/API-key authentication and tenant scope.

{api-base}/orgs/{org_id}/workspaces/{workspace_id}

Core QuickFlow resources include an additional /vegaflow path segment. Pipeline project resources are rooted directly below the workspace path.

Resource groups

GroupRootOperations
Connector catalog/vegaflow/connectorslist connectors, read property schema
Connections/vegaflow/connectionsvalidate, create, list, get, update, delete, discover catalog
Compute environments/vegaflow/clusterscreate, list, get, update, delete, start, stop
QuickFlows/vegaflow/quickflowsupsert, list, get, delete, versions, runs, schedules
Git integrations/git-integrationscreate, list, get, update, delete
Pipeline projects/pipeline-projectsCRUD/archive, purge, repository, definition roots, revisions, reconciliations, environments, deployments, sessions
Pipelines/pipelineslist/get, versions, publication, schedules, triggers, executions
Permissionsresource /permissions pathsassign, remove and inspect user/group/role/service-principal access

Request conventions

  • Send and receive JSON unless an endpoint documents another content type.
  • IDs are resolved inside the organization/workspace path; cross-workspace IDs do not grant access.
  • Timestamps are ISO 8601 strings.
  • List endpoints return summary items and can support bounded paging/filter parameters described by their schema.
  • PUT replaces the editable resource contract; omitted fields can return to defaults. Use the current resource version when the schema exposes optimistic concurrency.
  • Delete usually archives or retires user-facing definitions. Purge is a separate operation where irreversible removal exists.

Example request

curl --request GET \
  --header "Authorization: Bearer $VEGALAKE_ACCESS_TOKEN" \
  --header "Accept: application/json" \
  "https://api.example.com/api/v1/vegaflow/orgs/org_01/workspaces/ws_01/vegaflow/quickflows"

Keep access tokens in environment-backed secret storage. Do not commit them to examples, scripts or pipeline repositories.

Asynchronous operations

Starting/stopping compute, source reconciliation, deployment preparation, execution, cancellation, retry and purge can be asynchronous. A successful mutation means the request was accepted and returns a resource whose state must be observed.

Do not poll without bounds. Use increasing intervals, honor server retry guidance and stop when the resource reaches a terminal state.

Error model

Errors use an HTTP status plus structured JSON details. Clients should preserve the machine-readable code, message, field/location details and request identity when available.

StatusMeaning
400Invalid syntax, field value or state transition.
401Missing or invalid authentication.
403Principal lacks a required permission or dependency use grant.
404Resource is not visible in the scoped workspace.
409Name/version conflict, active-run conflict or incompatible lifecycle state.
422Semantically invalid definition or connector configuration.
429Admission or request-rate limit.
5xxService failure; retry only safe/idempotent operations.

Idempotency

Start, cancel, webhook and reconciliation paths protect against duplicate control requests according to their resource identity. For external event ingestion, supply a stable source event ID. Never assume an arbitrary failed POST is safe to replay unless the endpoint provides an idempotency identity or the returned resource can be reconciled first.

Vegalake, VegaDB and VegaFlow are trademarks or registered trademarks of Vegalake Inc.

On this page