DELETE /api/v1/session//documentation
Deletes all documentation items from the session. This removes all scraped and uploaded documentation chunks but preserves the session itself and other session data.Path Parameters
The UUID of the session to delete documentation from
Response
Success message indicating documentation was deleted
The session UUID
The number of documentation items that were deleted
Example Request
Example Response
Error Responses
Session not found
Notes
- This operation deletes all documentation items (chunks) from the session
- The session itself remains intact with all other data preserved
- Extraction results (object classes, attributes, etc.) derived from the documentation are not automatically deleted
- To start fresh with new documentation, delete the old documentation first, then upload or scrape new docs
Use Cases
- Clear documentation before uploading a new version
- Remove irrelevant scraped documentation
- Reset the session to start the workflow over with different documentation
- Clean up test data
Related Endpoints
- Upload Documentation - Add new documentation after deletion
- Get Documentation - View documentation before deletion
- Delete Session - Delete the entire session including all data