{"name":"Sophia's Writing Assistant","version":"1.0.0","endpoints":{"GET /":"This help message","GET /health":"Health check endpoint","POST /auth/login":"Authenticate and get bearer token","GET /auth/me":"Get current user profile","POST /task":"Create a new writing task","GET /tasks":"Get all writing tasks","GET /task/{task_id}":"Get status of a specific writing task","POST /books":"Create a new book","GET /books":"Get all books","GET /books/{book_id}":"Get a specific book","PUT /books/{book_id}":"Update a book","DELETE /books/{book_id}":"Delete a book","GET /books/{book_id}/chapters":"Get chapters for a book","POST /books/{book_id}/chapters":"Create a new chapter","PUT /books/{book_id}/chapters/{chapter_id}":"Update an existing chapter","POST /books/{book_id}/chapters/{chapter_id}/continue":"Continue a chapter by adding more content","DELETE /books/{book_id}/chapters/{chapter_id}":"Delete a chapter","GET /books/{book_id}/context":"Get smart context for a book","POST /files/upload":"Upload a file for a book","GET /files":"List files for a book","GET /files/{file_id}/content":"Get file content by id","DELETE /files/{file_id}":"Delete a file by id","GET /metrics/operations":"Get operation success/failure counters"}}