2026-06-14 01:04:22 +03:00
# Generated by generate_api_auth_spec.py — do not edit by hand.
# Regenerate with: python3 generate_api_auth_spec.py
# The empty info.title is intentional: a docusaurus-openapi-docs convention
# that suppresses the generated API introduction page.
2024-10-07 23:27:35 +03:00
openapi : 3.1 .0
info :
2026-06-14 01:04:22 +03:00
title : ''
2024-10-07 23:27:35 +03:00
version : 0.1 .0
servers :
- url : https://demo.frigate.video/api
2024-11-11 06:26:47 +03:00
- url : http://localhost:5001/api
2024-10-07 23:27:35 +03:00
paths :
2026-03-20 20:38:22 +03:00
/auth/first_time_login :
get :
tags :
- Auth
summary : First Time Login
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Public — no authentication required.
2026-03-20 20:38:22 +03:00
Return whether the admin first-time login help flag is set in config.
This endpoint is intentionally unauthenticated so the login page can
query it before a user is authenticated.
operationId : first_time_login_auth_first_time_login_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
security : [ ]
x-required-role : public
2024-10-07 23:27:35 +03:00
/auth :
get :
tags :
- Auth
2025-12-15 02:41:38 +03:00
summary : Authenticate request
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Public — no authentication required.
Authenticates the current request based on proxy headers or JWT token. This endpoint verifies authentication credentials and manages JWT token refresh. On success, no JSON body is returned; authentication state is communicated via response headers and cookies.
2024-10-07 23:27:35 +03:00
operationId : auth_auth_get
responses :
2026-06-14 01:04:22 +03:00
'202' :
2026-03-20 20:38:22 +03:00
description : Authentication Accepted (no response body)
content :
application/json :
schema : {}
2025-12-15 18:32:11 +03:00
headers :
remote-user :
2025-12-19 01:12:10 +03:00
description : Authenticated username or "viewer" in proxy-only mode
2025-12-15 18:32:11 +03:00
schema :
type : string
remote-role :
2026-06-14 01:04:22 +03:00
description : Resolved role (e.g., admin, viewer, or custom)
2025-12-15 18:32:11 +03:00
schema :
type : string
Set-Cookie :
2026-03-20 20:38:22 +03:00
description : May include refreshed JWT cookie when applicable
2025-12-15 18:32:11 +03:00
schema :
type : string
2026-06-14 01:04:22 +03:00
'401' :
2025-12-15 02:41:38 +03:00
description : Authentication Failed
2026-06-14 01:04:22 +03:00
security : [ ]
x-required-role : public
2024-10-07 23:27:35 +03:00
/profile :
get :
tags :
- Auth
2025-12-15 02:41:38 +03:00
summary : Get user profile
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Any authenticated user.
Returns the current authenticated user's profile including username, role, and allowed cameras. This endpoint requires authentication and returns information about the user's permissions.
2024-10-07 23:27:35 +03:00
operationId : profile_profile_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateUserAuth : [ ]
x-required-role : any
2024-10-07 23:27:35 +03:00
/logout :
get :
tags :
- Auth
2025-12-15 02:41:38 +03:00
summary : Logout user
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Public — no authentication required.
Logs out the current user by clearing the session cookie. After logout, subsequent requests will require re-authentication.
2024-10-07 23:27:35 +03:00
operationId : logout_logout_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
security : [ ]
x-required-role : public
2024-10-07 23:27:35 +03:00
/login :
post :
tags :
- Auth
2025-12-15 02:41:38 +03:00
summary : Login with credentials
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Public — no authentication required.
2026-03-20 20:38:22 +03:00
2026-06-14 01:04:22 +03:00
Authenticates a user with username and password. Returns a JWT token as a secure HTTP-only cookie that can be used for subsequent API requests. The JWT token can also be retrieved from the response and used as a Bearer token in the Authorization header.
2025-12-15 02:41:38 +03:00
Example using Bearer token :
```
2026-06-14 01:04:22 +03:00
curl -H "Authorization: Bearer <token_value>" https://frigate_ip:8971/api/profile
2025-12-15 02:41:38 +03:00
```
2024-10-07 23:27:35 +03:00
operationId : login_login_post
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/AppPostLoginBody'
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security : [ ]
x-required-role : public
2024-10-07 23:27:35 +03:00
/users :
get :
tags :
- Auth
2025-12-15 02:41:38 +03:00
summary : Get all users
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Returns a list of all users with their usernames and roles. Requires admin role. Each user object contains the username and assigned role.
2024-10-07 23:27:35 +03:00
operationId : get_users_users_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2024-10-07 23:27:35 +03:00
post :
tags :
- Auth
2025-12-15 02:41:38 +03:00
summary : Create new user
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Creates a new user with the specified username, password, and role. Requires admin role. Password must be at least 12 characters long.
2024-10-07 23:27:35 +03:00
operationId : create_user_users_post
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/AppPostUsersBody'
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/users/{username}:
2024-10-07 23:27:35 +03:00
delete :
tags :
- Auth
2025-12-15 02:41:38 +03:00
summary : Delete user
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Deletes a user by username. The built-in admin user cannot be deleted. Requires admin role. Returns success message or error if user not found.
2024-10-07 23:27:35 +03:00
operationId : delete_user_users__username__delete
parameters :
- name : username
in : path
required : true
schema :
type : string
title : Username
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/users/{username}/password:
2024-10-07 23:27:35 +03:00
put :
tags :
- Auth
2025-12-15 02:41:38 +03:00
summary : Update user password
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Any authenticated user.
Updates a user's password. Users can only change their own password unless they have admin role. Requires the current password to verify identity for non-admin users. Password must be at least 12 characters long. If user changes their own password, a new JWT cookie is automatically issued.
2024-10-07 23:27:35 +03:00
operationId : update_password_users__username__password_put
parameters :
- name : username
in : path
required : true
schema :
type : string
title : Username
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/AppPutPasswordBody'
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
/users/{username}/role:
2025-04-10 04:56:11 +03:00
put :
tags :
- Auth
2025-12-15 02:41:38 +03:00
summary : Update user role
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Updates a user's role. The built-in admin user's role cannot be modified. Requires admin role. Valid roles are defined in the configuration.
2025-04-10 04:56:11 +03:00
operationId : update_role_users__username__role_put
parameters :
- name : username
in : path
required : true
schema :
type : string
title : Username
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/AppPutRoleBody'
2025-04-10 04:56:11 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-04-10 04:56:11 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2025-04-10 04:56:11 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/go2rtc/streams :
2025-04-10 04:56:11 +03:00
get :
tags :
2026-03-20 20:38:22 +03:00
- Camera
summary : Go2Rtc Streams
operationId : go2rtc_streams_go2rtc_streams_get
2025-04-10 04:56:11 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-04-10 04:56:11 +03:00
description : Successful Response
content :
application/json :
2026-03-20 20:38:22 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateUserAuth : [ ]
x-required-role : any
description : '**Access:** Any authenticated user.'
/go2rtc/streams/{stream_name}:
2026-03-20 20:38:22 +03:00
get :
2025-04-10 04:56:11 +03:00
tags :
2026-03-20 20:38:22 +03:00
- Camera
summary : Go2Rtc Camera Stream
2026-06-14 01:04:22 +03:00
operationId : go2rtc_camera_stream_go2rtc_streams__stream_name__get
2026-03-20 20:38:22 +03:00
parameters :
2026-06-14 01:04:22 +03:00
- name : stream_name
2026-03-20 20:38:22 +03:00
in : path
required : true
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
title : Stream Name
2025-04-10 04:56:11 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-04-10 04:56:11 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2025-04-10 04:56:11 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
2026-03-20 20:38:22 +03:00
put :
2025-04-10 04:56:11 +03:00
tags :
2026-03-20 20:38:22 +03:00
- Camera
summary : Go2Rtc Add Stream
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Add or update a go2rtc stream configuration.
2026-03-20 20:38:22 +03:00
operationId : go2rtc_add_stream_go2rtc_streams__stream_name__put
2025-04-10 04:56:11 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : stream_name
2025-04-10 04:56:11 +03:00
in : path
required : true
schema :
type : string
2026-03-20 20:38:22 +03:00
title : Stream Name
- name : src
in : query
required : false
schema :
type : string
2026-06-14 01:04:22 +03:00
default : ''
2026-03-20 20:38:22 +03:00
title : Src
2025-04-10 04:56:11 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-04-10 04:56:11 +03:00
description : Successful Response
content :
application/json :
2026-03-20 20:38:22 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2025-04-10 04:56:11 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
delete :
2025-04-10 04:56:11 +03:00
tags :
2026-03-20 20:38:22 +03:00
- Camera
summary : Go2Rtc Delete Stream
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Delete a go2rtc stream.
2026-03-20 20:38:22 +03:00
operationId : go2rtc_delete_stream_go2rtc_streams__stream_name__delete
2025-04-10 04:56:11 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : stream_name
2025-04-10 04:56:11 +03:00
in : path
required : true
schema :
type : string
2026-03-20 20:38:22 +03:00
title : Stream Name
2025-04-10 04:56:11 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-04-10 04:56:11 +03:00
description : Successful Response
content :
application/json :
2026-03-20 20:38:22 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2025-04-10 04:56:11 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/ffprobe :
get :
2025-04-10 04:56:11 +03:00
tags :
2026-03-20 20:38:22 +03:00
- Camera
summary : Ffprobe
operationId : ffprobe_ffprobe_get
2025-04-10 04:56:11 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : paths
in : query
required : false
2025-04-10 04:56:11 +03:00
schema :
type : string
2026-06-14 01:04:22 +03:00
default : ''
2026-03-20 20:38:22 +03:00
title : Paths
- name : detailed
in : query
required : false
schema :
type : boolean
default : false
title : Detailed
2025-04-10 04:56:11 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-04-10 04:56:11 +03:00
description : Successful Response
content :
application/json :
2026-03-20 20:38:22 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2025-04-10 04:56:11 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
description : '**Access:** Admin role required.'
2026-06-11 23:16:41 +03:00
/keyframe_analysis :
get :
tags :
- Camera
summary : Keyframe Analysis
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
2026-06-11 23:16:41 +03:00
Probe a camera's record stream and classify its keyframe spacing.
2026-06-14 01:04:22 +03:00
2026-06-11 23:16:41 +03:00
Detects smart/+ codecs and long/variable GOPs that degrade recording.
operationId : keyframe_analysis_keyframe_analysis_get
parameters :
- name : camera
in : query
required : false
schema :
type : string
2026-06-14 01:04:22 +03:00
default : ''
2026-06-11 23:16:41 +03:00
title : Camera
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-06-11 23:16:41 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-06-11 23:16:41 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/ffprobe/snapshot :
get :
2025-04-10 04:56:11 +03:00
tags :
2026-03-20 20:38:22 +03:00
- Camera
summary : Ffprobe Snapshot
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Get a snapshot from a stream URL using ffmpeg.
2026-03-20 20:38:22 +03:00
operationId : ffprobe_snapshot_ffprobe_snapshot_get
parameters :
- name : url
in : query
required : false
schema :
type : string
2026-06-14 01:04:22 +03:00
default : ''
2026-03-20 20:38:22 +03:00
title : Url
- name : timeout
in : query
required : false
schema :
type : integer
default : 10
title : Timeout
2025-04-10 04:56:11 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-04-10 04:56:11 +03:00
description : Successful Response
content :
application/json :
2026-03-20 20:38:22 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2025-04-10 04:56:11 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/reolink/detect :
get :
2025-04-10 04:56:11 +03:00
tags :
2026-03-20 20:38:22 +03:00
- Camera
summary : Reolink Detect
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
2026-03-20 20:38:22 +03:00
2026-06-14 01:04:22 +03:00
Detect Reolink camera capabilities and recommend optimal protocol.
2026-03-20 20:38:22 +03:00
Queries the Reolink camera API to determine the camera's resolution
2026-06-14 01:04:22 +03:00
and recommends either http-flv (for 5MP and below) or rtsp (for higher resolutions).
2026-03-20 20:38:22 +03:00
operationId : reolink_detect_reolink_detect_get
2025-04-10 04:56:11 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : host
in : query
required : false
schema :
type : string
2026-06-14 01:04:22 +03:00
default : ''
2026-03-20 20:38:22 +03:00
title : Host
- name : username
in : query
required : false
schema :
type : string
2026-06-14 01:04:22 +03:00
default : ''
2026-03-20 20:38:22 +03:00
title : Username
- name : password
in : query
required : false
schema :
type : string
2026-06-14 01:04:22 +03:00
default : ''
2026-03-20 20:38:22 +03:00
title : Password
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/onvif/probe :
get :
tags :
- Camera
summary : Probe ONVIF device
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Probe an ONVIF device to determine capabilities and optionally test available stream URIs. Query params : host (required), port (default 80), username, password, test (boolean), auth_type (basic or digest, default basic).
2026-03-20 20:38:22 +03:00
operationId : onvif_probe_onvif_probe_get
parameters :
- name : host
in : query
required : false
schema :
type : string
title : Host
- name : port
in : query
required : false
schema :
type : integer
default : 80
title : Port
- name : username
in : query
required : false
schema :
type : string
2026-06-14 01:04:22 +03:00
default : ''
2026-03-20 20:38:22 +03:00
title : Username
- name : password
in : query
required : false
schema :
type : string
2026-06-14 01:04:22 +03:00
default : ''
2026-03-20 20:38:22 +03:00
title : Password
- name : test
in : query
required : false
schema :
type : boolean
default : false
title : Test
- name : auth_type
in : query
required : false
schema :
type : string
default : basic
title : Auth Type
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/cameras/{camera_name}:
2026-03-20 20:38:22 +03:00
delete :
tags :
- Camera
summary : Delete Camera
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2026-03-20 20:38:22 +03:00
Delete a camera and all its associated data.
Removes the camera from config, stops processes, and cleans up
all database entries and media files.
Args :
camera_name : Name of the camera to delete
delete_exports : Whether to also delete exports for this camera
operationId : delete_camera_cameras__camera_name__delete
parameters :
- name : camera_name
in : path
required : true
schema :
type : string
title : Camera Name
- name : delete_exports
in : query
required : false
schema :
type : boolean
default : false
title : Delete Exports
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/camera/{camera_name}/set/{feature}/{sub_command}:
2026-03-20 20:38:22 +03:00
put :
tags :
- Camera
summary : Camera Set
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Set a camera feature state. Use camera_name='*' to target all cameras.
operationId :
camera_set_camera__camera_name__set__feature___sub_command__put
2026-03-20 20:38:22 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
type : string
title : Camera Name
- name : feature
in : path
required : true
schema :
type : string
title : Feature
- name : sub_command
in : path
required : true
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Sub Command
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/CameraSetBody'
2026-03-20 20:38:22 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/camera/{camera_name}/set/{feature}:
2026-03-20 20:38:22 +03:00
put :
tags :
- Camera
summary : Camera Set
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Set a camera feature state. Use camera_name='*' to target all cameras.
2026-03-20 20:38:22 +03:00
operationId : camera_set_camera__camera_name__set__feature__put
parameters :
- name : camera_name
in : path
required : true
schema :
type : string
title : Camera Name
- name : feature
in : path
required : true
schema :
type : string
title : Feature
- name : sub_command
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Sub Command
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/CameraSetBody'
2026-03-20 20:38:22 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/chat/tools :
get :
tags :
- Chat
summary : Get available tools
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Returns OpenAI-compatible tool definitions for function calling.
2026-03-20 20:38:22 +03:00
operationId : get_tools_chat_tools_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/chat/execute :
post :
tags :
- Chat
summary : Execute a tool
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Execute a tool function call from an LLM.
2026-03-20 20:38:22 +03:00
operationId : execute_tool_chat_execute_post
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ToolExecuteRequest'
2026-03-20 20:38:22 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/chat/completion :
post :
tags :
- Chat
summary : Chat completion with tool calling
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Send a chat message to the configured GenAI provider with tool calling support. The LLM can call Frigate tools to answer questions about your cameras and events.
2026-03-20 20:38:22 +03:00
operationId : chat_completion_chat_completion_post
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ChatCompletionRequest'
responses :
'200' :
description : Successful Response
content :
application/json :
schema : {}
'422' :
description : Validation Error
content :
application/json :
schema :
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/vlm/monitor :
post :
tags :
- Chat
summary : Start a VLM watch job
description : |-
**Access:** Admin role required.
Start monitoring a camera with the vision provider. The VLM analyzes live frames until the specified condition is met, then sends a notification. Only one watch job can run at a time.
operationId : start_vlm_monitor_vlm_monitor_post
requestBody :
required : true
content :
application/json :
schema :
$ref : '#/components/schemas/VLMMonitorRequest'
2026-03-20 20:38:22 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
get :
tags :
- Chat
summary : Get current VLM watch job
description : |-
**Access:** Admin role required.
Returns the current (or most recently completed) VLM watch job.
operationId : get_vlm_monitor_vlm_monitor_get
responses :
'200' :
description : Successful Response
content :
application/json :
schema : {}
security :
- frigateAdminAuth : [ ]
x-required-role : admin
delete :
tags :
- Chat
summary : Cancel the current VLM watch job
description : |-
**Access:** Admin role required.
Cancels the running watch job if one exists.
operationId : cancel_vlm_monitor_vlm_monitor_delete
responses :
'200' :
description : Successful Response
content :
application/json :
schema : {}
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/faces :
get :
tags :
- Classification
summary : Get all registered faces
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2026-03-20 20:38:22 +03:00
Returns a dictionary mapping face names to lists of image filenames.
Each key represents a registered face name, and the value is a list of image
files associated with that face. Supported image formats include .webp, .png,
.jpg, and .jpeg.
operationId : get_faces_faces_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/FacesResponse'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/faces/reprocess :
post :
tags :
- Classification
summary : Reprocess a face training image
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2026-03-20 20:38:22 +03:00
Reprocesses a face training image to update the prediction.
Requires face recognition to be enabled in the configuration. The training file
must exist in the faces/train directory. Returns a success response or an error
message if face recognition is not enabled or the training file is invalid.
operationId : reclassify_face_faces_reprocess_post
requestBody :
content :
application/json :
schema :
type : object
title : Body
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/faces/train/{name}/classify:
2026-03-20 20:38:22 +03:00
post :
tags :
- Classification
summary : Classify and save a face training image
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2026-03-20 20:38:22 +03:00
Adds a training image to a specific face name for face recognition.
Accepts either a training file from the train directory or an event_id to extract
the face from. The image is saved to the face's directory and the face classifier
is cleared to incorporate the new training data. Returns a success message with
the new filename or an error if face recognition is not enabled, the file/event
is invalid, or the face cannot be extracted.
operationId : train_face_faces_train__name__classify_post
parameters :
- name : name
in : path
required : true
schema :
type : string
title : Name
requestBody :
content :
application/json :
schema :
type : object
title : Body
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/faces/{name}/create:
2026-03-20 20:38:22 +03:00
post :
tags :
- Classification
summary : Create a new face name
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2026-03-20 20:38:22 +03:00
Creates a new folder for a face name in the faces directory.
This is used to organize face training images. The face name is sanitized and
spaces are replaced with underscores. Returns a success message or an error if
face recognition is not enabled.
operationId : create_face_faces__name__create_post
parameters :
- name : name
in : path
required : true
schema :
type : string
title : Name
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/faces/{name}/register:
2026-03-20 20:38:22 +03:00
post :
tags :
- Classification
summary : Register a face image
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Registers a face image for a specific face name by uploading an image file.
2026-03-20 20:38:22 +03:00
The uploaded image is processed and added to the face recognition system. Returns a
success response with details about the registration, or an error if face recognition
is not enabled or the image cannot be processed.
operationId : register_face_faces__name__register_post
parameters :
- name : name
in : path
required : true
schema :
type : string
title : Name
requestBody :
required : true
content :
multipart/form-data :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/Body_register_face_faces__name__register_post'
2026-03-20 20:38:22 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/faces/recognize :
post :
tags :
- Classification
summary : Recognize a face from an uploaded image
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2026-03-20 20:38:22 +03:00
Recognizes a face from an uploaded image file by comparing it against
registered faces in the system. Returns the recognized face name and confidence score,
or an error if face recognition is not enabled or the image cannot be processed.
operationId : recognize_face_faces_recognize_post
requestBody :
required : true
content :
multipart/form-data :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/Body_recognize_face_faces_recognize_post'
responses :
'200' :
description : Successful Response
content :
application/json :
schema :
$ref : '#/components/schemas/FaceRecognitionResponse'
'422' :
description : Validation Error
content :
application/json :
schema :
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/faces/{name}/reclassify:
post :
tags :
- Classification
summary : Reclassify a face image to a different name
description : |-
**Access:** Admin role required.
Moves a single face image from one person's folder to another.
The image is moved and renamed, and the face classifier is cleared to
incorporate the change. Returns a success message or an error if the
image or target name is invalid.
operationId : reclassify_face_image_faces__name__reclassify_post
parameters :
- name : name
in : path
required : true
schema :
type : string
title : Name
requestBody :
content :
application/json :
schema :
type : object
title : Body
2026-03-20 20:38:22 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/faces/{name}/delete:
2026-03-20 20:38:22 +03:00
post :
tags :
- Classification
summary : Delete face images
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Deletes specific face images for a given face name. The image IDs must belong
2026-03-20 20:38:22 +03:00
to the specified face folder. To delete an entire face folder, all image IDs in that
folder must be sent. Returns a success message or an error if face recognition is not enabled.
operationId : deregister_faces_faces__name__delete_post
parameters :
- name : name
2025-04-10 04:56:11 +03:00
in : path
required : true
schema :
type : string
title : Name
requestBody :
2025-10-08 22:55:38 +03:00
required : true
2025-04-10 04:56:11 +03:00
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/DeleteFaceImagesBody'
2025-04-10 04:56:11 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-04-10 04:56:11 +03:00
description : Successful Response
content :
application/json :
2025-10-08 22:55:38 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2025-04-10 04:56:11 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/faces/{old_name}/rename:
2025-07-16 05:53:21 +03:00
put :
tags :
2025-10-08 22:55:38 +03:00
- Classification
summary : Rename a face name
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Renames a face name in the system. The old name must exist and the new
name must be valid. Returns a success message or an error if face recognition is not enabled.
2025-07-16 05:53:21 +03:00
operationId : rename_face_faces__old_name__rename_put
parameters :
- name : old_name
in : path
required : true
schema :
type : string
title : Old Name
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/RenameFaceBody'
2025-07-16 05:53:21 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-07-16 05:53:21 +03:00
description : Successful Response
content :
application/json :
2025-10-08 22:55:38 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2025-07-16 05:53:21 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2025-04-10 04:56:11 +03:00
/lpr/reprocess :
put :
tags :
2025-10-08 22:55:38 +03:00
- Classification
summary : Reprocess a license plate
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Reprocesses a license plate image to update the plate.
Requires license plate recognition to be enabled in the configuration. The event_id
must exist in the database. Returns a success message or an error if license plate
recognition is not enabled or the event_id is invalid.
2025-04-10 04:56:11 +03:00
operationId : reprocess_license_plate_lpr_reprocess_put
parameters :
- name : event_id
in : query
required : true
schema :
type : string
title : Event Id
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-04-10 04:56:11 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2025-04-10 04:56:11 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2025-04-10 04:56:11 +03:00
/reindex :
put :
tags :
2025-10-08 22:55:38 +03:00
- Classification
summary : Reindex embeddings
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Reindexes the embeddings for all tracked objects.
Requires semantic search to be enabled in the configuration. Returns a success message or an error if semantic search is not enabled.
2025-04-10 04:56:11 +03:00
operationId : reindex_embeddings_reindex_put
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-10-08 22:55:38 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2025-10-08 22:55:38 +03:00
/audio/transcribe :
put :
tags :
- Classification
summary : Transcribe audio
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Transcribes audio from a specific event.
Requires audio transcription to be enabled in the configuration. The event_id
must exist in the database. Returns a success message or an error if audio transcription is not enabled or the event_id is invalid.
operationId : transcribe_audio_audio_transcribe_put
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/AudioTranscriptionBody'
2025-10-08 22:55:38 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-10-08 22:55:38 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2025-10-08 22:55:38 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/classification/{name}/dataset:
2025-12-18 17:35:47 +03:00
get :
tags :
- Classification
2026-03-20 20:38:22 +03:00
summary : Get classification dataset
2025-12-18 17:35:47 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2026-03-20 20:38:22 +03:00
Gets the dataset for a specific classification model.
The name must exist in the classification models. Returns a success message or an error if the name is invalid.
operationId : get_classification_dataset_classification__name__dataset_get
2025-12-18 17:35:47 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : name
in : path
required : true
2025-12-18 17:35:47 +03:00
schema :
type : string
2026-03-20 20:38:22 +03:00
title : Name
2025-12-18 17:35:47 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-12-18 17:35:47 +03:00
description : Successful Response
2026-03-20 20:38:22 +03:00
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2025-12-18 17:35:47 +03:00
description : Validation Error
2026-03-20 20:38:22 +03:00
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/classification/attributes :
2025-10-08 22:55:38 +03:00
get :
tags :
- Classification
2026-03-20 20:38:22 +03:00
summary : Get custom classification attributes
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2026-03-20 20:38:22 +03:00
Returns custom classification attributes for a given object type.
Only includes models with classification_type set to 'attribute'.
By default returns a flat sorted list of all attribute labels.
If group_by_model is true, returns attributes grouped by model name.
operationId : get_custom_attributes_classification_attributes_get
2025-10-08 22:55:38 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : object_type
in : query
required : false
2025-10-08 22:55:38 +03:00
schema :
type : string
2026-03-20 20:38:22 +03:00
title : Object Type
- name : group_by_model
in : query
required : false
schema :
type : boolean
default : false
title : Group By Model
2025-10-08 22:55:38 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-10-08 22:55:38 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2025-10-08 22:55:38 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/classification/{name}/train:
2025-10-08 22:55:38 +03:00
get :
tags :
- Classification
summary : Get classification train images
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Gets the train images for a specific classification model.
The name must exist in the classification models. Returns a success message or an error if the name is invalid.
operationId : get_classification_images_classification__name__train_get
parameters :
- name : name
in : path
required : true
schema :
type : string
title : Name
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-04-10 04:56:11 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2025-10-08 22:55:38 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2025-10-08 22:55:38 +03:00
post :
tags :
- Classification
summary : Train a classification model
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Trains a specific classification model.
The name must exist in the classification models. Returns a success message or an error if the name is invalid.
operationId : train_configured_model_classification__name__train_post
parameters :
- name : name
in : path
required : true
schema :
type : string
title : Name
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-10-08 22:55:38 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2025-10-08 22:55:38 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/classification/{name}/dataset/{category}/delete:
2025-10-08 22:55:38 +03:00
post :
tags :
- Classification
summary : Delete classification dataset images
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Deletes specific dataset images for a given classification model and category.
2025-10-08 22:55:38 +03:00
The image IDs must belong to the specified category. Returns a success message or an error if the name or category is invalid.
2026-06-14 01:04:22 +03:00
operationId :
2025-10-08 22:55:38 +03:00
delete_classification_dataset_images_classification__name__dataset__category__delete_post
parameters :
- name : name
in : path
required : true
schema :
type : string
title : Name
- name : category
in : path
required : true
schema :
type : string
title : Category
requestBody :
content :
application/json :
schema :
type : object
title : Body
responses :
2026-06-14 01:04:22 +03:00
'200' :
description : Successful Response
content :
application/json :
schema :
$ref : '#/components/schemas/GenericResponse'
'422' :
description : Validation Error
content :
application/json :
schema :
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/classification/{name}/dataset/{category}/reclassify:
post :
tags :
- Classification
summary : Reclassify a dataset image to a different category
description : |-
**Access:** Admin role required.
Moves a single dataset image from one category to another.
The image is re-saved as PNG in the target category and removed from the source.
operationId :
reclassify_classification_image_classification__name__dataset__category__reclassify_post
parameters :
- name : name
in : path
required : true
schema :
type : string
title : Name
- name : category
in : path
required : true
schema :
type : string
title : Category
requestBody :
content :
application/json :
schema :
type : object
title : Body
responses :
'200' :
2025-10-08 22:55:38 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2025-10-08 22:55:38 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/classification/{name}/dataset/{old_category}/rename:
2026-03-20 20:38:22 +03:00
put :
tags :
- Classification
summary : Rename a classification category
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2026-03-20 20:38:22 +03:00
Renames a classification category for a given classification model.
The old category must exist and the new name must be valid. Returns a success message or an error if the name is invalid.
2026-06-14 01:04:22 +03:00
operationId :
2026-03-20 20:38:22 +03:00
rename_classification_category_classification__name__dataset__old_category__rename_put
parameters :
- name : name
in : path
required : true
schema :
type : string
title : Name
- name : old_category
in : path
required : true
schema :
type : string
title : Old Category
requestBody :
content :
application/json :
schema :
type : object
title : Body
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/classification/{name}/dataset/categorize:
2025-10-08 22:55:38 +03:00
post :
tags :
- Classification
summary : Categorize a classification image
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Categorizes a specific classification image for a given classification model and category.
2025-10-08 22:55:38 +03:00
The image must exist in the specified category. Returns a success message or an error if the name or category is invalid.
2026-06-14 01:04:22 +03:00
operationId :
2025-10-08 22:55:38 +03:00
categorize_classification_image_classification__name__dataset_categorize_post
parameters :
- name : name
in : path
required : true
schema :
type : string
title : Name
requestBody :
content :
application/json :
schema :
type : object
title : Body
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-10-08 22:55:38 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2025-10-08 22:55:38 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/classification/{name}/dataset/{category}/create:
2026-03-20 20:38:22 +03:00
post :
tags :
- Classification
summary : Create an empty classification category folder
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2026-03-20 20:38:22 +03:00
Creates an empty folder for a classification category.
This is used to create folders for categories that don't have images yet.
Returns a success message or an error if the name is invalid.
2026-06-14 01:04:22 +03:00
operationId :
2026-03-20 20:38:22 +03:00
create_classification_category_classification__name__dataset__category__create_post
parameters :
- name : name
in : path
required : true
schema :
type : string
title : Name
- name : category
in : path
required : true
schema :
type : string
title : Category
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/classification/{name}/train/delete:
2025-10-08 22:55:38 +03:00
post :
tags :
- Classification
summary : Delete classification train images
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Deletes specific train images for a given classification model.
The image IDs must belong to the specified train folder. Returns a success message or an error if the name is invalid.
2026-06-14 01:04:22 +03:00
operationId :
2025-10-08 22:55:38 +03:00
delete_classification_train_images_classification__name__train_delete_post
parameters :
- name : name
in : path
required : true
schema :
type : string
title : Name
requestBody :
content :
application/json :
schema :
type : object
title : Body
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-10-08 22:55:38 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2025-10-08 22:55:38 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/classification/generate_examples/state :
post :
tags :
- Classification
summary : Generate state classification examples
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Generate examples for state classification.
operationId :
generate_state_examples_classification_generate_examples_state_post
2026-03-20 20:38:22 +03:00
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenerateStateExamplesBody'
2026-03-20 20:38:22 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/classification/generate_examples/object :
post :
tags :
- Classification
summary : Generate object classification examples
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Generate examples for object classification.
operationId :
generate_object_examples_classification_generate_examples_object_post
2026-03-20 20:38:22 +03:00
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenerateObjectExamplesBody'
2026-03-20 20:38:22 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/classification/{name}:
2026-03-20 20:38:22 +03:00
delete :
tags :
- Classification
summary : Delete a classification model
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2026-03-20 20:38:22 +03:00
Deletes a specific classification model and all its associated data.
Works even if the model is not in the config (e.g., partially created during wizard).
Returns a success message.
operationId : delete_classification_model_classification__name__delete
parameters :
- name : name
in : path
required : true
schema :
type : string
title : Name
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2024-10-07 23:27:35 +03:00
/review :
get :
tags :
- Review
summary : Review
operationId : review_review_get
parameters :
- name : cameras
in : query
required : false
schema :
2024-10-23 16:35:49 +03:00
type : string
2024-10-07 23:27:35 +03:00
default : all
title : Cameras
- name : labels
in : query
required : false
schema :
2024-10-23 16:35:49 +03:00
type : string
2024-10-07 23:27:35 +03:00
default : all
title : Labels
- name : zones
in : query
required : false
schema :
2024-10-23 16:35:49 +03:00
type : string
2024-10-07 23:27:35 +03:00
default : all
title : Zones
- name : reviewed
in : query
required : false
schema :
2024-10-23 16:35:49 +03:00
type : integer
2024-10-07 23:27:35 +03:00
title : Reviewed
- name : limit
in : query
required : false
schema :
2024-10-23 16:35:49 +03:00
type : integer
2024-10-07 23:27:35 +03:00
title : Limit
- name : severity
in : query
required : false
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/SeverityEnum'
2024-10-07 23:27:35 +03:00
- name : before
in : query
required : false
schema :
2024-10-23 16:35:49 +03:00
type : number
2024-10-07 23:27:35 +03:00
title : Before
- name : after
in : query
required : false
schema :
2024-10-23 16:35:49 +03:00
type : number
2024-10-07 23:27:35 +03:00
title : After
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-10-23 16:35:49 +03:00
schema :
type : array
items :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ReviewSegmentResponse'
2024-10-23 16:35:49 +03:00
title : Response Review Review Get
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
description : '**Access:** Any authenticated user.'
2025-04-10 04:56:11 +03:00
/review_ids :
get :
tags :
- Review
summary : Review Ids
operationId : review_ids_review_ids_get
parameters :
- name : ids
in : query
required : true
schema :
type : string
title : Ids
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-04-10 04:56:11 +03:00
description : Successful Response
content :
application/json :
schema :
type : array
items :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ReviewSegmentResponse'
2025-04-10 04:56:11 +03:00
title : Response Review Ids Review Ids Get
2026-06-14 01:04:22 +03:00
'422' :
2025-04-10 04:56:11 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
2024-10-07 23:27:35 +03:00
/review/summary :
get :
tags :
- Review
summary : Review Summary
operationId : review_summary_review_summary_get
parameters :
- name : cameras
in : query
required : false
schema :
2024-10-23 16:35:49 +03:00
type : string
2024-10-07 23:27:35 +03:00
default : all
title : Cameras
- name : labels
in : query
required : false
schema :
2024-10-23 16:35:49 +03:00
type : string
2024-10-07 23:27:35 +03:00
default : all
title : Labels
- name : zones
in : query
required : false
schema :
2024-10-23 16:35:49 +03:00
type : string
2024-10-07 23:27:35 +03:00
default : all
title : Zones
- name : timezone
in : query
required : false
schema :
2024-10-23 16:35:49 +03:00
type : string
2024-10-07 23:27:35 +03:00
default : utc
title : Timezone
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-10-23 16:35:49 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ReviewSummaryResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
description : '**Access:** Any authenticated user.'
2024-10-07 23:27:35 +03:00
/reviews/viewed :
post :
tags :
- Review
summary : Set Multiple Reviewed
operationId : set_multiple_reviewed_reviews_viewed_post
requestBody :
2024-10-23 16:35:49 +03:00
required : true
2024-10-07 23:27:35 +03:00
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ReviewModifyMultipleBody'
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-10-23 16:35:49 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
2024-10-07 23:27:35 +03:00
/reviews/delete :
post :
tags :
- Review
summary : Delete Reviews
operationId : delete_reviews_reviews_delete_post
requestBody :
2024-10-23 16:35:49 +03:00
required : true
2024-10-07 23:27:35 +03:00
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ReviewModifyMultipleBody'
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-10-23 16:35:49 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
description : '**Access:** Admin role required.'
2024-10-07 23:27:35 +03:00
/review/activity/motion :
get :
tags :
- Review
summary : Motion Activity
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Any authenticated user.
Get motion and audio activity.
2024-10-07 23:27:35 +03:00
operationId : motion_activity_review_activity_motion_get
parameters :
- name : cameras
in : query
required : false
schema :
2024-10-23 16:35:49 +03:00
type : string
2024-10-07 23:27:35 +03:00
default : all
title : Cameras
- name : before
in : query
required : false
schema :
2024-10-23 16:35:49 +03:00
type : number
2024-10-07 23:27:35 +03:00
title : Before
- name : after
in : query
required : false
schema :
2024-10-23 16:35:49 +03:00
type : number
2024-10-07 23:27:35 +03:00
title : After
- name : scale
in : query
required : false
schema :
2024-10-23 16:35:49 +03:00
type : integer
2024-10-07 23:27:35 +03:00
default : 30
title : Scale
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
schema :
2024-10-23 16:35:49 +03:00
type : array
items :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ReviewActivityMotionResponse'
2024-10-23 16:35:49 +03:00
title : Response Motion Activity Review Activity Motion Get
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
/review/event/{event_id}:
2024-10-07 23:27:35 +03:00
get :
tags :
- Review
summary : Get Review From Event
operationId : get_review_from_event_review_event__event_id__get
parameters :
- name : event_id
in : path
required : true
schema :
type : string
title : Event Id
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-10-23 16:35:49 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ReviewSegmentResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/review/{review_id}:
2024-10-07 23:27:35 +03:00
get :
tags :
- Review
summary : Get Review
2024-10-23 16:35:49 +03:00
operationId : get_review_review__review_id__get
2024-10-07 23:27:35 +03:00
parameters :
2024-10-23 16:35:49 +03:00
- name : review_id
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
type : string
2024-10-23 16:35:49 +03:00
title : Review Id
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-10-23 16:35:49 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ReviewSegmentResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/review/{review_id}/viewed:
2024-10-07 23:27:35 +03:00
delete :
tags :
- Review
summary : Set Not Reviewed
2024-10-23 16:35:49 +03:00
operationId : set_not_reviewed_review__review_id__viewed_delete
2024-10-07 23:27:35 +03:00
parameters :
2024-10-23 16:35:49 +03:00
- name : review_id
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
type : string
2024-10-23 16:35:49 +03:00
title : Review Id
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-10-23 16:35:49 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2025-10-08 22:55:38 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
description : '**Access:** Any authenticated user.'
/review/summarize/start/{start_ts}/end/{end_ts}:
2025-10-08 22:55:38 +03:00
post :
tags :
- Review
summary : Generate Review Summary
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Use GenAI to summarize review items over a period of time.
operationId :
2025-10-08 22:55:38 +03:00
generate_review_summary_review_summarize_start__start_ts__end__end_ts__post
parameters :
- name : start_ts
in : path
required : true
schema :
type : number
title : Start Ts
- name : end_ts
in : path
required : true
schema :
type : number
title : End Ts
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-10-08 22:55:38 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2024-10-07 23:27:35 +03:00
/ :
get :
tags :
- App
summary : Is Healthy
operationId : is_healthy__get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
text/plain :
schema :
type : string
2026-06-14 01:04:22 +03:00
security : [ ]
x-required-role : public
description : '**Access:** Public — no authentication required.'
2024-10-07 23:27:35 +03:00
/config/schema.json :
get :
tags :
- App
summary : Config Schema
operationId : config_schema_config_schema_json_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
security : [ ]
x-required-role : public
description : '**Access:** Public — no authentication required.'
2024-10-07 23:27:35 +03:00
/version :
get :
tags :
- App
summary : Version
operationId : version_version_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
text/plain :
schema :
type : string
2026-06-14 01:04:22 +03:00
security : [ ]
x-required-role : public
description : '**Access:** Public — no authentication required.'
2024-10-07 23:27:35 +03:00
/stats :
get :
tags :
- App
summary : Stats
operationId : stats_stats_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateUserAuth : [ ]
x-required-role : any
description : '**Access:** Any authenticated user.'
2024-10-07 23:27:35 +03:00
/stats/history :
get :
tags :
- App
summary : Stats History
operationId : stats_history_stats_history_get
parameters :
- name : keys
in : query
required : false
schema :
type : string
title : Keys
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
description : '**Access:** Admin role required.'
2025-04-10 04:56:11 +03:00
/metrics :
get :
tags :
- App
summary : Metrics
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Any authenticated user.
Expose Prometheus metrics endpoint and update metrics with latest stats
2025-04-10 04:56:11 +03:00
operationId : metrics_metrics_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
description : Successful Response
content :
application/json :
schema : {}
security :
- frigateUserAuth : [ ]
x-required-role : any
/genai/models :
get :
tags :
- App
summary : List available GenAI models
description : |-
**Access:** Admin role required.
Returns available models for each configured GenAI provider.
operationId : genai_models_genai_models_get
responses :
'200' :
description : Successful Response
content :
application/json :
schema : {}
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/genai/probe :
post :
tags :
- App
summary : Probe a GenAI provider without saving config
description : |-
**Access:** Admin role required.
Builds a transient client from the request body and returns its available models. Used to validate provider credentials in the UI before saving the configuration.
operationId : genai_probe_genai_probe_post
requestBody :
required : true
content :
application/json :
schema :
$ref : '#/components/schemas/GenAIProbeBody'
responses :
'200' :
2025-04-10 04:56:11 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
description : Validation Error
content :
application/json :
schema :
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2024-10-07 23:27:35 +03:00
/config :
get :
tags :
- App
summary : Config
operationId : config_config_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateUserAuth : [ ]
x-required-role : any
description : '**Access:** Any authenticated user.'
2026-03-20 20:38:22 +03:00
/profiles :
get :
tags :
- App
summary : Get Profiles
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Any authenticated user.
List all available profiles and the currently active profile.
2026-03-20 20:38:22 +03:00
operationId : get_profiles_profiles_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateUserAuth : [ ]
x-required-role : any
2026-03-20 20:38:22 +03:00
/profile/active :
get :
tags :
- App
summary : Get Active Profile
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Get the currently active profile.
2026-03-20 20:38:22 +03:00
operationId : get_active_profile_profile_active_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/ffmpeg/presets :
get :
tags :
- App
summary : Ffmpeg Presets
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Return available ffmpeg preset keys for config UI usage.
2026-03-20 20:38:22 +03:00
operationId : ffmpeg_presets_ffmpeg_presets_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/config/raw_paths :
get :
tags :
- App
summary : Config Raw Paths
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Admin-only endpoint that returns camera paths and go2rtc streams without credential masking.
2026-03-20 20:38:22 +03:00
operationId : config_raw_paths_config_raw_paths_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2024-10-07 23:27:35 +03:00
/config/raw :
get :
tags :
- App
summary : Config Raw
operationId : config_raw_config_raw_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateAdminAuth : [ ]
x-required-role : admin
description : '**Access:** Admin role required.'
2024-10-07 23:27:35 +03:00
/config/save :
post :
tags :
- App
summary : Config Save
operationId : config_save_config_save_post
parameters :
- name : save_option
in : query
required : true
schema :
type : string
title : Save Option
requestBody :
required : true
content :
text/plain :
schema :
title : Body
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
description : '**Access:** Admin role required.'
2024-10-07 23:27:35 +03:00
/config/set :
put :
tags :
- App
summary : Config Set
2026-03-20 20:38:22 +03:00
operationId : config_set_config_set_put
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/AppConfigSetBody'
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
description : '**Access:** Admin role required.'
/vainfo :
2026-05-20 17:36:49 +03:00
get :
tags :
- App
2026-06-14 01:04:22 +03:00
summary : Vainfo
operationId : vainfo_vainfo_get
2026-05-20 17:36:49 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-05-20 17:36:49 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateUserAuth : [ ]
x-required-role : any
description : '**Access:** Any authenticated user.'
/nvinfo :
get :
2026-05-20 17:36:49 +03:00
tags :
- App
2026-06-14 01:04:22 +03:00
summary : Nvinfo
operationId : nvinfo_nvinfo_get
2026-05-20 17:36:49 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-05-20 17:36:49 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateUserAuth : [ ]
x-required-role : any
description : '**Access:** Any authenticated user.'
/logs/{service}:
2024-10-07 23:27:35 +03:00
get :
tags :
- App
- Logs
summary : Logs
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Get logs for the requested service (frigate/nginx/go2rtc)
2024-10-07 23:27:35 +03:00
operationId : logs_logs__service__get
parameters :
- name : service
in : path
required : true
schema :
type : string
enum :
- frigate
- nginx
- go2rtc
title : Service
- name : download
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Download
2025-04-10 04:56:11 +03:00
- name : stream
in : query
required : false
schema :
anyOf :
- type : boolean
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-04-10 04:56:11 +03:00
default : false
title : Stream
2024-10-07 23:27:35 +03:00
- name : start
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : 0
title : Start
- name : end
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : End
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2024-10-07 23:27:35 +03:00
/restart :
post :
tags :
- App
summary : Restart
operationId : restart_restart_post
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateAdminAuth : [ ]
x-required-role : admin
description : '**Access:** Admin role required.'
2026-03-20 20:38:22 +03:00
/media/sync :
post :
tags :
- App
summary : Start media sync job
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Start an asynchronous media sync job to find and (optionally) remove orphaned media files.
2026-03-20 20:38:22 +03:00
Returns 202 with job details when queued, or 409 if a job is already running.
operationId : sync_media_media_sync_post
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/MediaSyncBody'
2026-03-20 20:38:22 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/media/sync/current :
get :
tags :
- App
summary : Get current media sync job
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Retrieve the current running media sync job, if any. Returns the job details
2026-03-20 20:38:22 +03:00
or null when no job is active.
operationId : get_media_sync_current_media_sync_current_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/media/sync/status/{job_id}:
2026-03-20 20:38:22 +03:00
get :
tags :
- App
summary : Get media sync job status
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Get status and results for the specified media sync job id. Returns 200 with
2026-03-20 20:38:22 +03:00
job details including results, or 404 if the job is not found.
operationId : get_media_sync_status_media_sync_status__job_id__get
parameters :
- name : job_id
in : path
required : true
schema :
type : string
title : Job Id
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2024-10-07 23:27:35 +03:00
/labels :
get :
tags :
- App
summary : Get Labels
operationId : get_labels_labels_get
parameters :
- name : camera
in : query
required : false
schema :
type : string
2026-06-14 01:04:22 +03:00
default : ''
2024-10-07 23:27:35 +03:00
title : Camera
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
description : '**Access:** Any authenticated user.'
2024-10-07 23:27:35 +03:00
/sub_labels :
get :
tags :
- App
summary : Get Sub Labels
operationId : get_sub_labels_sub_labels_get
parameters :
- name : split_joined
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Split Joined
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
description : '**Access:** Any authenticated user.'
2026-03-20 20:38:22 +03:00
/audio_labels :
get :
tags :
- App
summary : Get Audio Labels
operationId : get_audio_labels_audio_labels_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateAdminAuth : [ ]
x-required-role : admin
description : '**Access:** Admin role required.'
2025-04-10 04:56:11 +03:00
/plus/models :
get :
tags :
- App
summary : Plusmodels
operationId : plusModels_plus_models_get
parameters :
- name : filterByCurrentModelDetector
in : query
required : false
schema :
type : boolean
default : false
title : Filterbycurrentmodeldetector
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-04-10 04:56:11 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2025-04-10 04:56:11 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
description : '**Access:** Any authenticated user.'
2025-04-10 04:56:11 +03:00
/recognized_license_plates :
get :
tags :
- App
summary : Get Recognized License Plates
operationId : get_recognized_license_plates_recognized_license_plates_get
parameters :
- name : split_joined
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-04-10 04:56:11 +03:00
title : Split Joined
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-04-10 04:56:11 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2025-04-10 04:56:11 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
description : '**Access:** Any authenticated user.'
2024-10-07 23:27:35 +03:00
/timeline :
get :
tags :
- App
summary : Timeline
operationId : timeline_timeline_get
parameters :
- name : camera
in : query
required : false
schema :
type : string
default : all
title : Camera
- name : limit
in : query
required : false
schema :
type : integer
default : 100
title : Limit
- name : source_id
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Source Id
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
description : '**Access:** Any authenticated user.'
2024-10-07 23:27:35 +03:00
/timeline/hourly :
get :
tags :
- App
summary : Hourly Timeline
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Any authenticated user.
Get hourly summary for timeline.
2024-10-07 23:27:35 +03:00
operationId : hourly_timeline_timeline_hourly_get
parameters :
- name : cameras
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : all
title : Cameras
- name : labels
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : all
title : Labels
- name : after
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : After
- name : before
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Before
- name : limit
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : 200
title : Limit
- name : timezone
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : utc
title : Timezone
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
/preview/{camera_name}/start/{start_ts}/end/{end_ts}:
2024-10-07 23:27:35 +03:00
get :
tags :
- Preview
2025-10-08 22:55:38 +03:00
summary : Get preview clips for time range
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Any authenticated user.
2025-10-08 22:55:38 +03:00
Gets all preview clips for a specified camera and time range.
Returns a list of preview video clips that overlap with the requested time period,
ordered by start time. Use camera_name='all' to get previews from all cameras.
Returns an error if no previews are found.
2026-06-14 01:04:22 +03:00
operationId :
preview_ts_preview__camera_name__start__start_ts__end__end_ts__get
2024-10-07 23:27:35 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
2026-03-20 20:38:22 +03:00
type : string
2024-10-07 23:27:35 +03:00
title : Camera Name
- name : start_ts
in : path
required : true
schema :
type : number
title : Start Ts
- name : end_ts
in : path
required : true
schema :
type : number
title : End Ts
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2025-10-08 22:55:38 +03:00
schema :
type : array
items :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/PreviewModel'
title : Response Preview Ts Preview Camera Name Start Start Ts
2025-10-08 22:55:38 +03:00
End End Ts Get
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
/preview/{year_month}/{day}/{hour}/{camera_name}/{tz_name}:
2024-10-07 23:27:35 +03:00
get :
tags :
- Preview
2025-10-08 22:55:38 +03:00
summary : Get preview clips for specific hour
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Any authenticated user.
2025-10-08 22:55:38 +03:00
Gets all preview clips for a specific hour in a given timezone.
Converts the provided date/time from the specified timezone to UTC and retrieves
all preview clips for that hour. Use camera_name='all' to get previews from all cameras.
The tz_name should be a timezone like 'America/New_York' (use commas instead of slashes).
2026-06-14 01:04:22 +03:00
operationId :
2024-10-23 16:35:49 +03:00
preview_hour_preview__year_month___day___hour___camera_name___tz_name__get
2024-10-07 23:27:35 +03:00
parameters :
- name : year_month
in : path
required : true
schema :
type : string
title : Year Month
- name : day
in : path
required : true
schema :
type : integer
title : Day
- name : hour
in : path
required : true
schema :
type : integer
title : Hour
- name : camera_name
in : path
required : true
schema :
2026-03-20 20:38:22 +03:00
type : string
2024-10-07 23:27:35 +03:00
title : Camera Name
- name : tz_name
in : path
required : true
schema :
type : string
title : Tz Name
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2025-10-08 22:55:38 +03:00
schema :
type : array
items :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/PreviewModel'
title : Response Preview Hour Preview Year Month Day Hour
2025-10-08 22:55:38 +03:00
Camera Name Tz Name Get
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
/preview/{camera_name}/start/{start_ts}/end/{end_ts}/frames:
2024-10-07 23:27:35 +03:00
get :
tags :
- Preview
2025-10-08 22:55:38 +03:00
summary : Get cached preview frame filenames
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Gets a list of cached preview frame filenames for a specific camera and time range.
2025-10-08 22:55:38 +03:00
Returns an array of filenames for preview frames that fall within the specified time period,
sorted in chronological order. These are individual frame images cached for quick preview display.
2026-06-14 01:04:22 +03:00
operationId :
2024-10-23 16:35:49 +03:00
get_preview_frames_from_cache_preview__camera_name__start__start_ts__end__end_ts__frames_get
2024-10-07 23:27:35 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
2025-10-08 22:55:38 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Camera Name
- name : start_ts
in : path
required : true
schema :
type : number
title : Start Ts
- name : end_ts
in : path
required : true
schema :
type : number
title : End Ts
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2025-10-08 22:55:38 +03:00
schema :
type : array
items :
type : string
2026-06-14 01:04:22 +03:00
title : Response Get Preview Frames From Cache Preview Camera
Name Start Start Ts End End Ts Frames Get
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
2026-03-20 20:38:22 +03:00
/notifications/pubkey :
get :
tags :
- Notifications
summary : Get VAPID public key
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Any authenticated user.
2026-03-20 20:38:22 +03:00
Gets the VAPID public key for the notifications.
Returns the public key or an error if notifications are not enabled.
operationId : get_vapid_pub_key_notifications_pubkey_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateUserAuth : [ ]
x-required-role : any
2026-03-20 20:38:22 +03:00
/notifications/register :
post :
tags :
- Notifications
summary : Register notifications
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Any authenticated user.
2026-03-20 20:38:22 +03:00
Registers a notifications subscription.
Returns a success message or an error if the subscription is not provided.
operationId : register_notifications_notifications_register_post
requestBody :
content :
application/json :
schema :
type : object
title : Body
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
2026-03-20 20:38:22 +03:00
/exports :
get :
tags :
- Export
summary : Get exports
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Any authenticated user.
2026-03-20 20:38:22 +03:00
Gets all exports from the database for cameras the user has access to.
Returns a list of exports ordered by date (most recent first).
operationId : get_exports_exports_get
parameters :
- name : export_case_id
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Export Case Id
- name : cameras
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
default : all
title : Cameras
- name : start_date
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Start Date
- name : end_date
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : End Date
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
type : array
items :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ExportModel'
2026-03-20 20:38:22 +03:00
title : Response Get Exports Exports Get
2026-06-14 01:04:22 +03:00
'422' :
2026-04-14 17:19:50 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
2026-03-20 20:38:22 +03:00
/cases :
get :
tags :
- Export
summary : Get export cases
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Any authenticated user.
Gets all export cases from the database.
2026-03-20 20:38:22 +03:00
operationId : get_export_cases_cases_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
type : array
items :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ExportCaseModel'
2026-03-20 20:38:22 +03:00
title : Response Get Export Cases Cases Get
2026-06-14 01:04:22 +03:00
security :
- frigateUserAuth : [ ]
x-required-role : any
2026-03-20 20:38:22 +03:00
post :
tags :
- Export
summary : Create export case
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Creates a new export case.
2026-03-20 20:38:22 +03:00
operationId : create_export_case_cases_post
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ExportCaseCreateBody'
2026-03-20 20:38:22 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ExportCaseModel'
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/cases/{case_id}:
2026-03-20 20:38:22 +03:00
get :
tags :
- Export
summary : Get a single export case
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Any authenticated user.
Gets a specific export case by ID.
2026-03-20 20:38:22 +03:00
operationId : get_export_case_cases__case_id__get
parameters :
- name : case_id
in : path
required : true
schema :
type : string
title : Case Id
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ExportCaseModel'
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
2026-03-20 20:38:22 +03:00
patch :
tags :
- Export
summary : Update export case
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Updates an existing export case.
2026-03-20 20:38:22 +03:00
operationId : update_export_case_cases__case_id__patch
parameters :
- name : case_id
in : path
required : true
schema :
type : string
title : Case Id
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ExportCaseUpdateBody'
2026-03-20 20:38:22 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
delete :
2024-10-07 23:27:35 +03:00
tags :
2026-03-20 20:38:22 +03:00
- Export
summary : Delete export case
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2026-03-20 20:38:22 +03:00
Deletes an export case.
Exports that reference this case will have their export_case set to null.
operationId : delete_export_case_cases__case_id__delete
parameters :
- name : case_id
in : path
required : true
schema :
type : string
title : Case Id
2026-06-14 01:04:22 +03:00
- name : delete_exports
in : query
required : false
schema :
type : boolean
default : false
title : Delete Exports
responses :
'200' :
description : Successful Response
content :
application/json :
schema :
$ref : '#/components/schemas/GenericResponse'
'422' :
description : Validation Error
content :
application/json :
schema :
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/cases/{case_id}/download:
get :
tags :
- Export
summary : Download export case as zip
description : |-
**Access:** Any authenticated user.
Streams a zip archive containing every completed export's mp4 for the given case.
operationId : download_export_case_cases__case_id__download_get
parameters :
- name : case_id
in : path
required : true
schema :
type : string
title : Case Id
responses :
'200' :
description : Successful Response
content :
application/json :
schema : {}
'422' :
description : Validation Error
content :
application/json :
schema :
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
/jobs/export :
get :
tags :
- Export
summary : Get active export jobs
description : |-
**Access:** Any authenticated user.
Gets queued and running export jobs.
operationId : get_active_export_jobs_jobs_export_get
responses :
'200' :
description : Successful Response
content :
application/json :
schema :
type : array
items :
$ref : '#/components/schemas/ExportJobModel'
title : Response Get Active Export Jobs Jobs Export Get
security :
- frigateUserAuth : [ ]
x-required-role : any
/jobs/export/{export_id}:
get :
tags :
- Export
summary : Get export job status
description : |-
**Access:** Authenticated user with access to the referenced camera.
Gets queued, running, or completed status for a specific export job.
operationId : get_export_job_status_jobs_export__export_id__get
parameters :
- name : export_id
in : path
required : true
schema :
type : string
title : Export Id
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2026-03-20 20:38:22 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ExportJobModel'
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/exports/batch :
post :
tags :
- Export
summary : Start recording export batch
description : |-
**Access:** Any authenticated user.
Starts recording exports for a batch of items, each with its own camera and time range, and assigns them to a single export case. Attaching to an existing case is temporarily admin-only until case-level ACLs exist.
operationId : export_recordings_batch_exports_batch_post
requestBody :
required : true
content :
application/json :
schema :
$ref : '#/components/schemas/BatchExportBody'
responses :
'200' :
description : Successful Response
content :
application/json :
schema :
$ref : '#/components/schemas/BatchExportResponse'
'422' :
description : Validation Error
content :
application/json :
schema :
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
/export/{camera_name}/start/{start_time}/end/{end_time}:
2024-10-07 23:27:35 +03:00
post :
tags :
- Export
2025-10-08 22:55:38 +03:00
summary : Start recording export
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Authenticated user with access to the referenced camera.
2025-10-08 22:55:38 +03:00
Starts an export of a recording for the specified time range.
The export can be from recordings or preview footage. Returns the export ID if
successful, or an error message if the camera is invalid or no recordings/previews
are found for the time range.
2026-06-14 01:04:22 +03:00
operationId :
2024-10-23 16:35:49 +03:00
export_recording_export__camera_name__start__start_time__end__end_time__post
2024-10-07 23:27:35 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
2025-10-08 22:55:38 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Camera Name
- name : start_time
in : path
required : true
schema :
type : number
title : Start Time
- name : end_time
in : path
required : true
schema :
type : number
title : End Time
requestBody :
2024-11-11 06:26:47 +03:00
required : true
2024-10-07 23:27:35 +03:00
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ExportRecordingsBody'
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2025-10-08 22:55:38 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/StartExportResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/export/{event_id}/rename:
2024-10-07 23:27:35 +03:00
patch :
tags :
- Export
2025-10-08 22:55:38 +03:00
summary : Rename export
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Renames an export.
NOTE : This changes the friendly name of the export, not the filename.
2025-04-10 04:56:11 +03:00
operationId : export_rename_export__event_id__rename_patch
2024-10-07 23:27:35 +03:00
parameters :
- name : event_id
in : path
required : true
schema :
type : string
title : Event Id
2025-04-10 04:56:11 +03:00
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ExportRenameBody'
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2025-10-08 22:55:38 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/export/custom/{camera_name}/start/{start_time}/end/{end_time}:
2026-03-20 20:38:22 +03:00
post :
tags :
- Export
summary : Start custom recording export
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Starts an export of a recording for the specified time range using custom FFmpeg arguments.
2026-03-20 20:38:22 +03:00
The export can be from recordings or preview footage. Returns the export ID if
successful, or an error message if the camera is invalid or no recordings/previews
are found for the time range. If ffmpeg_input_args and ffmpeg_output_args are not provided,
defaults to timelapse export settings.
2026-06-14 01:04:22 +03:00
operationId :
2026-03-20 20:38:22 +03:00
export_recording_custom_export_custom__camera_name__start__start_time__end__end_time__post
parameters :
- name : camera_name
in : path
required : true
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Camera Name
- name : start_time
in : path
required : true
schema :
type : number
title : Start Time
- name : end_time
in : path
required : true
schema :
type : number
title : End Time
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ExportRecordingsCustomBody'
2026-03-20 20:38:22 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/StartExportResponse'
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/exports/{export_id}:
2024-12-06 17:04:02 +03:00
get :
tags :
- Export
2025-10-08 22:55:38 +03:00
summary : Get a single export
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Authenticated user with access to the referenced camera.
2025-10-08 22:55:38 +03:00
Gets a specific export by ID. The user must have access to the camera
associated with the export.
2024-12-06 17:04:02 +03:00
operationId : get_export_exports__export_id__get
parameters :
- name : export_id
in : path
required : true
schema :
type : string
title : Export Id
responses :
2026-06-14 01:04:22 +03:00
'200' :
description : Successful Response
content :
application/json :
schema :
$ref : '#/components/schemas/ExportModel'
'422' :
description : Validation Error
content :
application/json :
schema :
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/exports/delete :
post :
tags :
- Export
summary : Bulk delete exports
description : |-
**Access:** Admin role required.
Deletes one or more exports by ID. All IDs must exist and none can be in-progress.
operationId : bulk_delete_exports_exports_delete_post
requestBody :
required : true
content :
application/json :
schema :
$ref : '#/components/schemas/ExportBulkDeleteBody'
responses :
'200' :
description : Successful Response
content :
application/json :
schema :
$ref : '#/components/schemas/GenericResponse'
'422' :
description : Validation Error
content :
application/json :
schema :
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/exports/reassign :
post :
tags :
- Export
summary : Bulk reassign exports to a case
description : |-
**Access:** Admin role required.
Assigns or unassigns one or more exports to/from a case. All IDs must exist.
operationId : bulk_reassign_exports_exports_reassign_post
requestBody :
required : true
content :
application/json :
schema :
$ref : '#/components/schemas/ExportBulkReassignBody'
responses :
'200' :
2024-12-06 17:04:02 +03:00
description : Successful Response
content :
application/json :
2025-10-08 22:55:38 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2024-12-06 17:04:02 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2024-10-07 23:27:35 +03:00
/events :
get :
tags :
- Events
2025-10-08 22:55:38 +03:00
summary : Get events
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Any authenticated user.
Returns a list of events.
2024-10-07 23:27:35 +03:00
operationId : events_events_get
parameters :
- name : camera
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : all
title : Camera
- name : cameras
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : all
title : Cameras
- name : label
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : all
title : Label
- name : labels
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : all
title : Labels
- name : sub_label
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : all
title : Sub Label
- name : sub_labels
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : all
title : Sub Labels
2026-03-20 20:38:22 +03:00
- name : attributes
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
default : all
title : Attributes
2024-10-07 23:27:35 +03:00
- name : zone
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : all
title : Zone
- name : zones
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : all
title : Zones
- name : limit
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : 100
title : Limit
- name : after
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : After
- name : before
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Before
- name : time_range
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
default : 00 : 00 , 24 : 00
2024-10-07 23:27:35 +03:00
title : Time Range
- name : has_clip
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Has Clip
- name : has_snapshot
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Has Snapshot
- name : in_progress
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : In Progress
- name : include_thumbnails
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : 1
title : Include Thumbnails
- name : favorites
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Favorites
- name : min_score
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Min Score
- name : max_score
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Max Score
2025-04-10 04:56:11 +03:00
- name : min_speed
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-04-10 04:56:11 +03:00
title : Min Speed
- name : max_speed
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-04-10 04:56:11 +03:00
title : Max Speed
- name : recognized_license_plate
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-04-10 04:56:11 +03:00
default : all
title : Recognized License Plate
2024-10-07 23:27:35 +03:00
- name : is_submitted
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Is Submitted
- name : min_length
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Min Length
- name : max_length
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Max Length
2024-11-11 06:26:47 +03:00
- name : event_id
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-11-11 06:26:47 +03:00
title : Event Id
2024-10-07 23:27:35 +03:00
- name : sort
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Sort
- name : timezone
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : utc
title : Timezone
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema :
type : array
items :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventResponse'
2024-12-06 17:04:02 +03:00
title : Response Events Events Get
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
2024-10-07 23:27:35 +03:00
/events/explore :
get :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Get summary of objects
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Any authenticated user.
2025-10-08 22:55:38 +03:00
Gets a summary of objects from the database.
Returns a list of objects with a max of `limit` objects for each label.
2024-10-07 23:27:35 +03:00
operationId : events_explore_events_explore_get
parameters :
- name : limit
in : query
required : false
schema :
type : integer
default : 10
title : Limit
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema :
type : array
items :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventResponse'
2024-12-06 17:04:02 +03:00
title : Response Events Explore Events Explore Get
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
2024-10-07 23:27:35 +03:00
/event_ids :
get :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Get events by ids
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Authenticated user with access to the referenced camera.
2025-10-08 22:55:38 +03:00
Gets events by a list of ids.
Returns a list of events.
2024-10-07 23:27:35 +03:00
operationId : event_ids_event_ids_get
parameters :
- name : ids
in : query
required : true
schema :
type : string
title : Ids
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema :
type : array
items :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventResponse'
2024-12-06 17:04:02 +03:00
title : Response Event Ids Event Ids Get
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
2024-10-07 23:27:35 +03:00
/events/search :
get :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Search events
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Any authenticated user.
2025-10-08 22:55:38 +03:00
Searches for events in the database.
Returns a list of events.
2024-10-07 23:27:35 +03:00
operationId : events_search_events_search_get
parameters :
- name : query
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Query
- name : event_id
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Event Id
- name : search_type
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-11-11 06:26:47 +03:00
default : thumbnail
2024-10-07 23:27:35 +03:00
title : Search Type
- name : include_thumbnails
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : 1
title : Include Thumbnails
- name : limit
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : 50
title : Limit
- name : cameras
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : all
title : Cameras
- name : labels
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : all
title : Labels
2026-03-20 20:38:22 +03:00
- name : sub_labels
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
default : all
title : Sub Labels
- name : attributes
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
default : all
title : Attributes
2024-10-07 23:27:35 +03:00
- name : zones
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : all
title : Zones
- name : after
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : After
- name : before
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Before
- name : time_range
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
default : 00 : 00 , 24 : 00
2024-10-07 23:27:35 +03:00
title : Time Range
2024-11-11 06:26:47 +03:00
- name : has_clip
in : query
required : false
schema :
anyOf :
- type : boolean
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-11-11 06:26:47 +03:00
title : Has Clip
- name : has_snapshot
in : query
required : false
schema :
anyOf :
- type : boolean
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-11-11 06:26:47 +03:00
title : Has Snapshot
2024-12-06 17:04:02 +03:00
- name : is_submitted
in : query
required : false
schema :
anyOf :
- type : boolean
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-12-06 17:04:02 +03:00
title : Is Submitted
2024-10-07 23:27:35 +03:00
- name : timezone
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : utc
title : Timezone
2024-10-23 16:35:49 +03:00
- name : min_score
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-23 16:35:49 +03:00
title : Min Score
- name : max_score
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-23 16:35:49 +03:00
title : Max Score
2025-04-10 04:56:11 +03:00
- name : min_speed
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-04-10 04:56:11 +03:00
title : Min Speed
- name : max_speed
in : query
required : false
schema :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-04-10 04:56:11 +03:00
title : Max Speed
- name : recognized_license_plate
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-04-10 04:56:11 +03:00
default : all
title : Recognized License Plate
2024-10-23 16:35:49 +03:00
- name : sort
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-23 16:35:49 +03:00
title : Sort
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
2024-10-07 23:27:35 +03:00
/events/summary :
get :
tags :
- Events
summary : Events Summary
operationId : events_summary_events_summary_get
parameters :
- name : timezone
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
default : utc
title : Timezone
- name : has_clip
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Has Clip
- name : has_snapshot
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Has Snapshot
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
description : '**Access:** Any authenticated user.'
/events/{event_id}:
2024-10-07 23:27:35 +03:00
get :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Get event by id
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Gets an event by its id.
2024-10-07 23:27:35 +03:00
operationId : event_events__event_id__get
parameters :
- name : event_id
in : path
required : true
schema :
type : string
title : Event Id
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
2024-10-07 23:27:35 +03:00
delete :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Delete event
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Deletes an event from the database.
Returns a success message or an error if the event is not found.
2024-10-07 23:27:35 +03:00
operationId : delete_event_events__event_id__delete
parameters :
- name : event_id
in : path
required : true
schema :
type : string
title : Event Id
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/events/{event_id}/retain:
2024-10-07 23:27:35 +03:00
post :
tags :
- Events
2026-03-20 20:38:22 +03:00
summary : Set event retain indefinitely.
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Sets an event to retain indefinitely.
Returns a success message or an error if the event is not found.
NOTE : This is a legacy endpoint and is not supported in the frontend.
2024-10-07 23:27:35 +03:00
operationId : set_retain_events__event_id__retain_post
parameters :
- name : event_id
in : path
required : true
schema :
type : string
title : Event Id
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2024-10-07 23:27:35 +03:00
delete :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Stop event from being retained indefinitely
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Stops an event from being retained indefinitely.
Returns a success message or an error if the event is not found.
NOTE : This is a legacy endpoint and is not supported in the frontend.
2024-10-07 23:27:35 +03:00
operationId : delete_retain_events__event_id__retain_delete
parameters :
- name : event_id
in : path
required : true
schema :
type : string
title : Event Id
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/events/{event_id}/plus:
2024-10-07 23:27:35 +03:00
post :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Send event to Frigate+
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Sends an event to Frigate+.
Returns a success message or an error if the event is not found.
2024-10-07 23:27:35 +03:00
operationId : send_to_plus_events__event_id__plus_post
parameters :
- name : event_id
in : path
required : true
schema :
type : string
title : Event Id
requestBody :
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/SubmitPlusBody'
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventUploadPlusResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/events/{event_id}/false_positive:
2024-10-07 23:27:35 +03:00
put :
tags :
- Events
2025-10-08 22:55:38 +03:00
summary : Submit false positive to Frigate+
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Submit an event as a false positive to Frigate+.
This endpoint is the same as the standard Frigate+ submission endpoint,
but is specifically for marking an event as a false positive.
2024-10-07 23:27:35 +03:00
operationId : false_positive_events__event_id__false_positive_put
parameters :
- name : event_id
in : path
required : true
schema :
type : string
title : Event Id
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventUploadPlusResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/events/{event_id}/sub_label:
2024-10-07 23:27:35 +03:00
post :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Set event sub label
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Sets an event's sub label.
Returns a success message or an error if the event is not found.
2024-10-07 23:27:35 +03:00
operationId : set_sub_label_events__event_id__sub_label_post
parameters :
- name : event_id
in : path
required : true
schema :
type : string
title : Event Id
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventsSubLabelBody'
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/events/{event_id}/recognized_license_plate:
2025-07-16 05:53:21 +03:00
post :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Set event license plate
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Sets an event's license plate.
Returns a success message or an error if the event is not found.
2025-07-16 05:53:21 +03:00
operationId : set_plate_events__event_id__recognized_license_plate_post
parameters :
- name : event_id
in : path
required : true
schema :
type : string
title : Event Id
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventsLPRBody'
2025-07-16 05:53:21 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-07-16 05:53:21 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2025-07-16 05:53:21 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/events/{event_id}/attributes:
2025-12-18 17:35:47 +03:00
post :
tags :
- Events
summary : Set custom classification attributes
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Sets an event's custom classification attributes for all attribute-type models that apply to the event's object type.
2025-12-18 17:35:47 +03:00
operationId : set_attributes_events__event_id__attributes_post
parameters :
- name : event_id
in : path
required : true
schema :
type : string
title : Event Id
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventsAttributesBody'
2025-12-18 17:35:47 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-12-18 17:35:47 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2025-12-18 17:35:47 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/events/{event_id}/description:
2024-10-07 23:27:35 +03:00
post :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Set event description
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Sets an event's description.
Returns a success message or an error if the event is not found.
2024-10-07 23:27:35 +03:00
operationId : set_description_events__event_id__description_post
parameters :
- name : event_id
in : path
required : true
schema :
type : string
title : Event Id
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventsDescriptionBody'
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/events/{event_id}/description/regenerate:
2024-10-07 23:27:35 +03:00
put :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Regenerate event description
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Regenerates an event's description.
Returns a success message or an error if the event is not found.
2026-06-14 01:04:22 +03:00
operationId :
regenerate_description_events__event_id__description_regenerate_put
2024-10-07 23:27:35 +03:00
parameters :
- name : event_id
in : path
required : true
schema :
type : string
title : Event Id
2024-10-23 16:35:49 +03:00
- name : source
in : query
required : false
schema :
anyOf :
2026-06-14 01:04:22 +03:00
- $ref : '#/components/schemas/RegenerateDescriptionEnum'
- type : 'null'
2024-10-23 16:35:49 +03:00
default : thumbnails
title : Source
2025-10-08 22:55:38 +03:00
- name : force
in : query
required : false
schema :
anyOf :
- type : boolean
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-10-08 22:55:38 +03:00
default : false
title : Force
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-12-06 17:04:02 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2024-12-06 17:04:02 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2025-10-08 22:55:38 +03:00
/description/generate :
post :
2024-12-06 17:04:02 +03:00
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Generate description embedding
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Generates an embedding for an event's description.
Returns a success message or an error if the event is not found.
operationId : generate_description_embedding_description_generate_post
2024-12-06 17:04:02 +03:00
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventsDescriptionBody'
2024-12-06 17:04:02 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2025-10-08 22:55:38 +03:00
/events/ :
delete :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Delete events
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Deletes a list of events from the database.
Returns a success message or an error if the events are not found.
operationId : delete_events_events__delete
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventsDeleteBody'
2025-10-08 22:55:38 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-10-08 22:55:38 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventMultiDeleteResponse'
'422' :
2025-10-08 22:55:38 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/events/{camera_name}/{label}/create:
2025-10-08 22:55:38 +03:00
post :
tags :
2024-10-07 23:27:35 +03:00
- Events
2025-12-04 21:19:07 +03:00
summary : Create manual event
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Creates a manual event in the database.
Returns a success message or an error if the event is not found.
NOTES :
- Creating a manual event does not trigger an update to /events MQTT topic.
- If a duration is set to null, the event will need to be ended manually by calling /events/{event_id}/end.
2024-10-07 23:27:35 +03:00
operationId : create_event_events__camera_name___label__create_post
parameters :
- name : camera_name
in : path
required : true
schema :
type : string
title : Camera Name
- name : label
in : path
required : true
schema :
type : string
title : Label
requestBody :
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventsCreateBody'
2024-10-07 23:27:35 +03:00
default :
2026-06-14 01:04:22 +03:00
score : 0.0
2024-10-07 23:27:35 +03:00
duration : 30
include_recording : true
2024-12-06 17:04:02 +03:00
draw : {}
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventCreateResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/events/{event_id}/end:
2024-10-07 23:27:35 +03:00
put :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : End manual event
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Ends a manual event.
Returns a success message or an error if the event is not found.
NOTE : This should only be used for manual events.
2024-10-07 23:27:35 +03:00
operationId : end_event_events__event_id__end_put
parameters :
- name : event_id
in : path
required : true
schema :
type : string
title : Event Id
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/EventsEndBody'
2025-10-08 22:55:38 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-10-08 22:55:38 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2025-10-08 22:55:38 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2025-10-08 22:55:38 +03:00
/trigger/embedding :
post :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Create trigger embedding
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Creates a trigger embedding for a specific trigger.
Returns a success message or an error if the trigger is not found.
operationId : create_trigger_embedding_trigger_embedding_post
parameters :
- name : camera_name
in : query
required : true
schema :
type : string
title : Camera Name
- name : name
in : query
required : true
schema :
type : string
title : Name
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/TriggerEmbeddingBody'
2025-10-08 22:55:38 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-10-08 22:55:38 +03:00
description : Successful Response
content :
application/json :
schema :
type : object
title : Response Create Trigger Embedding Trigger Embedding Post
2026-06-14 01:04:22 +03:00
'422' :
2025-10-08 22:55:38 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/trigger/embedding/{camera_name}/{name}:
2025-10-08 22:55:38 +03:00
put :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Update trigger embedding
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Updates a trigger embedding for a specific trigger.
Returns a success message or an error if the trigger is not found.
2026-06-14 01:04:22 +03:00
operationId :
update_trigger_embedding_trigger_embedding__camera_name___name__put
2025-10-08 22:55:38 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
type : string
title : Camera Name
- name : name
in : path
required : true
schema :
type : string
title : Name
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/TriggerEmbeddingBody'
2025-10-08 22:55:38 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-10-08 22:55:38 +03:00
description : Successful Response
content :
application/json :
schema :
type : object
2026-06-14 01:04:22 +03:00
title : Response Update Trigger Embedding Trigger Embedding
Camera Name Name Put
'422' :
2025-10-08 22:55:38 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2025-10-08 22:55:38 +03:00
delete :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Delete trigger embedding
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Deletes a trigger embedding for a specific trigger.
Returns a success message or an error if the trigger is not found.
2026-06-14 01:04:22 +03:00
operationId :
delete_trigger_embedding_trigger_embedding__camera_name___name__delete
2025-10-08 22:55:38 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
type : string
title : Camera Name
- name : name
in : path
required : true
schema :
type : string
title : Name
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema :
2025-10-08 22:55:38 +03:00
type : object
2026-06-14 01:04:22 +03:00
title : Response Delete Trigger Embedding Trigger Embedding
Camera Name Name Delete
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/triggers/status/{camera_name}:
2025-10-08 22:55:38 +03:00
get :
tags :
- Events
2025-12-04 21:19:07 +03:00
summary : Get triggers status
2025-10-08 22:55:38 +03:00
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2025-10-08 22:55:38 +03:00
Gets the status of all triggers for a specific camera.
Returns a success message or an error if the camera is not found.
operationId : get_triggers_status_triggers_status__camera_name__get
parameters :
- name : camera_name
in : path
required : true
schema :
type : string
title : Camera Name
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-10-08 22:55:38 +03:00
description : Successful Response
content :
application/json :
schema :
type : object
2026-06-14 01:04:22 +03:00
title : Response Get Triggers Status Triggers Status Camera Name
Get
'422' :
2025-10-08 22:55:38 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/{camera_name}:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
summary : Mjpeg Feed
2024-10-23 16:35:49 +03:00
operationId : mjpeg_feed__camera_name__get
2024-10-07 23:27:35 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
2025-10-08 22:55:38 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Camera Name
- name : fps
in : query
required : false
schema :
type : integer
default : 3
title : Fps
- name : height
in : query
required : false
schema :
type : integer
default : 360
title : Height
- name : bbox
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Bbox
- name : timestamp
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Timestamp
- name : zones
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Zones
- name : mask
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Mask
- name : motion
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Motion
- name : regions
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Regions
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/{camera_name}/ptz/info:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
summary : Camera Ptz Info
operationId : camera_ptz_info__camera_name__ptz_info_get
parameters :
- name : camera_name
in : path
required : true
schema :
2025-10-08 22:55:38 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Camera Name
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/{camera_name}/latest.{extension}:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
summary : Latest Frame
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Returns the latest frame from the specified camera in the requested format (jpg, png, webp). Falls back to preview frames if the camera is offline.
2024-10-07 23:27:35 +03:00
operationId : latest_frame__camera_name__latest__extension__get
parameters :
- name : camera_name
in : path
required : true
schema :
2025-10-08 22:55:38 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Camera Name
- name : extension
in : path
required : true
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/Extension'
2024-10-07 23:27:35 +03:00
- name : bbox
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Bbox
- name : timestamp
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Timestamp
- name : zones
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Zones
- name : mask
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Mask
- name : motion
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Motion
2025-10-08 22:55:38 +03:00
- name : paths
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-10-08 22:55:38 +03:00
title : Paths
2024-10-07 23:27:35 +03:00
- name : regions
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Regions
- name : quality
in : query
required : false
schema :
anyOf :
2026-03-20 20:38:22 +03:00
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
default : 70
title : Quality
- name : height
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Height
- name : store
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Store
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/{camera_name}/recordings/{frame_time}/snapshot.{format}:
2026-03-20 20:38:22 +03:00
get :
tags :
- Media
summary : Get Snapshot From Recording
2026-06-14 01:04:22 +03:00
operationId :
2026-03-20 20:38:22 +03:00
get_snapshot_from_recording__camera_name__recordings__frame_time__snapshot__format__get
parameters :
- name : camera_name
in : path
required : true
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Camera Name
- name : frame_time
in : path
required : true
schema :
type : number
title : Frame Time
- name : format
in : path
required : true
schema :
type : string
enum :
- png
- jpg
title : Format
- name : height
in : query
required : false
schema :
type : integer
title : Height
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/{camera_name}/plus/{frame_time}:
2026-03-20 20:38:22 +03:00
post :
tags :
- Media
summary : Submit Recording Snapshot To Plus
2026-06-14 01:04:22 +03:00
operationId :
submit_recording_snapshot_to_plus__camera_name__plus__frame_time__post
2026-03-20 20:38:22 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Camera Name
- name : frame_time
in : path
required : true
schema :
type : string
title : Frame Time
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/{camera_name}/start/{start_ts}/end/{end_ts}/clip.mp4:
2026-03-20 20:38:22 +03:00
get :
tags :
- Media
summary : Recording Clip
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
For iOS devices, use the master.m3u8 HLS link instead of clip.mp4. Safari does not reliably process progressive mp4 files.
operationId :
recording_clip__camera_name__start__start_ts__end__end_ts__clip_mp4_get
2026-03-20 20:38:22 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Camera Name
- name : start_ts
in : path
required : true
2024-10-07 23:27:35 +03:00
schema :
2026-03-20 20:38:22 +03:00
type : number
title : Start Ts
- name : end_ts
in : path
required : true
2025-04-10 04:56:11 +03:00
schema :
2026-03-20 20:38:22 +03:00
type : number
title : End Ts
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/vod/{camera_name}/start/{start_ts}/end/{end_ts}:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Vod Ts
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Returns an HLS playlist for the specified timestamp-range on the specified camera. Append /master.m3u8 or /index.m3u8 for HLS playback.
2026-03-20 20:38:22 +03:00
operationId : vod_ts_vod__camera_name__start__start_ts__end__end_ts__get
2024-10-07 23:27:35 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
2025-10-08 22:55:38 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Camera Name
2026-03-20 20:38:22 +03:00
- name : start_ts
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
type : number
2026-03-20 20:38:22 +03:00
title : Start Ts
- name : end_ts
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
2026-03-20 20:38:22 +03:00
type : number
title : End Ts
- name : force_discontinuity
2024-10-07 23:27:35 +03:00
in : query
required : false
schema :
2026-03-20 20:38:22 +03:00
type : boolean
default : false
title : Force Discontinuity
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/vod/{year_month}/{day}/{hour}/{camera_name}:
2026-03-20 20:38:22 +03:00
get :
2024-10-07 23:27:35 +03:00
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Vod Hour No Timezone
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Returns an HLS playlist for the specified date-time on the specified camera. Append /master.m3u8 or /index.m3u8 for HLS playback.
operationId :
vod_hour_no_timezone_vod__year_month___day___hour___camera_name__get
2024-10-07 23:27:35 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : year_month
in : path
required : true
schema :
type : string
title : Year Month
- name : day
in : path
required : true
schema :
type : integer
title : Day
- name : hour
in : path
required : true
schema :
type : integer
title : Hour
2024-10-07 23:27:35 +03:00
- name : camera_name
in : path
required : true
schema :
2025-10-08 22:55:38 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Camera Name
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/vod/{year_month}/{day}/{hour}/{camera_name}/{tz_name}:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Vod Hour
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Returns an HLS playlist for the specified date-time (with timezone) on the specified camera. Append /master.m3u8 or /index.m3u8 for HLS playback.
operationId :
vod_hour_vod__year_month___day___hour___camera_name___tz_name__get
2026-03-20 20:38:22 +03:00
parameters :
- name : year_month
in : path
required : true
schema :
type : string
title : Year Month
- name : day
in : path
required : true
schema :
type : integer
title : Day
- name : hour
in : path
required : true
schema :
type : integer
title : Hour
- name : camera_name
in : path
required : true
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Camera Name
- name : tz_name
in : path
required : true
schema :
type : string
title : Tz Name
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/vod/event/{event_id}:
2025-04-10 04:56:11 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Vod Event
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Returns an HLS playlist for the specified object. Append /master.m3u8 or /index.m3u8 for HLS playback.
2026-03-20 20:38:22 +03:00
operationId : vod_event_vod_event__event_id__get
2025-04-10 04:56:11 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : event_id
in : path
required : true
2025-04-10 04:56:11 +03:00
schema :
type : string
2026-03-20 20:38:22 +03:00
title : Event Id
- name : padding
2025-04-10 04:56:11 +03:00
in : query
required : false
schema :
2026-03-20 20:38:22 +03:00
type : integer
description : Padding to apply to the vod.
default : 0
title : Padding
description : Padding to apply to the vod.
2025-04-10 04:56:11 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-04-10 04:56:11 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2025-04-10 04:56:11 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/vod/clip/{camera_name}/start/{start_ts}/end/{end_ts}:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Vod Clip
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Returns an HLS playlist for a timestamp range with HLS discontinuity enabled. Append /master.m3u8 or /index.m3u8 for HLS playback.
operationId :
vod_clip_vod_clip__camera_name__start__start_ts__end__end_ts__get
2024-10-07 23:27:35 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
2025-10-08 22:55:38 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Camera Name
2026-03-20 20:38:22 +03:00
- name : start_ts
in : path
required : true
2024-10-07 23:27:35 +03:00
schema :
2026-03-20 20:38:22 +03:00
type : number
title : Start Ts
- name : end_ts
in : path
required : true
schema :
type : number
title : End Ts
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/events/{event_id}/snapshot.jpg:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Event Snapshot
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Returns a snapshot image for the specified object id.
2026-03-20 20:38:22 +03:00
operationId : event_snapshot_events__event_id__snapshot_jpg_get
2024-10-07 23:27:35 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : event_id
2024-10-07 23:27:35 +03:00
in : path
required : true
2026-03-20 20:38:22 +03:00
schema :
type : string
title : Event Id
- name : download
in : query
required : false
2024-10-07 23:27:35 +03:00
schema :
2025-10-08 22:55:38 +03:00
anyOf :
2026-03-20 20:38:22 +03:00
- type : boolean
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
default : false
title : Download
- name : timestamp
2024-10-07 23:27:35 +03:00
in : query
required : false
schema :
2026-03-20 20:38:22 +03:00
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Timestamp
- name : bbox
2024-10-07 23:27:35 +03:00
in : query
required : false
schema :
2026-03-20 20:38:22 +03:00
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Bbox
- name : crop
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Crop
- name : height
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Height
- name : quality
in : query
required : false
schema :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Quality
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2025-10-08 22:55:38 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/events/{event_id}/thumbnail.{extension}:
2025-10-08 22:55:38 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Event Thumbnail
operationId : event_thumbnail_events__event_id__thumbnail__extension__get
2025-10-08 22:55:38 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : event_id
in : path
required : true
2025-10-08 22:55:38 +03:00
schema :
type : string
2026-03-20 20:38:22 +03:00
title : Event Id
- name : extension
in : path
required : true
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/Extension'
2026-03-20 20:38:22 +03:00
- name : max_cache_age
2025-10-08 22:55:38 +03:00
in : query
required : false
schema :
2026-03-20 20:38:22 +03:00
type : integer
description : Max cache age in seconds. Default 30 days in seconds.
default : 2592000
title : Max Cache Age
description : Max cache age in seconds. Default 30 days in seconds.
- name : format
2025-10-08 22:55:38 +03:00
in : query
required : false
schema :
2026-03-20 20:38:22 +03:00
type : string
enum :
- ios
- android
default : ios
title : Format
2025-10-08 22:55:38 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2025-10-08 22:55:38 +03:00
description : Successful Response
content :
application/json :
2026-03-20 20:38:22 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/{camera_name}/grid.jpg:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Grid Snapshot
operationId : grid_snapshot__camera_name__grid_jpg_get
2024-10-07 23:27:35 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
2025-10-08 22:55:38 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Camera Name
2026-03-20 20:38:22 +03:00
- name : color
in : query
required : false
2024-10-07 23:27:35 +03:00
schema :
2026-03-20 20:38:22 +03:00
type : string
default : green
title : Color
- name : font_scale
in : query
required : false
2024-10-07 23:27:35 +03:00
schema :
type : number
2026-03-20 20:38:22 +03:00
default : 0.5
title : Font Scale
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/{camera_name}/region_grid:
2026-03-20 20:38:22 +03:00
delete :
2024-10-07 23:27:35 +03:00
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Clear Region Grid
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Clear the region grid for a camera.
2026-03-20 20:38:22 +03:00
operationId : clear_region_grid__camera_name__region_grid_delete
2024-10-07 23:27:35 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
2026-03-20 20:38:22 +03:00
type : string
2024-10-07 23:27:35 +03:00
title : Camera Name
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/events/{event_id}/snapshot-clean.webp:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Event Snapshot Clean
2026-06-14 01:04:22 +03:00
operationId :
event_snapshot_clean_events__event_id__snapshot_clean_webp_get
2024-10-07 23:27:35 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : event_id
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
type : string
2026-03-20 20:38:22 +03:00
title : Event Id
- name : download
in : query
required : false
2024-10-07 23:27:35 +03:00
schema :
2026-03-20 20:38:22 +03:00
type : boolean
default : false
title : Download
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/events/{event_id}/clip.mp4:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Event Clip
operationId : event_clip_events__event_id__clip_mp4_get
2024-10-07 23:27:35 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : event_id
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
type : string
2026-03-20 20:38:22 +03:00
title : Event Id
- name : padding
in : query
required : false
2024-10-07 23:27:35 +03:00
schema :
type : integer
2026-03-20 20:38:22 +03:00
description : Padding to apply to clip.
default : 0
title : Padding
description : Padding to apply to clip.
2026-06-14 01:04:22 +03:00
responses :
'200' :
description : Successful Response
content :
application/json :
schema : {}
'422' :
description : Validation Error
content :
application/json :
schema :
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/review/{review_id}/clip.mp4:
get :
tags :
- Media
summary : Review Clip
operationId : review_clip_review__review_id__clip_mp4_get
parameters :
- name : review_id
in : path
required : true
schema :
type : string
title : Review Id
- name : padding
2026-03-20 20:38:22 +03:00
in : query
required : false
2024-10-07 23:27:35 +03:00
schema :
2026-06-14 01:04:22 +03:00
type : integer
description : Padding to apply to clip.
default : 0
title : Padding
description : Padding to apply to clip.
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/events/{event_id}/preview.gif:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Event Preview
operationId : event_preview_events__event_id__preview_gif_get
2024-10-07 23:27:35 +03:00
parameters :
- name : event_id
in : path
required : true
schema :
type : string
title : Event Id
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/{camera_name}/start/{start_ts}/end/{end_ts}/preview.gif:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Preview Gif
2026-06-14 01:04:22 +03:00
operationId :
preview_gif__camera_name__start__start_ts__end__end_ts__preview_gif_get
2024-10-07 23:27:35 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : camera_name
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
anyOf :
2026-03-20 20:38:22 +03:00
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Camera Name
- name : start_ts
in : path
required : true
2024-10-07 23:27:35 +03:00
schema :
2026-03-20 20:38:22 +03:00
type : number
title : Start Ts
- name : end_ts
in : path
required : true
schema :
type : number
title : End Ts
- name : max_cache_age
2024-10-07 23:27:35 +03:00
in : query
required : false
schema :
2026-03-20 20:38:22 +03:00
type : integer
description : Max cache age in seconds. Default 30 days in seconds.
default : 2592000
title : Max Cache Age
description : Max cache age in seconds. Default 30 days in seconds.
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/{camera_name}/start/{start_ts}/end/{end_ts}/preview.mp4:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Preview Mp4
2026-06-14 01:04:22 +03:00
operationId :
preview_mp4__camera_name__start__start_ts__end__end_ts__preview_mp4_get
2024-10-07 23:27:35 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : camera_name
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
2026-03-20 20:38:22 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Camera Name
- name : start_ts
2025-04-10 04:56:11 +03:00
in : path
required : true
schema :
2026-03-20 20:38:22 +03:00
type : number
title : Start Ts
- name : end_ts
in : path
required : true
schema :
type : number
title : End Ts
2024-10-07 23:27:35 +03:00
- name : max_cache_age
in : query
required : false
schema :
type : integer
2026-03-20 20:38:22 +03:00
description : Max cache age in seconds. Default 7 days in seconds.
default : 604800
2024-10-07 23:27:35 +03:00
title : Max Cache Age
2026-03-20 20:38:22 +03:00
description : Max cache age in seconds. Default 7 days in seconds.
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/review/{event_id}/preview:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Review Preview
operationId : review_preview_review__event_id__preview_get
2024-10-07 23:27:35 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : event_id
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
2026-03-20 20:38:22 +03:00
type : string
title : Event Id
- name : format
2024-10-07 23:27:35 +03:00
in : query
required : false
schema :
type : string
2026-03-20 20:38:22 +03:00
enum :
- gif
- mp4
default : gif
title : Format
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/preview/{file_name}/thumbnail.webp:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Preview Thumbnail
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Get a thumbnail from the cached preview frames.
2026-03-20 20:38:22 +03:00
operationId : preview_thumbnail_preview__file_name__thumbnail_webp_get
2024-10-07 23:27:35 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : file_name
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
type : string
2026-03-20 20:38:22 +03:00
title : File Name
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/preview/{file_name}/thumbnail.jpg:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Preview Thumbnail
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Get a thumbnail from the cached preview frames.
2026-03-20 20:38:22 +03:00
operationId : preview_thumbnail_preview__file_name__thumbnail_jpg_get
2024-10-07 23:27:35 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : file_name
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
type : string
2026-03-20 20:38:22 +03:00
title : File Name
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/{camera_name}/{label}/thumbnail.jpg:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Label Thumbnail
operationId : label_thumbnail__camera_name___label__thumbnail_jpg_get
2024-10-07 23:27:35 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : camera_name
in : path
required : true
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Camera Name
- name : label
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
type : string
2026-03-20 20:38:22 +03:00
title : Label
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/{camera_name}/{label}/best.jpg:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Label Thumbnail
operationId : label_thumbnail__camera_name___label__best_jpg_get
2024-10-07 23:27:35 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
2025-10-08 22:55:38 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Camera Name
2026-03-20 20:38:22 +03:00
- name : label
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
2026-03-20 20:38:22 +03:00
type : string
title : Label
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/{camera_name}/{label}/clip.mp4:
2026-03-20 20:38:22 +03:00
get :
tags :
- Media
summary : Label Clip
operationId : label_clip__camera_name___label__clip_mp4_get
parameters :
- name : camera_name
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
2026-03-20 20:38:22 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Camera Name
- name : label
in : path
required : true
2024-10-07 23:27:35 +03:00
schema :
2026-03-20 20:38:22 +03:00
type : string
title : Label
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
description : '**Access:** Authenticated user with access to the referenced camera.'
/{camera_name}/{label}/snapshot.jpg:
2024-10-07 23:27:35 +03:00
get :
tags :
- Media
2026-03-20 20:38:22 +03:00
summary : Label Snapshot
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Returns the snapshot image from the latest event for the given camera and label combo
2026-03-20 20:38:22 +03:00
operationId : label_snapshot__camera_name___label__snapshot_jpg_get
2024-10-07 23:27:35 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
2025-10-08 22:55:38 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Camera Name
2026-03-20 20:38:22 +03:00
- name : label
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
2026-03-20 20:38:22 +03:00
type : string
title : Label
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/{camera_name}/search/motion:
2026-03-20 20:38:22 +03:00
post :
tags :
- Motion Search
summary : Start motion search job
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Authenticated user with access to the referenced camera.
2026-03-20 20:38:22 +03:00
Starts an asynchronous search for significant motion changes within
a user-defined Region of Interest (ROI) over a specified time range. Returns a job_id
that can be used to poll for results.
operationId : start_motion_search__camera_name__search_motion_post
parameters :
- name : camera_name
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
2026-03-20 20:38:22 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Camera Name
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/MotionSearchRequest'
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2026-03-20 20:38:22 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/MotionSearchStartResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/{camera_name}/search/motion/{job_id}:
2024-10-07 23:27:35 +03:00
get :
tags :
2026-03-20 20:38:22 +03:00
- Motion Search
summary : Get motion search job status
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Returns the status and results (if complete) of a motion search job.
operationId :
2026-03-20 20:38:22 +03:00
get_motion_search_status_endpoint__camera_name__search_motion__job_id__get
2024-10-07 23:27:35 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : camera_name
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
2026-03-20 20:38:22 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Camera Name
- name : job_id
in : path
required : true
2024-10-07 23:27:35 +03:00
schema :
type : string
2026-03-20 20:38:22 +03:00
title : Job Id
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2026-03-20 20:38:22 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/MotionSearchStatusResponse'
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/{camera_name}/search/motion/{job_id}/cancel:
2026-03-20 20:38:22 +03:00
post :
2024-10-07 23:27:35 +03:00
tags :
2026-03-20 20:38:22 +03:00
- Motion Search
summary : Cancel motion search job
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Cancels an active motion search job if it is still processing.
operationId :
2026-03-20 20:38:22 +03:00
cancel_motion_search_endpoint__camera_name__search_motion__job_id__cancel_post
2024-10-07 23:27:35 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : camera_name
in : path
required : true
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Camera Name
- name : job_id
2024-10-07 23:27:35 +03:00
in : path
required : true
schema :
type : string
2026-03-20 20:38:22 +03:00
title : Job Id
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
2026-03-20 20:38:22 +03:00
/recordings/storage :
2024-10-07 23:27:35 +03:00
get :
tags :
2026-03-20 20:38:22 +03:00
- Recordings
summary : Get Recordings Storage Usage
operationId : get_recordings_storage_usage_recordings_storage_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema : {}
2026-06-14 01:04:22 +03:00
security :
- frigateAdminAuth : [ ]
x-required-role : admin
description : '**Access:** Admin role required.'
2026-03-20 20:38:22 +03:00
/recordings/summary :
get :
tags :
- Recordings
summary : All Recordings Summary
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Any authenticated user.
Returns true/false by day indicating if recordings exist
2026-03-20 20:38:22 +03:00
operationId : all_recordings_summary_recordings_summary_get
2024-10-07 23:27:35 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : timezone
in : query
required : false
2024-10-07 23:27:35 +03:00
schema :
type : string
2026-03-20 20:38:22 +03:00
default : utc
title : Timezone
- name : cameras
in : query
required : false
schema :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
default : all
title : Cameras
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
/{camera_name}/recordings/summary:
2024-10-07 23:27:35 +03:00
get :
tags :
2026-03-20 20:38:22 +03:00
- Recordings
summary : Recordings Summary
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Returns hourly summary for recordings of given camera
2026-03-20 20:38:22 +03:00
operationId : recordings_summary__camera_name__recordings_summary_get
2024-10-07 23:27:35 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
2025-10-08 22:55:38 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Camera Name
2026-03-20 20:38:22 +03:00
- name : timezone
in : query
required : false
2024-10-07 23:27:35 +03:00
schema :
type : string
2026-03-20 20:38:22 +03:00
default : utc
title : Timezone
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
/{camera_name}/recordings:
2024-10-07 23:27:35 +03:00
get :
tags :
2026-03-20 20:38:22 +03:00
- Recordings
summary : Recordings
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Authenticated user with access to the referenced camera.
Return specific camera recordings between the given 'after'/'end' times. If not provided the last hour will be used
2026-03-20 20:38:22 +03:00
operationId : recordings__camera_name__recordings_get
2024-10-07 23:27:35 +03:00
parameters :
- name : camera_name
in : path
required : true
schema :
2025-10-08 22:55:38 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Camera Name
2026-03-20 20:38:22 +03:00
- name : after
in : query
required : false
2024-10-07 23:27:35 +03:00
schema :
2026-03-20 20:38:22 +03:00
type : number
title : After
- name : before
in : query
required : false
schema :
type : number
title : Before
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2024-12-06 17:04:02 +03:00
schema : {}
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : camera
2026-03-20 20:38:22 +03:00
/recordings/unavailable :
2024-10-07 23:27:35 +03:00
get :
tags :
2026-03-20 20:38:22 +03:00
- Recordings
summary : No Recordings
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Any authenticated user.
Get time ranges with no recordings.
2026-03-20 20:38:22 +03:00
operationId : no_recordings_recordings_unavailable_get
2024-10-07 23:27:35 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : cameras
in : query
required : false
2024-10-07 23:27:35 +03:00
schema :
type : string
2026-03-20 20:38:22 +03:00
default : all
title : Cameras
- name : before
in : query
required : false
schema :
type : number
title : Before
- name : after
in : query
required : false
schema :
type : number
title : After
- name : scale
in : query
required : false
schema :
type : integer
default : 30
title : Scale
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2026-03-20 20:38:22 +03:00
schema :
type : array
items :
type : object
title : Response No Recordings Recordings Unavailable Get
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateUserAuth : [ ]
x-required-role : any
/recordings/start/{start}/end/{end}:
2026-03-20 20:38:22 +03:00
delete :
2024-10-07 23:27:35 +03:00
tags :
2026-03-20 20:38:22 +03:00
- Recordings
summary : Delete recordings
description : |-
2026-06-14 01:04:22 +03:00
**Access:** Admin role required.
2026-03-20 20:38:22 +03:00
Deletes recordings within the specified time range.
Recordings can be filtered by cameras and kept based on motion, objects, or audio attributes.
operationId : delete_recordings_recordings_start__start__end__end__delete
2024-10-07 23:27:35 +03:00
parameters :
2026-03-20 20:38:22 +03:00
- name : start
in : path
required : true
schema :
type : number
description : Start timestamp (unix)
title : Start
description : Start timestamp (unix)
- name : end
2024-10-07 23:27:35 +03:00
in : path
required : true
2026-03-20 20:38:22 +03:00
schema :
type : number
description : End timestamp (unix)
title : End
description : End timestamp (unix)
- name : keep
in : query
required : false
2024-10-07 23:27:35 +03:00
schema :
2025-10-08 22:55:38 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Keep
- name : cameras
in : query
required : false
2024-10-07 23:27:35 +03:00
schema :
2026-03-20 20:38:22 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
default : all
title : Cameras
2024-10-07 23:27:35 +03:00
responses :
2026-06-14 01:04:22 +03:00
'200' :
2024-10-07 23:27:35 +03:00
description : Successful Response
content :
application/json :
2026-03-20 20:38:22 +03:00
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenericResponse'
'422' :
2026-03-20 20:38:22 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/debug_replay/start :
post :
tags :
- App
summary : Start debug replay
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Start a debug replay session from camera recordings. Returns immediately while clip generation runs as a background job; subscribe to the 'debug_replay' job_state WS topic to track progress.
2026-03-20 20:38:22 +03:00
operationId : start_debug_replay_debug_replay_start_post
requestBody :
required : true
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/DebugReplayStartBody'
2026-03-20 20:38:22 +03:00
responses :
2026-06-14 01:04:22 +03:00
'202' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/DebugReplayStartResponse'
'400' :
2026-05-03 23:54:20 +03:00
description : Invalid camera, time range, or no recordings
2026-06-14 01:04:22 +03:00
'409' :
description : A replay session is already active
'422' :
description : Validation Error
content :
application/json :
schema :
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
/debug_replay/start_from_export :
post :
tags :
- App
summary : Start debug replay from an export
description : |-
**Access:** Admin role required.
Start a debug replay session covering an existing export's time range. The end time is derived from the export's video duration.
operationId :
start_debug_replay_from_export_debug_replay_start_from_export_post
requestBody :
required : true
content :
application/json :
schema :
$ref : '#/components/schemas/DebugReplayStartFromExportBody'
responses :
'202' :
description : Successful Response
content :
application/json :
schema :
$ref : '#/components/schemas/DebugReplayStartResponse'
'400' :
description : Invalid export, time range, or no recordings
'404' :
description : Export not found
'409' :
2026-05-03 23:54:20 +03:00
description : A replay session is already active
2026-06-14 01:04:22 +03:00
'422' :
2024-10-07 23:27:35 +03:00
description : Validation Error
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/HTTPValidationError'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/debug_replay/status :
get :
tags :
- App
summary : Get debug replay status
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Get the status of the current debug replay session.
2026-03-20 20:38:22 +03:00
operationId : get_debug_replay_status_debug_replay_status_get
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/DebugReplayStatusResponse'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2026-03-20 20:38:22 +03:00
/debug_replay/stop :
post :
tags :
- App
summary : Stop debug replay
2026-06-14 01:04:22 +03:00
description : |-
**Access:** Admin role required.
Stop the active debug replay session and clean up all artifacts.
2026-03-20 20:38:22 +03:00
operationId : stop_debug_replay_debug_replay_stop_post
responses :
2026-06-14 01:04:22 +03:00
'200' :
2026-03-20 20:38:22 +03:00
description : Successful Response
content :
application/json :
schema :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/DebugReplayStopResponse'
security :
- frigateAdminAuth : [ ]
x-required-role : admin
2024-10-07 23:27:35 +03:00
components :
schemas :
AppConfigSetBody :
properties :
requires_restart :
type : integer
title : Requires Restart
default : 1
2025-10-08 22:55:38 +03:00
update_topic :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-10-08 22:55:38 +03:00
title : Update Topic
config_data :
anyOf :
- type : object
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-10-08 22:55:38 +03:00
title : Config Data
2026-03-20 20:38:22 +03:00
skip_save :
type : boolean
title : Skip Save
default : false
2024-10-07 23:27:35 +03:00
type : object
title : AppConfigSetBody
AppPostLoginBody :
properties :
user :
type : string
title : User
password :
type : string
title : Password
type : object
required :
- user
- password
title : AppPostLoginBody
AppPostUsersBody :
properties :
username :
type : string
title : Username
password :
type : string
title : Password
2025-04-10 04:56:11 +03:00
role :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-04-10 04:56:11 +03:00
title : Role
default : viewer
2024-10-07 23:27:35 +03:00
type : object
required :
- username
- password
title : AppPostUsersBody
AppPutPasswordBody :
properties :
password :
type : string
title : Password
2026-03-20 20:38:22 +03:00
old_password :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Old Password
2024-10-07 23:27:35 +03:00
type : object
required :
- password
title : AppPutPasswordBody
2025-04-10 04:56:11 +03:00
AppPutRoleBody :
properties :
role :
type : string
title : Role
type : object
required :
- role
title : AppPutRoleBody
2025-10-08 22:55:38 +03:00
AudioTranscriptionBody :
properties :
2026-06-14 01:04:22 +03:00
event_id :
type : string
title : Event Id
description : ID of the event to transcribe audio for
type : object
required :
- event_id
title : AudioTranscriptionBody
BatchExportBody :
properties :
items :
items :
$ref : '#/components/schemas/BatchExportItem'
type : array
maxItems : 50
minItems : 1
title : Items
description : List of export items. Each item has its own camera and
time range.
export_case_id :
anyOf :
- type : string
maxLength : 30
- type : 'null'
title : Export case ID
description : Existing export case ID to assign all exports to.
Attaching to an existing case is temporarily admin-only until
case-level ACLs exist.
new_case_name :
anyOf :
- type : string
maxLength : 100
- type : 'null'
title : New case name
description : Name of a new export case to create when export_case_id
is omitted
new_case_description :
anyOf :
- type : string
- type : 'null'
title : New case description
description : Optional description for a newly created export case
type : object
required :
- items
title : BatchExportBody
BatchExportItem :
properties :
camera :
type : string
title : Camera name
start_time :
type : number
title : Start time
end_time :
type : number
title : End time
image_path :
anyOf :
- type : string
- type : 'null'
title : Existing thumbnail path
description : Optional existing image to use as the export thumbnail
friendly_name :
anyOf :
- type : string
maxLength : 256
- type : 'null'
title : Friendly name
description : Optional friendly name for this specific export item
client_item_id :
anyOf :
- type : string
maxLength : 128
- type : 'null'
title : Client item ID
description : Optional opaque client identifier echoed back in results
type : object
required :
- camera
- start_time
- end_time
title : BatchExportItem
BatchExportResponse :
properties :
export_case_id :
anyOf :
- type : string
- type : 'null'
title : Export Case Id
description : Export case ID associated with the batch
export_ids :
items :
type : string
type : array
title : Export Ids
description : Export IDs successfully queued
results :
items :
$ref : '#/components/schemas/BatchExportResultModel'
type : array
title : Results
description : Per-item batch export results
type : object
required :
- export_ids
- results
title : BatchExportResponse
description : Response model for starting an export batch.
BatchExportResultModel :
properties :
camera :
2025-10-08 22:55:38 +03:00
type : string
2026-06-14 01:04:22 +03:00
title : Camera
description : Camera name for this export attempt
export_id :
anyOf :
- type : string
- type : 'null'
title : Export Id
description : The export ID when the export was successfully queued
success :
type : boolean
title : Success
description : Whether the export was successfully queued
status :
anyOf :
- type : string
- type : 'null'
title : Status
description : Queue status for this camera export
error :
anyOf :
- type : string
- type : 'null'
title : Error
description : Validation or queueing error for this item, if any
item_index :
anyOf :
- type : integer
- type : 'null'
title : Item Index
description : Zero-based index of this result within the request items
list
client_item_id :
anyOf :
- type : string
- type : 'null'
title : Client Item Id
description : Opaque client-supplied item identifier echoed from the
request
2025-10-08 22:55:38 +03:00
type : object
required :
2026-06-14 01:04:22 +03:00
- camera
- success
title : BatchExportResultModel
description : Per-item result for a batch export request.
2025-04-10 04:56:11 +03:00
Body_recognize_face_faces_recognize_post :
properties :
file :
type : string
format : binary
title : File
type : object
required :
- file
title : Body_recognize_face_faces_recognize_post
Body_register_face_faces__name__register_post :
properties :
file :
type : string
format : binary
title : File
type : object
required :
2026-03-20 20:38:22 +03:00
- file
title : Body_register_face_faces__name__register_post
CameraSetBody :
properties :
value :
type : string
title : Value
description : The value to set for the feature
type : object
required :
- value
title : CameraSetBody
ChatCompletionRequest :
properties :
messages :
items :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ChatMessage'
2026-03-20 20:38:22 +03:00
type : array
title : Messages
description : List of messages in the conversation
max_tool_iterations :
type : integer
2026-06-14 01:04:22 +03:00
maximum : 10.0
minimum : 1.0
2026-03-20 20:38:22 +03:00
title : Max Tool Iterations
2026-06-14 01:04:22 +03:00
description: 'Maximum number of tool call iterations (default : 5 )'
2026-03-20 20:38:22 +03:00
default : 5
stream :
type : boolean
title : Stream
2026-06-14 01:04:22 +03:00
description : If true, stream the final assistant response in the body
as newline-delimited JSON.
2026-03-20 20:38:22 +03:00
default : false
2026-06-14 01:04:22 +03:00
enable_thinking :
anyOf :
- type : boolean
- type : 'null'
title : Enable Thinking
description : Per-request thinking toggle. None means use the provider
default. Ignored by providers that do not expose a per-request
thinking switch.
2026-03-20 20:38:22 +03:00
type : object
required :
- messages
title : ChatCompletionRequest
description : Request for chat completion with tool calling.
ChatMessage :
properties :
role :
type : string
title : Role
description : "Message role: 'user', 'assistant', 'system', or 'tool'"
content :
2026-06-14 01:04:22 +03:00
anyOf :
- {}
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Content
2026-06-14 01:04:22 +03:00
description : Message content. Usually a string, but may be a
multimodal content list (e.g. text + image_url) or null for
assistant turns that only request tool calls.
2026-03-20 20:38:22 +03:00
tool_call_id :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Tool Call Id
2026-06-14 01:04:22 +03:00
description : For tool messages, the ID of the tool call
2026-03-20 20:38:22 +03:00
name :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Name
2026-06-14 01:04:22 +03:00
description : For tool messages, the tool name
tool_calls :
anyOf :
- items :
type : object
type : array
- type : 'null'
title : Tool Calls
description : For assistant messages replayed from prior turns, the
OpenAI-format tool calls the model previously requested. Replaying
these verbatim keeps the conversation prefix byte-for-byte identical
so the model server's prompt cache hits on follow-up turns.
2026-03-20 20:38:22 +03:00
type : object
required :
- role
title : ChatMessage
description : A single message in a chat conversation.
2024-10-23 16:35:49 +03:00
DayReview :
properties :
day :
type : string
format : date-time
title : Day
reviewed_alert :
type : integer
title : Reviewed Alert
reviewed_detection :
type : integer
title : Reviewed Detection
total_alert :
type : integer
title : Total Alert
total_detection :
type : integer
title : Total Detection
type : object
required :
- day
- reviewed_alert
- reviewed_detection
- total_alert
- total_detection
title : DayReview
2026-03-20 20:38:22 +03:00
DebugReplayStartBody :
properties :
camera :
type : string
title : Source camera name
start_time :
type : number
title : Start timestamp
end_time :
type : number
title : End timestamp
type : object
required :
- camera
- start_time
- end_time
title : DebugReplayStartBody
description : Request body for starting a debug replay session.
2026-06-14 01:04:22 +03:00
DebugReplayStartFromExportBody :
properties :
export_id :
type : string
title : Export id
type : object
required :
- export_id
title : DebugReplayStartFromExportBody
description : Request body for starting a debug replay session from an
export.
2026-03-20 20:38:22 +03:00
DebugReplayStartResponse :
properties :
success :
type : boolean
title : Success
replay_camera :
type : string
title : Replay Camera
2026-05-03 23:54:20 +03:00
job_id :
type : string
title : Job Id
2026-03-20 20:38:22 +03:00
type : object
required :
- success
- replay_camera
2026-05-03 23:54:20 +03:00
- job_id
2026-03-20 20:38:22 +03:00
title : DebugReplayStartResponse
description : Response for starting a debug replay session.
DebugReplayStatusResponse :
properties :
active :
type : boolean
title : Active
replay_camera :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Replay Camera
source_camera :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Source Camera
start_time :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Start Time
end_time :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : End Time
live_ready :
type : boolean
title : Live Ready
default : false
type : object
required :
- active
title : DebugReplayStatusResponse
2026-06-14 01:04:22 +03:00
description : |-
Response for debug replay status.
Returns only session-presence fields. Startup progress and error
details flow through the job_state WebSocket topic via the
debug_replay job (see frigate.jobs.debug_replay); the
Replay page subscribes there with useJobStatus("debug_replay").
2026-03-20 20:38:22 +03:00
DebugReplayStopResponse :
properties :
success :
type : boolean
title : Success
type : object
required :
- success
title : DebugReplayStopResponse
description : Response for stopping a debug replay session.
2025-10-08 22:55:38 +03:00
DeleteFaceImagesBody :
properties :
ids :
items :
type : string
type : array
title : Ids
description : List of image filenames to delete from the face folder
type : object
required :
- ids
title : DeleteFaceImagesBody
2024-12-06 17:04:02 +03:00
EventCreateResponse :
properties :
success :
type : boolean
title : Success
message :
type : string
title : Message
event_id :
type : string
title : Event Id
type : object
required :
- success
- message
- event_id
title : EventCreateResponse
EventMultiDeleteResponse :
properties :
success :
type : boolean
title : Success
deleted_events :
items :
type : string
type : array
title : Deleted Events
not_found_events :
items :
type : string
type : array
title : Not Found Events
type : object
required :
- success
- deleted_events
- not_found_events
title : EventMultiDeleteResponse
EventResponse :
properties :
id :
type : string
title : Id
label :
type : string
title : Label
sub_label :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-12-06 17:04:02 +03:00
title : Sub Label
camera :
type : string
title : Camera
start_time :
type : number
title : Start Time
end_time :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-12-06 17:04:02 +03:00
title : End Time
false_positive :
2025-04-10 04:56:11 +03:00
anyOf :
- type : boolean
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-12-06 17:04:02 +03:00
title : False Positive
zones :
items :
type : string
type : array
title : Zones
thumbnail :
2025-04-10 04:56:11 +03:00
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-12-06 17:04:02 +03:00
title : Thumbnail
has_clip :
type : boolean
title : Has Clip
has_snapshot :
type : boolean
title : Has Snapshot
retain_indefinitely :
type : boolean
title : Retain Indefinitely
plus_id :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-12-06 17:04:02 +03:00
title : Plus Id
model_hash :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-12-06 17:04:02 +03:00
title : Model Hash
detector_type :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-12-06 17:04:02 +03:00
title : Detector Type
model_type :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-12-06 17:04:02 +03:00
title : Model Type
data :
2025-04-10 04:56:11 +03:00
type : object
2024-12-06 17:04:02 +03:00
title : Data
type : object
required :
- id
- label
- sub_label
- camera
- start_time
- end_time
- false_positive
- zones
- thumbnail
- has_clip
- has_snapshot
- retain_indefinitely
- plus_id
- model_hash
- detector_type
- model_type
- data
title : EventResponse
EventUploadPlusResponse :
properties :
success :
type : boolean
title : Success
plus_id :
type : string
title : Plus Id
type : object
required :
- success
- plus_id
title : EventUploadPlusResponse
2026-03-20 20:38:22 +03:00
EventsAttributesBody :
properties :
attributes :
items :
type : string
type : array
title : Selected classification attributes for the event
type : object
title : EventsAttributesBody
2024-10-07 23:27:35 +03:00
EventsCreateBody :
properties :
sub_label :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Sub Label
score :
anyOf :
2024-12-01 17:47:37 +03:00
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Score
default : 0
duration :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Duration
default : 30
include_recording :
anyOf :
- type : boolean
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Include Recording
default : true
draw :
anyOf :
- type : object
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Draw
2024-12-06 17:04:02 +03:00
default : {}
2026-02-12 01:09:26 +03:00
pre_capture :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Pre Capture
2024-10-07 23:27:35 +03:00
type : object
title : EventsCreateBody
2024-12-06 17:04:02 +03:00
EventsDeleteBody :
properties :
event_ids :
items :
type : string
type : array
title : The event IDs to delete
type : object
required :
- event_ids
title : EventsDeleteBody
2024-10-07 23:27:35 +03:00
EventsDescriptionBody :
properties :
description :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : The description of the event
type : object
required :
- description
title : EventsDescriptionBody
EventsEndBody :
properties :
end_time :
anyOf :
2024-12-01 17:47:37 +03:00
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2024-10-07 23:27:35 +03:00
title : End Time
type : object
title : EventsEndBody
2025-07-16 05:53:21 +03:00
EventsLPRBody :
properties :
recognizedLicensePlate :
type : string
maxLength : 100
title : Recognized License Plate
recognizedLicensePlateScore :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
maximum : 1.0
exclusiveMinimum : 0.0
- type : 'null'
2025-07-16 05:53:21 +03:00
title : Score for recognized license plate
type : object
required :
- recognizedLicensePlate
title : EventsLPRBody
2024-10-07 23:27:35 +03:00
EventsSubLabelBody :
properties :
subLabel :
type : string
maxLength : 100
title : Sub label
subLabelScore :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
maximum : 1.0
exclusiveMinimum : 0.0
- type : 'null'
2024-10-07 23:27:35 +03:00
title : Score for sub label
2025-04-10 04:56:11 +03:00
camera :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-04-10 04:56:11 +03:00
title : Camera this object is detected on.
2024-10-07 23:27:35 +03:00
type : object
required :
- subLabel
title : EventsSubLabelBody
2026-04-14 17:19:50 +03:00
ExportBulkDeleteBody :
2025-12-18 17:35:47 +03:00
properties :
2026-04-14 17:19:50 +03:00
ids :
items :
type : string
minLength : 1
type : array
minItems : 1
title : Ids
type : object
required :
- ids
title : ExportBulkDeleteBody
description : Request body for bulk deleting exports.
ExportBulkReassignBody :
properties :
ids :
items :
type : string
minLength : 1
type : array
minItems : 1
title : Ids
2026-03-20 20:38:22 +03:00
export_case_id :
anyOf :
- type : string
maxLength : 30
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Export Case Id
2026-06-14 01:04:22 +03:00
description : Case ID to assign to, or null to unassign from current
case
2026-03-20 20:38:22 +03:00
type : object
2026-04-14 17:19:50 +03:00
required :
- ids
title : ExportBulkReassignBody
description : Request body for bulk reassigning exports to a case.
2026-03-20 20:38:22 +03:00
ExportCaseCreateBody :
properties :
name :
type : string
maxLength : 100
title : Name
description : Friendly name of the export case
description :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Description
description : Optional description of the export case
2025-12-18 17:35:47 +03:00
type : object
required :
2026-03-20 20:38:22 +03:00
- name
title : ExportCaseCreateBody
description : Request body for creating a new export case.
ExportCaseModel :
properties :
id :
type : string
title : Id
description : Unique identifier for the export case
name :
type : string
title : Name
description : Friendly name of the export case
description :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Description
description : Optional description of the export case
created_at :
type : number
title : Created At
description : Unix timestamp when the export case was created
updated_at :
type : number
title : Updated At
description : Unix timestamp when the export case was last updated
type : object
required :
- id
- name
- created_at
- updated_at
title : ExportCaseModel
description : Model representing a single export case.
ExportCaseUpdateBody :
properties :
name :
anyOf :
- type : string
maxLength : 100
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Name
description : Updated friendly name of the export case
description :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Description
description : Updated description of the export case
type : object
title : ExportCaseUpdateBody
description : Request body for updating an existing export case.
2026-06-14 01:04:22 +03:00
ExportJobModel :
properties :
id :
type : string
title : Id
description : Unique identifier for the export job
job_type :
type : string
title : Job Type
description : Job type
status :
type : string
title : Status
description : Current job status
camera :
type : string
title : Camera
description : Camera associated with this export job
name :
anyOf :
- type : string
- type : 'null'
title : Name
description : Friendly name for the export
export_case_id :
anyOf :
- type : string
- type : 'null'
title : Export Case Id
description : ID of the export case this export belongs to
request_start_time :
type : number
title : Request Start Time
description : Requested export start time
request_end_time :
type : number
title : Request End Time
description : Requested export end time
start_time :
anyOf :
- type : number
- type : 'null'
title : Start Time
description : Unix timestamp when execution started
end_time :
anyOf :
- type : number
- type : 'null'
title : End Time
description : Unix timestamp when execution completed
error_message :
anyOf :
- type : string
- type : 'null'
title : Error Message
description : Error message for failed jobs
results :
anyOf :
- type : object
- type : 'null'
title : Results
description : Result metadata for completed jobs
current_step :
type : string
title : Current Step
description : Current execution step (queued, preparing, encoding,
encoding_retry, finalizing)
default : queued
progress_percent :
type : number
title : Progress Percent
description : Progress percentage of the current step (0.0 - 100.0)
default : 0.0
type : object
required :
- id
- job_type
- status
- camera
- request_start_time
- request_end_time
title : ExportJobModel
description : Model representing a queued or running export job.
2025-10-08 22:55:38 +03:00
ExportModel :
properties :
id :
type : string
title : Id
description : Unique identifier for the export
camera :
type : string
title : Camera
description : Camera name associated with this export
name :
type : string
title : Name
description : Friendly name of the export
date :
type : number
title : Date
description : Unix timestamp when the export was created
video_path :
type : string
title : Video Path
description : File path to the exported video
thumb_path :
type : string
title : Thumb Path
description : File path to the export thumbnail
in_progress :
type : boolean
title : In Progress
description : Whether the export is currently being processed
2026-03-20 20:38:22 +03:00
export_case_id :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Export Case Id
description : ID of the export case this export belongs to
2025-10-08 22:55:38 +03:00
type : object
required :
- id
- camera
- name
- date
- video_path
- thumb_path
- in_progress
title : ExportModel
description : Model representing a single export.
2024-11-11 06:26:47 +03:00
ExportRecordingsBody :
properties :
2026-03-20 20:38:22 +03:00
source :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/PlaybackSourceEnum'
2026-03-20 20:38:22 +03:00
title : Playback source
default : recordings
name :
anyOf :
- type : string
maxLength : 256
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Friendly name
image_path :
type : string
title : Image Path
export_case_id :
anyOf :
- type : string
maxLength : 30
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Export case ID
description : ID of the export case to assign this export to
type : object
title : ExportRecordingsBody
ExportRecordingsCustomBody :
properties :
2024-11-11 06:26:47 +03:00
source :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/PlaybackSourceEnum'
2024-11-11 06:26:47 +03:00
title : Playback source
default : recordings
name :
type : string
maxLength : 256
title : Friendly name
image_path :
type : string
title : Image Path
2026-03-20 20:38:22 +03:00
export_case_id :
anyOf :
- type : string
maxLength : 30
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Export case ID
description : ID of the export case to assign this export to
ffmpeg_input_args :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : FFmpeg input arguments
2026-06-14 01:04:22 +03:00
description : Custom FFmpeg input arguments. If not provided, defaults
to timelapse input args.
2026-03-20 20:38:22 +03:00
ffmpeg_output_args :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : FFmpeg output arguments
2026-06-14 01:04:22 +03:00
description : Custom FFmpeg output arguments. If not provided, defaults
to timelapse output args.
2026-03-20 20:38:22 +03:00
cpu_fallback :
type : boolean
title : CPU Fallback
2026-06-14 01:04:22 +03:00
description : If true, retry export without hardware acceleration if
the initial export fails.
2026-03-20 20:38:22 +03:00
default : false
2024-11-11 06:26:47 +03:00
type : object
2026-03-20 20:38:22 +03:00
title : ExportRecordingsCustomBody
2025-04-10 04:56:11 +03:00
ExportRenameBody :
properties :
name :
type : string
maxLength : 256
title : Friendly name
type : object
required :
- name
title : ExportRenameBody
2024-10-07 23:27:35 +03:00
Extension :
type : string
enum :
- webp
- png
- jpg
- jpeg
title : Extension
2025-10-08 22:55:38 +03:00
FaceRecognitionResponse :
properties :
success :
type : boolean
title : Success
description : Whether the face recognition was successful
score :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-10-08 22:55:38 +03:00
title : Score
description : Confidence score of the recognition (0-1)
face_name :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-10-08 22:55:38 +03:00
title : Face Name
description : The recognized face name if successful
type : object
required :
- success
title : FaceRecognitionResponse
2026-06-14 01:04:22 +03:00
description : |-
2025-10-08 22:55:38 +03:00
Response model for face recognition endpoint.
2026-06-14 01:04:22 +03:00
Returns the result of attempting to recognize a face from an uploaded image.
2025-10-08 22:55:38 +03:00
FacesResponse :
additionalProperties :
items :
type : string
type : array
type : object
title : FacesResponse
description : |-
Response model for the get_faces endpoint.
Returns a mapping of face names to lists of image filenames.
Each face name corresponds to a directory in the faces folder,
and the list contains the names of image files for that face.
Example :
{
"john_doe": [ "face1.webp" , "face2.jpg" ] ,
"jane_smith": [ "face3.png" ]
}
2026-05-20 17:36:49 +03:00
GenAIProbeBody :
properties :
provider :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/GenAIProviderEnum'
2026-05-20 17:36:49 +03:00
api_key :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
title : Api Key
2026-05-20 17:36:49 +03:00
base_url :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
title : Base Url
2026-05-20 17:36:49 +03:00
provider_options :
type : object
title : Provider Options
type : object
required :
- provider
title : GenAIProbeBody
2026-06-14 01:04:22 +03:00
GenAIProviderEnum :
type : string
enum :
- openai
- azure_openai
- gemini
- ollama
- llamacpp
title : GenAIProviderEnum
2026-03-20 20:38:22 +03:00
GenerateObjectExamplesBody :
properties :
model_name :
type : string
title : Model Name
description : Name of the classification model
label :
type : string
title : Label
2026-06-14 01:04:22 +03:00
description : Object label to collect examples for (e.g., 'person',
'car' )
2026-03-20 20:38:22 +03:00
type : object
required :
- model_name
- label
title : GenerateObjectExamplesBody
GenerateStateExamplesBody :
properties :
model_name :
type : string
title : Model Name
description : Name of the classification model
cameras :
additionalProperties :
prefixItems :
- type : number
- type : number
- type : number
- type : number
type : array
maxItems : 4
minItems : 4
type : object
title : Cameras
2026-06-14 01:04:22 +03:00
description : Dictionary mapping camera names to normalized crop
coordinates in [x1, y1, x2, y2] format (values 0-1)
2026-03-20 20:38:22 +03:00
type : object
required :
- model_name
- cameras
title : GenerateStateExamplesBody
2024-10-23 16:35:49 +03:00
GenericResponse :
properties :
success :
type : boolean
title : Success
message :
type : string
title : Message
type : object
required :
- success
- message
title : GenericResponse
2024-10-07 23:27:35 +03:00
HTTPValidationError :
properties :
detail :
items :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/ValidationError'
2024-10-07 23:27:35 +03:00
type : array
title : Detail
type : object
title : HTTPValidationError
2024-10-23 16:35:49 +03:00
Last24HoursReview :
properties :
reviewed_alert :
type : integer
title : Reviewed Alert
reviewed_detection :
type : integer
title : Reviewed Detection
total_alert :
type : integer
title : Total Alert
total_detection :
type : integer
title : Total Detection
type : object
required :
- reviewed_alert
- reviewed_detection
- total_alert
- total_detection
title : Last24HoursReview
2026-03-20 20:38:22 +03:00
MediaSyncBody :
properties :
dry_run :
type : boolean
title : Dry Run
2026-06-14 01:04:22 +03:00
description : If True, only report orphans without deleting them
2026-03-20 20:38:22 +03:00
default : true
media_types :
items :
type : string
type : array
title : Media Types
2026-06-14 01:04:22 +03:00
description : "Types of media to sync: 'all', 'event_snapshots', 'event_thumbnails',
'review_thumbnails' , 'previews' , 'exports' , 'recordings' "
2026-03-20 20:38:22 +03:00
default :
- all
force :
type : boolean
title : Force
2026-06-14 01:04:22 +03:00
description : If True, bypass safety threshold checks
2026-03-20 20:38:22 +03:00
default : false
2026-03-23 19:05:38 +03:00
verbose :
type : boolean
title : Verbose
2026-06-14 01:04:22 +03:00
description : If True, write full orphan file list to disk
2026-03-23 19:05:38 +03:00
default : false
2026-03-20 20:38:22 +03:00
type : object
title : MediaSyncBody
MotionSearchMetricsResponse :
properties :
segments_scanned :
type : integer
title : Segments Scanned
default : 0
segments_processed :
type : integer
title : Segments Processed
default : 0
metadata_inactive_segments :
type : integer
title : Metadata Inactive Segments
default : 0
heatmap_roi_skip_segments :
type : integer
title : Heatmap Roi Skip Segments
default : 0
fallback_full_range_segments :
type : integer
title : Fallback Full Range Segments
default : 0
frames_decoded :
type : integer
title : Frames Decoded
default : 0
wall_time_seconds :
type : number
title : Wall Time Seconds
2026-06-14 01:04:22 +03:00
default : 0.0
2026-03-20 20:38:22 +03:00
segments_with_errors :
type : integer
title : Segments With Errors
default : 0
type : object
title : MotionSearchMetricsResponse
description : Metrics collected during motion search execution.
MotionSearchRequest :
properties :
start_time :
type : number
title : Start Time
description : Start timestamp for the search range
end_time :
type : number
title : End Time
description : End timestamp for the search range
polygon_points :
items :
items :
type : number
type : array
type : array
title : Polygon Points
2026-06-14 01:04:22 +03:00
description : List of [x, y] normalized coordinates (0-1) defining the
ROI polygon
2026-03-20 20:38:22 +03:00
threshold :
type : integer
2026-06-14 01:04:22 +03:00
maximum : 255.0
minimum : 1.0
2026-03-20 20:38:22 +03:00
title : Threshold
description : Pixel difference threshold (1-255)
default : 30
min_area :
type : number
2026-06-14 01:04:22 +03:00
maximum : 100.0
2026-03-20 20:38:22 +03:00
minimum : 0.1
title : Min Area
description : Minimum change area as a percentage of the ROI
2026-06-14 01:04:22 +03:00
default : 5.0
2026-03-20 20:38:22 +03:00
parallel :
type : boolean
title : Parallel
description : Enable parallel scanning across segments
default : false
max_results :
type : integer
2026-06-14 01:04:22 +03:00
maximum : 200.0
minimum : 1.0
2026-03-20 20:38:22 +03:00
title : Max Results
description : Maximum number of search results to return
default : 25
type : object
required :
- start_time
- end_time
- polygon_points
title : MotionSearchRequest
description : Request body for motion search.
MotionSearchResult :
properties :
timestamp :
type : number
title : Timestamp
description : Timestamp where change was detected
change_percentage :
type : number
title : Change Percentage
description : Percentage of ROI area that changed
type : object
required :
- timestamp
- change_percentage
title : MotionSearchResult
description : A single search result with timestamp and change info.
MotionSearchStartResponse :
properties :
success :
type : boolean
title : Success
message :
type : string
title : Message
job_id :
type : string
title : Job Id
type : object
required :
- success
- message
- job_id
title : MotionSearchStartResponse
description : Response when motion search job starts.
MotionSearchStatusResponse :
properties :
success :
type : boolean
title : Success
message :
type : string
title : Message
status :
type : string
title : Status
results :
anyOf :
- items :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/MotionSearchResult'
2026-03-20 20:38:22 +03:00
type : array
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Results
total_frames_processed :
anyOf :
- type : integer
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Total Frames Processed
error_message :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-03-20 20:38:22 +03:00
title : Error Message
metrics :
anyOf :
2026-06-14 01:04:22 +03:00
- $ref : '#/components/schemas/MotionSearchMetricsResponse'
- type : 'null'
2026-06-01 20:08:46 +03:00
scanning_timestamp :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-06-01 20:08:46 +03:00
title : Scanning Timestamp
progress :
anyOf :
- type : number
2026-06-14 01:04:22 +03:00
- type : 'null'
2026-06-01 20:08:46 +03:00
title : Progress
2026-03-20 20:38:22 +03:00
type : object
required :
- success
- message
- status
title : MotionSearchStatusResponse
description : Response containing job status and results.
2024-11-11 06:26:47 +03:00
PlaybackSourceEnum :
type : string
enum :
- recordings
- preview
title : PlaybackSourceEnum
2025-10-08 22:55:38 +03:00
PreviewModel :
properties :
camera :
type : string
title : Camera
description : Camera name for this preview
src :
type : string
title : Src
description : Path to the preview video file
type :
type : string
title : Type
description : MIME type of the preview video (video/mp4)
start :
type : number
title : Start
description : Unix timestamp when the preview starts
end :
type : number
title : End
description : Unix timestamp when the preview ends
type : object
required :
- camera
- src
- type
- start
- end
title : PreviewModel
description : Model representing a single preview clip.
2024-10-23 16:35:49 +03:00
RegenerateDescriptionEnum :
type : string
enum :
- thumbnails
- snapshot
title : RegenerateDescriptionEnum
2025-07-16 05:53:21 +03:00
RenameFaceBody :
properties :
new_name :
type : string
title : New Name
2026-03-20 20:38:22 +03:00
description : New name for the face
2025-07-16 05:53:21 +03:00
type : object
required :
- new_name
title : RenameFaceBody
2024-10-23 16:35:49 +03:00
ReviewActivityMotionResponse :
properties :
start_time :
type : integer
title : Start Time
motion :
type : number
title : Motion
camera :
type : string
title : Camera
type : object
required :
- start_time
- motion
- camera
title : ReviewActivityMotionResponse
2024-11-11 06:26:47 +03:00
ReviewModifyMultipleBody :
2024-10-23 16:35:49 +03:00
properties :
ids :
items :
type : string
minLength : 1
type : array
minItems : 1
title : Ids
2026-03-20 20:38:22 +03:00
reviewed :
type : boolean
title : Reviewed
default : true
2024-10-23 16:35:49 +03:00
type : object
required :
- ids
2024-11-11 06:26:47 +03:00
title : ReviewModifyMultipleBody
2024-10-23 16:35:49 +03:00
ReviewSegmentResponse :
properties :
id :
type : string
title : Id
camera :
type : string
title : Camera
start_time :
type : string
format : date-time
title : Start Time
end_time :
type : string
format : date-time
title : End Time
has_been_reviewed :
type : boolean
title : Has Been Reviewed
severity :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/SeverityEnum'
2024-10-23 16:35:49 +03:00
thumb_path :
type : string
title : Thumb Path
data :
title : Data
type : object
required :
- id
- camera
- start_time
- end_time
- has_been_reviewed
- severity
- thumb_path
- data
title : ReviewSegmentResponse
ReviewSummaryResponse :
properties :
last24Hours :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/Last24HoursReview'
2024-10-23 16:35:49 +03:00
root :
additionalProperties :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/DayReview'
2024-10-23 16:35:49 +03:00
type : object
title : Root
type : object
required :
- last24Hours
- root
title : ReviewSummaryResponse
SeverityEnum :
type : string
enum :
- alert
- detection
title : SeverityEnum
2025-10-08 22:55:38 +03:00
StartExportResponse :
properties :
success :
type : boolean
title : Success
description : Whether the export was started successfully
message :
type : string
title : Message
description : Status or error message
export_id :
anyOf :
- type : string
2026-06-14 01:04:22 +03:00
- type : 'null'
2025-10-08 22:55:38 +03:00
title : Export Id
description : The export ID if successfully started
2026-06-14 01:04:22 +03:00
status :
anyOf :
- type : string
- type : 'null'
title : Status
description : Queue status for the export job
2025-10-08 22:55:38 +03:00
type : object
required :
- success
- message
title : StartExportResponse
description : Response model for starting an export.
2024-10-07 23:27:35 +03:00
SubmitPlusBody :
properties :
include_annotation :
type : integer
title : Include Annotation
default : 1
type : object
title : SubmitPlusBody
2026-03-20 20:38:22 +03:00
ToolExecuteRequest :
properties :
tool_name :
type : string
title : Tool Name
arguments :
type : object
title : Arguments
type : object
required :
- tool_name
- arguments
title : ToolExecuteRequest
description : Request model for tool execution.
2025-10-08 22:55:38 +03:00
TriggerEmbeddingBody :
properties :
type :
2026-06-14 01:04:22 +03:00
$ref : '#/components/schemas/TriggerType'
2025-10-08 22:55:38 +03:00
data :
type : string
title : Data
threshold :
type : number
2026-06-14 01:04:22 +03:00
maximum : 1.0
minimum : 0.0
2025-10-08 22:55:38 +03:00
title : Threshold
default : 0.5
type : object
required :
- type
- data
title : TriggerEmbeddingBody
TriggerType :
type : string
enum :
- thumbnail
- description
title : TriggerType
2026-06-14 01:04:22 +03:00
VLMMonitorRequest :
properties :
camera :
type : string
title : Camera
condition :
type : string
title : Condition
max_duration_minutes :
type : integer
title : Max Duration Minutes
default : 60
labels :
items :
type : string
type : array
title : Labels
default : [ ]
zones :
items :
type : string
type : array
title : Zones
default : [ ]
type : object
required :
- camera
- condition
title : VLMMonitorRequest
description : Request model for starting a VLM watch job.
2024-10-07 23:27:35 +03:00
ValidationError :
properties :
loc :
items :
anyOf :
- type : string
- type : integer
type : array
title : Location
msg :
type : string
title : Message
type :
type : string
title : Error Type
type : object
required :
- loc
- msg
- type
title : ValidationError
2026-06-14 01:04:22 +03:00
securitySchemes :
frigateAdminAuth :
type : apiKey
in : cookie
name : frigate_token
description : Authenticated session whose resolved role is 'admin'. The
session is established via the JWT cookie issued by POST /login, or via
proxy auth headers (remote-user / remote-role) when Frigate runs behind
an authenticating reverse proxy.
frigateUserAuth :
type : apiKey
in : cookie
name : frigate_token
description : Any authenticated session (role 'viewer' or higher),
established via the JWT cookie issued by POST /login, or via proxy auth
headers when Frigate runs behind an authenticating reverse proxy.