API Reference
Michi REST API
Build custom integrations and automate your debt-aware planning workflow.
Authentication
All API endpoints require authentication via Supabase JWT tokens. Include your token in the Authorization: Bearer <token> header. Tokens are scoped to your organization with row-level security enforced at the database level.
/api/roadmapsList all roadmaps with their epics, milestones, and sprint associations.
Query Parameters
statusstringFilter by status: active, completed, archivedproject_iduuidFilter by project/api/roadmapsCreate a new roadmap with sprint length, buffer, and date range configuration.
Request Body
namestringRoadmap name (required)descriptionstringRoadmap descriptionstart_datedateStart date in ISO format (required)end_datedateEnd date in ISO format (required)sprint_length_daysintegerSprint length in days (default: 14)planning_buffer_percentagedecimalPlanning buffer % (default: 20)/api/sprintsList sprints with associated tasks, capacity, and debt sprint flags.
Query Parameters
roadmap_iduuidFilter by roadmapstatusstringFilter by status: planning, active, completed/api/sprintsCreate a new sprint with capacity allocation and debt sprint designation.
Request Body
namestringSprint name (required)roadmap_iduuidParent roadmap ID (required)start_datedateSprint start date (required)end_datedateSprint end date (required)total_capacityintegerTotal capacity in story pointsis_debt_sprintbooleanWhether this is a full debt sprint/api/tasksList tasks across sprints with type, priority, story points, and debt metadata.
Query Parameters
sprint_iduuidFilter by sprinttask_typestringFilter: feature, bug, debt, spike, chorestatusstringFilter: backlog, todo, in_progress, review, done/api/tasksCreate a task with type classification, story points, and optional debt metadata.
Request Body
titlestringTask title (required)task_typestringType: feature, bug, debt, spike, chore (required)sprint_iduuidSprint assignmentstory_pointsintegerStory point estimateprioritystringPriority: low, medium, high, criticaldebt_typestringDebt classification (for debt tasks)debt_impactstringImpact level: low, medium, highdebt_effortintegerEffort to fix in hours/api/projectsList projects with team associations, debt allocation, and sprint frequency.
Query Parameters
team_iduuidFilter by team/api/projectsCreate a project with custom debt allocation and sprint frequency settings.
Request Body
namestringProject name (required)descriptionstringProject descriptionteam_iduuidAssociated teamdebt_allocation_percentagedecimalDebt allocation % (default: 20)debt_sprint_frequencyintegerFull debt sprint every N sprints (default: 4)/api/settingsRetrieve user profile and organization settings.
/api/settingsUpdate user profile, notification preferences, and debt management settings.
Request Body
full_namestringUser display namecompanystringCompany namedefault_debt_allocationdecimalDefault debt allocation %debt_sprint_frequencyintegerDefault debt sprint frequencyai_planning_enabledbooleanEnable AI-powered planning featuresRate Limits
API requests are rate-limited to 100 requests per minute for Starter plans and 1,000 requests per minute for Pro and Enterprise plans. Rate limit headers are included in every response.
Need help with the API? Contact our team or check the documentation.