The Platform API

Chat Sessions

Manage your videos, ask questions, and build applications with the Platform API. Explore the operations below for request details, responses, and examples.

Chat Sessions

Persistent chat sessions for multi-turn conversations with the AI agent. Sessions preserve message history across page loads.

GET/api/v1/projects/:projectId/chat-sessionsList chat sessions

List chat sessions

Send the request to https://platform.endlessai.com/api/v1/projects/:projectId/chat-sessions using your project key or user token.

POST/api/v1/projects/:projectId/chat-sessionsCreate chat session

Create chat session

{ "title": "Analysis discussion" }
GET/api/v1/projects/:projectId/chat-sessions/:sessionIdGet session with messages

Get session with messages

Send the request to https://platform.endlessai.com/api/v1/projects/:projectId/chat-sessions/:sessionId using your project key or user token.

PUT/api/v1/projects/:projectId/chat-sessions/:sessionIdUpdate session

Update session

{ "title": "Updated title" }
DELETE/api/v1/projects/:projectId/chat-sessions/:sessionIdDelete session

Delete session

Send the request to https://platform.endlessai.com/api/v1/projects/:projectId/chat-sessions/:sessionId using your project key or user token.