curl --request POST \
--url https://api.honeycomb.io/1/slos/{datasetSlug}/{sloId}/resets \
--header 'Content-Type: application/json' \
--header 'X-Honeycomb-Team: <api-key>' \
--data '
{
"reset_at": "current_hour"
}
'import requests
url = "https://api.honeycomb.io/1/slos/{datasetSlug}/{sloId}/resets"
payload = { "reset_at": "current_hour" }
headers = {
"X-Honeycomb-Team": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Honeycomb-Team': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({reset_at: 'current_hour'})
};
fetch('https://api.honeycomb.io/1/slos/{datasetSlug}/{sloId}/resets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.honeycomb.io/1/slos/{datasetSlug}/{sloId}/resets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'reset_at' => 'current_hour'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Honeycomb-Team: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.honeycomb.io/1/slos/{datasetSlug}/{sloId}/resets"
payload := strings.NewReader("{\n \"reset_at\": \"current_hour\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Honeycomb-Team", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.honeycomb.io/1/slos/{datasetSlug}/{sloId}/resets")
.header("X-Honeycomb-Team", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"reset_at\": \"current_hour\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.honeycomb.io/1/slos/{datasetSlug}/{sloId}/resets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Honeycomb-Team"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"reset_at\": \"current_hour\"\n}"
response = http.request(request)
puts response.read_body{
"id": "2LBq9LckbcA",
"reset_at": "2026-11-20T19:00:00Z",
"created_at": "2026-11-20T19:42:10Z"
}{
"id": "2LBq9LckbcA",
"reset_at": "2026-11-20T19:00:00Z",
"created_at": "2026-11-20T19:42:10Z"
}{
"status": 400,
"type": "https://api.honeycomb.io/problems/unparseable",
"title": "The request body could not be parsed.",
"error": "invalid gzip data"
}{
"error": "unknown API key - check your credentials"
}{
"error": "Your team has been denied access to Management APIs, please contact support to be unblocked."
}{
"error": "dataset not found"
}{
"status": 422,
"type": "https://api.honeycomb.io/problems/validation-failed",
"error": "The provided input is invalid.",
"title": "The provided input is invalid",
"type_detail": [
{
"field": "type",
"code": "invalid",
"description": "type: must be a valid value"
}
]
}{
"error": "Rate Limited"
}{
"error": "<string>"
}Reset an SLO's Budget
Reset the error budget of an SLO. Failures before the reset time stop counting against the budget, compliance, and burn alert evaluation.
You cannot undo or delete a reset.
A reset starts at the start of the current hour or of the next hour, in UTC. A current_hour reset still counts the failures since the start of the current hour, so the remaining budget might not be 100%. A next_hour reset applies as soon as you create it and ignores failures up to the start of the next hour, so the budget goes back to 100% and burn alerts stop counting failures right away. next_hour does not schedule a later reset. If the SLO already has a reset at or after that time, the endpoint does not add a reset. It returns the most recent reset with a 200 status.
curl --request POST \
--url https://api.honeycomb.io/1/slos/{datasetSlug}/{sloId}/resets \
--header 'Content-Type: application/json' \
--header 'X-Honeycomb-Team: <api-key>' \
--data '
{
"reset_at": "current_hour"
}
'import requests
url = "https://api.honeycomb.io/1/slos/{datasetSlug}/{sloId}/resets"
payload = { "reset_at": "current_hour" }
headers = {
"X-Honeycomb-Team": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Honeycomb-Team': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({reset_at: 'current_hour'})
};
fetch('https://api.honeycomb.io/1/slos/{datasetSlug}/{sloId}/resets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.honeycomb.io/1/slos/{datasetSlug}/{sloId}/resets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'reset_at' => 'current_hour'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Honeycomb-Team: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.honeycomb.io/1/slos/{datasetSlug}/{sloId}/resets"
payload := strings.NewReader("{\n \"reset_at\": \"current_hour\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Honeycomb-Team", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.honeycomb.io/1/slos/{datasetSlug}/{sloId}/resets")
.header("X-Honeycomb-Team", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"reset_at\": \"current_hour\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.honeycomb.io/1/slos/{datasetSlug}/{sloId}/resets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Honeycomb-Team"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"reset_at\": \"current_hour\"\n}"
response = http.request(request)
puts response.read_body{
"id": "2LBq9LckbcA",
"reset_at": "2026-11-20T19:00:00Z",
"created_at": "2026-11-20T19:42:10Z"
}{
"id": "2LBq9LckbcA",
"reset_at": "2026-11-20T19:00:00Z",
"created_at": "2026-11-20T19:42:10Z"
}{
"status": 400,
"type": "https://api.honeycomb.io/problems/unparseable",
"title": "The request body could not be parsed.",
"error": "invalid gzip data"
}{
"error": "unknown API key - check your credentials"
}{
"error": "Your team has been denied access to Management APIs, please contact support to be unblocked."
}{
"error": "dataset not found"
}{
"status": 422,
"type": "https://api.honeycomb.io/problems/validation-failed",
"error": "The provided input is invalid.",
"title": "The provided input is invalid",
"type_detail": [
{
"field": "type",
"code": "invalid",
"description": "type: must be a valid value"
}
]
}{
"error": "Rate Limited"
}{
"error": "<string>"
}Authorizations
Authenticate using a Honeycomb Configuration Key.
Pass the Token in the X-Honeycomb-Team header:
X-Honeycomb-Team: 1234567890123456789012
If you created your key using the API, use data.attributes.secret; this is the same value as the Token in the UI.
To learn how to create a Configuration Key, visit Manage Environment API Keys. To learn more about authenticating requests, visit API Authentication.
Path Parameters
Body
When the reset starts, in UTC:
current_hour: the start of the current hour. This is the default. Failures since that time still count.next_hour: the start of the next hour. The reset applies immediately and also ignores failures from the current hour.
current_hour, next_hour "current_hour"
Response
A reset at or after the requested time already exists. The response is the most recent reset.