AI-powered analysis of how a persona perceives the news story. Uses credits.
curl -X POST "https://app.mavera.io/api/v1/news/stories/STORY_ID/analyze" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"persona_id": "your-persona-id"}'{
"object": "news_story_analysis",
"story_id": "<string>",
"story_name": "<string>",
"persona": {
"id": "<string>",
"name": "<string>",
"category": "<string>"
},
"analysis": {
"quick_view": "<string>",
"emotional_response": "<string>",
"cognitive_engagement": "<string>",
"behavioral_intent": "<string>",
"news_contextualization": "<string>",
"risk_and_opportunity": "<string>",
"confidence": 123
},
"usage": {
"prompt_tokens": 123,
"completion_tokens": 123,
"credits_used": 123
},
"analyzed_at": "2023-11-07T05:31:56Z"
}API key prefixed with mvra_live_. Create keys at Settings > Developer > API Keys.
Story ID
Persona ID to analyze the story for
curl -X POST "https://app.mavera.io/api/v1/news/stories/STORY_ID/analyze" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"persona_id": "your-persona-id"}'{
"object": "news_story_analysis",
"story_id": "<string>",
"story_name": "<string>",
"persona": {
"id": "<string>",
"name": "<string>",
"category": "<string>"
},
"analysis": {
"quick_view": "<string>",
"emotional_response": "<string>",
"cognitive_engagement": "<string>",
"behavioral_intent": "<string>",
"news_contextualization": "<string>",
"risk_and_opportunity": "<string>",
"confidence": 123
},
"usage": {
"prompt_tokens": 123,
"completion_tokens": 123,
"credits_used": 123
},
"analyzed_at": "2023-11-07T05:31:56Z"
}