alerts
Update an alert
Changed onUpdate an alert.
put/v1/chat/alerts/{alert_id}
Request
- Base URLhttps://api.asknews.app
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
alert_idstring uuid required
The alert ID
Request body
Example request
{
"query": "I want to be alerted if the president of the US says something about the economy",
"model": "gpt-4o-mini",
"cron": "'0 0 * * *' (daily at midnight UTC)",
"report": {
"model": "gpt-4o"
},
"title": "Alert for US President's statements on the economy"
}Response
Returns alert.
Changes
- info
added the new
gemini-4-argonenum value to the request property//// - info
added the new
gemini-4-argonenum value to the request property////// - info
added the new
gemini-4-argonenum value to the request property//////
- info
- info
added the new
claude-sonnet-5-5enum value to the request property//// - info
added the new
claude-sonnet-5-5enum value to the request property////// - info
added the new
claude-sonnet-5-5enum value to the request property////// - info
added the new
gpt-6.1-solenum value to the request property//// - info
added the new
gpt-6.1-solenum value to the request property////// - info
added the new
gpt-6.1-solenum value to the request property//////
- info