### Configure Environment Variables Source: https://github.com/video-db/director/blob/main/docs/get_started/install.md Copies example environment files for the backend and frontend and advises users to edit them with specific configuration options and API keys. ```bash cp backend/.env.example backend/.env cp frontend/.env.example frontend/.env ``` -------------------------------- ### Execute Setup Script for Environment Configuration Source: https://github.com/video-db/director/blob/main/docs/get_started/install.md Runs the setup script to install Node Version Manager (nvm), Node.js, Python, pip, and dependencies for both frontend and backend. This script is designed for Mac and Linux platforms. ```bash ./setup.sh ``` -------------------------------- ### Run Full Application (Backend and Frontend) Source: https://github.com/video-db/director/blob/main/docs/get_started/install.md Starts both the backend server (on http://127.0.0.1:8000) and the frontend development server (on http://127.0.0.1:8080). ```bash make run ``` -------------------------------- ### Run Only Backend Server Source: https://github.com/video-db/director/blob/main/docs/get_started/install.md Starts only the backend server for the Director project. ```bash make run-be ``` -------------------------------- ### Run Only Frontend Development Server Source: https://github.com/video-db/director/blob/main/docs/get_started/install.md Starts only the frontend development server for the Director project. ```bash make run-fe ``` -------------------------------- ### Clone Director Repository and Navigate Source: https://github.com/video-db/director/blob/main/docs/get_started/install.md Clones the Director project from GitHub and changes the current directory to the project root. This is the first step in setting up the project locally. ```bash git clone https://github.com/video-db/Director.git cd Director ``` -------------------------------- ### Initialize SQLite Database Source: https://github.com/video-db/director/blob/main/docs/get_started/install.md Initializes the default SQLite database file within the backend directory. No further configuration is needed for SQLite. ```bash make init-sqlite-db ``` -------------------------------- ### Clone Repository and Setup Source: https://github.com/video-db/director/blob/main/README.md Instructions for cloning the Director repository and running the setup script to install dependencies and configure environments. ```bash git clone https://github.com/video-db/Director.git cd Director ./setup.sh ``` -------------------------------- ### Serve Director Documentation Locally Source: https://github.com/video-db/director/blob/main/README.md This command serves the project's documentation on localhost:9000. It first activates the virtual environment, installs backend dependencies, and then starts the mkdocs server. ```bash source backend/venv/bin/activate make install-be mkdocs serve -a localhost:9000 ``` -------------------------------- ### Serve Documentation Locally Source: https://github.com/video-db/director/blob/main/docs/README.md Starts a local MkDocs server to preview the documentation on port 9000. ```bash mkdocs serve -a localhost:9000 ``` -------------------------------- ### Install Project Dependencies Source: https://github.com/video-db/director/blob/main/docs/README.md Installs the necessary backend dependencies for the project using a Makefile. ```bash make install-be ``` -------------------------------- ### Serve Documentation from Backend Directory Source: https://github.com/video-db/director/blob/main/docs/README.md Starts a local MkDocs server from the backend directory, specifying the mkdocs.yml configuration file and port. ```bash mkdocs serve -f ../mkdocs.yml -a localhost:9000 ``` -------------------------------- ### Install Dependencies Source: https://github.com/video-db/director/blob/main/frontend/README.md Installs the necessary Node.js dependencies for the frontend project. This command is essential before running or building the application. ```bash npm install ``` -------------------------------- ### Python Virtual Environment Setup Source: https://github.com/video-db/director/blob/main/backend/README.md Steps to create and activate a Python virtual environment for development. This isolates project dependencies. ```bash python -m venv venv source venv/bin/activate ``` -------------------------------- ### Install Python Dependencies Source: https://github.com/video-db/director/blob/main/backend/README.md Commands to install project dependencies using pip from requirements files. This includes core dependencies and development-specific ones. ```bash pip install -r requirements.txt pip install -r requirements-dev.txt ``` -------------------------------- ### Run Director Application Source: https://github.com/video-db/director/blob/main/README.md Commands to start the backend and frontend servers for the Director application, or to run them individually. ```bash make run # Backend: http://127.0.0.1:8000 # Frontend: http://127.0.0.1:8080 # Run backend only: make run-be # Run frontend only: make run-fe ``` -------------------------------- ### Run Frontend Development Server Source: https://github.com/video-db/director/blob/main/frontend/README.md Starts the Vite development server for the Director Frontend. This command allows for local development and testing of the application. ```bash make run-fe ``` ```bash make run ``` -------------------------------- ### Make Commands for Development Source: https://github.com/video-db/director/blob/main/backend/README.md Utility commands provided via a Makefile for common development tasks such as database initialization, dependency installation, and running the development server. ```bash make init-sqlite-db make install make run ``` -------------------------------- ### Python Agent Implementation Example Source: https://github.com/video-db/director/blob/main/README.md Guidelines for creating a new agent in Director, including copying a template, updating class details, implementing logic, handling output, and registering the agent. ```python # 1. Copy the template: Duplicate `sample_agent.py` in `Director/backend/director/agents/` and rename it. # 2. Update class details: # - Rename the class. # - Update `agent_name` and `description` # 3. Implement logic: # - Update parameters and `docstring` # - Implement your agent's logic # - Update the run() method. # 4. Handle output and status updates: # - Use appropriate content types (TextContent, VideoContent, ImageContent, SearchResultContent) # - Update `self.output_message.actions` for progress indicators # - Use `push_update()` to emit progress events # - Set content status (progress, success, error) and messages # 5. Implement error handling: # - Set error status and messages if issues occur # 6. Finalize the response: # - Call `self.output_message.publish()` to emit final state and persist session # - Return an `AgentResponse` with result, message, and data # 7. Register the agent: # - Import your new agent class in `Director/backend/director/handler.py` # - Add it to the `self.agents` list in `ChatHandler` ``` -------------------------------- ### Run Python Development Server Source: https://github.com/video-db/director/blob/main/backend/README.md Command to start the Flask development server for the Director Backend. This allows for local testing and development. ```bash python director/entrypoint/api/server.py ``` -------------------------------- ### GET /videodb/collection Source: https://github.com/video-db/director/blob/main/docs/server/api.md Retrieves a list of all collections available in VideoDB. Each collection represents a grouping of videos. ```APIDOC ## GET /videodb/collection ### Description Retrieves a list of all collections available in VideoDB. Each collection represents a grouping of videos. ### Method GET ### Endpoint /videodb/collection ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **description** (string) - A description of the collection. - **id** (string) - The unique identifier for the collection. - **name** (string) - The name of the collection. #### Response Example ```json [ { "description": "Test collection", "id": "c-**", "name": "Ankit Raj's collection" }, { "description": "Test1 collection", "id": "c-**", "name": "Ankit Raj's collection" } ] ``` ``` -------------------------------- ### GET /config/check Source: https://github.com/video-db/director/blob/main/docs/server/api.md Checks the current configuration status of the VideoDB system, indicating whether the database, LLM, and VideoDB services are configured. ```APIDOC ## GET /config/check ### Description Checks the current configuration status of the VideoDB system, indicating whether the database, LLM, and VideoDB services are configured. ### Method GET ### Endpoint /config/check ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **db_configured** (boolean) - Indicates if the database is configured. - **llm_configured** (boolean) - Indicates if the Large Language Model (LLM) is configured. - **videodb_configured** (boolean) - Indicates if the VideoDB service itself is configured. #### Response Example ```json { "db_configured": true, "llm_configured": true, "videodb_configured": true } ``` ``` -------------------------------- ### GET /session/:session_id Source: https://github.com/video-db/director/blob/main/docs/server/api.md Retrieves a specific session by its ID. This includes the entire conversation history within that session. ```APIDOC ## GET /session/:session_id ### Description Retrieves a specific session by its ID. This includes the entire conversation history within that session. ### Method GET ### Endpoint /session/:session_id ### Parameters #### Path Parameters - **session_id** (string) - Required - The unique identifier of the session to retrieve. #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **collection_id** (string) - The ID of the collection associated with the session. - **conversation** (array) - An array of conversation turns, each containing agent actions, content, and status. - **created_at** (integer) - The timestamp when the session was created. - **metadata** (object) - Additional metadata for the session. - **session_id** (string) - The unique identifier for the session. - **updated_at** (integer) - The timestamp when the session was last updated. - **video_id** (string) - The ID of the video associated with the session. #### Response Example ```json { "collection_id": "c-**", "conversation": [ { "actions": [], "agents": [], "content": [ { "text": "No of video in my collection?", "type": "text" } ], "conv_id": "b36c0a31-3c95-4f48-a1aa-daad351a30c3", "created_at": 1729852558, "metadata": {}, "msg_id": "1b753948-3672-446d-a7ab-ecd623d4244a", "msg_type": "input", "session_id": "33a41576-ffb3-4cec-993c-eedd728c21ac", "status": "success", "updated_at": 1729852558 }, { "actions": [ "Reasoning the message.." ], "agents": [], "content": [ { "agent_name": null, "status": "success", "status_message": "Here is the summary of the response", "text": "There are 36 videos in your collection.", "type": "text" } ], "conv_id": "b36c0a31-3c95-4f48-a1aa-daad351a30c3", "created_at": 1729852562, "metadata": {}, "msg_id": "172985255862403.2", "msg_type": "output", "session_id": "33a41576-ffb3-4cec-993c-eedd728c21ac", "status": "success", "updated_at": 1729852562 } ], "created_at": 1729852558, "metadata": {}, "session_id": "33a41576-ffb3-4cec-993c-eedd728c21ac", "updated_at": 1729852558, "video_id": null } ``` ``` -------------------------------- ### GET /agent Source: https://github.com/video-db/director/blob/main/docs/server/api.md Retrieves a list of available agents and their descriptions. These agents perform specific tasks related to video processing and information retrieval. ```APIDOC ## GET /agent ### Description Retrieves a list of available agents and their descriptions. These agents perform specific tasks related to video processing and information retrieval. ### Method GET ### Endpoint /agent ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **description** (string) - A description of the agent's functionality. - **name** (string) - The name of the agent. #### Response Example ```json [ { "description": "This is an agent to summarize the given video of VideoDB.", "name": "summary" }, { "description": "Get the download URLs of the VideoDB generated streams.", "name": "download" }, { "description": "Agent to get information about the VideoDB pricing and usage.", "name": "pricing" } ] ``` ``` -------------------------------- ### GET /videodb/collection/:collection_id/video/:video_id Source: https://github.com/video-db/director/blob/main/docs/server/api.md Retrieves details for a specific video within a given collection. This includes comprehensive information about the video. ```APIDOC ## GET /videodb/collection/:collection_id/video/:video_id ### Description Retrieves details for a specific video within a given collection. This includes comprehensive information about the video. ### Method GET ### Endpoint /videodb/collection/:collection_id/video/:video_id ### Parameters #### Path Parameters - **collection_id** (string) - Required - The ID of the collection containing the video. - **video_id** (string) - Required - The unique identifier of the video to retrieve. #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **collection_id** (string) - The ID of the collection the video belongs to. - **description** (string) - The description of the video (can be null). - **id** (string) - The unique identifier for the video. - **length** (number) - The duration of the video in seconds. - **name** (string) - The name of the video. - **stream_url** (string) - The URL for streaming the video. - **thumbnail_url** (string) - The URL for the video's thumbnail (can be null). #### Response Example ```json { "collection_id": "c-**", "description": null, "id": "m-**", "length": 1247.468844, "name": "Test video", "stream_url": "https://stream.videodb.io/v3/published/manifests/test.m3u8", "thumbnail_url": null } ``` ``` -------------------------------- ### GET /session Source: https://github.com/video-db/director/blob/main/docs/server/api.md Retrieves a list of all recorded sessions within VideoDB. Each session contains information about its associated collection, creation time, and video. ```APIDOC ## GET /session ### Description Retrieves a list of all recorded sessions within VideoDB. Each session contains information about its associated collection, creation time, and video. ### Method GET ### Endpoint /session ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **collection_id** (string) - The ID of the collection associated with the session. - **created_at** (integer) - The timestamp when the session was created. - **metadata** (object) - Additional metadata for the session. - **session_id** (string) - The unique identifier for the session. - **updated_at** (integer) - The timestamp when the session was last updated. - **video_id** (string) - The ID of the video associated with the session. #### Response Example ```json [ { "collection_id": "c-**", "created_at": 1729092742, "metadata": {}, "session_id": "52881f6b-7560-4844-ac35-52af41d07ab8", "updated_at": 1729092742, "video_id": "m-**" }, { "collection_id": "c-**", "created_at": 1729092642, "metadata": {}, "session_id": "6bf075a7-e7d4-4aba-985c-4cf0d3dc6f5b", "updated_at": 1729092642, "video_id": "m-**" } ] ``` ``` -------------------------------- ### GET /agent: Retrieve Agent Information (JSON) Source: https://github.com/video-db/director/blob/main/docs/server/api.md Fetches information about available agents. The response is a JSON array, where each object describes an agent by its name and a brief description of its functionality. ```json [ { "description": "This is an agent to summarize the given video of VideoDB.", "name": "summary" }, { "description": "Get the download URLs of the VideoDB generated streams.", "name": "download" }, { "description": "Agent to get information about the VideoDB pricing and usage.", "name": "pricing" } ] ``` -------------------------------- ### GET /config/check: Check System Configuration (JSON) Source: https://github.com/video-db/director/blob/main/docs/server/api.md Checks the current system configuration status. The response is a JSON object indicating whether the database, LLM, and VideoDB components are configured. ```json { "db_configured": true, "llm_configured": true, "videodb_configured": true } ``` -------------------------------- ### GET /videodb/collection/:collection_id Source: https://github.com/video-db/director/blob/main/docs/server/api.md Retrieves details of a specific collection identified by its collection ID. This includes the collection's name and description. ```APIDOC ## GET /videodb/collection/:collection_id ### Description Retrieves details of a specific collection identified by its collection ID. This includes the collection's name and description. ### Method GET ### Endpoint /videodb/collection/:collection_id ### Parameters #### Path Parameters - **collection_id** (string) - Required - The unique identifier of the collection to retrieve. #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **description** (string) - A description of the collection. - **id** (string) - The unique identifier for the collection. - **name** (string) - The name of the collection. #### Response Example ```json { "description": "Test collection", "id": "c-**", "name": "Ankit Raj's collection" } ``` ``` -------------------------------- ### GET /videodb/collection: List All Collections (JSON) Source: https://github.com/video-db/director/blob/main/docs/server/api.md Retrieves a list of all collections in VideoDB. The response is a JSON array, where each object represents a collection with its ID, name, and description. ```json [ { "description": "Test collection", "id": "c-**", "name": "Ankit Raj's collection" }, { "description": "Test1 collection", "id": "c-**", "name": "Ankit Raj's collection" } ] ``` -------------------------------- ### GET /videodb/collection/:collection_id/video Source: https://github.com/video-db/director/blob/main/docs/server/api.md Retrieves a list of all videos within a specified collection. Each video entry includes its ID, name, length, and stream URLs. ```APIDOC ## GET /videodb/collection/:collection_id/video ### Description Retrieves a list of all videos within a specified collection. Each video entry includes its ID, name, length, and stream URLs. ### Method GET ### Endpoint /videodb/collection/:collection_id/video ### Parameters #### Path Parameters - **collection_id** (string) - Required - The ID of the collection whose videos are to be retrieved. #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **collection_id** (string) - The ID of the collection the video belongs to. - **description** (string) - The description of the video (can be null). - **id** (string) - The unique identifier for the video. - **length** (number) - The duration of the video in seconds. - **name** (string) - The name of the video. - **stream_url** (string) - The URL for streaming the video. - **thumbnail_url** (string) - The URL for the video's thumbnail (can be null). #### Response Example ```json [ { "collection_id": "c-**", "description": null, "id": "m-**", "length": 1247.468844, "name": "Test video", "stream_url": "https://stream.videodb.io/v3/published/manifests/test.m3u8", "thumbnail_url": null }, { "collection_id": "c-**", "description": null, "id": "m-**", "length": 155.620136, "name": "Test video", "stream_url": "https://stream.videodb.io/v3/published/manifests/test.m3u8", "thumbnail_url": null } ] ``` ``` -------------------------------- ### GET /session: List All Sessions (JSON) Source: https://github.com/video-db/director/blob/main/docs/server/api.md Retrieves a list of all active sessions. The response is a JSON array containing session objects, each including details like collection ID, creation and update timestamps, and the associated video ID. ```json [ { "collection_id": "c-**", "created_at": 1729092742, "metadata": {}, "session_id": "52881f6b-7560-4844-ac35-52af41d07ab8", "updated_at": 1729092742, "video_id": "m-**" }, { "collection_id": "c-**", "created_at": 1729092642, "metadata": {}, "session_id": "6bf075a7-e7d4-4aba-985c-4cf0d3dc6f5b", "updated_at": 1729092642, "video_id": "m-**" } ] ``` -------------------------------- ### GET /videodb/collection/:collection_id: Retrieve Specific Collection (JSON) Source: https://github.com/video-db/director/blob/main/docs/server/api.md Fetches details for a specific VideoDB collection identified by its ID. The response provides the collection's description, ID, and name. ```json { "description": "Test collection", "id": "c-**", "name": "Ankit Raj's collection" } ``` -------------------------------- ### GET /session/:session_id: Retrieve Specific Session (JSON) Source: https://github.com/video-db/director/blob/main/docs/server/api.md Fetches details for a specific session identified by its ID. The response includes session metadata, creation and update times, and a conversation history array with message content and agent actions. ```json { "collection_id": "c-**", "conversation": [ { "actions": [], "agents": [], "content": [ { "text": "No of video in my collection?", "type": "text" } ], "conv_id": "b36c0a31-3c95-4f48-a1aa-daad351a30c3", "created_at": 1729852558, "metadata": {}, "msg_id": "1b753948-3672-446d-a7ab-ecd623d4244a", "msg_type": "input", "session_id": "33a41576-ffb3-4cec-993c-eedd728c21ac", "status": "success", "updated_at": 1729852558 }, { "actions": [ "Reasoning the message.." ], "agents": [], "content": [ { "agent_name": null, "status": "success", "status_message": "Here is the summary of the response", "text": "There are 36 videos in your collection.", "type": "text" } ], "conv_id": "b36c0a31-3c95-4f48-a1aa-daad351a30c3", "created_at": 1729852562, "metadata": {}, "msg_id": "172985255862403.2", "msg_type": "output", "session_id": "33a41576-ffb3-4cec-993c-eedd728c21ac", "status": "success", "updated_at": 1729852562 } ], "created_at": 1729852558, "metadata": {}, "session_id": "33a41576-ffb3-4cec-993c-eedd728c21ac", "updated_at": 1729852558, "video_id": null } ``` -------------------------------- ### GET /videodb/collection/:collection_id/video/:video_id: Retrieve Specific Video (JSON) Source: https://github.com/video-db/director/blob/main/docs/server/api.md Fetches details for a specific video within a collection, identified by both collection and video IDs. The response includes video metadata such as ID, name, length, stream URL, and collection ID. ```json { "collection_id": "c-**", "description": null, "id": "m-**", "length": 1247.468844, "name": "Test video", "stream_url": "https://stream.videodb.io/v3/published/manifests/test.m3u8", "thumbnail_url": null } ``` -------------------------------- ### GET /videodb/collection/:collection_id/video: List Videos in Collection (JSON) Source: https://github.com/video-db/director/blob/main/docs/server/api.md Retrieves a list of all videos within a specified collection. The response is a JSON array, with each object detailing a video's ID, name, length, stream URL, and associated collection ID. ```json [ { "collection_id": "c-**", "description": null, "id": "m-**", "length": 1247.468844, "name": "Test video", "stream_url": "https://stream.videodb.io/v3/published/manifests/test.m3u8", "thumbnail_url": null }, { "collection_id": "c-**", "description": null, "id": "m-**", "length": 155.620136, "name": "Test video", "stream_url": "https://stream.videodb.io/v3/published/manifests/test.m3u8", "thumbnail_url": null } ] ``` -------------------------------- ### Build Documentation Source: https://github.com/video-db/director/blob/main/docs/README.md Builds the static HTML documentation for the project, creating a 'site' directory. ```bash mkdocs build ``` -------------------------------- ### Set up Python Virtual Environment Source: https://github.com/video-db/director/blob/main/docs/README.md Creates and activates a Python virtual environment for the project. This isolates project dependencies. ```bash python -m venv backend/venv source backend/venv/bin/activate ``` -------------------------------- ### Build and Run Docker Image Source: https://github.com/video-db/director/blob/main/backend/README.md Commands to build the Docker image for the Director Backend and run it as a container. The backend will be accessible at http://localhost:8000. ```bash docker build -t director-backend . docker run -p 8000:8000 director-backend ``` -------------------------------- ### Build Frontend for Deployment Source: https://github.com/video-db/director/blob/main/frontend/README.md Builds the Director Frontend project for production deployment. This command generates static files in the 'dist' directory, ready to be served by a web server. ```bash npm run build ``` -------------------------------- ### Deploy Service (CLI) Source: https://github.com/video-db/director/blob/main/docs/get_started/railway.md Initiates the deployment of the linked service to Railway. This command uploads your code and builds/deploys the service. ```bash railway up ``` -------------------------------- ### Clone Director Repository (CLI) Source: https://github.com/video-db/director/blob/main/docs/get_started/railway.md Clones the Video DB Director repository from GitHub to your local machine. This is the first step for deployment using the Railway CLI. ```bash git clone https://github.com/video-db/Director ``` -------------------------------- ### Link Project and Service (CLI) Source: https://github.com/video-db/director/blob/main/docs/get_started/railway.md Links your current directory (representing a service) to a specific project and service within your Railway account. This is required before deploying. ```bash railway link ``` -------------------------------- ### Backend Environment Variable Configuration Source: https://github.com/video-db/director/blob/main/docs/get_started/render.md Sets the API key for the Director backend service. This variable is essential for the backend to authenticate with the video database API. ```shell VIDEO_DB_API_KEY="your_video_db_api_key" ``` -------------------------------- ### Configure Frontend Environment Variable (Web Template) Source: https://github.com/video-db/director/blob/main/docs/get_started/railway.md Sets the `VITE_APP_BACKEND_URL` environment variable for the frontend service when deploying via the Railway web template. This links the frontend to the deployed backend. ```bash VITE_APP_BACKEND_URL="placeholder" ``` -------------------------------- ### Frontend Environment Variable Configuration Source: https://github.com/video-db/director/blob/main/docs/get_started/render.md Sets the backend service URL for the Director frontend application. This variable allows the frontend to communicate with the deployed backend. ```shell VITE_APP_BACKEND_URL="deployed_backend_service_public_url" ``` -------------------------------- ### Git Workflow for Contributions Source: https://github.com/video-db/director/blob/main/docs/get_started/contributing.md Standard Git commands for contributing to the Director project. This workflow ensures organized and trackable code changes. ```bash git checkout -b feature/AmazingFeature ``` ```bash git commit -m 'Add some AmazingFeature' ``` ```bash git push origin feature/AmazingFeature ``` -------------------------------- ### Login to Railway CLI Source: https://github.com/video-db/director/blob/main/docs/get_started/railway.md Authenticates your local machine with your Railway account using the CLI. This allows the CLI to manage your Railway deployments. ```bash railway login ``` -------------------------------- ### Navigate to Repository Directory (CLI) Source: https://github.com/video-db/director/blob/main/docs/get_started/railway.md Changes the current directory to the root of the cloned Director repository. This is necessary to run subsequent CLI commands. ```bash cd Director ``` -------------------------------- ### DELETE /session/:session_id: Delete Session (JSON) Source: https://github.com/video-db/director/blob/main/docs/server/api.md Deletes a specified session. The response confirms the successful deletion with a simple JSON message. ```json { "message": "Session deleted successfully." } ``` -------------------------------- ### DELETE /session/:session_id Source: https://github.com/video-db/director/blob/main/docs/server/api.md Deletes a specific session identified by its session ID. This action permanently removes the session and its associated data. ```APIDOC ## DELETE /session/:session_id ### Description Deletes a specific session identified by its session ID. This action permanently removes the session and its associated data. ### Method DELETE ### Endpoint /session/:session_id ### Parameters #### Path Parameters - **session_id** (string) - Required - The unique identifier of the session to delete. #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **message** (string) - A confirmation message indicating successful deletion. #### Response Example ```json { "message": "Session deleted successfully." } ``` ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.