curl --request POST \
--url https://api.zespan.com/v1/projects/{id}/model-lifecycle/{findingId}/dismiss \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>"
}
'import requests
url = "https://api.zespan.com/v1/projects/{id}/model-lifecycle/{findingId}/dismiss"
payload = { "reason": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>'})
};
fetch('https://api.zespan.com/v1/projects/{id}/model-lifecycle/{findingId}/dismiss', 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.zespan.com/v1/projects/{id}/model-lifecycle/{findingId}/dismiss",
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([
'reason' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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.zespan.com/v1/projects/{id}/model-lifecycle/{findingId}/dismiss"
payload := strings.NewReader("{\n \"reason\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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.zespan.com/v1/projects/{id}/model-lifecycle/{findingId}/dismiss")
.header("Content-Type", "application/json")
.body("{\n \"reason\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zespan.com/v1/projects/{id}/model-lifecycle/{findingId}/dismiss")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"reason\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"finding": {
"id": "<string>",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"environmentId": "<string>",
"environmentSlugs": [
"<string>"
],
"model": "<string>",
"provider": "<string>",
"kind": "deprecation",
"deprecatedAt": "2023-11-07T05:31:56Z",
"retiresAt": "2023-11-07T05:31:56Z",
"daysRemaining": 123,
"band": 90,
"retired": true,
"callVolume30d": 123,
"cost30dUsd": 123,
"affectedAgents": [
"<string>"
],
"affectedPrompts": [
"<string>"
],
"successorModel": "<string>",
"successorCallVolume30d": 123,
"costDeltaPerCallUsd": 123,
"comparisonBasis": "organic_traffic",
"lifecycleSource": "announced",
"lifecycleCheckedAt": "2023-11-07T05:31:56Z",
"status": "open",
"dismissedReason": "<string>",
"dismissedAt": "2023-11-07T05:31:56Z",
"detectedAt": "2023-11-07T05:31:56Z"
}
}{
"error": "Unauthorized",
"code": "rate_limit_exceeded"
}{
"error": "Unauthorized",
"code": "rate_limit_exceeded"
}Dismiss a model deprecation finding
Suppresses a finding at its current urgency band. It reopens automatically — exactly once, and notifies again — the next time the daily scan finds the band has tightened (90 → 30 → 7 days, or into retired). A band that widens, which only happens when a feed correction pushes the retirement date further out, never reopens a dismissal.
Authenticated with a dashboard session (browser cookie), not x-api-key, and requires the alerts:manage permission — dismissing a finding is the same shape of decision as editing an alert rule.
curl --request POST \
--url https://api.zespan.com/v1/projects/{id}/model-lifecycle/{findingId}/dismiss \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>"
}
'import requests
url = "https://api.zespan.com/v1/projects/{id}/model-lifecycle/{findingId}/dismiss"
payload = { "reason": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>'})
};
fetch('https://api.zespan.com/v1/projects/{id}/model-lifecycle/{findingId}/dismiss', 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.zespan.com/v1/projects/{id}/model-lifecycle/{findingId}/dismiss",
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([
'reason' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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.zespan.com/v1/projects/{id}/model-lifecycle/{findingId}/dismiss"
payload := strings.NewReader("{\n \"reason\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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.zespan.com/v1/projects/{id}/model-lifecycle/{findingId}/dismiss")
.header("Content-Type", "application/json")
.body("{\n \"reason\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zespan.com/v1/projects/{id}/model-lifecycle/{findingId}/dismiss")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"reason\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"finding": {
"id": "<string>",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"environmentId": "<string>",
"environmentSlugs": [
"<string>"
],
"model": "<string>",
"provider": "<string>",
"kind": "deprecation",
"deprecatedAt": "2023-11-07T05:31:56Z",
"retiresAt": "2023-11-07T05:31:56Z",
"daysRemaining": 123,
"band": 90,
"retired": true,
"callVolume30d": 123,
"cost30dUsd": 123,
"affectedAgents": [
"<string>"
],
"affectedPrompts": [
"<string>"
],
"successorModel": "<string>",
"successorCallVolume30d": 123,
"costDeltaPerCallUsd": 123,
"comparisonBasis": "organic_traffic",
"lifecycleSource": "announced",
"lifecycleCheckedAt": "2023-11-07T05:31:56Z",
"status": "open",
"dismissedReason": "<string>",
"dismissedAt": "2023-11-07T05:31:56Z",
"detectedAt": "2023-11-07T05:31:56Z"
}
}{
"error": "Unauthorized",
"code": "rate_limit_exceeded"
}{
"error": "Unauthorized",
"code": "rate_limit_exceeded"
}Body
Required. A dismissal with no stated reason is exactly what a later reviewer needs and can't reconstruct.
1 - 500Response
The updated, now-dismissed finding.
One (project, model) deprecation finding. callVolume30d, cost30dUsd, successorCallVolume30d, and costDeltaPerCallUsd are all measured from real ClickHouse trace data over the trailing 30 days — never estimated, and never a quality or regression figure.
Show child attributes
Show child attributes
Was this page helpful?

