Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
CRUD endpoints for context snippets
GET /api/projects/:projectId/snippets
[ { "id": 1, "projectId": 1, "name": "Code Style", "content": "Use TypeScript strict mode...", "enabled": true, "createdAt": "2025-01-15T10:00:00Z" } ]
GET /api/projects/:projectId/snippets/:id
POST /api/projects/:projectId/snippets Content-Type: application/json
{ "name": "Code Style", "content": "Use TypeScript strict mode.\nPrefer functional components.\nUse named exports.", "enabled": true }
name
content
enabled
true
PUT /api/projects/:projectId/snippets/:id Content-Type: application/json
{ "enabled": false }
DELETE /api/projects/:projectId/snippets/:id