API Reference
The MIFY API reference is generated from the codebase using OpenAPI 3.1 annotations. It covers 93 public endpoints across 17 resource areas with 126 operations.
Interactive API Explorer
Section titled “Interactive API Explorer” Open API Explorer Browse all 93 endpoints interactively — view request/response schemas, try requests, and explore the full API surface.
API Areas
Section titled “API Areas”| Area | Base Path | Endpoints |
|---|---|---|
| Graphs | /api/graphs | CRUD, import (Flowise/Dify/Langflow/n8n), baselines, run templates, RAG |
| Templates | /api/templates | Browse, categories, enterprise |
| Content Generation | /api/content-gen | Queue submit, provider submit, ComfyUI local, run history |
| Execution Runs | /api/execution/runs | Submit image/video/vision, status, cancel |
| Training | /api/execution/training | Submit, presets, datasets, models |
| Batch | /api/batch | Create, start, pause, resume, cancel |
| Knowledge Bases | /api/knowledge-bases | CRUD, ingest, search |
| Evaluations | /api/evaluations | Datasets, runs, results |
| Chat | /api/chat | Sessions, messages |
| Tools | /api/tools | CRUD (public operations) |
| Plugins | /api/plugins | Browse, install, configure |
| AI Builder | /api/ai-builder | Natural language to workflow |
| Prompt Lab | /api/prompt-lab | Prompt versions, compare |
| Vector Stores | /api/vector-stores | Store, query |
| Triggers | /api/triggers | CRUD |
| Packs | /api/packs | Provider pack management |
| ComfyUI | /api/comfyui | Workflows, jobs |
Authentication
Section titled “Authentication”Most endpoints require authentication via session cookie or API key:
curl -H "Authorization: Bearer mify_your_api_key" \ https://api.mify.com/api/graphsAPI keys are managed in Settings → API Keys.
OpenAPI Spec
Section titled “OpenAPI Spec”The raw OpenAPI 3.1 spec is available at /openapi.json for use with any OpenAPI-compatible tool (Postman, Insomnia, etc.).