{
  "topic": "analytics",
  "section": {
    "n": 5,
    "name": "Manage"
  },
  "title": "How is it doing?",
  "covers": "Traffic, errors and memory use, summed up for the person",
  "summary": "Requests, errors and resource use for a time range.",
  "done_when": "You told the person how it is doing in one sentence.",
  "available": true,
  "who": {
    "connector": "read_app · action \"analytics\"",
    "api": "GET https://ship.embarko.ai/api/apps/{app-name}/analytics?range=7d",
    "dashboard": "https://embarko.ai/app",
    "needs_human": null
  },
  "steps": {
    "connector": [
      "Call read_app { action: \"analytics\", appName, range: \"7d\" }. range is 24h, 7d, 30d, 90d or all."
    ],
    "http_api": [
      "GET https://ship.embarko.ai/api/apps/{app-name}/analytics?range=7d with the token."
    ]
  },
  "errors": [
    {
      "code": "(unavailable)",
      "status": 503,
      "retry": "Once",
      "do": "Retry once after 2 seconds. Still 503: analytics is down right now, which does not mean zero visitors. Say that, and offer to check later."
    }
  ],
  "say_to_user": {
    "summary": "About 1,200 visits this week, no errors. It's running comfortably."
  },
  "prerequisites": {
    "read_first": "https://embarko.ai/docs/prerequisites",
    "user": "The person is usually not a developer. They want to know if the app is live, not how.",
    "talk": "Reply in 1-3 short plain sentences: what happened, and what the person needs to do only if something is needed. Do not show commands, API names, tokens, headers or logs, or describe the steps you took, unless the person asks for technical details. If the person is clearly a developer (uses technical terms, asks what you ran), talk to them that way for the rest of the conversation. Never show a token. Never invent a link, name or code: use only what Embarko's replies, this guide or the person give you.",
    "route": "Connector first if it is in your tools, then the HTTP API, then the upload page as a last resort.",
    "domains": "ship.embarko.ai (API), embarko.ai (website), {app-name}.embarko.app (apps): all Embarko.",
    "requires": [
      {
        "topic": "claim",
        "why": "Over HTTP the app must be claimed first; connector apps already are",
        "url": "https://embarko.ai/docs/claim",
        "only": "over HTTP only"
      }
    ]
  },
  "next": "Summarise in the person's terms, not raw numbers.",
  "related": [
    {
      "topic": "status",
      "why": "Is it up right now",
      "url": "https://embarko.ai/docs/status"
    }
  ],
  "links": {
    "analytics": "https://ship.embarko.ai/api/apps/{app-name}/analytics?range=7d"
  },
  "url": "https://embarko.ai/docs/analytics",
  "contents": "https://embarko.ai/docs",
  "version": "2026-11-24"
}