curl -X POST $URL/api/collections/medicina/query \
-H "Authorization: Bearer $SECRET" \
-d '{"text":"diagnóstico","k":3}'
→ {"hits":[{"score":0.89,"doc":…}]}
GET /api/collections // listar
POST /api/collections {name,docs} // crear
POST /api/collections/:name/docs {docs} // agregar (append)
PUT /api/collections/:name/docs/:id {md} // crear/editar (upsert)
DELETE /api/collections/:name/docs/:id // borrar un doc
DELETE /api/collections/:name // borrar la colección
POST /api/collections/:name/query {text,k} // consultar
GET /api/status // ¿pestaña lista?