Have a conversation with AI about a news story. Ask questions, get analysis, and understand the story better. Uses credits.
curl -X POST "https://app.mavera.io/api/v1/news/stories/STORY_ID/chat" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message": "What are the key implications of this story?"}'{
"object": "news_story_chat",
"story_id": "<string>",
"story_name": "<string>",
"message": {
"role": "assistant",
"content": "<string>"
},
"usage": {
"prompt_tokens": 123,
"completion_tokens": 123,
"credits_used": 123
},
"created_at": "2023-11-07T05:31:56Z"
}API key prefixed with mvra_live_. Create keys at Settings > Developer > API Keys.
Story ID
curl -X POST "https://app.mavera.io/api/v1/news/stories/STORY_ID/chat" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message": "What are the key implications of this story?"}'{
"object": "news_story_chat",
"story_id": "<string>",
"story_name": "<string>",
"message": {
"role": "assistant",
"content": "<string>"
},
"usage": {
"prompt_tokens": 123,
"completion_tokens": 123,
"credits_used": 123
},
"created_at": "2023-11-07T05:31:56Z"
}