States
✨ Get entity state history
get/api/fsm/entities/{entity_name}/{entity_id}/history
Request
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/api/fsm/entities/{entity_name}/{entity_id}/history
- AuthAPI key in header Authorization
Path parameters
entity_idinteger required
entity_namestring required
Query parameters
created_at_fromstring
Filter for state history items created at or after the ISO 8601 formatted date (YYYY-MM-DDTHH:MM:SS)
created_at_tostring
Filter for state history items created at or before the ISO 8601 formatted date (YYYY-MM-DDTHH:MM:SS)
orderingstring
Which field to use when ordering the results.
pageinteger
A page number within the paginated result set.
page_sizeinteger
Number of results to return per page.
previous_statestring
Filter previous_state by exact match (case-insensitive)
statestring
Filter state by exact match (case-insensitive)
transition_namestring
Filter transition_name by exact match (case-insensitive)
triggered_bynumber
Filter triggered_by by exact match
Response
Example response
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Changes
No operation changes recorded.