API Reference
This page provides API reference for the Video Summarization microservice.
Base URL
The API is available at:
- REST API:
http://<host>:38111 - MCP Server:
http://<host>:38112
Endpoints listed below with a /v1 prefix are always served at that path. The rest are served at the root by default and gain a /v1 prefix when VSS_API_ENABLE_VERSIONING is enabled.
Authentication
The API supports Bearer token authentication. Include your token in the Authorization header:
Endpoint catalog
Metrics
Health Check
Models
Summarization
/v1/summarize is always registered. /summarize is served as well while
VSS_API_ENABLE_VERSIONING is disabled, which is the default.
Both reject a request with HTTP 422 when the media offsets are reversed
(start later than end) or when min_tokens is greater than max_tokens.
Stream
Question Answering
Asset Management
Each summarization request creates one default_<asset_id> Elasticsearch index
with one shard. The default Compose configuration sets
LVS_DISABLE_DB_RESET_ON_REQUEST_DONE=true, which retains the index after a
file summarization request completes. Set the variable to false to drop the
index automatically when file summarization completes. If the variable is not
set in the service process, the code defaults to false.
Live-stream summarization retains its index regardless of this setting because
consecutive /v1/stream_summarize calls reuse the same asset ID. Use this
endpoint to reclaim a retained index and avoid exhausting the per-node shard
cap. The call is idempotent, so a missing index is not an error.
Recommended Config
The machine-readable OpenAPI specification is services/video-summarization/api_spec/openapi.json in this repository.