List history

GET {{fastly_url}}/alerts/history?after&before&cursor&definition_id&limit&service_id&sort&status

List all history records.

Authorization: Requires API token.

Request Params

KeyDatatypeRequiredDescription
afternullFilter results based on records that were created after a specific time.
beforenullFilter results based on records that were created before a specific time.
cursornullCursor value from the next_cursor field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
definition_idnullThe ID of the definition that is requested.
limitnullLimit how many results are returned.
service_idnullFilter results based on a service_id.
sortnullSort the items by the field provided, either ascending or descending.
statusnullFilter results based on a status.

HEADERS

KeyDatatypeRequiredDescription
Hoststring
Acceptstring