Skip to main content

GalaxyAI Workflow API

The GalaxyAI Workflow API lets you programmatically create, manage, and execute AI workflows. Build automation pipelines that chain together AI models, media processing, and custom logic — then trigger them via simple REST calls.

What you can do

  • Workflows — Create, update, list, duplicate, and delete workflow definitions.
  • Runs — Start workflow executions, monitor progress, cancel in-flight runs, and retry failed nodes.
  • Webhooks — Receive real-time HTTP notifications when runs complete, fail, or progress — no polling required.
  • MCP Server — Connect AI assistants like Claude Desktop or Cursor to manage workflows directly.

Base URL

https://app.galaxy.ai/api

Quick start

# List your workflows
curl https://app.galaxy.ai/api/v1/workflows \
  -H "Authorization: Bearer gx_your_api_key"

# Start a workflow run
curl -X POST https://app.galaxy.ai/api/v1/runs \
  -H "Authorization: Bearer gx_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"workflowId": "wf_abc123"}'

# Start a run with webhook notifications
curl -X POST https://app.galaxy.ai/api/v1/runs \
  -H "Authorization: Bearer gx_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "workflowId": "wf_abc123",
    "webhook": {
      "url": "https://your-app.com/webhooks/galaxyai",
      "events": ["run.completed", "run.failed"]
    }
  }'

OpenAPI spec

The full OpenAPI 3.1 specification is available at:
https://app.galaxy.ai/api/v1/openapi.json
Import it into tools like Postman, Insomnia, or any OpenAPI-compatible client.