cURL
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" }
AI-powered analysis of how a persona perceives the news story. Uses credits.
API key prefixed with mvra_live_. Create keys at Settings > Developer > API Keys.
mvra_live_
Story ID
Persona ID to analyze the story for
Story analysis
news_story_analysis
Show child attributes