Skip to content

API Reference ​

DeltaFi exposes two APIs: a REST API for data operations, system management, and streaming, and a GraphQL API for querying and mutating system state.

Base URLs ​

APIBase URLNotes
REST/api/v2/All REST endpoints except plugin registration
Plugin Registration/pluginsUsed by plugins during startup
GraphQL/api/v2/graphqlSingle endpoint, POST only
GraphiQL IDE/graphiqlInteractive query editor (browser)

In local development, use http://deltafi.localhost as the host. In production, use the configured DeltaFi domain over HTTPS.

Authentication ​

All API requests require authentication unless the system is running in disabled auth mode. See Authentication for details on auth modes, headers, and the permissions model.

For most programmatic access, requests pass through an auth gateway that sets identity headers. Direct API calls should use Basic authentication or certificate-based authentication depending on the configured mode.

Common Error Responses ​

REST Errors ​

REST endpoints return standard HTTP status codes:

StatusMeaning
200Success
204Success, no content
400Bad request (invalid input, validation failure)
403Forbidden (missing required permission)
404Resource not found
413Payload too large (insufficient storage for ingress)
422Unprocessable entity (semantic validation error)
429Rate limited
500Internal server error
501Not implemented (feature disabled)
503Service unavailable

Error responses use this format:

json
{
  "error": "Description of what went wrong"
}

GraphQL Errors ​

GraphQL requests always return HTTP 200. Errors appear in the errors array:

json
{
  "data": null,
  "errors": [
    {
      "message": "Description of the error",
      "locations": [{"line": 1, "column": 1}],
      "path": ["mutationName"],
      "extensions": {
        "classification": "DataFetchingException"
      }
    }
  ]
}

Many mutations return a Result type with structured success/error information:

graphql
type Result {
  success: Boolean!
  info: [String]
  errors: [String]
}

API Sections ​

REST API ​

  • DeltaFiles — Ingress, export, import, annotations, content retrieval
  • Events — System event notifications
  • Users and Roles — User, role, and permission management
  • Metrics — System, flow, action, and queue metrics
  • System — Status, versions, configuration, snapshots, SSE
  • Plugins — Plugin registration and scaffold generation
  • Federation — Fleet leader operations and federated search
  • Artifact Registry — Versioned artifact publishing, download, aliases, and purge

GraphQL API ​

  • GraphQL Overview — Endpoint usage, custom scalars, conventions
  • DeltaFiles — Query, filter, resume, replay, acknowledge DeltaFiles
  • Flows — Flow plans, state management, topics, test mode
  • Plugins — Plugin queries, installation, variables
  • Policies — Resume and delete policies
  • System — Properties, snapshots, SSL, SpEL, links, lookup tables
  • Testing — Integration test management

Contact US