{
  "openapi": "3.1.0",
  "info": {
    "title": "Jevu API",
    "summary": "Read your workspace's calls, transcripts, summaries, scores, recordings and team analytics, and get a webhook when something happens to a call.",
    "description": "The Jevu API gives an integration — n8n, Zapier, Make or your own script — read-only access to the calls\nof one Jevu workspace. Every example on this page uses made-up data of a demo workspace, *Lumio Lab*.\n\n<div class=\"api-dl\"><p class=\"api-dl-t\">Try every method in Postman: import the collection and put your API key in its <code>apiKey</code> variable.</p><a class=\"cbtn pri\" href=\"/media/doc/json/jevu-api.postman_collection.json\" download>Postman collection</a><a class=\"cbtn\" href=\"/media/doc/json/jevu-api-openapi.json\" download>OpenAPI</a></div>\n\n## Authentication\n\nEvery request carries the workspace's API key:\n\n```\nAuthorization: Bearer jevu_…\n```\n\n- The Owner of the workspace, or an Admin the Owner has given the **Manage API** right, creates keys in\n  **Settings → API**. The value of a key is shown once; Jevu keeps only its hash.\n- A key belongs to the workspace and reads as its Owner: every call of the workspace, private ones\n  included, with their transcripts and recordings. The API only reads; it never changes anything.\n- A key may be limited to up to 20 IP addresses or networks (CIDR, IPv4 or IPv6). A key without them\n  is accepted from any address.\n- A key belongs to the workspace, not to the person who created it: it keeps working when that person\n  leaves the workspace or loses the **Manage API** right. A key stops working when it is revoked in\n  **Settings → API** and when the workspace is deleted.\n- Which methods a workspace may call depends on its plan — see \"Tiers\" below. To check a key and see\n  what its plan includes, call `GET /workspace`.\n- The scheme is `Bearer` (any case); the key is compared exactly. Session cookies are ignored.\n\n## Tiers\n\nEvery method belongs to tier 1 or tier 2. The plan of the workspace includes a set of tiers; a method of a\ntier the plan does not include answers `403 tier_not_in_plan`, with the tier in `tier`. The tier also sets\nthe method's rate limit.\n\n| Tier | Methods | Rate limit |\n|---|---|---|\n| 1 | `GET /workspace`, `GET /workspace/members`, `GET /calls`, `GET /calls/{id}`, `GET /calls/{id}/summary`, `GET /calls/{id}/analysis`; webhook events | 60 a minute |\n| 2 | `GET /calls/{id}/transcript`, `GET /calls/{id}/recording`, `GET /analytics` | 30 a minute |\n\nToday every plan, Free included, includes both tiers. `tiers` of `GET /workspace` tells what the\nworkspace's plan includes.\n\n## Errors\n\nAn error is JSON with a stable code and a message for people:\n\n```json\n{\"error\": {\"code\": \"invalid_parameter\", \"message\": \"limit must be from 1 to 50.\", \"param\": \"limit\"}, \"request_id\": \"5c0e9a7d3b1f4e28a6d4c2b0f8e1a937\"}\n```\n\nBranch on `error.code`, never on `message`: the message may change. Some codes add fields to `error`\n(`param`, `tier`, `limit`, `retry_after`). Every response, successful ones included, carries the header\n`X-Request-Id` — the same value as `request_id`; give it to Jevu support when you ask about a request.\n\nBefore any method the request is checked in this order; the first check that fails answers:\n\n| Status | `error.code` | When | What to do |\n|---|---|---|---|\n| 429 | `rate_limited` | 20 requests from your address were answered `401 invalid_token` or `403 ip_not_allowed` within the last 60 seconds (`limit: auth_failures`, see \"Rate limits\"); the key is not checked | Retry after `retry_after` seconds — with a valid key |\n| 401 | `invalid_token` | no `Authorization` header, another scheme, an unknown or revoked key. Comes with `WWW-Authenticate: Bearer` | Do not retry; create a new key |\n| 403 | `ip_not_allowed` | the key has IP masks and the request comes from an address outside all of them | Do not retry; add the address to the key |\n| 401 | `invalid_token` | the workspace is deleted | Do not retry |\n| 402 | `payment_overdue` | the workspace's payment is overdue past the grace period, and Jevu is locked for its people too | Retry once the workspace is paid |\n| 403 | `tier_not_in_plan` | the workspace's plan does not include the method's tier (`tier`). Today every plan includes both tiers | Retry once the plan includes the tier |\n| 429 | `rate_limited` | a rate limit is exceeded (below) | Retry after `retry_after` seconds |\n\nThen a method answers on its own: `404 not_found` for a call that is not there, `422 invalid_parameter`\nfor a query parameter that is not valid (`param` names it), and the codes listed for each method. A path\nthat is not a method of this API answers `404 route_not_found` after the checks of the key, the address,\nthe workspace and the payment (the rows above `tier_not_in_plan`). The base URL itself, `/v1` with or\nwithout the trailing slash, is such a path and is never redirected. Query parameters a method does not\nlist are ignored.\n\n`500 internal_error` and `503 service_unavailable` mean a fault on Jevu's side: retry with a growing pause\n(1 s, 2 s, 4 s… up to a minute).\n\n## Rate limits\n\nCounted per workspace — all its keys together:\n\n- tier 1 methods — 60 requests a minute; tier 2 methods — 30 a minute; each tier on its own;\n- 5,000 requests in any 24 hours, all methods together.\n\nA request counts once it has passed the checks of the key, the address, the workspace, the payment and\nthe tier — whatever the method answers then; a request refused by one of these checks does not count.\n\nOver a limit the answer is `429 rate_limited` with the header `Retry-After: <seconds>`; `error.retry_after`\nis the same number and `error.limit` names the limit: `tier_1_minute`, `tier_2_minute` or `day`. A request\nsent after that many seconds passes the limit that refused it. On `day`, stop and try again tomorrow\nrather than retrying in a loop.\n\nFailed authentication is counted separately, per client address: a request answered `401 invalid_token`\nor `403 ip_not_allowed`. After 20 of them within 60 seconds, every request from that address — whatever\nkey it carries — is answered `429 rate_limited` with `error.limit: auth_failures` before the key is\nchecked, until the failures leave the 60-second window; `Retry-After` says how long. Accepted requests\nare not counted. Fix the key or the address rather than retrying.\n\n## Pagination\n\n`GET /calls` and `GET /workspace/members` return a page of `items`, at most `limit`. To get the next page,\nsend the same request with `cursor` set to `next_cursor` of the previous page; `next_cursor: null` means\nthere is nothing more. The next page starts right after the last item of the previous one: nothing is\nrepeated or skipped, even if items were deleted between the requests. The cursor is opaque: do not build\nor parse it.\n\n## Formats\n\n- Every id is a string; treat it as opaque. Ids of calls and webhook events are today 32 lowercase\n  hexadecimal characters; ids of people, teams and the workspace are digits.\n- Times are ISO 8601 in UTC with `Z` and may carry fractional seconds, up to microseconds:\n  `2026-11-10T09:00:04.121547Z`. A time range is from (inclusive) — before (exclusive).\n- Durations and offsets in a recording are seconds, as numbers with a fraction: `duration_seconds`,\n  `start`, `end`, `at`, `seconds`.\n- Shares are numbers from 0 to 1.\n- Every documented field is always present. A value that is not known is `null`; an empty list is `[]`.\n- A list of values marked **extensible** may get new values: treat a value you do not know as \"other\".\n  `state` and `status` are closed: their values never change.\n\n## State of a call's parts\n\nA call has four parts — its transcript, summary, analysis and recording. Each has a `state`:\n\n| `state` | Meaning |\n|---|---|\n| `pending` | Not there yet; Jevu is working on it. Ask again later or wait for the webhook event |\n| `ready` | It is there |\n| `unavailable` | It is not there and will not come on its own; `reason` says why |\n\n`GET /calls/{id}` gives the state of all four; the method of a part gives the part itself, with the same\n`state` and `reason`. A part that is not `ready` answers `200` too, with its content `null`.\n\n## Webhooks\n\nA workspace has one webhook. The Owner, or an Admin with **Manage API**, sets it up in\n**Settings → API**: an `https` URL and the events it subscribes to. Jevu generates a signing secret and a\ntoken and shows them once. Every event is about one call of the workspace, any owner, private calls\nincluded. Webhook events belong to tier 1.\n\n| Event | When |\n|---|---|\n| `call.transcribed` | The transcript is written — once per call, an empty transcript too |\n| `call.summarized` | Processing finished (`status: done`) with a summary — once per call; not sent when the summary could not be generated |\n| `call.analyzed` | The call was scored with a template — every time an analysis finishes, also after a new template is chosen |\n| `call.analysis_failed` | An analysis gave up, with `template` and `reason` |\n| `call.crm_synced` | The call reached a CRM — every time it is sent, with `crm` |\n| `call.crm_sync_failed` | Sending the call to a CRM did not work, with `crm` and `reason` |\n\nNo event is sent when transcription fails, when a summary is not generated, when analysis is turned\noff, when no template could be picked for the call or when its transcript does not suit analysis — the\ncall tells why (`reason` of its parts). An event that happened while the workspace's plan did not include\ntier 1 or its payment was overdue is not sent, now or later.\n\n### Request\n\n```http\nPOST <your webhook URL>\nContent-Type: application/json\nX-Jevu-Event: call.transcribed\nX-Jevu-Event-Id: e7a1c3f05b2d4e8a9c6f1b0d3a5e7c92\nX-Jevu-Signature: t=1794303222,v1=ebe6a8b24720dc2caac9932029da5aae74a975120920e7dc50bc2e0303365cf8\nX-Jevu-Webhook-Token: Zq3nV8sL1xTb6WmR0cYd2hKf\n\n{\"id\":\"e7a1c3f05b2d4e8a9c6f1b0d3a5e7c92\",\"type\":\"call.transcribed\",\"occurred_at\":\"2026-11-10T09:33:41.502318Z\",\"data\":{\"call_id\":\"9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60\"}}\n```\n\n- The body is `{id, type, occurred_at, data}`; `data` holds the call id and what happened. Read the rest\n  with the methods of the call. The body is compact JSON — no spaces, no line breaks — and the signature\n  covers exactly these bytes.\n- `id` identifies the event: retries of one event carry the same `id`. Keep the ids you have handled and\n  skip a repeat. `X-Jevu-Event` and `X-Jevu-Event-Id` repeat `type` and `id`, for tools that route by\n  a header.\n- `X-Jevu-Webhook-Token` is a token for tools that can only compare a header (n8n: Webhook node,\n  credential **Header Auth**). It is not the signing secret: knowing it does not let anyone sign an event.\n  Verify the signature when you can.\n\n### Verifying the signature\n\n`X-Jevu-Signature` is comma-separated `key=value` pairs: `t=<unix seconds>` and one or more\n`v1=<signature>`, where `<signature>` is the lowercase hex HMAC-SHA256 of the string `<t>.<raw body>`,\nkeyed with the signing secret as shown in Jevu (its UTF-8 bytes, not decoded). Every attempt is signed\nagain with its own `t`. For 24 hours after the secret is regenerated, every request carries two `v1`:\nwith the new secret and with the old one.\n\n1. Take the raw body bytes as received — do not parse and re-serialise the JSON.\n2. Compute `HMAC-SHA256(secret, t + \".\" + body)` and compare it with each `v1` in constant time; one match\n   is enough.\n3. Reject a request whose `t` is more than 5 minutes away from your clock: it protects against replay.\n4. Ignore keys of the header you do not know.\n\n```python\nimport hashlib, hmac, time\n\ndef verify(secret: str, header: str, body: bytes, tolerance: int = 300) -> bool:\n    pairs = [part.split(\"=\", 1) for part in header.split(\",\") if \"=\" in part]\n    t = int(next(v for k, v in pairs if k == \"t\"))\n    if abs(time.time() - t) > tolerance:\n        return False\n    expected = hmac.new(secret.encode(), f\"{t}.\".encode() + body, hashlib.sha256).hexdigest()\n    return any(hmac.compare_digest(expected, v) for k, v in pairs if k == \"v1\")\n```\n\nWith the secret `o5F4EPOb4SwuEBqKQzFAdynVLLhuAUWuk4wcG6tTEbA`, `t = 1794303222` and the body of the\nrequest above, the signature is `ebe6a8b24720dc2caac9932029da5aae74a975120920e7dc50bc2e0303365cf8`.\nEvery webhook example on this page is signed with this secret, its body being the example's JSON without\nspaces.\n\n### Delivery, retries and pause\n\n| Your answer | What Jevu does |\n|---|---|\n| 2xx | Delivered; this event is not sent again |\n| Anything else: no complete answer within 15 seconds, a network error, any other status | Retries no sooner than 30 s, 2 min, 5 min, 30 min, 2 h, 6 h and 12 h after the previous attempt (to the minute); after the 8th attempt the event is not delivered |\n| 410 Gone | Not delivered, no retry; the webhook is paused |\n\n- Jevu reads only the status code of your answer, never its body. Answer fast and process the call\n  asynchronously. Redirects are not followed.\n- The URL must resolve to public addresses only. If it resolves to a private, local or reserved address\n  at the time of an attempt, the attempt fails.\n- A retry goes to the URL and with the secret the webhook has at the time of the attempt.\n- No retry when the webhook was deleted or no longer subscribes to the event, the call was deleted,\n  the workspace is deleted, its payment is overdue or its plan does not include tier 1, or the event is\n  older than 24 hours.\n- Events may arrive in any order — of different calls, and of one call when a delivery is retried.\n  Compare `occurred_at` when the order matters.\n- **Pause.** After 20 failed attempts in a row that span at least an hour, or at once on `410 Gone`, Jevu\n  pauses the webhook and emails the Owner and the Admins with **Manage API**. A paused webhook keeps\n  its events. When someone resumes it in **Settings → API** — saving the webhook resumes it too — Jevu\n  delivers the kept events younger than 24 hours; older ones are dropped. A 2xx answer resets the count.\n- Settings → API shows the last attempt, its result, the next attempt and whether the webhook is paused.\n\n## Compatibility\n\n- New fields, new query parameters, new methods, new event types and new values of extensible lists may\n  appear at any time. Ignore the fields and event types you do not know, and treat an unknown value of\n  an extensible list as \"other\".\n- Existing fields are never renamed or removed and keep their meaning. An existing pair of status and\n  `error.code` never changes its meaning.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.jevu.ai/v1",
      "description": "Production"
    }
  ],
  "security": [
    {
      "apiKey": []
    }
  ],
  "tags": [
    {
      "name": "Calls",
      "description": "Calls of the workspace — metadata, transcripts, summaries, scores and recordings."
    },
    {
      "name": "Workspace",
      "description": "The workspace itself — its plan, people and teams."
    },
    {
      "name": "Analytics",
      "description": "Team analytics for a period."
    },
    {
      "name": "Webhooks",
      "description": "Events Jevu sends to the workspace's webhook."
    }
  ],
  "paths": {
    "/calls": {
      "get": {
        "tags": [
          "Calls"
        ],
        "operationId": "listCalls",
        "summary": "List calls",
        "description": "Calls of the workspace, newest first by the time they were created in Jevu, at most `limit` per\npage. Every call of the workspace is listed, whoever owns it, private calls included, and calls\nthat are still being processed. A call being deleted is not listed.\n\nFilters combine with \"and\". A row is the call's metadata — the same object `GET /calls/{id}`\nreturns. Read the transcript, summary, analysis and recording with their own methods.",
        "x-jevu-tier": 1,
        "x-badges": [
          {
            "name": "Tier 1"
          }
        ],
        "x-codeSamples": [
          {
            "lang": "curl",
            "label": "First page",
            "source": "curl -s 'https://api.jevu.ai/v1/calls?created_from=2026-11-07T00:00:00Z&limit=3' \\\n  -H \"Authorization: Bearer $JEVU_API_KEY\""
          },
          {
            "lang": "curl",
            "label": "Next page",
            "source": "curl -s 'https://api.jevu.ai/v1/calls?created_from=2026-11-07T00:00:00Z&limit=3&cursor=eyJjcmVhdGVkX2F0IjoiMjAyNi0xMS0wOVQxMTowMDowMy45MDIxMTRaIiwiaWQiOiJlMmI2YTlkNGYxYzg0YjdlOWEwZDNmNWM3YjJlOGE2MSJ9' \\\n  -H \"Authorization: Bearer $JEVU_API_KEY\""
          },
          {
            "lang": "curl",
            "label": "Filtered",
            "source": "curl -s 'https://api.jevu.ai/v1/calls?owner_id=1042&status=done' \\\n  -H \"Authorization: Bearer $JEVU_API_KEY\""
          },
          {
            "lang": "curl",
            "label": "Several statuses",
            "source": "curl -s 'https://api.jevu.ai/v1/calls?status=processing,failed' \\\n  -H \"Authorization: Bearer $JEVU_API_KEY\""
          }
        ],
        "parameters": [
          {
            "name": "created_from",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Calls created at or after this moment (inclusive). ISO 8601 date-time; a value without an offset is read as UTC.",
            "example": "2026-11-07T00:00:00Z"
          },
          {
            "name": "created_before",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Calls created before this moment (exclusive), so that `created_before` of one window can be `created_from` of the next. ISO 8601 date-time; a value without an offset is read as UTC.",
            "example": "2026-11-13T00:00:00Z"
          },
          {
            "name": "owner_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Calls of this person — an `id` from `GET /workspace/members`. An id of nobody in the workspace matches no call. Blank — no filter.",
            "example": "1042"
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "default": []
            },
            "description": "Calls in any of these statuses: comma-separated (`status=processing,failed`) or the parameter repeated (`status=processing&status=failed`).",
            "example": [
              "done"
            ]
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "default": 50
            },
            "description": "Calls per page, 1 to 50.",
            "example": 3
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "`next_cursor` of the previous page. Send it with the same filters as the previous page.",
            "example": "eyJjcmVhdGVkX2F0IjoiMjAyNi0xMS0wOVQxMTowMDowMy45MDIxMTRaIiwiaWQiOiJlMmI2YTlkNGYxYzg0YjdlOWEwZDNmNWM3YjJlOGE2MSJ9"
          }
        ],
        "responses": {
          "200": {
            "description": "One page of calls.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CallList"
                },
                "examples": {
                  "first_page": {
                    "summary": "First page",
                    "description": "`GET /calls?created_from=2026-11-07T00:00:00Z&limit=3` — a call still being recorded, a processed call and a call that failed; there are more calls after them.",
                    "value": {
                      "items": [
                        {
                          "id": "4d7e0b21c9a84f3eb1d2a6c8e0f39a57",
                          "title": "Weekly sync — Acme onboarding",
                          "status": "processing",
                          "started_at": "2026-11-12T15:30:02.770958Z",
                          "created_at": "2026-11-12T15:30:02.774310Z",
                          "duration_seconds": null,
                          "language": null,
                          "source": "bot",
                          "meeting_url": "https://meet.google.com/tuv-wxyz-abc",
                          "owner": {
                            "id": "1057",
                            "email": "iryna@lumio.example",
                            "name": "Iryna Bondar"
                          },
                          "participants": [],
                          "prospect_email": "john@acme.example",
                          "app_url": "https://app.jevu.ai/#/call/4d7e0b21c9a84f3eb1d2a6c8e0f39a57",
                          "transcript": {
                            "state": "pending",
                            "reason": null
                          },
                          "summary": {
                            "state": "pending",
                            "reason": null
                          },
                          "analysis": {
                            "state": "pending",
                            "reason": null
                          },
                          "recording": {
                            "state": "pending",
                            "reason": null
                          }
                        },
                        {
                          "id": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60",
                          "title": "Acme × Lumio Lab — product demo",
                          "status": "done",
                          "started_at": "2026-11-10T09:00:04.118203Z",
                          "created_at": "2026-11-10T09:00:04.121547Z",
                          "duration_seconds": 1834.5,
                          "language": "en",
                          "source": "calendar",
                          "meeting_url": "https://meet.google.com/abc-defg-hij",
                          "owner": {
                            "id": "1042",
                            "email": "taras@lumio.example",
                            "name": "Taras Melnyk"
                          },
                          "participants": [
                            {
                              "email": "anna@acme.example",
                              "name": "Anna Brooks"
                            },
                            {
                              "email": "john@acme.example",
                              "name": "John Carter"
                            },
                            {
                              "email": "taras@lumio.example",
                              "name": "Taras Melnyk"
                            }
                          ],
                          "prospect_email": "anna@acme.example",
                          "app_url": "https://app.jevu.ai/#/call/9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60",
                          "transcript": {
                            "state": "ready",
                            "reason": null
                          },
                          "summary": {
                            "state": "ready",
                            "reason": null
                          },
                          "analysis": {
                            "state": "ready",
                            "reason": null
                          },
                          "recording": {
                            "state": "ready",
                            "reason": null
                          }
                        },
                        {
                          "id": "e2b6a9d4f1c84b7e9a0d3f5c7b2e8a61",
                          "title": "Acme — security review",
                          "status": "failed",
                          "started_at": "2026-11-09T11:00:03.898650Z",
                          "created_at": "2026-11-09T11:00:03.902114Z",
                          "duration_seconds": null,
                          "language": null,
                          "source": "calendar",
                          "meeting_url": "https://meet.google.com/jkl-mnop-qrs",
                          "owner": {
                            "id": "1042",
                            "email": "taras@lumio.example",
                            "name": "Taras Melnyk"
                          },
                          "participants": [
                            {
                              "email": "john@acme.example",
                              "name": null
                            },
                            {
                              "email": "taras@lumio.example",
                              "name": "Taras Melnyk"
                            }
                          ],
                          "prospect_email": "john@acme.example",
                          "app_url": "https://app.jevu.ai/#/call/e2b6a9d4f1c84b7e9a0d3f5c7b2e8a61",
                          "transcript": {
                            "state": "unavailable",
                            "reason": "call_failed"
                          },
                          "summary": {
                            "state": "unavailable",
                            "reason": "call_failed"
                          },
                          "analysis": {
                            "state": "unavailable",
                            "reason": "no_transcript"
                          },
                          "recording": {
                            "state": "unavailable",
                            "reason": "no_recording"
                          }
                        }
                      ],
                      "next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0xMS0wOVQxMTowMDowMy45MDIxMTRaIiwiaWQiOiJlMmI2YTlkNGYxYzg0YjdlOWEwZDNmNWM3YjJlOGE2MSJ9"
                    }
                  },
                  "next_page": {
                    "summary": "Next page, the last one",
                    "description": "The same request with `cursor` from the first page. It starts right after the last call of the first page (`e2b6a9d4…`). `next_cursor` is `null`: no more calls.",
                    "value": {
                      "items": [
                        {
                          "id": "c81a5f0e2b9d4a7c9e3f6b1d8a2c5e04",
                          "title": "Pricing follow-up (recording)",
                          "status": "done",
                          "started_at": "2026-11-07T14:20:05.483912Z",
                          "created_at": "2026-11-07T14:20:05.483912Z",
                          "duration_seconds": 1408.3,
                          "language": "en",
                          "source": "upload",
                          "meeting_url": null,
                          "owner": {
                            "id": "1057",
                            "email": "iryna@lumio.example",
                            "name": "Iryna Bondar"
                          },
                          "participants": [],
                          "prospect_email": null,
                          "app_url": "https://app.jevu.ai/#/call/c81a5f0e2b9d4a7c9e3f6b1d8a2c5e04",
                          "transcript": {
                            "state": "ready",
                            "reason": null
                          },
                          "summary": {
                            "state": "ready",
                            "reason": null
                          },
                          "analysis": {
                            "state": "unavailable",
                            "reason": "llm_error"
                          },
                          "recording": {
                            "state": "ready",
                            "reason": null
                          }
                        }
                      ],
                      "next_cursor": null
                    }
                  },
                  "filtered": {
                    "summary": "Filtered by owner and status",
                    "description": "`GET /calls?owner_id=1042&status=done`",
                    "value": {
                      "items": [
                        {
                          "id": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60",
                          "title": "Acme × Lumio Lab — product demo",
                          "status": "done",
                          "started_at": "2026-11-10T09:00:04.118203Z",
                          "created_at": "2026-11-10T09:00:04.121547Z",
                          "duration_seconds": 1834.5,
                          "language": "en",
                          "source": "calendar",
                          "meeting_url": "https://meet.google.com/abc-defg-hij",
                          "owner": {
                            "id": "1042",
                            "email": "taras@lumio.example",
                            "name": "Taras Melnyk"
                          },
                          "participants": [
                            {
                              "email": "anna@acme.example",
                              "name": "Anna Brooks"
                            },
                            {
                              "email": "john@acme.example",
                              "name": "John Carter"
                            },
                            {
                              "email": "taras@lumio.example",
                              "name": "Taras Melnyk"
                            }
                          ],
                          "prospect_email": "anna@acme.example",
                          "app_url": "https://app.jevu.ai/#/call/9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60",
                          "transcript": {
                            "state": "ready",
                            "reason": null
                          },
                          "summary": {
                            "state": "ready",
                            "reason": null
                          },
                          "analysis": {
                            "state": "ready",
                            "reason": null
                          },
                          "recording": {
                            "state": "ready",
                            "reason": null
                          }
                        }
                      ],
                      "next_cursor": null
                    }
                  },
                  "empty": {
                    "summary": "Nothing matches",
                    "description": "`GET /calls?status=processing,failed&created_from=2026-11-13T00:00:00Z`",
                    "value": {
                      "items": [],
                      "next_cursor": null
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/InvalidToken"
          },
          "402": {
            "$ref": "#/components/responses/PaymentOverdue"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "422": {
            "description": "A query parameter is not valid; `param` names it.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                },
                "examples": {
                  "limit": {
                    "summary": "`limit=100`",
                    "value": {
                      "error": {
                        "code": "invalid_parameter",
                        "message": "limit must be from 1 to 50.",
                        "param": "limit"
                      },
                      "request_id": "5c0e9a7d3b1f4e28a6d4c2b0f8e1a937"
                    }
                  },
                  "status": {
                    "summary": "`status=archived`",
                    "value": {
                      "error": {
                        "code": "invalid_parameter",
                        "message": "status must be one of: processing, done, failed.",
                        "param": "status"
                      },
                      "request_id": "8a1d4f7c2e5b4a90b3c6d9e2f5a8b1c4"
                    }
                  },
                  "created_from": {
                    "summary": "`created_from=yesterday`",
                    "value": {
                      "error": {
                        "code": "invalid_parameter",
                        "message": "created_from must be an ISO 8601 date-time.",
                        "param": "created_from"
                      },
                      "request_id": "2f6b9e3a7c0d4d15a8e1b4c7f0a3d6e9"
                    }
                  },
                  "cursor": {
                    "summary": "`cursor=abc` — not a cursor Jevu gave",
                    "value": {
                      "error": {
                        "code": "invalid_parameter",
                        "message": "cursor is not a cursor Jevu gave.",
                        "param": "cursor"
                      },
                      "request_id": "7d0a3e6b9c2f4b58a1d4e7f0b3c6a9d2"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "5XX": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/calls/{id}": {
      "get": {
        "tags": [
          "Calls"
        ],
        "operationId": "getCall",
        "summary": "Get a call",
        "description": "The call's metadata — the same object as a row of `GET /calls`: who, when, where, its status, its\npage in Jevu and the state of its four parts. Read the parts with `GET /calls/{id}/transcript`,\n`/summary`, `/analysis` and `/recording`.\n\nA call of another workspace, a call that does not exist and a call being deleted are answered alike:\n`404 not_found` — by every method of a call.",
        "x-jevu-tier": 1,
        "x-badges": [
          {
            "name": "Tier 1"
          }
        ],
        "x-codeSamples": [
          {
            "lang": "curl",
            "source": "curl -s 'https://api.jevu.ai/v1/calls/9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60' \\\n  -H \"Authorization: Bearer $JEVU_API_KEY\""
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The call id — `id` from `GET /calls`, `data.call_id` of a webhook event.",
            "example": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60"
          }
        ],
        "responses": {
          "200": {
            "description": "The call.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Call"
                },
                "examples": {
                  "done": {
                    "summary": "Processed and scored",
                    "description": "`GET /calls/9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60` — a demo from the calendar.",
                    "value": {
                      "id": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60",
                      "title": "Acme × Lumio Lab — product demo",
                      "status": "done",
                      "started_at": "2026-11-10T09:00:04.118203Z",
                      "created_at": "2026-11-10T09:00:04.121547Z",
                      "duration_seconds": 1834.5,
                      "language": "en",
                      "source": "calendar",
                      "meeting_url": "https://meet.google.com/abc-defg-hij",
                      "owner": {
                        "id": "1042",
                        "email": "taras@lumio.example",
                        "name": "Taras Melnyk"
                      },
                      "participants": [
                        {
                          "email": "anna@acme.example",
                          "name": "Anna Brooks"
                        },
                        {
                          "email": "john@acme.example",
                          "name": "John Carter"
                        },
                        {
                          "email": "taras@lumio.example",
                          "name": "Taras Melnyk"
                        }
                      ],
                      "prospect_email": "anna@acme.example",
                      "app_url": "https://app.jevu.ai/#/call/9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60",
                      "transcript": {
                        "state": "ready",
                        "reason": null
                      },
                      "summary": {
                        "state": "ready",
                        "reason": null
                      },
                      "analysis": {
                        "state": "ready",
                        "reason": null
                      },
                      "recording": {
                        "state": "ready",
                        "reason": null
                      }
                    }
                  },
                  "processing": {
                    "summary": "Still being processed",
                    "description": "`GET /calls/4d7e0b21c9a84f3eb1d2a6c8e0f39a57` — the bot is still in the meeting: every part is pending.",
                    "value": {
                      "id": "4d7e0b21c9a84f3eb1d2a6c8e0f39a57",
                      "title": "Weekly sync — Acme onboarding",
                      "status": "processing",
                      "started_at": "2026-11-12T15:30:02.770958Z",
                      "created_at": "2026-11-12T15:30:02.774310Z",
                      "duration_seconds": null,
                      "language": null,
                      "source": "bot",
                      "meeting_url": "https://meet.google.com/tuv-wxyz-abc",
                      "owner": {
                        "id": "1057",
                        "email": "iryna@lumio.example",
                        "name": "Iryna Bondar"
                      },
                      "participants": [],
                      "prospect_email": "john@acme.example",
                      "app_url": "https://app.jevu.ai/#/call/4d7e0b21c9a84f3eb1d2a6c8e0f39a57",
                      "transcript": {
                        "state": "pending",
                        "reason": null
                      },
                      "summary": {
                        "state": "pending",
                        "reason": null
                      },
                      "analysis": {
                        "state": "pending",
                        "reason": null
                      },
                      "recording": {
                        "state": "pending",
                        "reason": null
                      }
                    }
                  },
                  "failed": {
                    "summary": "Failed",
                    "description": "`GET /calls/e2b6a9d4f1c84b7e9a0d3f5c7b2e8a61` — the bot never got into the meeting: nothing was recorded and nothing will come.",
                    "value": {
                      "id": "e2b6a9d4f1c84b7e9a0d3f5c7b2e8a61",
                      "title": "Acme — security review",
                      "status": "failed",
                      "started_at": "2026-11-09T11:00:03.898650Z",
                      "created_at": "2026-11-09T11:00:03.902114Z",
                      "duration_seconds": null,
                      "language": null,
                      "source": "calendar",
                      "meeting_url": "https://meet.google.com/jkl-mnop-qrs",
                      "owner": {
                        "id": "1042",
                        "email": "taras@lumio.example",
                        "name": "Taras Melnyk"
                      },
                      "participants": [
                        {
                          "email": "john@acme.example",
                          "name": null
                        },
                        {
                          "email": "taras@lumio.example",
                          "name": "Taras Melnyk"
                        }
                      ],
                      "prospect_email": "john@acme.example",
                      "app_url": "https://app.jevu.ai/#/call/e2b6a9d4f1c84b7e9a0d3f5c7b2e8a61",
                      "transcript": {
                        "state": "unavailable",
                        "reason": "call_failed"
                      },
                      "summary": {
                        "state": "unavailable",
                        "reason": "call_failed"
                      },
                      "analysis": {
                        "state": "unavailable",
                        "reason": "no_transcript"
                      },
                      "recording": {
                        "state": "unavailable",
                        "reason": "no_recording"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/InvalidToken"
          },
          "402": {
            "$ref": "#/components/responses/PaymentOverdue"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/CallNotFound"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "5XX": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/calls/{id}/transcript": {
      "get": {
        "tags": [
          "Calls"
        ],
        "operationId": "getCallTranscript",
        "summary": "Get the transcript of a call",
        "description": "The transcript in the order of the conversation, and how long each speaker talked. Until it is\n`ready`, `language`, `segments` and `talk_time` are `null`.",
        "x-jevu-tier": 2,
        "x-badges": [
          {
            "name": "Tier 2"
          }
        ],
        "x-codeSamples": [
          {
            "lang": "curl",
            "source": "curl -s 'https://api.jevu.ai/v1/calls/9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60/transcript' \\\n  -H \"Authorization: Bearer $JEVU_API_KEY\""
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The call id — `id` from `GET /calls`, `data.call_id` of a webhook event.",
            "example": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60"
          }
        ],
        "responses": {
          "200": {
            "description": "The transcript.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transcript"
                },
                "examples": {
                  "ready": {
                    "summary": "Transcript with speaker names",
                    "description": "`GET /calls/9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60/transcript` — the demo. The transcript is cut to four segments here; `talk_time` is of the whole call.",
                    "value": {
                      "call_id": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60",
                      "state": "ready",
                      "reason": null,
                      "language": "en",
                      "segments": [
                        {
                          "start": 0.0,
                          "end": 5.6,
                          "speaker": "Taras Melnyk",
                          "text": "Hi Anna, hi John, thanks for making the time today."
                        },
                        {
                          "start": 5.6,
                          "end": 11.2,
                          "speaker": "Anna Brooks",
                          "text": "Thanks, Taras. We mostly want to see how the CRM sync works."
                        },
                        {
                          "start": 11.2,
                          "end": 19.8,
                          "speaker": "Taras Melnyk",
                          "text": "Sure. Every call lands in Pipedrive with the summary and the next steps."
                        },
                        {
                          "start": 19.8,
                          "end": 25.1,
                          "speaker": "John Carter",
                          "text": "Does it handle calls in Spanish? Half of our team is in Madrid."
                        }
                      ],
                      "talk_time": [
                        {
                          "speaker": "Taras Melnyk",
                          "seconds": 1012.4,
                          "share": 0.58
                        },
                        {
                          "speaker": "Anna Brooks",
                          "seconds": 521.8,
                          "share": 0.3
                        },
                        {
                          "speaker": "John Carter",
                          "seconds": 210.3,
                          "share": 0.12
                        }
                      ]
                    }
                  },
                  "speaker_labels": {
                    "summary": "Upload without speaker names",
                    "description": "`GET /calls/c81a5f0e2b9d4a7c9e3f6b1d8a2c5e04/transcript` — an uploaded recording: speakers are separated but have no names. Cut to two segments.",
                    "value": {
                      "call_id": "c81a5f0e2b9d4a7c9e3f6b1d8a2c5e04",
                      "state": "ready",
                      "reason": null,
                      "language": "en",
                      "segments": [
                        {
                          "start": 0.0,
                          "end": 6.4,
                          "speaker": "SPEAKER_00",
                          "text": "So we looked at the numbers you sent last week."
                        },
                        {
                          "start": 6.4,
                          "end": 12.9,
                          "speaker": "SPEAKER_01",
                          "text": "Great. The annual plan is the one most teams your size pick."
                        }
                      ],
                      "talk_time": [
                        {
                          "speaker": "SPEAKER_00",
                          "seconds": 812.6,
                          "share": 0.6
                        },
                        {
                          "speaker": "SPEAKER_01",
                          "seconds": 531.9,
                          "share": 0.4
                        }
                      ]
                    }
                  },
                  "pending": {
                    "summary": "Not transcribed yet",
                    "description": "`GET /calls/4d7e0b21c9a84f3eb1d2a6c8e0f39a57/transcript` — the call being recorded.",
                    "value": {
                      "call_id": "4d7e0b21c9a84f3eb1d2a6c8e0f39a57",
                      "state": "pending",
                      "reason": null,
                      "language": null,
                      "segments": null,
                      "talk_time": null
                    }
                  },
                  "unavailable": {
                    "summary": "No transcript and none will come",
                    "description": "`GET /calls/e2b6a9d4f1c84b7e9a0d3f5c7b2e8a61/transcript` — the failed call.",
                    "value": {
                      "call_id": "e2b6a9d4f1c84b7e9a0d3f5c7b2e8a61",
                      "state": "unavailable",
                      "reason": "call_failed",
                      "language": null,
                      "segments": null,
                      "talk_time": null
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/InvalidToken"
          },
          "402": {
            "$ref": "#/components/responses/PaymentOverdue"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/CallNotFound"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "5XX": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/calls/{id}/summary": {
      "get": {
        "tags": [
          "Calls"
        ],
        "operationId": "getCallSummary",
        "summary": "Get the summary of a call",
        "description": "The summary in the language it was written in, with the call's sentiment. Until it is `ready`, its\nfields are `null`.",
        "x-jevu-tier": 1,
        "x-badges": [
          {
            "name": "Tier 1"
          }
        ],
        "x-codeSamples": [
          {
            "lang": "curl",
            "source": "curl -s 'https://api.jevu.ai/v1/calls/9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60/summary' \\\n  -H \"Authorization: Bearer $JEVU_API_KEY\""
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The call id — `id` from `GET /calls`, `data.call_id` of a webhook event.",
            "example": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60"
          }
        ],
        "responses": {
          "200": {
            "description": "The summary.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Summary"
                },
                "examples": {
                  "ready": {
                    "summary": "Summary of the demo",
                    "description": "`GET /calls/9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60/summary`",
                    "value": {
                      "call_id": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60",
                      "state": "ready",
                      "reason": null,
                      "text": "Product demo for Acme\n\nCRM sync: Acme wants every sales call to reach Pipedrive without manual notes. Taras showed the summary and the next steps landing on the deal; Anna confirmed this covers their main need.\n\nPricing: John asked about a team plan for 12 seats. Taras gave the annual price; the budget decision sits with Anna.",
                      "key_points": [
                        "Acme's sales team has 12 people, half of them in Madrid.",
                        "Calls are held in English and Spanish.",
                        "Acme reps write call notes by hand after every call today."
                      ],
                      "action_items": [
                        {
                          "owner": "Taras Melnyk",
                          "task": "Send the annual pricing for 12 seats (by Nov 12)"
                        },
                        {
                          "owner": "Anna Brooks",
                          "task": "Share the Pipedrive field mapping"
                        }
                      ],
                      "next_steps": [
                        "Follow-up call next week to agree the pilot scope"
                      ],
                      "sentiment": "positive"
                    }
                  },
                  "pending": {
                    "summary": "Not summarised yet",
                    "description": "`GET /calls/4d7e0b21c9a84f3eb1d2a6c8e0f39a57/summary` — the call being recorded.",
                    "value": {
                      "call_id": "4d7e0b21c9a84f3eb1d2a6c8e0f39a57",
                      "state": "pending",
                      "reason": null,
                      "text": null,
                      "key_points": null,
                      "action_items": null,
                      "next_steps": null,
                      "sentiment": null
                    }
                  },
                  "generation_failed": {
                    "summary": "Summary not generated",
                    "description": "`GET /calls/b5e93d0f6a2c4e1b8d7f0a3c5e9b1d24/summary` — the summary model failed, so Jevu shows the transcript in its place and the API gives no summary.",
                    "value": {
                      "call_id": "b5e93d0f6a2c4e1b8d7f0a3c5e9b1d24",
                      "state": "unavailable",
                      "reason": "generation_failed",
                      "text": null,
                      "key_points": null,
                      "action_items": null,
                      "next_steps": null,
                      "sentiment": null
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/InvalidToken"
          },
          "402": {
            "$ref": "#/components/responses/PaymentOverdue"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/CallNotFound"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "5XX": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/calls/{id}/analysis": {
      "get": {
        "tags": [
          "Calls"
        ],
        "operationId": "getCallAnalysis",
        "summary": "Get the score of a call",
        "description": "The analysis of the call with its current template: the score, the verdict of each criterion and the\ncompetitors the call named. Until it is `ready`, its fields are `null`. After someone picks another\ntemplate, this is the analysis with the new one as soon as it finishes.",
        "x-jevu-tier": 1,
        "x-badges": [
          {
            "name": "Tier 1"
          }
        ],
        "x-codeSamples": [
          {
            "lang": "curl",
            "source": "curl -s 'https://api.jevu.ai/v1/calls/9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60/analysis' \\\n  -H \"Authorization: Bearer $JEVU_API_KEY\""
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The call id — `id` from `GET /calls`, `data.call_id` of a webhook event.",
            "example": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60"
          }
        ],
        "responses": {
          "200": {
            "description": "The analysis.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Analysis"
                },
                "examples": {
                  "scored": {
                    "summary": "Scored with the Demo template",
                    "description": "`GET /calls/9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60/analysis`",
                    "value": {
                      "call_id": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60",
                      "state": "ready",
                      "reason": null,
                      "template": {
                        "code": "demo",
                        "name": "Demo"
                      },
                      "scored": true,
                      "score": 80,
                      "finished_at": "2026-11-10T09:35:03.114702Z",
                      "criteria": [
                        {
                          "key": "demo.meeting_goal",
                          "name": "Meeting plan",
                          "output_type": "yes_partial_no",
                          "verdict": "met",
                          "value": null,
                          "points": 20,
                          "points_max": 20,
                          "counted": true,
                          "explanation": "The goal — to show the CRM sync — was named at the start and Anna confirmed it."
                        },
                        {
                          "key": "demo.discovery_questions",
                          "name": "Fit to the client's work",
                          "output_type": "yes_partial_no",
                          "verdict": "partial",
                          "value": null,
                          "points": 10,
                          "points_max": 20,
                          "counted": true,
                          "explanation": "Taras asked about team size and languages but not about how Acme handles notes today."
                        },
                        {
                          "key": "talk_balance",
                          "name": "Talk balance 65:35",
                          "output_type": "yes_partial_no",
                          "verdict": "met",
                          "value": null,
                          "points": 20,
                          "points_max": 20,
                          "counted": true,
                          "explanation": null
                        },
                        {
                          "key": "demo.objection_handling",
                          "name": "Product questions",
                          "output_type": "yes_partial_no",
                          "verdict": "met",
                          "value": null,
                          "points": 20,
                          "points_max": 20,
                          "counted": true,
                          "explanation": "John's concern about Spanish calls was answered with the supported languages."
                        },
                        {
                          "key": "demo.next_step",
                          "name": "Concrete next step",
                          "output_type": "yes_partial_no",
                          "verdict": "partial",
                          "value": null,
                          "points": 10,
                          "points_max": 20,
                          "counted": true,
                          "explanation": "A follow-up was agreed for next week, without a date."
                        }
                      ],
                      "competitors": [
                        {
                          "name": "Recapify",
                          "context": "current",
                          "mentions": [
                            {
                              "at": 412.6,
                              "speaker": "Anna Brooks",
                              "quote": "Right now we use Recapify for notes, but it does not talk to Pipedrive."
                            }
                          ]
                        }
                      ]
                    }
                  },
                  "other": {
                    "summary": "Template \"Other\", no score",
                    "description": "`GET /calls/b5e93d0f6a2c4e1b8d7f0a3c5e9b1d24/analysis` — the call was classified as \"Other\": analysed, with no score.",
                    "value": {
                      "call_id": "b5e93d0f6a2c4e1b8d7f0a3c5e9b1d24",
                      "state": "ready",
                      "reason": null,
                      "template": {
                        "code": "other",
                        "name": "Other"
                      },
                      "scored": false,
                      "score": null,
                      "finished_at": "2026-11-03T15:12:48.330915Z",
                      "criteria": [],
                      "competitors": null
                    }
                  },
                  "failed": {
                    "summary": "Analysis failed",
                    "description": "`GET /calls/c81a5f0e2b9d4a7c9e3f6b1d8a2c5e04/analysis` — the model failed, all attempts used (see `call.analysis_failed`).",
                    "value": {
                      "call_id": "c81a5f0e2b9d4a7c9e3f6b1d8a2c5e04",
                      "state": "unavailable",
                      "reason": "llm_error",
                      "template": null,
                      "scored": null,
                      "score": null,
                      "finished_at": null,
                      "criteria": null,
                      "competitors": null
                    }
                  },
                  "no_transcript": {
                    "summary": "Nothing to analyse",
                    "description": "`GET /calls/e2b6a9d4f1c84b7e9a0d3f5c7b2e8a61/analysis` — the failed call has no transcript.",
                    "value": {
                      "call_id": "e2b6a9d4f1c84b7e9a0d3f5c7b2e8a61",
                      "state": "unavailable",
                      "reason": "no_transcript",
                      "template": null,
                      "scored": null,
                      "score": null,
                      "finished_at": null,
                      "criteria": null,
                      "competitors": null
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/InvalidToken"
          },
          "402": {
            "$ref": "#/components/responses/PaymentOverdue"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/CallNotFound"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "5XX": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/calls/{id}/recording": {
      "get": {
        "tags": [
          "Calls"
        ],
        "operationId": "getCallRecording",
        "summary": "Get a link to the recording",
        "description": "A temporary link to the call's recording file. Download the file with a plain `GET` to `url`, without\nthe API key, before `expires_at` (6 hours after the link was issued). The link points to one file; it\nstops working at `expires_at`, and as soon as the call is deleted. Ask for a new link at any time.\n\nThe file is the recording as Jevu keeps it; `content_type` tells its format (`audio/mpeg` for calls\nrecorded by the bot, the uploaded format for uploads, which may be a video). Until the recording is\n`ready`, `url`, `expires_at` and `content_type` are `null`: a recording is `pending` while the call is\nbeing recorded or processed and for up to 24 hours after, while the file is moved to storage.",
        "x-jevu-tier": 2,
        "x-badges": [
          {
            "name": "Tier 2"
          }
        ],
        "x-codeSamples": [
          {
            "lang": "curl",
            "label": "Get the link",
            "source": "curl -s 'https://api.jevu.ai/v1/calls/9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60/recording' \\\n  -H \"Authorization: Bearer $JEVU_API_KEY\""
          },
          {
            "lang": "curl",
            "label": "Download the file",
            "source": "curl -s -o call.mp3 \"$(curl -s 'https://api.jevu.ai/v1/calls/9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60/recording' \\\n  -H \"Authorization: Bearer $JEVU_API_KEY\" | jq -r .url)\""
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The call id — `id` from `GET /calls`, `data.call_id` of a webhook event.",
            "example": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60"
          }
        ],
        "responses": {
          "200": {
            "description": "The link, or why there is none.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Recording"
                },
                "examples": {
                  "ready": {
                    "summary": "Link to the recording",
                    "description": "`GET /calls/9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60/recording`, asked at 2026-11-12T16:05:00Z.",
                    "value": {
                      "call_id": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60",
                      "state": "ready",
                      "reason": null,
                      "url": "https://media.jevu.ai/recordings/9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60.mp3?Expires=1794521100&Signature=Q2xvdWRGcm9udC1leGFtcGxlLXNpZ25hdHVyZS1ub3QtcmVhbA__~bm90LWEtcmVhbC1zaWduYXR1cmU_&Key-Pair-Id=K2JCJMDEHXQW5F",
                      "expires_at": "2026-11-12T22:05:00Z",
                      "content_type": "audio/mpeg"
                    }
                  },
                  "pending": {
                    "summary": "Not in storage yet",
                    "description": "`GET /calls/4d7e0b21c9a84f3eb1d2a6c8e0f39a57/recording` — the call being recorded.",
                    "value": {
                      "call_id": "4d7e0b21c9a84f3eb1d2a6c8e0f39a57",
                      "state": "pending",
                      "reason": null,
                      "url": null,
                      "expires_at": null,
                      "content_type": null
                    }
                  },
                  "unavailable": {
                    "summary": "The call has no recording",
                    "description": "`GET /calls/e2b6a9d4f1c84b7e9a0d3f5c7b2e8a61/recording` — the failed call.",
                    "value": {
                      "call_id": "e2b6a9d4f1c84b7e9a0d3f5c7b2e8a61",
                      "state": "unavailable",
                      "reason": "no_recording",
                      "url": null,
                      "expires_at": null,
                      "content_type": null
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/InvalidToken"
          },
          "402": {
            "$ref": "#/components/responses/PaymentOverdue"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/CallNotFound"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "5XX": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/workspace": {
      "get": {
        "tags": [
          "Workspace"
        ],
        "operationId": "getWorkspace",
        "summary": "Get the workspace",
        "description": "The workspace the key belongs to, the tiers its plan includes and the rate limits. Call it to check a key\nwhen you connect it.",
        "x-jevu-tier": 1,
        "x-badges": [
          {
            "name": "Tier 1"
          }
        ],
        "x-codeSamples": [
          {
            "lang": "curl",
            "source": "curl -s 'https://api.jevu.ai/v1/workspace' \\\n  -H \"Authorization: Bearer $JEVU_API_KEY\""
          }
        ],
        "responses": {
          "200": {
            "description": "The workspace.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Workspace"
                },
                "examples": {
                  "workspace": {
                    "summary": "Lumio Lab",
                    "description": "`GET /workspace`",
                    "value": {
                      "id": "314",
                      "name": "Lumio Lab",
                      "plan_name": "Pro",
                      "tiers": [
                        1,
                        2
                      ],
                      "rate_limits": {
                        "tier_1_per_minute": 60,
                        "tier_2_per_minute": 30,
                        "per_day": 5000
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/InvalidToken"
          },
          "402": {
            "$ref": "#/components/responses/PaymentOverdue"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "5XX": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/workspace/members": {
      "get": {
        "tags": [
          "Workspace"
        ],
        "operationId": "listWorkspaceMembers",
        "summary": "List members of the workspace",
        "description": "Everyone who is a member of the workspace, with their role and teams — those whose seat waits for\npayment or is suspended included: their calls are in `GET /calls` too. Oldest member first, at most\n`limit` per page. Use `id` as `owner_id` of `GET /calls`; use a team's `id` as `team_id` of\n`GET /analytics`.",
        "x-jevu-tier": 1,
        "x-badges": [
          {
            "name": "Tier 1"
          }
        ],
        "x-codeSamples": [
          {
            "lang": "curl",
            "source": "curl -s 'https://api.jevu.ai/v1/workspace/members' \\\n  -H \"Authorization: Bearer $JEVU_API_KEY\""
          }
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 100
            },
            "description": "Members per page, 1 to 100.",
            "example": 100
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "`next_cursor` of the previous page.",
            "example": "eyJqb2luZWRfYXQiOiIyMDI2LTA5LTAyVDA4OjE1OjAwWiIsImlkIjoiMTA1NyJ9"
          }
        ],
        "responses": {
          "200": {
            "description": "One page of members.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemberList"
                },
                "examples": {
                  "members": {
                    "summary": "Four members",
                    "description": "`GET /workspace/members`. Dmytro has not set a name, so `name` is his email.",
                    "value": {
                      "items": [
                        {
                          "id": "1041",
                          "name": "Olena Kovalenko",
                          "email": "olena@lumio.example",
                          "role": "owner",
                          "teams": [
                            {
                              "id": "11",
                              "name": "Management"
                            }
                          ]
                        },
                        {
                          "id": "1042",
                          "name": "Taras Melnyk",
                          "email": "taras@lumio.example",
                          "role": "admin",
                          "teams": [
                            {
                              "id": "12",
                              "name": "Sales"
                            }
                          ]
                        },
                        {
                          "id": "1057",
                          "name": "Iryna Bondar",
                          "email": "iryna@lumio.example",
                          "role": "member",
                          "teams": [
                            {
                              "id": "12",
                              "name": "Sales"
                            }
                          ]
                        },
                        {
                          "id": "1063",
                          "name": "dmytro@lumio.example",
                          "email": "dmytro@lumio.example",
                          "role": "member",
                          "teams": [
                            {
                              "id": "12",
                              "name": "Sales"
                            }
                          ]
                        }
                      ],
                      "next_cursor": null
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/InvalidToken"
          },
          "402": {
            "$ref": "#/components/responses/PaymentOverdue"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "422": {
            "description": "A query parameter is not valid; `param` names it.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                },
                "examples": {
                  "limit": {
                    "summary": "`limit=0`",
                    "value": {
                      "error": {
                        "code": "invalid_parameter",
                        "message": "limit must be from 1 to 100.",
                        "param": "limit"
                      },
                      "request_id": "3e8c1b5f9a2d4c06b7e0a3d6f9c2b5e8"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "5XX": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/analytics": {
      "get": {
        "tags": [
          "Analytics"
        ],
        "operationId": "getAnalytics",
        "summary": "Get team analytics for a period",
        "description": "Totals of the period, and the same figures for every member and every team: calls, scores, the next\nstep agreed, talk share and budget won. The period is the last 7, 30 or 90 days, today included, with\ndays counted in `tz`. The figures are those of the Analytics page in Jevu as the Owner sees it. Budget\nwon is counted in the CRM the Owner chose on that page.",
        "x-jevu-tier": 2,
        "x-badges": [
          {
            "name": "Tier 2"
          }
        ],
        "x-codeSamples": [
          {
            "lang": "curl",
            "label": "Last 30 days in Kyiv time",
            "source": "curl -s 'https://api.jevu.ai/v1/analytics?period=30&tz=Europe/Kyiv' \\\n  -H \"Authorization: Bearer $JEVU_API_KEY\""
          },
          {
            "lang": "curl",
            "label": "Two teams, last 7 days",
            "source": "curl -s 'https://api.jevu.ai/v1/analytics?period=7&team_id=11,12' \\\n  -H \"Authorization: Bearer $JEVU_API_KEY\""
          }
        ],
        "parameters": [
          {
            "name": "period",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 30
            },
            "description": "The last 7, 30 or 90 days.",
            "example": 30
          },
          {
            "name": "tz",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "UTC"
            },
            "description": "IANA time zone the days are counted in.",
            "example": "Europe/Kyiv"
          },
          {
            "name": "team_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "default": []
            },
            "description": "Only these teams and their members — ids from `teams` of `GET /workspace/members`; comma-separated (`team_id=11,12`) or the parameter repeated. Without it — all teams.",
            "example": [
              "12"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "The analytics.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Analytics"
                },
                "examples": {
                  "month": {
                    "summary": "Last 30 days, Kyiv time",
                    "description": "`GET /analytics?period=30&tz=Europe/Kyiv`, asked on 2026-11-12.",
                    "value": {
                      "period": {
                        "days": 30,
                        "tz": "Europe/Kyiv",
                        "created_from": "2026-10-13T21:00:00Z",
                        "first_day": "2026-10-14",
                        "last_day": "2026-11-12"
                      },
                      "connected_crms": [
                        "pipedrive",
                        "snov"
                      ],
                      "totals": {
                        "calls": 46,
                        "duration_seconds": 101460,
                        "scored_calls": 31,
                        "avg_score": 74,
                        "next_step_met": 22,
                        "budget_won": {
                          "crm": "pipedrive",
                          "currency": "USD",
                          "amount": "48500.00",
                          "deals": 3,
                          "connected_members": 2
                        }
                      },
                      "members": [
                        {
                          "id": "1041",
                          "name": "Olena Kovalenko",
                          "role": "owner",
                          "teams": [
                            {
                              "id": "11",
                              "name": "Management"
                            }
                          ],
                          "calls": 4,
                          "scored_calls": 1,
                          "avg_score": 82,
                          "next_step_rate": 1.0,
                          "talk_share": 0.49,
                          "weakest_criterion": "demo.objection_handling",
                          "weakest_criterion_name": "Product questions",
                          "budget_won": null
                        },
                        {
                          "id": "1042",
                          "name": "Taras Melnyk",
                          "role": "admin",
                          "teams": [
                            {
                              "id": "12",
                              "name": "Sales"
                            }
                          ],
                          "calls": 24,
                          "scored_calls": 17,
                          "avg_score": 76,
                          "next_step_rate": 0.7647058823529411,
                          "talk_share": 0.58,
                          "weakest_criterion": "demo.discovery_questions",
                          "weakest_criterion_name": "Fit to the client's work",
                          "budget_won": {
                            "amount": "36000.00",
                            "deals": 2
                          }
                        },
                        {
                          "id": "1057",
                          "name": "Iryna Bondar",
                          "role": "member",
                          "teams": [
                            {
                              "id": "12",
                              "name": "Sales"
                            }
                          ],
                          "calls": 18,
                          "scored_calls": 13,
                          "avg_score": 71,
                          "next_step_rate": 0.6153846153846154,
                          "talk_share": 0.6125,
                          "weakest_criterion": "demo.next_step",
                          "weakest_criterion_name": "Concrete next step",
                          "budget_won": {
                            "amount": "12500.00",
                            "deals": 1
                          }
                        },
                        {
                          "id": "1063",
                          "name": "dmytro@lumio.example",
                          "role": "member",
                          "teams": [
                            {
                              "id": "12",
                              "name": "Sales"
                            }
                          ],
                          "calls": 0,
                          "scored_calls": 0,
                          "avg_score": null,
                          "next_step_rate": null,
                          "talk_share": null,
                          "weakest_criterion": null,
                          "weakest_criterion_name": null,
                          "budget_won": null
                        }
                      ],
                      "teams": [
                        {
                          "id": "11",
                          "name": "Management",
                          "member_count": 1,
                          "calls": 4,
                          "scored_calls": 1,
                          "avg_score": 82,
                          "next_step_rate": 1.0,
                          "talk_share": 0.49,
                          "weakest_criterion": "demo.objection_handling",
                          "weakest_criterion_name": "Product questions",
                          "budget_won": null
                        },
                        {
                          "id": "12",
                          "name": "Sales",
                          "member_count": 3,
                          "calls": 42,
                          "scored_calls": 30,
                          "avg_score": 74,
                          "next_step_rate": 0.7,
                          "talk_share": 0.5940833333333333,
                          "weakest_criterion": "demo.discovery_questions",
                          "weakest_criterion_name": "Fit to the client's work",
                          "budget_won": {
                            "amount": "48500.00",
                            "deals": 3
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/InvalidToken"
          },
          "402": {
            "$ref": "#/components/responses/PaymentOverdue"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "422": {
            "description": "A query parameter is not valid; `param` names it.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                },
                "examples": {
                  "period": {
                    "summary": "`period=14`",
                    "value": {
                      "error": {
                        "code": "invalid_parameter",
                        "message": "period must be one of: 7, 30, 90.",
                        "param": "period"
                      },
                      "request_id": "9b2e5a8d1c4f4e73a0b3d6e9c2f5a8b1"
                    }
                  },
                  "tz": {
                    "summary": "`tz=Mars/Olympus` — not an IANA zone",
                    "value": {
                      "error": {
                        "code": "invalid_parameter",
                        "message": "tz must be an IANA time zone.",
                        "param": "tz"
                      },
                      "request_id": "4f7a0d3c6e9b4b12a5c8e1f4a7d0b3c6"
                    }
                  },
                  "team_id": {
                    "summary": "`team_id=99` — no such team in the workspace",
                    "value": {
                      "error": {
                        "code": "invalid_parameter",
                        "message": "team_id 99 is not a team of the workspace.",
                        "param": "team_id"
                      },
                      "request_id": "1a4d7b0e3f6c4a89b2e5c8f1d4a7e0b3"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "5XX": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    }
  },
  "webhooks": {
    "call.transcribed": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "security": [],
        "operationId": "callTranscribed",
        "summary": "Transcript is ready",
        "description": "Sent once per call, as soon as its transcript is written — from any source, an empty transcript too.\n`GET /calls/{call_id}/transcript` is then `ready`; the summary may still be pending.",
        "parameters": [
          {
            "$ref": "#/components/parameters/EventHeader"
          },
          {
            "$ref": "#/components/parameters/EventIdHeader"
          },
          {
            "$ref": "#/components/parameters/SignatureHeader"
          },
          {
            "$ref": "#/components/parameters/TokenHeader"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CallTranscribedEvent"
              },
              "examples": {
                "transcribed": {
                  "summary": "The demo is transcribed",
                  "description": "`X-Jevu-Signature: t=1794303222,v1=ebe6a8b24720dc2caac9932029da5aae74a975120920e7dc50bc2e0303365cf8`",
                  "value": {
                    "id": "e7a1c3f05b2d4e8a9c6f1b0d3a5e7c92",
                    "type": "call.transcribed",
                    "occurred_at": "2026-11-10T09:33:41.502318Z",
                    "data": {
                      "call_id": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60"
                    }
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "$ref": "#/components/responses/WebhookAccepted"
          }
        }
      }
    },
    "call.summarized": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "security": [],
        "operationId": "callSummarized",
        "summary": "Summary is ready",
        "description": "Sent once per call, when its processing finished (`status: done`) with a generated summary. At that\nmoment `GET /calls/{call_id}/summary` is `ready`; the analysis may still be running.\n\nNot sent when the summary could not be generated (`reason: generation_failed`).",
        "parameters": [
          {
            "$ref": "#/components/parameters/EventHeader"
          },
          {
            "$ref": "#/components/parameters/EventIdHeader"
          },
          {
            "$ref": "#/components/parameters/SignatureHeader"
          },
          {
            "$ref": "#/components/parameters/TokenHeader"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CallSummarizedEvent"
              },
              "examples": {
                "summarized": {
                  "summary": "The demo is summarized",
                  "description": "`X-Jevu-Signature: t=1794303253,v1=071f93291e46ade7281b80ee500d677116d9426900d946969cdc414959216a16`",
                  "value": {
                    "id": "3b8d0f6a1c4e4b7d8a2f5c9e0b6d1a43",
                    "type": "call.summarized",
                    "occurred_at": "2026-11-10T09:34:12.880461Z",
                    "data": {
                      "call_id": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60"
                    }
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "$ref": "#/components/responses/WebhookAccepted"
          }
        }
      }
    },
    "call.analyzed": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "security": [],
        "operationId": "callAnalyzed",
        "summary": "Call is scored",
        "description": "Sent every time an analysis of the call with a template finishes: the first one, and again after\nsomeone picks another template and its analysis finishes. Going back to a template the call was\nalready analysed with sends nothing. Template \"Other\" is analysed without a score.\n\n`GET /calls/{call_id}/analysis` returns the analysis with the call's current template, which may already\nbe a newer one than in this event.",
        "parameters": [
          {
            "$ref": "#/components/parameters/EventHeader"
          },
          {
            "$ref": "#/components/parameters/EventIdHeader"
          },
          {
            "$ref": "#/components/parameters/SignatureHeader"
          },
          {
            "$ref": "#/components/parameters/TokenHeader"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CallAnalyzedEvent"
              },
              "examples": {
                "scored": {
                  "summary": "The demo is scored",
                  "description": "`X-Jevu-Signature: t=1794303304,v1=504288cf8fa719628c6cb9484ebf4d87358a71b8323daa27d38a1a4a2e1fdb06`",
                  "value": {
                    "id": "a4c9e2b7d1f04a6e8b3c5d7f9e1a2b60",
                    "type": "call.analyzed",
                    "occurred_at": "2026-11-10T09:35:03.114702Z",
                    "data": {
                      "call_id": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60",
                      "template": {
                        "code": "demo",
                        "name": "Demo"
                      },
                      "score": 80
                    }
                  }
                },
                "other": {
                  "summary": "Template \"Other\", no score",
                  "description": "`X-Jevu-Signature: t=1793718769,v1=43ab8b7678610c0cd0d4fe0328bf332b41125658b125679727713090ff5d9150`",
                  "value": {
                    "id": "5d2f8b1e6a9c4d3f0e7b2a8c1d6f9e35",
                    "type": "call.analyzed",
                    "occurred_at": "2026-11-03T15:12:48.330915Z",
                    "data": {
                      "call_id": "b5e93d0f6a2c4e1b8d7f0a3c5e9b1d24",
                      "template": {
                        "code": "other",
                        "name": "Other"
                      },
                      "score": null
                    }
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "$ref": "#/components/responses/WebhookAccepted"
          }
        }
      }
    },
    "call.analysis_failed": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "security": [],
        "operationId": "callAnalysisFailed",
        "summary": "Analysis failed",
        "description": "Sent when an analysis of the call gave up — every time, also for an analysis with a newly picked\ntemplate; `template` tells which analysis failed. While that template is current,\n`GET /calls/{call_id}/analysis` is `unavailable` with the same `reason`.",
        "parameters": [
          {
            "$ref": "#/components/parameters/EventHeader"
          },
          {
            "$ref": "#/components/parameters/EventIdHeader"
          },
          {
            "$ref": "#/components/parameters/SignatureHeader"
          },
          {
            "$ref": "#/components/parameters/TokenHeader"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CallAnalysisFailedEvent"
              },
              "examples": {
                "llm_error": {
                  "summary": "The model failed",
                  "description": "`X-Jevu-Signature: t=1794062480,v1=b0b565accbe61dc73bd5514a12d9def3dafbc0a8decd8bca21e5c47cce4b139e`",
                  "value": {
                    "id": "c0e6a3d9f2b14c8e7a5d1f3b9c2e6a08",
                    "type": "call.analysis_failed",
                    "occurred_at": "2026-11-07T14:41:19.067233Z",
                    "data": {
                      "call_id": "c81a5f0e2b9d4a7c9e3f6b1d8a2c5e04",
                      "template": {
                        "code": "negotiation",
                        "name": "Negotiation"
                      },
                      "reason": "llm_error"
                    }
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "$ref": "#/components/responses/WebhookAccepted"
          }
        }
      }
    },
    "call.crm_synced": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "security": [],
        "operationId": "callCrmSynced",
        "summary": "Call sent to a CRM",
        "description": "Sent every time the call reaches a CRM — automatically after processing, by hand, again, or after the\ndeal was reset — one event per CRM and per send.",
        "parameters": [
          {
            "$ref": "#/components/parameters/EventHeader"
          },
          {
            "$ref": "#/components/parameters/EventIdHeader"
          },
          {
            "$ref": "#/components/parameters/SignatureHeader"
          },
          {
            "$ref": "#/components/parameters/TokenHeader"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CallCrmSyncedEvent"
              },
              "examples": {
                "sent": {
                  "summary": "Sent to Pipedrive",
                  "description": "`X-Jevu-Signature: t=1794303261,v1=43c009a03420f0ef06f0067adfe5114f8112e619c3217a9cb7a2cfc5f484b691`",
                  "value": {
                    "id": "71b4e8c2a6d94f0b8e3a1c5d7f2b9e46",
                    "type": "call.crm_synced",
                    "occurred_at": "2026-11-10T09:34:20.415508Z",
                    "data": {
                      "call_id": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60",
                      "crm": "pipedrive"
                    }
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "$ref": "#/components/responses/WebhookAccepted"
          }
        }
      }
    },
    "call.crm_sync_failed": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "security": [],
        "operationId": "callCrmSyncFailed",
        "summary": "Sending to a CRM did not work",
        "description": "Sent every time sending the call to a CRM ends without reaching it — one event per CRM and per send.\n`reason` is what the call page shows in its header; the CRM's own error text is never sent.",
        "parameters": [
          {
            "$ref": "#/components/parameters/EventHeader"
          },
          {
            "$ref": "#/components/parameters/EventIdHeader"
          },
          {
            "$ref": "#/components/parameters/SignatureHeader"
          },
          {
            "$ref": "#/components/parameters/TokenHeader"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CallCrmSyncFailedEvent"
              },
              "examples": {
                "no_contact": {
                  "summary": "No contact — Pipedrive waits for the client's email",
                  "description": "`X-Jevu-Signature: t=1794062396,v1=aba97d34f34306359e15eb86c65e995de0f369c95173a22b38c25390215eda95`",
                  "value": {
                    "id": "f9a2d6c1e8b34a7d9c0e5f1b3a7d2c84",
                    "type": "call.crm_sync_failed",
                    "occurred_at": "2026-11-07T14:39:55.731406Z",
                    "data": {
                      "call_id": "c81a5f0e2b9d4a7c9e3f6b1d8a2c5e04",
                      "crm": "pipedrive",
                      "reason": "no_contact"
                    }
                  }
                },
                "token_invalid": {
                  "summary": "Snov.io refused the connection's token",
                  "description": "`X-Jevu-Signature: t=1794303262,v1=3731c787f0e3816a895a03ee2bebd6a1013fd83fa1b34d4f8c6a0dbec6929c56`",
                  "value": {
                    "id": "2e7c1a9f4d6b4e3a8f0c2d5b7e9a1c63",
                    "type": "call.crm_sync_failed",
                    "occurred_at": "2026-11-10T09:34:21.902377Z",
                    "data": {
                      "call_id": "9f2c1e4a7b3d4c5e8f6a1b2c3d4e5f60",
                      "crm": "snov",
                      "reason": "token_invalid"
                    }
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "$ref": "#/components/responses/WebhookAccepted"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ActionItem": {
        "properties": {
          "owner": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Who will do it, as named on the call — a person or a company; `null` when the call did not name anyone."
          },
          "task": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "owner",
          "task"
        ]
      },
      "Analysis": {
        "properties": {
          "call_id": {
            "type": "string"
          },
          "state": {
            "type": "string",
            "enum": [
              "pending",
              "ready",
              "unavailable"
            ],
            "description": "`pending` — not there yet, Jevu is working on it; `ready` — it is there; `unavailable` — it is not there and will not come on its own, `reason` says why. Closed."
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "x-extensible-enum": [
              "disabled",
              "no_template",
              "no_transcript",
              "transcript_empty",
              "transcript_too_long",
              "llm_error",
              "credentials",
              "not_queued"
            ]
          },
          "template": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TemplateRef"
              },
              {
                "type": "null"
              }
            ],
            "description": "The call's current template: a template of Jevu or one of the workspace's own."
          },
          "scored": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Whether the template scores the call; `false` for `internal` and `other`."
          },
          "score": {
            "anyOf": [
              {
                "type": "integer",
                "maximum": 100.0,
                "minimum": 0.0
              },
              {
                "type": "null"
              }
            ],
            "description": "The sum of `points` of the counted criteria; `null` also when the template does not score."
          },
          "finished_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "criteria": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/Criterion"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "The criteria of the template in its order; `[]` when the template does not score."
          },
          "competitors": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/Competitor"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Competitors the call named — for `first_call`, `demo`, `negotiation` and the own templates of the workspace (maybe `[]`); `null` for the other templates."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "call_id",
          "state",
          "reason",
          "template",
          "scored",
          "score",
          "finished_at",
          "criteria",
          "competitors"
        ]
      },
      "AnalysisStatus": {
        "properties": {
          "state": {
            "type": "string",
            "enum": [
              "pending",
              "ready",
              "unavailable"
            ],
            "description": "`pending` — not there yet, Jevu is working on it; `ready` — it is there; `unavailable` — it is not there and will not come on its own, `reason` says why. Closed."
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "x-extensible-enum": [
              "disabled",
              "no_template",
              "no_transcript",
              "transcript_empty",
              "transcript_too_long",
              "llm_error",
              "credentials",
              "not_queued"
            ],
            "description": "Set when `state` is `unavailable`; `null` otherwise."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "state",
          "reason"
        ]
      },
      "Analytics": {
        "properties": {
          "period": {
            "$ref": "#/components/schemas/Period"
          },
          "connected_crms": {
            "items": {
              "type": "string",
              "description": "`pipedrive` — Pipedrive; `snov` — Snov.io. Extensible."
            },
            "type": "array",
            "description": "The CRMs connected in the workspace; `[]` — none."
          },
          "totals": {
            "$ref": "#/components/schemas/Totals"
          },
          "members": {
            "items": {
              "$ref": "#/components/schemas/MemberStats"
            },
            "type": "array",
            "description": "Every member — or the members of `team_id`."
          },
          "teams": {
            "items": {
              "$ref": "#/components/schemas/TeamStats"
            },
            "type": "array",
            "description": "Every team — or the teams of `team_id`."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "period",
          "connected_crms",
          "totals",
          "members",
          "teams"
        ]
      },
      "BudgetWon": {
        "properties": {
          "crm": {
            "type": "string",
            "x-extensible-enum": [
              "pipedrive",
              "snov"
            ],
            "description": "`pipedrive` — Pipedrive; `snov` — Snov.io. Extensible."
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "ISO 4217 currency of `amount`; `null` when the CRM has none."
          },
          "amount": {
            "type": "string",
            "description": "Sum of the won deals as a decimal string, in `currency`."
          },
          "deals": {
            "type": "integer"
          },
          "connected_members": {
            "type": "integer",
            "description": "Members connected to `crm`."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "crm",
          "currency",
          "amount",
          "deals",
          "connected_members"
        ],
        "description": "Won CRM deals linked to the calls of the period, in the CRM the Owner chose."
      },
      "Call": {
        "properties": {
          "id": {
            "type": "string",
            "description": "The call id."
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The call's name: the calendar event's title, the Zoom topic of an import, or the name typed when the bot was sent or the file uploaded."
          },
          "status": {
            "type": "string",
            "enum": [
              "processing",
              "done",
              "failed"
            ],
            "description": "`processing` — Jevu is still working on the call: waiting, recording, transcribing, summarising or sending it on. `done` — processing finished. `failed` — the call failed: nothing was recorded or transcription failed. Closed."
          },
          "started_at": {
            "type": "string",
            "format": "date-time",
            "description": "When the call started: for a Zoom import, the start of the Zoom meeting; otherwise when the call was created in Jevu."
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "description": "When the call was created in Jevu. The list is sorted and filtered by it."
          },
          "duration_seconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Length of the recorded call; known once it is transcribed, `null` until then."
          },
          "language": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Language of the call, detected from the transcript: ISO 639-1 in lower case (`en`, `es`, `uk`), or Whisper's code for a language without one (`haw`, `yue`); `null` until there is a transcript or when it was not detected."
          },
          "source": {
            "type": "string",
            "x-extensible-enum": [
              "calendar",
              "bot",
              "upload",
              "live",
              "zoom_s2s"
            ],
            "description": "`calendar` — the bot joined a meeting from the calendar; `bot` — the bot was sent to a meeting link; `upload` — an uploaded file; `live` — recorded in the browser; `zoom_s2s` — imported from Zoom cloud recordings. Extensible."
          },
          "meeting_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Link to the meeting."
          },
          "owner": {
            "$ref": "#/components/schemas/Owner"
          },
          "participants": {
            "items": {
              "$ref": "#/components/schemas/Participant"
            },
            "type": "array",
            "description": "The people Jevu knows were on the call: invitees of the calendar event, people signed in to Zoom in an import, names heard on the call or seen in the meeting room (speaker labels such as `SPEAKER_00` are not people). Each person is listed once: a heard name that is an invitee's name is that invitee. Invitees come first, then names without an email; each group in alphabetical order. `[]` when there are none."
          },
          "prospect_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The client's email the call is filed under in a CRM."
          },
          "app_url": {
            "type": "string",
            "description": "The call's page in Jevu, for people of the workspace who may see the call."
          },
          "transcript": {
            "$ref": "#/components/schemas/TranscriptStatus"
          },
          "summary": {
            "$ref": "#/components/schemas/SummaryStatus"
          },
          "analysis": {
            "$ref": "#/components/schemas/AnalysisStatus"
          },
          "recording": {
            "$ref": "#/components/schemas/RecordingStatus"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "title",
          "status",
          "started_at",
          "created_at",
          "duration_seconds",
          "language",
          "source",
          "meeting_url",
          "owner",
          "participants",
          "prospect_email",
          "app_url",
          "transcript",
          "summary",
          "analysis",
          "recording"
        ],
        "description": "The metadata of a call — a row of `GET /calls` and the answer of `GET /calls/{id}` — and the state of its four parts, which have their own methods."
      },
      "CallAnalysisFailedData": {
        "properties": {
          "call_id": {
            "type": "string"
          },
          "template": {
            "$ref": "#/components/schemas/TemplateRef"
          },
          "reason": {
            "type": "string",
            "x-extensible-enum": [
              "llm_error",
              "credentials",
              "not_queued"
            ],
            "description": "`llm_error` — the model failed, all attempts used; `credentials` — Jevu's key for the model was refused; `not_queued` — the analysis could not be started. Extensible."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "call_id",
          "template",
          "reason"
        ]
      },
      "CallAnalysisFailedEvent": {
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the event; treat it as opaque. Every attempt to deliver the event carries the same one. Use it to skip a repeat."
          },
          "type": {
            "type": "string",
            "enum": [
              "call.analysis_failed"
            ],
            "const": "call.analysis_failed"
          },
          "occurred_at": {
            "type": "string",
            "format": "date-time",
            "description": "When the analysis gave up."
          },
          "data": {
            "$ref": "#/components/schemas/CallAnalysisFailedData"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "type",
          "occurred_at",
          "data"
        ]
      },
      "CallAnalyzedData": {
        "properties": {
          "call_id": {
            "type": "string"
          },
          "template": {
            "$ref": "#/components/schemas/TemplateRef"
          },
          "score": {
            "anyOf": [
              {
                "type": "integer",
                "maximum": 100.0,
                "minimum": 0.0
              },
              {
                "type": "null"
              }
            ],
            "description": "`null` for a template that does not score."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "call_id",
          "template",
          "score"
        ]
      },
      "CallAnalyzedEvent": {
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the event; treat it as opaque. Every attempt to deliver the event carries the same one. Use it to skip a repeat."
          },
          "type": {
            "type": "string",
            "enum": [
              "call.analyzed"
            ],
            "const": "call.analyzed"
          },
          "occurred_at": {
            "type": "string",
            "format": "date-time",
            "description": "When the analysis finished — `finished_at` of the analysis."
          },
          "data": {
            "$ref": "#/components/schemas/CallAnalyzedData"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "type",
          "occurred_at",
          "data"
        ]
      },
      "CallCrmSyncFailedData": {
        "properties": {
          "call_id": {
            "type": "string"
          },
          "crm": {
            "type": "string",
            "x-extensible-enum": [
              "pipedrive",
              "snov"
            ],
            "description": "`pipedrive` — Pipedrive; `snov` — Snov.io. Extensible."
          },
          "reason": {
            "type": "string",
            "x-extensible-enum": [
              "no_contact",
              "unreachable",
              "token_invalid",
              "other"
            ],
            "description": "`no_contact` — the CRM waits for the client's email: the call has no contact to file it under. `unreachable` — the CRM did not answer. `token_invalid` — the CRM refused the connection; reconnect it in Jevu. `other` — any other error. Extensible."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "call_id",
          "crm",
          "reason"
        ]
      },
      "CallCrmSyncFailedEvent": {
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the event; treat it as opaque. Every attempt to deliver the event carries the same one. Use it to skip a repeat."
          },
          "type": {
            "type": "string",
            "enum": [
              "call.crm_sync_failed"
            ],
            "const": "call.crm_sync_failed"
          },
          "occurred_at": {
            "type": "string",
            "format": "date-time",
            "description": "When sending ended."
          },
          "data": {
            "$ref": "#/components/schemas/CallCrmSyncFailedData"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "type",
          "occurred_at",
          "data"
        ]
      },
      "CallCrmSyncedData": {
        "properties": {
          "call_id": {
            "type": "string"
          },
          "crm": {
            "type": "string",
            "x-extensible-enum": [
              "pipedrive",
              "snov"
            ],
            "description": "`pipedrive` — Pipedrive; `snov` — Snov.io. Extensible."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "call_id",
          "crm"
        ]
      },
      "CallCrmSyncedEvent": {
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the event; treat it as opaque. Every attempt to deliver the event carries the same one. Use it to skip a repeat."
          },
          "type": {
            "type": "string",
            "enum": [
              "call.crm_synced"
            ],
            "const": "call.crm_synced"
          },
          "occurred_at": {
            "type": "string",
            "format": "date-time",
            "description": "When the call reached the CRM."
          },
          "data": {
            "$ref": "#/components/schemas/CallCrmSyncedData"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "type",
          "occurred_at",
          "data"
        ]
      },
      "CallList": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Call"
            },
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Pass as `cursor` to get the next page; `null` — no more calls."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "items",
          "next_cursor"
        ]
      },
      "CallRef": {
        "properties": {
          "call_id": {
            "type": "string",
            "description": "The call — read it with the methods of `GET /calls/{id}`."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "call_id"
        ]
      },
      "CallSummarizedEvent": {
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the event; treat it as opaque. Every attempt to deliver the event carries the same one. Use it to skip a repeat."
          },
          "type": {
            "type": "string",
            "enum": [
              "call.summarized"
            ],
            "const": "call.summarized"
          },
          "occurred_at": {
            "type": "string",
            "format": "date-time",
            "description": "When processing finished."
          },
          "data": {
            "$ref": "#/components/schemas/CallRef"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "type",
          "occurred_at",
          "data"
        ]
      },
      "CallTranscribedEvent": {
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of the event; treat it as opaque. Every attempt to deliver the event carries the same one. Use it to skip a repeat."
          },
          "type": {
            "type": "string",
            "enum": [
              "call.transcribed"
            ],
            "const": "call.transcribed"
          },
          "occurred_at": {
            "type": "string",
            "format": "date-time",
            "description": "When the transcript was written."
          },
          "data": {
            "$ref": "#/components/schemas/CallRef"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "type",
          "occurred_at",
          "data"
        ]
      },
      "Competitor": {
        "properties": {
          "name": {
            "type": "string"
          },
          "context": {
            "type": "string",
            "x-extensible-enum": [
              "current",
              "evaluated",
              "price_comparison",
              "competing_offer"
            ],
            "description": "`current` — the client uses it now; `evaluated` — the client is looking at it; `price_comparison` — named to compare prices; `competing_offer` — the client has an offer from it. Extensible."
          },
          "mentions": {
            "items": {
              "$ref": "#/components/schemas/Mention"
            },
            "type": "array"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "name",
          "context",
          "mentions"
        ]
      },
      "Criterion": {
        "properties": {
          "key": {
            "type": "string",
            "x-extensible-enum": [
              "demo.meeting_goal",
              "demo.next_step",
              "talk_balance",
              "talk_balance_35",
              "talk_balance_50",
              "crit_7"
            ],
            "description": "The criterion: `<template>.<criterion>` for a ready-made one (`demo.meeting_goal`), a talk balance (`talk_balance_35`, `talk_balance_50`, `talk_balance` for 65:35), or `crit_<id>` for one of the workspace's own. Extensible."
          },
          "name": {
            "type": "string",
            "description": "The criterion's name: for a ready-made one, its English name; for an own one, the name it had when the call was analysed."
          },
          "output_type": {
            "type": "string",
            "x-extensible-enum": [
              "yes_partial_no",
              "scale",
              "number"
            ],
            "description": "What the criterion answers: `yes_partial_no`, `scale` or `number`. Extensible."
          },
          "verdict": {
            "type": "string",
            "x-extensible-enum": [
              "met",
              "partial",
              "not_met",
              "not_applicable"
            ],
            "description": "`met`, `partial` or `not_met`; for `scale` and `number` the bucket of the value. `not_applicable` — the criterion did not apply to the call, it is not counted. Extensible."
          },
          "value": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "The score of a `scale` criterion (1 to 5) or the count of a `number` one; `null` for the other types."
          },
          "points": {
            "type": "integer",
            "minimum": 0.0,
            "description": "Points the criterion earned on the scale of the call (the call's score is their sum); 0 when not counted."
          },
          "points_max": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0.0
              },
              {
                "type": "null"
              }
            ],
            "description": "The most the criterion could earn in this call: its points in the template, recounted so the counted criteria give 100; `null` when not counted."
          },
          "counted": {
            "type": "boolean",
            "description": "Whether the criterion is in the score. A talk balance is not counted when the speakers have no names."
          },
          "explanation": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Why the verdict, in the language of the call; `null` for a talk balance and when there is none."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "key",
          "name",
          "output_type",
          "verdict",
          "value",
          "points",
          "points_max",
          "counted",
          "explanation"
        ]
      },
      "Error": {
        "properties": {
          "code": {
            "type": "string",
            "description": "Stable machine-readable code of the error."
          },
          "message": {
            "type": "string",
            "description": "What happened, for people. It may change; do not parse it."
          },
          "param": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "tier": {
            "anyOf": [
              {
                "type": "integer",
                "enum": [
                  1,
                  2
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "limit": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "x-extensible-enum": [
              "tier_1_minute",
              "tier_2_minute",
              "day",
              "auth_failures"
            ]
          },
          "retry_after": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "code",
          "message"
        ]
      },
      "ErrorEnvelope": {
        "properties": {
          "error": {
            "$ref": "#/components/schemas/Error"
          },
          "request_id": {
            "type": "string",
            "description": "Id of the request — the same as the `X-Request-Id` header. Give it to Jevu support."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "error",
          "request_id"
        ],
        "description": "An error. Branch on `error.code`."
      },
      "Member": {
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "description": "The name Jevu shows for the person; the email when they have not set a name."
          },
          "email": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "x-extensible-enum": [
              "owner",
              "admin",
              "member"
            ],
            "description": "`owner` — the Owner of the workspace; `admin` — an Admin; `member` — everyone else. Extensible."
          },
          "teams": {
            "items": {
              "$ref": "#/components/schemas/TeamRef"
            },
            "type": "array",
            "description": "The teams the person is in — one, several or `[]`."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "name",
          "email",
          "role",
          "teams"
        ]
      },
      "MemberList": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Member"
            },
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Pass as `cursor` to get the next page; `null` — no more members."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "items",
          "next_cursor"
        ]
      },
      "MemberStats": {
        "properties": {
          "id": {
            "type": "string",
            "description": "The member's `id` from `GET /workspace/members`."
          },
          "name": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "x-extensible-enum": [
              "owner",
              "admin",
              "member"
            ],
            "description": "`owner` — the Owner of the workspace; `admin` — an Admin; `member` — everyone else. Extensible."
          },
          "teams": {
            "items": {
              "$ref": "#/components/schemas/TeamRef"
            },
            "type": "array"
          },
          "calls": {
            "type": "integer"
          },
          "scored_calls": {
            "type": "integer"
          },
          "avg_score": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "next_step_rate": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Share of the calls where the `next_step` criterion was counted in which it was met, not rounded; `null` when no call counted it."
          },
          "talk_share": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Average share of the talking of the member, not rounded."
          },
          "weakest_criterion": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "x-extensible-enum": [
              "demo.meeting_goal",
              "demo.discovery_questions",
              "talk_balance",
              "demo.objection_handling",
              "demo.next_step",
              "crit_7"
            ],
            "description": "Key of the criterion that loses the most points per call (a `key` of `Criterion`); `null` when none loses."
          },
          "weakest_criterion_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Its name; `null` when `weakest_criterion` is."
          },
          "budget_won": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PersonBudget"
              },
              {
                "type": "null"
              }
            ],
            "description": "`null` when neither connected to the CRM nor any won deal is linked."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "name",
          "role",
          "teams",
          "calls",
          "scored_calls",
          "avg_score",
          "next_step_rate",
          "talk_share",
          "weakest_criterion",
          "weakest_criterion_name",
          "budget_won"
        ]
      },
      "Mention": {
        "properties": {
          "at": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Seconds from the start of the recording — the start of the segment with the quote."
          },
          "speaker": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The speaker as in `segments[].speaker` of the transcript."
          },
          "quote": {
            "type": "string",
            "description": "Verbatim from the transcript."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "at",
          "speaker",
          "quote"
        ]
      },
      "Owner": {
        "properties": {
          "id": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "description": "The name Jevu shows for the person; the email when they have not set a name."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "email",
          "name"
        ],
        "description": "The call's owner — the person whose notetaker recorded it; a member from `GET /workspace/members`."
      },
      "Participant": {
        "properties": {
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "`null` for a name heard or seen on the call without an email."
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "`null` when Jevu knows only the email."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "email",
          "name"
        ]
      },
      "Period": {
        "properties": {
          "days": {
            "type": "integer",
            "enum": [
              7,
              30,
              90
            ]
          },
          "tz": {
            "type": "string",
            "description": "The time zone the days are counted in."
          },
          "created_from": {
            "type": "string",
            "format": "date-time",
            "description": "Midnight of `first_day` in `tz`, in UTC. The same moment as `created_from` of `GET /calls` for the calls of the period."
          },
          "first_day": {
            "type": "string",
            "format": "date"
          },
          "last_day": {
            "type": "string",
            "format": "date",
            "description": "Today in `tz`."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "days",
          "tz",
          "created_from",
          "first_day",
          "last_day"
        ]
      },
      "PersonBudget": {
        "properties": {
          "amount": {
            "type": "string",
            "description": "In the currency of `totals.budget_won`."
          },
          "deals": {
            "type": "integer"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "amount",
          "deals"
        ]
      },
      "RateLimits": {
        "properties": {
          "tier_1_per_minute": {
            "type": "integer"
          },
          "tier_2_per_minute": {
            "type": "integer"
          },
          "per_day": {
            "type": "integer"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "tier_1_per_minute",
          "tier_2_per_minute",
          "per_day"
        ]
      },
      "Recording": {
        "properties": {
          "call_id": {
            "type": "string"
          },
          "state": {
            "type": "string",
            "enum": [
              "pending",
              "ready",
              "unavailable"
            ],
            "description": "`pending` — not there yet, Jevu is working on it; `ready` — it is there; `unavailable` — it is not there and will not come on its own, `reason` says why. Closed."
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "x-extensible-enum": [
              "no_recording"
            ]
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Signed link to the recording file. Works without the API key until `expires_at`."
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "description": "When the link stops working — 6 hours after it was issued."
          },
          "content_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Media type of the file by its format, such as `audio/mpeg`, or `audio/mp4` for an `.m4a` upload. Rely on this field: the `Content-Type` header of the download may be the generic `application/octet-stream` for older recordings."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "call_id",
          "state",
          "reason",
          "url",
          "expires_at",
          "content_type"
        ]
      },
      "RecordingStatus": {
        "properties": {
          "state": {
            "type": "string",
            "enum": [
              "pending",
              "ready",
              "unavailable"
            ],
            "description": "`pending` — not there yet, Jevu is working on it; `ready` — it is there; `unavailable` — it is not there and will not come on its own, `reason` says why. Closed."
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "x-extensible-enum": [
              "no_recording"
            ],
            "description": "Set when `state` is `unavailable`; `null` otherwise."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "state",
          "reason"
        ]
      },
      "Segment": {
        "properties": {
          "start": {
            "type": "number",
            "description": "Seconds from the start of the recording."
          },
          "end": {
            "type": "number",
            "description": "Seconds from the start of the recording."
          },
          "speaker": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The speaker's name as Jevu shows it, renames included. For an upload or a browser recording with speaker separation — a label such as `SPEAKER_00`; `null` when there is none."
          },
          "text": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "start",
          "end",
          "speaker",
          "text"
        ]
      },
      "Summary": {
        "properties": {
          "call_id": {
            "type": "string"
          },
          "state": {
            "type": "string",
            "enum": [
              "pending",
              "ready",
              "unavailable"
            ],
            "description": "`pending` — not there yet, Jevu is working on it; `ready` — it is there; `unavailable` — it is not there and will not come on its own, `reason` says why. Closed."
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "x-extensible-enum": [
              "generation_failed",
              "call_failed"
            ]
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Plain text, in the language it was written in: a line naming the call, then a paragraph per main topic, separated by an empty line."
          },
          "key_points": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          },
          "action_items": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ActionItem"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          },
          "next_steps": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Agreed steps that belong to no single person."
          },
          "sentiment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "x-extensible-enum": [
              "positive",
              "neutral",
              "negative"
            ],
            "description": "Overall sentiment of the call; `null` also when the summary model gave none."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "call_id",
          "state",
          "reason",
          "text",
          "key_points",
          "action_items",
          "next_steps",
          "sentiment"
        ]
      },
      "SummaryStatus": {
        "properties": {
          "state": {
            "type": "string",
            "enum": [
              "pending",
              "ready",
              "unavailable"
            ],
            "description": "`pending` — not there yet, Jevu is working on it; `ready` — it is there; `unavailable` — it is not there and will not come on its own, `reason` says why. Closed."
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "x-extensible-enum": [
              "generation_failed",
              "call_failed"
            ],
            "description": "Set when `state` is `unavailable`; `null` otherwise."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "state",
          "reason"
        ]
      },
      "TalkTime": {
        "properties": {
          "speaker": {
            "type": "string",
            "description": "The speaker as in `segments[].speaker`."
          },
          "seconds": {
            "type": "number",
            "description": "Seconds the speaker talked, to a tenth. Overlaps count for each speaker, pauses for nobody."
          },
          "share": {
            "type": "number",
            "maximum": 1.0,
            "minimum": 0.0,
            "description": "Share of all the talking, to two decimals; the shares of a call may not add up to exactly 1."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "speaker",
          "seconds",
          "share"
        ]
      },
      "TeamRef": {
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "name"
        ]
      },
      "TeamStats": {
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "member_count": {
            "type": "integer"
          },
          "calls": {
            "type": "integer"
          },
          "scored_calls": {
            "type": "integer"
          },
          "avg_score": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "next_step_rate": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "talk_share": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Average share of the talking of the team's members, not rounded."
          },
          "weakest_criterion": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "x-extensible-enum": [
              "demo.meeting_goal",
              "demo.discovery_questions",
              "talk_balance",
              "demo.objection_handling",
              "demo.next_step",
              "crit_7"
            ],
            "description": "Key of the criterion that loses the most points per call (a `key` of `Criterion`); `null` when none loses."
          },
          "weakest_criterion_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Its name; `null` when `weakest_criterion` is."
          },
          "budget_won": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PersonBudget"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "name",
          "member_count",
          "calls",
          "scored_calls",
          "avg_score",
          "next_step_rate",
          "talk_share",
          "weakest_criterion",
          "weakest_criterion_name",
          "budget_won"
        ]
      },
      "TemplateRef": {
        "properties": {
          "code": {
            "type": "string",
            "x-extensible-enum": [
              "first_call",
              "demo",
              "negotiation",
              "existing_customer",
              "internal",
              "other",
              "tpl_7"
            ],
            "description": "Code of the template: `first_call`, `demo`, `negotiation`, `existing_customer`, `internal`, `other` (Jevu's; the last two give no score) or `tpl_<n>`, a template of the workspace. Extensible."
          },
          "name": {
            "type": "string",
            "description": "The template's name: for Jevu's, its English name; for the workspace's own, the name it had when the call was analysed."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "code",
          "name"
        ]
      },
      "Totals": {
        "properties": {
          "calls": {
            "type": "integer",
            "description": "Processed calls of the period."
          },
          "duration_seconds": {
            "type": "integer",
            "description": "Their total length."
          },
          "scored_calls": {
            "type": "integer",
            "description": "Calls with a score."
          },
          "avg_score": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Average score, rounded half up; `null` without scored calls."
          },
          "next_step_met": {
            "type": "integer",
            "description": "Calls where the `next_step` criterion was counted and met. A call whose next step did not apply, or whose template has none, is not in this number."
          },
          "budget_won": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BudgetWon"
              },
              {
                "type": "null"
              }
            ],
            "description": "`null` when no CRM is connected."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "calls",
          "duration_seconds",
          "scored_calls",
          "avg_score",
          "next_step_met",
          "budget_won"
        ]
      },
      "Transcript": {
        "properties": {
          "call_id": {
            "type": "string"
          },
          "state": {
            "type": "string",
            "enum": [
              "pending",
              "ready",
              "unavailable"
            ],
            "description": "`pending` — not there yet, Jevu is working on it; `ready` — it is there; `unavailable` — it is not there and will not come on its own, `reason` says why. Closed."
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "x-extensible-enum": [
              "call_failed"
            ]
          },
          "language": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The same as `language` of the call."
          },
          "segments": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/Segment"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "The transcript in the order of the conversation; `[]` when nobody said anything intelligible."
          },
          "talk_time": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/TalkTime"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Seconds each speaker talked, most first; `[]` when the transcript has no speakers. Counted over the segments of the whole call that the transcript shows: segments without a speaker and unintelligible ones are not counted."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "call_id",
          "state",
          "reason",
          "language",
          "segments",
          "talk_time"
        ]
      },
      "TranscriptStatus": {
        "properties": {
          "state": {
            "type": "string",
            "enum": [
              "pending",
              "ready",
              "unavailable"
            ],
            "description": "`pending` — not there yet, Jevu is working on it; `ready` — it is there; `unavailable` — it is not there and will not come on its own, `reason` says why. Closed."
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "x-extensible-enum": [
              "call_failed"
            ],
            "description": "Set when `state` is `unavailable`; `null` otherwise."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "state",
          "reason"
        ]
      },
      "Workspace": {
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "plan_name": {
            "type": "string",
            "description": "The workspace's plan as Jevu shows it; `Trial` while the workspace has no active plan."
          },
          "tiers": {
            "items": {
              "type": "integer",
              "description": "A tier of methods — see \"Tiers\". Extensible."
            },
            "type": "array",
            "description": "The tiers the plan includes."
          },
          "rate_limits": {
            "$ref": "#/components/schemas/RateLimits"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "name",
          "plan_name",
          "tiers",
          "rate_limits"
        ]
      }
    },
    "securitySchemes": {
      "apiKey": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "jevu_<43 characters>",
        "description": "The workspace's API key from Settings → API: `jevu_` and 43 characters of base64url."
      }
    },
    "parameters": {
      "EventHeader": {
        "name": "X-Jevu-Event",
        "in": "header",
        "required": true,
        "description": "The event type — the same as `type` of the body.",
        "schema": {
          "type": "string"
        },
        "example": "call.transcribed"
      },
      "EventIdHeader": {
        "name": "X-Jevu-Event-Id",
        "in": "header",
        "required": true,
        "description": "The event id — the same as `id` of the body.",
        "schema": {
          "type": "string"
        },
        "example": "e7a1c3f05b2d4e8a9c6f1b0d3a5e7c92"
      },
      "SignatureHeader": {
        "name": "X-Jevu-Signature",
        "in": "header",
        "required": true,
        "description": "`t=<unix seconds>` and one or more `v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>`, comma-separated; more keys may appear. See \"Verifying the signature\".",
        "schema": {
          "type": "string",
          "pattern": "^t=[0-9]+(,[a-z0-9]+=[^,]+)+$"
        },
        "example": "t=1794303222,v1=ebe6a8b24720dc2caac9932029da5aae74a975120920e7dc50bc2e0303365cf8"
      },
      "TokenHeader": {
        "name": "X-Jevu-Webhook-Token",
        "in": "header",
        "required": true,
        "description": "The webhook's token, for tools that can only compare a header value. It is not the signing secret.",
        "schema": {
          "type": "string"
        },
        "example": "Zq3nV8sL1xTb6WmR0cYd2hKf"
      }
    },
    "headers": {
      "WWWAuthenticate": {
        "description": "Always `Bearer`.",
        "schema": {
          "type": "string",
          "const": "Bearer"
        }
      },
      "RetryAfter": {
        "description": "Whole seconds to wait before the next request, at least 1 — the same as `error.retry_after`.",
        "schema": {
          "type": "integer",
          "minimum": 1
        },
        "example": 17
      }
    },
    "responses": {
      "InvalidToken": {
        "description": "`invalid_token` — no `Authorization` header, another scheme, an unknown or revoked key, or the workspace is deleted. Who created the key does not matter: a key belongs to the workspace. Do not retry with the same key.",
        "headers": {
          "WWW-Authenticate": {
            "$ref": "#/components/headers/WWWAuthenticate"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorEnvelope"
            },
            "examples": {
              "invalid_token": {
                "summary": "Missing, unknown or revoked key",
                "value": {
                  "error": {
                    "code": "invalid_token",
                    "message": "The API key is missing, unknown or revoked."
                  },
                  "request_id": "6b9e2c5f8a1d4f37b0c3e6a9d2f5b8c1"
                }
              }
            }
          }
        }
      },
      "PaymentOverdue": {
        "description": "`payment_overdue` — the workspace's payment is overdue past the grace period, and Jevu is locked for its people too. The key works again once the workspace is paid.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorEnvelope"
            },
            "examples": {
              "payment_overdue": {
                "summary": "Payment overdue",
                "value": {
                  "error": {
                    "code": "payment_overdue",
                    "message": "The workspace's payment is overdue. Jevu will work again once it is paid."
                  },
                  "request_id": "0d3a6f9c2e5b4c81a4d7f0b3e6c9a2d5"
                }
              }
            }
          }
        }
      },
      "Forbidden": {
        "description": "`ip_not_allowed` — the key is limited to IP addresses or networks, and the request came from none of them. `tier_not_in_plan` — the workspace's plan does not include the method's tier, given in `error.tier`; the key works for the method again once the plan includes the tier.",
        "content": {
          "application/json": {
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                },
                {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              ]
            },
            "examples": {
              "ip_not_allowed": {
                "summary": "Address outside the key's masks",
                "description": "The key allows `203.0.113.0/24`; the request came from `198.51.100.7`.",
                "value": {
                  "error": {
                    "code": "ip_not_allowed",
                    "message": "The API key does not accept requests from 198.51.100.7."
                  },
                  "request_id": "5a8d1b4e7c0f4a62b5d8e1c4f7a0d3b6"
                }
              },
              "tier_not_in_plan": {
                "summary": "A tier 2 method on a plan without tier 2",
                "value": {
                  "error": {
                    "code": "tier_not_in_plan",
                    "message": "This method is in tier 2, which the workspace's plan does not include.",
                    "tier": 2
                  },
                  "request_id": "c2f5a8b1d4e74c90a3b6d9e2f5c8a1b4"
                }
              }
            }
          }
        }
      },
      "RateLimited": {
        "description": "`rate_limited` — a rate limit of the workspace is exceeded, or too many requests from your address failed authentication (`auth_failures`, answered before the key is checked): `error.limit` names it. Wait `error.retry_after` seconds.",
        "headers": {
          "Retry-After": {
            "$ref": "#/components/headers/RetryAfter"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorEnvelope"
            },
            "examples": {
              "minute": {
                "summary": "Tier 1 minute limit (`Retry-After: 17`)",
                "value": {
                  "error": {
                    "code": "rate_limited",
                    "message": "Too many tier 1 requests this minute. Retry in 17 seconds.",
                    "limit": "tier_1_minute",
                    "retry_after": 17
                  },
                  "request_id": "e4b7a0d3c6f94e25b8a1d4c7f0b3e6a9"
                }
              },
              "day": {
                "summary": "Daily limit (`Retry-After: 30480`)",
                "value": {
                  "error": {
                    "code": "rate_limited",
                    "message": "The daily limit of 5000 requests is used up. Retry in 30480 seconds.",
                    "limit": "day",
                    "retry_after": 30480
                  },
                  "request_id": "8c1f4a7d0b3e4f69a2c5e8b1d4f7a0c3"
                }
              },
              "auth_failures": {
                "summary": "Failed authentication from the address (`Retry-After: 41`)",
                "value": {
                  "error": {
                    "code": "rate_limited",
                    "message": "Too many requests from this address failed authentication. Retry in 41 seconds.",
                    "limit": "auth_failures",
                    "retry_after": 41
                  },
                  "request_id": "3d6a9c2e5f814b07a1c4e7b0d3f6a9c2"
                }
              }
            }
          }
        }
      },
      "CallNotFound": {
        "description": "`not_found` — no such call in the workspace: another workspace's, never existed, or being deleted.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorEnvelope"
            },
            "examples": {
              "not_found": {
                "summary": "No such call",
                "description": "`GET /calls/0000000000000000000000000000dead`",
                "value": {
                  "error": {
                    "code": "not_found",
                    "message": "No such call in the workspace."
                  },
                  "request_id": "b0e3d6a9c2f54d18b1e4a7c0d3f6b9e2"
                }
              }
            }
          }
        }
      },
      "ServerError": {
        "description": "`internal_error` (500) or `service_unavailable` (503) — a fault on Jevu's side. Retry with a growing pause.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorEnvelope"
            },
            "examples": {
              "internal_error": {
                "summary": "500",
                "value": {
                  "error": {
                    "code": "internal_error",
                    "message": "Something went wrong on Jevu's side. Retry in a moment."
                  },
                  "request_id": "f1a4d7b0e3c64a52b7d0e3f6a9c2d5e8"
                }
              },
              "service_unavailable": {
                "summary": "503",
                "value": {
                  "error": {
                    "code": "service_unavailable",
                    "message": "Jevu is temporarily unavailable. Retry in a moment."
                  },
                  "request_id": "3c6f9b2e5a8d4b71a0c3f6e9b2d5a8c1"
                }
              }
            }
          }
        }
      },
      "WebhookAccepted": {
        "description": "Delivered. Jevu reads only the status code; the body is ignored. Any other answer — see \"Delivery, retries and pause\"."
      }
    }
  }
}
