Deep research into real-time news, archive news, and Google.
Changed onRequest
- Base URLhttps://api.asknews.app
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"messages": [
{
"content": "What are the latest developments in AI regulation?",
"role": "user"
}
]
}Response
Deep news research.
Changes
- info
added
subschema #2subschema #3to the response bodyanyOflist for the response status (media type: application/json) - info
removed
subschema #2subschema #3from the response bodyanyOflist for the response status (media type: application/json) - info
added the optional property
/////////to the response with the status (media type: application/json) - info
added the optional property
////////to the response with the status (media type: text/event-stream) - info
added the optional property
/////////to the response with the status (media type: text/event-stream) - info
added the optional property
////////to the response with the status (media type: application/json)
- info
- breaking
added
subschema #4: CreateDeepNewsResponseStreamSourceBatchto the response bodyoneOflist for the response status (media type: text/event-stream) - breaking
the response property
/////became optional for the status (media type: application/json) - breaking
the response property
/////became optional for the status (media type: application/json) - breaking
the response property
////became optional for the status (media type: text/event-stream) - breaking
the response property
////became optional for the status (media type: text/event-stream) - breaking
the response property
////became optional for the status (media type: application/json) - breaking
the response property
////became optional for the status (media type: application/json) - breaking
response property
anyOf[subschema #1: CreateDeepNewsResponse]/sources/news/anyOf[subschema #1]/items/centroid_distancelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
anyOf[subschema #1: CreateDeepNewsResponse]/sources/news/anyOf[subschema #1]/items/cluster_probabilitylist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
oneOf[subschema #3: CreateDeepNewsResponseStreamSource]/source/anyOf[subschema #1: CreateDeepNewsResponseStreamSourcesNewsSource]/data/centroid_distancelist-of-types was widened by adding typesnullto media typetext/event-streamof response200 - breaking
response property
oneOf[subschema #3: CreateDeepNewsResponseStreamSource]/source/anyOf[subschema #1: CreateDeepNewsResponseStreamSourcesNewsSource]/data/cluster_probabilitylist-of-types was widened by adding typesnullto media typetext/event-streamof response200 - breaking
response property
sources/news/anyOf[subschema #1]/items/centroid_distancelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
sources/news/anyOf[subschema #1]/items/cluster_probabilitylist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - info
added the new optional request property
- info
added
subschema #2subschema #3to the response bodyanyOflist for the response status (media type: application/json) - info
removed
subschema #2from the response bodyanyOflist for the response status (media type: application/json)
- breaking