--- title: API Documentation Index version: 1.0 date: 2026-10-24 author: Core Team status: Active --- # API Documentation Index Complete API reference for Momentry Core. All endpoints are documented with request/response formats, examples, and error handling. --- ## 📋 Module Overview ### Core APIs (01-19) | Module | File | Description | |--------|------|-------------| | **01** | [auth](auth.md) | Authentication - login, logout, JWT, API key | | **02** | [health](health.md) | Health check endpoints | | **03** | [register](register.md) | File registration | | **04** | [lookup](modules/04_lookup.md) | File lookup and metadata | | **05** | [process](process.md) | Video processing pipeline | | **06** | [search](search.md) | Search operations | | **07** | [identity](identity.md) | Identity management | | **08** | [identity_agent](modules/08_identity_agent.md) | Identity agent operations | | **08** | [media](modules/08_media.md) | Media access and proxy | | **09** | [tmdb](modules/09_tmdb.md) | TMDb integration | | **10** | [pipeline](modules/10_pipeline.md) | Pipeline management | | **11** | [error_codes](modules/11_error_codes.md) | Error code reference | | **12** | [agent](modules/12_agent.md) | Agent API | | **13** | [config](modules/13_config.md) | Configuration management | | **14** | [identity_history](modules/14_identity_history.md) | Identity history tracking | | **15** | [tkg](modules/15_tkg.md) | Temporal Knowledge Graph | | **16** | [workspace](modules/16_workspace.md) | Workspace management | | **17** | [progress](modules/17_progress.md) | Progress tracking | | **18** | [profile](modules/18_profile.md) | File profile and metadata | | **19** | [people_api](modules/19_people_api.md) | People management API | --- ### New APIs (20-24) | Module | File | Description | Status | |--------|------|-------------|--------| | **20** | [service_management_api](service_management.md) | Service start/stop/health | ✅ P0 - Critical | | **21** | [monitor_api](monitor.md) | Queue/Worker/Pipeline monitoring | ✅ P1 - Important | | **22** | [trace_agent_api](modules/22_trace_agent_api.md) | Trace and TKG operations | ✅ P1 - Important | | **23** | [vlm_search_api](vlm_search.md) | Vision Language Model search | ✅ P1 - Important | | **24** | [pose_appearance_api](modules/24_pose_appearance_api.md) | Pose keypoints and appearance colors | ✅ P2 - Standard | --- ### Studio Team Guides (21-26) | Module | File | Description | |--------|------|-------------| | **21** | [studio_team_guide.md](modules/21_studio_team_guide.md) | Integration guide for Studio team | | **22** | [studio_pipeline_changes.md](modules/22_studio_pipeline_changes.md) | Pipeline changes documentation | | **23** | [studio_face_group_name_fix.md](modules/23_studio_face_group_name_fix.md) | Face group name fix guide | | **24** | [studio_trace_profile_read_write_bug.md](modules/24_studio_trace_profile_read_write_bug.md) | Trace profile bug documentation | | **25** | [face_filter_api.md](modules/25_face_filter_api.md) | Face filtering API | | **26** | [trace_thumbnail_regenerate.md](modules/26_trace_thumbnail_regenerate.md) | Thumbnail regeneration | --- ### Additional Modules | File | Description | |------|-------------| | [scene_vlm_stats_api.md](modules/scene_vlm_stats_api.md) | Scene VLM statistics API | | [99_incomplete.md](modules/99_incomplete.md) | Incomplete features reference | | [_template.md](modules/_template.md) | Documentation template | --- ## 🔍 Quick Reference by Category ### Authentication & Security - [Auth API](modules/01_auth.md) - Login, logout, JWT tokens, API keys ### File Operations - [Register](modules/03_register.md) - Register new files - [Lookup](modules/04_lookup.md) - File metadata and lookup - [Process](modules/05_process.md) - Video processing - [Profile](modules/18_profile.md) - File profile ### Search & Query - [Search](modules/06_search.md) - General search - [VLM Search](modules/23_vlm_search_api.md) - Vision Language Model search - [TKG](modules/15_tkg.md) - Temporal Knowledge Graph ### Identity & People - [Identity](modules/07_identity.md) - Identity management - [Identity Agent](modules/08_identity_agent.md) - Agent operations - [Identity History](modules/14_identity_history.md) - History tracking - [People API](modules/19_people_api.md) - People management - [Trace Agent](modules/22_trace_agent_api.md) - Trace operations - [Pose & Appearance](modules/24_pose_appearance_api.md) - Pose and appearance data ### System & Monitoring - [Health](modules/02_health.md) - Health checks - [Service Management](modules/20_service_management_api.md) - Service control - [Monitor](modules/21_monitor_api.md) - System monitoring - [Progress](modules/17_progress.md) - Progress tracking - [Pipeline](modules/10_pipeline.md) - Pipeline management ### Media & Content - [Media](modules/08_media.md) - Media access - [TMDb](modules/09_tmdb.md) - TMDb integration ### Configuration & Management - [Config](modules/13_config.md) - Configuration - [Workspace](modules/16_workspace.md) - Workspace management - [Agent](modules/12_agent.md) - Agent API --- ## 📖 Usage Guidelines ### Authentication Most API endpoints require authentication via API key: ```bash curl -H "X-API-Key: your-api-key" \ http://localhost:3002/api/v1/... ``` See [Auth API](modules/01_auth.md) for details. ### Base URLs | Environment | Base URL | |------------|----------| | Production | `http://localhost:3002` | | External | `https://m5api.momentry.ddns.net` | | Development | `http://localhost:3003` | ### Common Patterns #### File Processing 1. Register file: `POST /api/v1/register` 2. Process file: `POST /api/v1/process` 3. Check progress: `GET /api/v1/progress/{file_uuid}` 4. Search results: `GET /api/v1/search` #### Identity Management 1. List identities: `GET /api/v1/identities` 2. Bind faces: `POST /api/v1/identities/{identity_uuid}/bind` 3. Search identities: `GET /api/v1/search/identities` --- ## 🔧 Development ### Adding New Endpoints 1. Use [_template.md](modules/_template.md) 2. Follow naming convention: `NN_topic.md` 3. Add YAML frontmatter 4. Include complete examples 5. Add to this index ### Documentation Standards All modules must include: - ✅ YAML frontmatter - ✅ Module metadata (module, description, depends) - ✅ Endpoint documentation with examples - ✅ Error codes - ✅ Version history --- ## 📊 Statistics | Metric | Count | |--------|-------| | **Total API Modules** | 31 | | **Core APIs** | 20 | | **New APIs** | 5 | | **Studio Guides** | 6 | | **Total Endpoints** | 100+ | --- ## Version History | Version | Date | Changes | |---------|------|---------| | 1.0 | 2026-10-24 | Initial comprehensive API index | --- **Last Updated**: 2026-10-24 **Maintained By**: Core Team