Introduction
This API reference describes the RESTful API endpoints you can use to interact with the LLM Vision Timeline. All endpoints require authentication.
Getting Started
Authentication
The Timeline API uses Home Assistant long-lived tokens for authentication. To create a long-lived token, head to Profile → Security → Create Token and give the token a name. Always store tokens in a secure place as you won’t be able to view it again. Do not share tokens with anyone.
Long lived tokens must be provided via HTTP Bearer authentication:
Authorization: Bearer HA_LONG_LIVED_TOKENBase Path
All endpoints use the following base path:
http(s)://<HA_URL>/api/llmvision/timelineEvent Object
Some endpoints return an event object or a list of multiple event objects.
uid
String
A unique id to identify the event
title
String
The title of the event
start
Unix Timestamp
Timestamp of event start
end
Unix Timestamp
Timestamp of event end
description
String
Description of the event
key_frame
String (Path in /media)
Snapshot of the event used as preview in Timeline Card
camera_name
String
entity_id of camera that capture the event
category
String
Category that label belongs to
label
String
Label to classify events. See labels for possible values.
Last updated