| Endpoint | Method | Auth | Description |
|---|---|---|---|
/api/inventory/context |
GET | Key | Full context blob for AI models. Add ?project=slug for project-specific context. |
/api/inventory/project/{slug} |
GET | Key | Complete project info with docs and inventory items. |
/api/inventory/create |
POST | Key | AI models submit a data inventory entry. Required: type, name. |
/api/inventory/bulk |
POST | Key | Bulk create inventory entries. Body: {"items": [...]} |
/api/inventory/list |
GET | Key | List inventory items. Filter: ?project=slug&type=type |
AI models will populate this via the API. Use POST /api/inventory/create to add entries.