The Platform API

Live Streams

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

Live Streams

Manage live streams (RTSP cameras or HLS URLs) for real-time video analysis.

GET/api/v1/projects/:projectId/streamsList streams

List streams

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

POST/api/v1/projects/:projectId/streamsCreate live stream (RTSP or HLS URL)

Create live stream (RTSP or HLS URL)

{ "rtspUrl": "rtsp://camera.local/stream1", "name": "Front Door" }
GET/api/v1/projects/:projectId/streams/:streamId/statusGet stream status

Get stream status

Send the request to https://platform.endlessai.com/api/v1/projects/:projectId/streams/:streamId/status using your project key or user token.

DELETE/api/v1/projects/:projectId/streams/:streamIdStop and delete stream

Stop and delete stream

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