Skip to main content
POST
/
news
/
stories
/
{id}
/
analyze
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"
}

Authorizations

Authorization
string
header
required

API key prefixed with mvra_live_. Create keys at Settings > Developer > API Keys.

Path Parameters

id
string
required

Story ID

Body

application/json
persona_id
string
required

Persona ID to analyze the story for

Response

Story analysis

object
enum<string>
Available options:
news_story_analysis
story_id
string
story_name
string
persona
object
analysis
object
usage
object
analyzed_at
string<date-time>