CREATED: 29-03-2025

LAST MODIFIED: 04-05-2025


BASE_URL = /api/llm/

Authentication

All endpoints require authentication via JWT Bearer Token

Headers

Header Type Required Description
Authorization string Yes Bearer token for authentication

Error Codes Reference

Code HTTP Status Description
VALIDATION_ERROR 400 Input validation failed
UNAUTHORIZED_ERROR 401 Missing / Invalid Token
NOT_FOUND 404 Could Not Find Road map with given details
SERVER_TIMEOUT 500 Could Not process the request in given time
FORBIDDEN_ERROR 403 Forbidden to access the resource

1. Generate Segments of a Timeline

This endpoint interacts with the LLM to generate a structured timeline based on user input. It dynamically adjusts based on the user's preferences