Segment
Authentication
X-Api-Keystring
API key authentication via X-Api-Key header
OR
AuthorizationBearer
Bearer token authentication via Authorization header
Path parameters
video_id
Request
This endpoint expects an object.
prompts
Objects to detect. Each prompt is run against every sampled frame.
start
Start of time range in seconds.
end
End of time range in seconds. Defaults to start + 15s, clamped to video duration. Max range is 15 seconds.
threshold
Confidence threshold. Detections below this score are excluded.
Response
Successful Response
frames
frame_size
frame_count