Evaluate Regression
GET
/api/superadmin/prompts/regression/evaluate
const url = 'https://example.com/api/superadmin/prompts/regression/evaluate?repo=example&surface=example&name=example&days=7';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/superadmin/prompts/regression/evaluate?repo=example&surface=example&name=example&days=7' \ --header 'Authorization: Bearer <token>'Opp 5 (May 2026): read-only regression evaluation.
Returns the watchdog’s verdict for a single prompt without touching Hub state. Useful for “is the current commit healthy?” dashboards and as a precondition before manual rollback decisions.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”repo
required
Repo
string
surface
required
Surface
string
name
required
Name
string
days
Days
integer
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Response Evaluate Regression Api Superadmin Prompts Regression Evaluate Get
object
key
additional properties
any
Examplegenerated
{}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}