Skip to navigation

This page provides the complete API reference for the Real-Time Embedding Microservice.

Base URL

The microservice provides the following API endpoints:

  • Swagger UI: http://<host>:<port>/docs
  • OpenAPI JSON: http://<host>:<port>/openapi.json

Endpoint catalog

EndpointMethodDescription
/v1/metricsGETGet Prometheus-format RTVI metrics
/v1/readyGETGet RTVI Embed Microservice readiness status
/v1/liveGETGet RTVI Embed Microservice liveness status
/v1/startupGETGet RTVI Embed Microservice startup status
/v1/assets/statsGETGet asset storage statistics
/v1/metadataGETGet RTVI Embed Microservice metadata
/v1/filesPOSTUpload a media file or register media by path
/v1/filesGETList uploaded files
/v1/files/{file_id}DELETEDelete a file
/v1/files/{file_id}GETGet file information
/v1/files/{file_id}/contentGETGet file content
/v1/streams/addPOSTAdd one or more live streams
/v1/streams/get-stream-infoGETList live streams
/v1/streams/delete/{stream_id}DELETERemove a live stream
/v1/streams/delete-batchDELETERemove multiple live streams
/v1/stream/addPOSTAdd a stream using the RTVI-CV compatible format
/v1/stream/removePOSTRemove a stream using the RTVI-CV compatible format
/v1/stream/get-stream-infoGETList streams using the RTVI-CV compatible format
/v1/camera/addPOSTAdd a stream using the SDR/VIOS-compatible camera event format
/v1/camera/streamingPUTStart streaming using the SDR/VIOS-compatible camera event format
/v1/camera/removePOST, DELETERemove a stream using the SDR/VIOS-compatible camera event format
/api/v1/camera/addPOSTAdd a stream using the SDR/VIOS-compatible camera event format
/api/v1/camera/streamingPUTStart streaming using the SDR/VIOS-compatible camera event format
/api/v1/camera/removePOST, DELETERemove a stream using the SDR/VIOS-compatible camera event format
/v1/modelsGETList available models
/v1/generate_video_embeddingsPOSTGenerate embeddings for a video, image, or live stream
/v1/generate_video_embeddings/{stream_id}DELETEStop live stream embedding generation
/v1/generate_text_embeddingsPOSTGenerate embeddings for text input
/v1/versionGETGet release and API versions
/v1/manifestGETGet service manifest information