Skip to content

Course 2: Building with MIFY — Chapter 1

Learn to interact with MIFY programmatically through the REST API.

  • How the MIFY API is structured
  • How to authenticate with API keys
  • How to create and run workflows via API

MIFY exposes 790+ REST endpoints at https://your-mify-instance/api/. Key areas:

AreaBase PathWhat You Can Do
Graphs/api/graphsCreate, update, delete, run workflows
Templates/api/templatesBrowse available templates
Content Gen/api/content-genGenerate images, text, video
Executions/api/executionsView run history
Knowledge Bases/api/knowledge-basesManage document collections

Full interactive reference: API Explorer

Create an API key in Settings → API Keys, then use it as a Bearer token:

Terminal window
# List your workflows
curl -H "Authorization: Bearer mify_your_api_key" \
https://your-instance/api/graphs
# Create a workflow
curl -X POST \
-H "Authorization: Bearer mify_your_api_key" \
-H "Content-Type: application/json" \
-d '{"name": "My API Workflow"}' \
https://your-instance/api/graphs
Terminal window
# 1. List templates
curl -H "Authorization: Bearer mify_xxx" \
https://your-instance/api/templates
# 2. Get a specific template
curl -H "Authorization: Bearer mify_xxx" \
https://your-instance/api/templates/rag-qa
# 3. Create a graph from the template
curl -X POST \
-H "Authorization: Bearer mify_xxx" \
-H "Content-Type: application/json" \
-d '{"name": "My RAG Pipeline", "templateId": "rag-qa"}' \
https://your-instance/api/graphs
  1. Create an API key in Settings → API Keys
  2. Use curl or Postman to list your graphs
  3. Create a new graph via API
  4. View it in the Canvas UI to confirm it was created

Next: Chapter 2 — Building a RAG Pipeline