Chat API

Conversate with the LLM using a fixture-based prompt.

post
Header parameters
AuthorizationstringRequired

JWT token for authorization

Example: Bearer {jwt_token}
LanguagestringRequired

Language code (e.g., "en" for English)

Example: en
Body
PromptstringOptional

The prompt or question for the LLM

Example: Who is likely to score first?
CorrelationIdstringOptional

Correlation ID for tracking the request

Example: abc123xyz
ConversationSessionIdstringOptional

Identifier for the conversation session

Example: session_12345
Responses
200

Successfully received response from LLM

application/json
post
/chat/api/v2/chat

Retrieves supported LSports market IDs for conversation.

post
Header parameters
AuthorizationstringRequired

JWT token for authorization

Example: Bearer {jwt_token}
Body
Responses
200

Successfully retrieved list of supported LSports market IDs.

application/json
Responsestring[]

List of market IDs supported for conversation.

Example: ["52","1002","950"]
post
/chat/api/v2/suggestedquestions

Retrieve supported fixtures for conversation.

post
Header parameters
AuthorizationstringRequired

JWT token for authorization

Example: Bearer {jwt_token}
Body
Responses
200

Successfully retrieved supported fixtures for conversation.

application/json
post
/chat/api/v2/fixtures

Last updated

Was this helpful?