84-Slot Matrix Engine
vmtx_u_ / vmtx_p_
84-Slot Calendar Matrix, Peak Toggles & Auto-Schedule API واجهة مصفوفة الـ ٨٤ خانة، ساعات الذروة، والجدولة التلقائية
Query the full 7-day (1=Sun..7=Sat) × 12-slot (1=00:00..12=22:00) weekly matrix tree, auto-provision missing agendas, inspect occupancy metrics, toggle Golden Peak hours (is_peak_hour), move posts across coordinates, and auto-pack drafts.
استعلام مصفوفة الأسبوع (٧ أيام × ١٢ فترة = ٨٤ خانة) مع التوليد التلقائي للأجندة، وفحص نسب الإشغال وساعات الذروة، وتحريك المنشورات، وإزاحة الجداول أو توزيع المسودات آلياً.
GET
/api/v3/matrix
Query: project_id (strictly checked for vmtx_p_)
{
"success": true,
"data": {
"project": { "id": 1, "name": "Flagship SaaS" },
"project_id": 1,
"agenda": { "id": 14, "start_date": "2026-11-15", "end_date": "2026-11-21" },
"grid": { "1": { "10": { "id": 98, "day_of_week": 1, "time_slot": 10, "is_peak_hour": true, "posts": [] } } },
"slots": [ ... ],
"metrics": {
"total_slots": 84,
"occupied_slots": 16,
"occupancy_rate": 19.0,
"peak_cells": 24,
"scheduled_posts": 18
}
}
}
POST
/api/v3/matrix/move-post
Instant Slot Reassignment
Complete Matrix Grid Endpoints كافة نقاط نهاية المصفوفة
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v3/matrix/slots | Query individual slots filtered by day, peak, or occupancy |
| GET | /api/v3/matrix/stats | Occupancy rates, empty windows, and Golden Peak density |
| GET | /api/v3/matrix/export | Export complete 84-cell matrix tree & assigned posts as JSON |
| PATCH | /api/v3/matrix/slots/{id}/peak | Toggle is_peak_hour golden marker on a cell |
| POST | /api/v3/matrix/bulk-shift | Shift all scheduled posts forward or backward across the week |
| POST | /api/v3/matrix/auto-schedule | Pack unscheduled drafts automatically into open Peak Hour cells |