{
  "openapi": "3.1.0",
  "info": {
    "title": "PodData API",
    "version": "1.0.0",
    "description": "PodData is competitive intelligence from the record: what leaders said on podcasts, in interviews and at their own events, as quotes with the speaker, the source, the day and the second; and, for a diligence, what public sources say about a company and its rivals, read through links a person on your team has confirmed.\n\n## Quick start\n\n1. **A key.** Someone on your team makes one in the workspace, Settings › API keys. Send it on every call as `Authorization: Bearer pd_live_…`. Keep it in an environment variable, such as `PODDATA_API_KEY`, and never print it or write it to a file.\n2. **A target.** `POST /targets` with a company's `name` and `domain`, an id from `GET /companies?q=`, or its SEC `ticker`.\n3. **Its links and rivals.** `POST /targets/{company}/find`, `POST /targets/{company}/profiles/find` and `POST /targets/{company}/rivals/find` find them, each with the page that shows it. A link with its page is taken at once, and so is a rival both reads agree on with a sign no model gave. `POST /companies/{id}/relations` proposes a listed parent or comparable, taken by a test of its own. Show a person what was taken, and confirm what stayed proposed only on their yes.\n4. **A read.** `POST /targets/{company}/read` with `{\"rivals\": true}` asks PodData to read the target and its confirmed rivals now. `GET /targets/{company}/coverage` says what has been read, source by source.\n5. **The files.** `GET /targets/{company}/folder` lists a file for each source, for the target and each confirmed rival. `?format=zip` is all of them at once.\n6. **A report.** `POST /diligence-reports` makes one with five empty pages. Write each with `PUT /diligence-reports/{id}/pages/{page}`, check it with `POST /diligence-reports/{id}/check`, and read it with every figure filled with `GET /diligence-reports/{id}`. Or have PodData's own agent write it, `POST /diligence-reports/{id}/runs`, and follow the run with `GET /diligence-runs/{id}`.\n\nThe tags below are in that order. Each operation says what has to be true first, what to call next and its limits, with a made-up example of the call and its answer.\n\n**For an assistant,** start from `https://api.poddata.ai/llms.txt`, which needs no key: the same steps, the MCP server, and PodData's diligence skill with its puller, which saves a target's folder, its rivals' and its reports to disk. The MCP server does what the API does: `https://api.poddata.ai/mcp`, with the same key or by signing in to PodData, and each operation here names its tool in `x-mcp-tool`. To add it to Claude Code with the key read from the environment each time it starts, never written down, run this as it is, in single quotes: `claude mcp add --transport http --scope project poddata https://api.poddata.ai/mcp --header 'Authorization: Bearer ${PODDATA_API_KEY}'`.\n\n**Limits.** 120 requests a minute a key, then a `429` with `Retry-After`. A team's plan sets how many reads, rival finds and filers it may ask for a day, and a call past one is a `403` with the code `plan` that says the limit. A quote is at most 80 words in a row. A review's, a story's, a post's and a record's words come whole where PodData holds them, in a list and in a file. A whole document or transcript comes from its own route, one at a time, under a daily limit.\n\n**Errors** are `{\"error\": {\"code\": \"…\", \"message\": \"…\"}}`, the message a sentence that says what to do."
  },
  "servers": [
    {
      "url": "https://api.poddata.ai/v1"
    }
  ],
  "security": [
    {
      "key": []
    }
  ],
  "components": {
    "securitySchemes": {
      "key": {
        "type": "http",
        "scheme": "bearer",
        "description": "An API key, sent as `Authorization: Bearer pd_live_…`. Someone on your team makes one in the workspace, Settings › API keys; it's shown once. Staging's keys start with `pd_test_`."
      }
    },
    "schemas": {
      "QuotePage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Quote"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          },
          "total": {
            "type": "integer"
          },
          "more": {
            "type": "boolean"
          }
        },
        "required": [
          "data",
          "next",
          "total",
          "more"
        ]
      },
      "Quote": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "speaker": {
            "type": "object",
            "properties": {
              "id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": "string"
              },
              "role": {
                "type": "string"
              },
              "company": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "ticker": {
                    "type": "string"
                  },
                  "exchange": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ]
              },
              "page": {
                "type": "string",
                "format": "uri"
              },
              "status": {
                "type": "string",
                "enum": [
                  "confirmed",
                  "unconfirmed"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "status"
            ]
          },
          "show": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "page": {
                "type": "string",
                "format": "uri"
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "episode": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "date": {
                "type": "string",
                "format": "date"
              }
            },
            "required": [
              "id",
              "title",
              "date"
            ]
          },
          "starts_at": {
            "type": "number"
          },
          "ends_at": {
            "type": "number"
          },
          "clock": {
            "type": "string",
            "enum": [
              "video",
              "audio"
            ]
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "source_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "cite": {
            "type": "string"
          },
          "corrected": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "at": {
                "type": "string",
                "format": "date-time"
              },
              "field": {
                "type": "string",
                "enum": [
                  "speaker",
                  "text",
                  "time"
                ]
              }
            }
          },
          "names": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": [
                    "company",
                    "person"
                  ]
                },
                "name": {
                  "type": "string"
                },
                "said": {
                  "type": "string"
                },
                "id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "ticker": {
                  "type": "string"
                },
                "exchange": {
                  "type": "string"
                }
              },
              "required": [
                "kind",
                "name",
                "said",
                "id"
              ]
            }
          },
          "claim": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "forecast",
                  "commitment",
                  "admission",
                  "figure",
                  "none"
                ]
              },
              "due": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "said": {
                    "type": "string"
                  },
                  "from": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date"
                  },
                  "to": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date"
                  }
                },
                "required": [
                  "said",
                  "from",
                  "to"
                ]
              }
            },
            "required": [
              "kind",
              "due"
            ]
          },
          "spelled": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "heard": {
                  "type": "string"
                },
                "fixed": {
                  "type": "string"
                }
              },
              "required": [
                "heard",
                "fixed"
              ]
            }
          },
          "event": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "enum": [
                  "earnings_call",
                  "investor_day",
                  "analyst_day",
                  "capital_markets_day",
                  "conference",
                  "shareholder_meeting",
                  "deal_call",
                  "guidance_update",
                  "business_update",
                  "keynote",
                  "other"
                ]
              },
              "title": {
                "type": "string"
              },
              "date": {
                "type": "string",
                "format": "date"
              },
              "company": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "ticker": {
                    "type": "string"
                  },
                  "exchange": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ]
              },
              "fiscal_year": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "fiscal_period": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "Q1",
                  "Q2",
                  "Q3",
                  "Q4",
                  "H1",
                  "H2",
                  "FY",
                  null
                ]
              },
              "chapter": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "n": {
                    "type": "integer"
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "remarks",
                      "qa",
                      "question"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "starts_at": {
                    "type": "number"
                  },
                  "ends_at": {
                    "type": "number"
                  },
                  "analyst": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "firm": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "n",
                  "kind",
                  "title",
                  "starts_at",
                  "ends_at",
                  "analyst",
                  "firm"
                ]
              }
            },
            "required": [
              "id",
              "type",
              "title",
              "date",
              "company",
              "fiscal_year",
              "fiscal_period",
              "chapter"
            ]
          },
          "match_spans": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "from": {
                  "type": "integer",
                  "minimum": 0
                },
                "to": {
                  "type": "integer",
                  "minimum": 0
                }
              },
              "required": [
                "from",
                "to"
              ]
            }
          },
          "market": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string"
              },
              "category": {
                "type": "string"
              }
            },
            "required": [
              "company",
              "category"
            ]
          }
        },
        "required": [
          "id",
          "text",
          "speaker",
          "show",
          "episode",
          "starts_at",
          "ends_at",
          "clock",
          "url",
          "source_url",
          "cite",
          "corrected",
          "event"
        ]
      },
      "ApiError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "bad_request",
                  "no_key",
                  "plan",
                  "forbidden",
                  "not_found",
                  "conflict",
                  "unclear",
                  "slow_down",
                  "internal",
                  "busy"
                ]
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ]
          }
        },
        "required": [
          "error"
        ]
      },
      "Source": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "episode",
              "event",
              "document"
            ]
          },
          "shown": {
            "type": "string",
            "enum": [
              "passages",
              "whole"
            ]
          },
          "removed": {
            "type": "boolean"
          },
          "quote": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/Quote"
              }
            ]
          },
          "passage": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "document": {
                    "type": "string"
                  },
                  "n": {
                    "type": "integer"
                  },
                  "page": {
                    "type": "integer"
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "text",
                      "table",
                      "heading"
                    ]
                  },
                  "text": {
                    "type": "string"
                  },
                  "word_count": {
                    "type": "integer"
                  },
                  "place": {
                    "anyOf": [
                      {
                        "type": "null"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "boxes": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "x": {
                                  "type": "number"
                                },
                                "y": {
                                  "type": "number"
                                },
                                "width": {
                                  "type": "number"
                                },
                                "height": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "x",
                                "y",
                                "width",
                                "height"
                              ]
                            }
                          },
                          "start": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "end": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "boxes",
                          "start",
                          "end"
                        ]
                      }
                    ]
                  },
                  "article": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "outlet": {
                            "type": "string"
                          },
                          "part": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "enum": [
                              "question",
                              "answer",
                              null
                            ]
                          },
                          "said_by": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "cite": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "outlet",
                          "part",
                          "said_by",
                          "cite"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "id",
                  "document",
                  "n",
                  "page",
                  "kind",
                  "text",
                  "word_count",
                  "place"
                ]
              }
            ]
          },
          "episode": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "date": {
                    "type": "string",
                    "format": "date"
                  },
                  "duration": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "show": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ]
                  },
                  "guests": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "name": {
                          "type": "string"
                        },
                        "role": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "role"
                      ]
                    }
                  }
                },
                "required": [
                  "id",
                  "title",
                  "date",
                  "duration",
                  "show",
                  "guests"
                ]
              }
            ]
          },
          "event": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string"
                  },
                  "date": {
                    "type": "string"
                  },
                  "company": {
                    "$ref": "#/components/schemas/CompanyRef"
                  },
                  "duration": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "transcript": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "audio": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "replay": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "open",
                      "form",
                      "none",
                      null
                    ]
                  },
                  "page_url": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "uri"
                  }
                },
                "required": [
                  "id",
                  "title",
                  "type",
                  "date",
                  "company",
                  "duration",
                  "transcript",
                  "audio",
                  "replay",
                  "page_url"
                ]
              }
            ]
          },
          "document": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/Document"
              }
            ]
          },
          "page": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/Page"
              }
            ]
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "text": {
                  "type": "string"
                },
                "x": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "y": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "required": [
                "text",
                "x",
                "y"
              ]
            }
          },
          "open": {
            "type": "object",
            "properties": {
              "what": {
                "type": "string",
                "enum": [
                  "video",
                  "audio",
                  "page",
                  "document",
                  "none"
                ]
              },
              "url": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uri"
              },
              "embed": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "youtube",
                  "audio",
                  null
                ]
              },
              "video": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "starts_at": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "ends_at": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "clock": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "video",
                  "audio",
                  null
                ]
              },
              "page": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "copy_url": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uri"
              },
              "copy_expires": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            },
            "required": [
              "what",
              "url",
              "embed",
              "video",
              "starts_at",
              "ends_at",
              "clock",
              "page",
              "copy_url",
              "copy_expires"
            ]
          },
          "outline": {
            "type": "object",
            "properties": {
              "speakers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "index": {
                      "type": "integer"
                    },
                    "id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "role": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "company": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "confirmed",
                        "unconfirmed"
                      ]
                    }
                  },
                  "required": [
                    "index",
                    "id",
                    "name",
                    "role",
                    "company",
                    "status"
                  ]
                }
              },
              "turns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "speaker": {
                      "type": "integer"
                    },
                    "starts_at": {
                      "type": "number"
                    },
                    "ends_at": {
                      "type": "number"
                    },
                    "chapter": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "word_count": {
                      "type": "integer"
                    },
                    "text": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "words": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "text": {
                            "type": "string"
                          },
                          "starts_at": {
                            "type": "number"
                          },
                          "ends_at": {
                            "type": "number"
                          },
                          "confidence": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 1
                          }
                        },
                        "required": [
                          "text",
                          "starts_at",
                          "ends_at",
                          "confidence"
                        ]
                      }
                    },
                    "source_url": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "uri"
                    }
                  },
                  "required": [
                    "speaker",
                    "starts_at",
                    "ends_at",
                    "chapter",
                    "word_count",
                    "text",
                    "source_url"
                  ]
                }
              },
              "chapters": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "transcript": {
                      "type": "string"
                    },
                    "parent": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "level": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "remarks",
                        "qa",
                        "question",
                        "topic",
                        "chapter"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "starts_at": {
                      "type": "number"
                    },
                    "ends_at": {
                      "type": "number"
                    },
                    "asker": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "company": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "company"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "from": {
                      "type": "string",
                      "enum": [
                        "show",
                        "script",
                        "model"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "transcript",
                    "parent",
                    "level",
                    "kind",
                    "title",
                    "starts_at",
                    "ends_at",
                    "asker",
                    "from"
                  ]
                }
              },
              "chapters_missing": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sections": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "title": {
                      "type": "string"
                    },
                    "item": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "level": {
                      "type": "integer"
                    },
                    "first_page": {
                      "type": "integer"
                    },
                    "last_page": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "title",
                    "item",
                    "level",
                    "first_page",
                    "last_page"
                  ]
                }
              },
              "missing": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "speakers",
              "turns",
              "chapters",
              "chapters_missing",
              "sections",
              "missing"
            ]
          },
          "near": {
            "type": "object",
            "properties": {
              "quotes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Quote"
                }
              },
              "passages": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "n": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "text",
                        "table",
                        "heading"
                      ]
                    },
                    "word_count": {
                      "type": "integer"
                    },
                    "place": {
                      "anyOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "boxes": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "x": {
                                    "type": "number"
                                  },
                                  "y": {
                                    "type": "number"
                                  },
                                  "width": {
                                    "type": "number"
                                  },
                                  "height": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "x",
                                  "y",
                                  "width",
                                  "height"
                                ]
                              }
                            },
                            "start": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "end": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "boxes",
                            "start",
                            "end"
                          ]
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "n",
                    "kind",
                    "word_count",
                    "place"
                  ]
                }
              }
            },
            "required": [
              "quotes",
              "passages"
            ]
          }
        },
        "required": [
          "kind",
          "shown",
          "removed",
          "quote",
          "passage",
          "episode",
          "event",
          "document",
          "page",
          "labels",
          "open",
          "outline",
          "near"
        ]
      },
      "CompanyRef": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "ticker": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ]
      },
      "Document": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "company": {
            "$ref": "#/components/schemas/CompanyRef"
          },
          "event": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EventRef"
              },
              {
                "type": "null"
              }
            ]
          },
          "kind": {
            "$ref": "#/components/schemas/DocumentKind"
          },
          "group": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DocumentGroup"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "form": {
            "type": [
              "string",
              "null"
            ]
          },
          "exhibit": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": "string"
          },
          "filed": {
            "type": "string",
            "format": "date"
          },
          "accepted_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "period_end": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "fiscal": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "year": {
                    "type": "integer"
                  },
                  "period": {
                    "type": "string",
                    "enum": [
                      "Q1",
                      "Q2",
                      "Q3",
                      "Q4",
                      "H1",
                      "H2",
                      "FY"
                    ]
                  }
                },
                "required": [
                  "year",
                  "period"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "pages": {
            "type": [
              "integer",
              "null"
            ]
          },
          "source": {
            "type": "string",
            "enum": [
              "edgar",
              "site"
            ]
          },
          "source_url": {
            "type": "string",
            "format": "uri"
          },
          "filing_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "media_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "shown": {
            "type": "string",
            "enum": [
              "passages",
              "whole"
            ]
          },
          "file_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "article": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "form": {
                    "type": "string",
                    "enum": [
                      "interview",
                      "news"
                    ]
                  },
                  "outlet": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ]
                  },
                  "author": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "published_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "people": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "role": {
                          "type": "string",
                          "enum": [
                            "interviewed",
                            "written_about"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "role"
                      ]
                    }
                  }
                },
                "required": [
                  "form",
                  "outlet",
                  "author",
                  "published_at",
                  "people"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "company",
          "event",
          "kind",
          "group",
          "type",
          "form",
          "exhibit",
          "title",
          "filed",
          "accepted_at",
          "period_end",
          "fiscal",
          "pages",
          "source",
          "source_url",
          "filing_url",
          "media_type",
          "shown",
          "file_url",
          "created",
          "updated"
        ]
      },
      "EventRef": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "date": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "type",
          "date"
        ]
      },
      "DocumentKind": {
        "type": "string",
        "enum": [
          "report",
          "slides",
          "article"
        ]
      },
      "DocumentGroup": {
        "type": "string",
        "enum": [
          "earnings_release",
          "press_release",
          "interim_report",
          "annual_report",
          "proxy_statement",
          "registration_statement"
        ]
      },
      "Page": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "document": {
            "type": "string"
          },
          "number": {
            "type": "integer"
          },
          "label": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "section": {
            "type": [
              "string",
              "null"
            ]
          },
          "word_count": {
            "type": "integer"
          },
          "source_url": {
            "type": "string",
            "format": "uri"
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "image_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "pdf_page": {
            "type": [
              "integer",
              "null"
            ]
          },
          "layout": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "scan": {
                "type": "boolean"
              },
              "ocr": {
                "type": "boolean"
              },
              "raw_text": {
                "type": "string"
              },
              "markdown": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "runs": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "properties": {
                    "text": {
                      "type": "string"
                    },
                    "x": {
                      "type": "number"
                    },
                    "y": {
                      "type": "number"
                    },
                    "w": {
                      "type": "number"
                    },
                    "h": {
                      "type": "number"
                    },
                    "confidence": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "text",
                    "x",
                    "y",
                    "w",
                    "h",
                    "confidence"
                  ]
                }
              }
            },
            "required": [
              "scan",
              "ocr",
              "raw_text",
              "markdown",
              "runs"
            ]
          }
        },
        "required": [
          "id",
          "document",
          "number",
          "label",
          "title",
          "section",
          "word_count",
          "source_url",
          "text",
          "image_url",
          "pdf_page",
          "layout"
        ]
      },
      "PersonPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "role": {
                  "type": "string"
                },
                "company": {
                  "type": "string"
                },
                "kinds": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PersonKind"
                  }
                },
                "page": {
                  "type": "string",
                  "format": "uri"
                },
                "quote_count": {
                  "type": "integer"
                },
                "show_count": {
                  "type": "integer"
                },
                "latest_quote": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date"
                }
              },
              "required": [
                "id",
                "name",
                "kinds",
                "quote_count",
                "show_count",
                "latest_quote"
              ]
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "next"
        ]
      },
      "PersonKind": {
        "type": "string",
        "enum": [
          "founder",
          "ceo",
          "executive",
          "director",
          "researcher",
          "investor",
          "official",
          "central_banker",
          "head_of_state",
          "host",
          "reporter"
        ]
      },
      "Person": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "company": {
            "type": "string"
          },
          "kinds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PersonKind"
            }
          },
          "page": {
            "type": "string",
            "format": "uri"
          },
          "quotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Quote"
            }
          }
        },
        "required": [
          "id",
          "name",
          "kinds"
        ]
      },
      "DirectoryMatches": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectoryMatch"
            },
            "maxItems": 8
          }
        },
        "required": [
          "data"
        ]
      },
      "DirectoryMatch": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/DirectoryKind"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "line": {
            "type": [
              "string",
              "null"
            ]
          },
          "matched": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "kind",
          "id",
          "name",
          "line",
          "matched"
        ]
      },
      "DirectoryKind": {
        "type": "string",
        "enum": [
          "person",
          "company",
          "show"
        ]
      },
      "ShowPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Show"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "next"
        ]
      },
      "Show": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "page": {
            "type": "string",
            "format": "uri"
          },
          "language": {
            "type": [
              "string",
              "null"
            ]
          },
          "feeds": {
            "type": "integer"
          },
          "latest_episode": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "quotes": {
            "type": "integer"
          },
          "episodes": {
            "type": "integer"
          },
          "episodes_quoted": {
            "type": "integer"
          },
          "kind": {
            "type": "string",
            "enum": [
              "podcast",
              "official"
            ]
          },
          "audio_from": {
            "type": "string",
            "enum": [
              "feed",
              "youtube"
            ]
          }
        },
        "required": [
          "id",
          "name"
        ]
      },
      "Coverage": {
        "type": "object",
        "properties": {
          "sources": {
            "type": "integer"
          },
          "people": {
            "type": "integer"
          },
          "episodes_7d": {
            "type": "integer"
          },
          "episodes_30d": {
            "type": "integer"
          },
          "median_minutes_to_index": {
            "type": [
              "number",
              "null"
            ]
          },
          "as_of": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "IntegrationPage": {
        "type": "object",
        "properties": {
          "as_of": {
            "type": "string",
            "format": "date-time",
            "description": "When the counts were taken"
          },
          "families": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "count": {
                  "type": "integer"
                }
              },
              "required": [
                "id",
                "name",
                "count"
              ]
            },
            "description": "The families with a source listed here, each with how many, in the tab’s order"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Integration"
            }
          },
          "next": {
            "type": "null"
          }
        },
        "required": [
          "as_of",
          "families",
          "data",
          "next"
        ]
      },
      "Integration": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "edgar"
          },
          "name": {
            "type": "string",
            "example": "SEC EDGAR filings (submissions and XBRL APIs)"
          },
          "family": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "enum": [
                  "filings",
                  "health",
                  "safety",
                  "franchise",
                  "labour",
                  "telecom",
                  "contracts",
                  "gaming",
                  "courts",
                  "news",
                  "reviews",
                  "retail",
                  "social",
                  "ads",
                  "search",
                  "shows"
                ]
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "reads": {
            "type": "string",
            "description": "What we read from it, one line"
          },
          "shapes": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "document",
                "record",
                "signal"
              ]
            }
          },
          "route": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "enum": [
                  "official_api",
                  "public_file",
                  "public_page",
                  "licensed",
                  "vendor",
                  "team_licence",
                  "none"
                ]
              },
              "name": {
                "type": "string",
                "example": "Official API"
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "cadence": {
            "type": "object",
            "properties": {
              "hours": {
                "type": "number"
              },
              "words": {
                "type": "string"
              }
            },
            "required": [
              "hours",
              "words"
            ]
          },
          "state": {
            "type": "string",
            "enum": [
              "live",
              "on_ask",
              "late",
              "by_request"
            ],
            "description": "`live`: ran here within twice its cadence. `on_ask`: reads a company only when a team asks for a read, so it is never late; `last_ran` is its latest run. `late`: ran here before, not since. `by_request`: a team asks for it"
          },
          "last_ran": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When its reader last ran in this environment; null for a source by request that has not"
          },
          "held": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "count": {
                "type": "integer"
              },
              "unit": {
                "type": "string",
                "example": "documents"
              },
              "since": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date"
              }
            },
            "required": [
              "count",
              "unit",
              "since"
            ],
            "description": "How much we hold from it and since when, as of `as_of`; null where nothing counts it"
          },
          "terms": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri",
                "description": "The page the terms are on"
              },
              "dated": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date",
                "description": "The date the terms carry, when they carry one"
              },
              "read": {
                "type": "string",
                "format": "date",
                "description": "The day we read them"
              },
              "says": {
                "type": "string",
                "description": "What they say about our use, in a sentence"
              }
            },
            "required": [
              "url",
              "dated",
              "read",
              "says"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "family",
          "reads",
          "shapes",
          "route",
          "cadence",
          "state",
          "last_ran",
          "held",
          "terms"
        ]
      },
      "IntegrationDetail": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "edgar"
          },
          "name": {
            "type": "string",
            "example": "SEC EDGAR filings (submissions and XBRL APIs)"
          },
          "family": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "enum": [
                  "filings",
                  "health",
                  "safety",
                  "franchise",
                  "labour",
                  "telecom",
                  "contracts",
                  "gaming",
                  "courts",
                  "news",
                  "reviews",
                  "retail",
                  "social",
                  "ads",
                  "search",
                  "shows"
                ]
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "reads": {
            "type": "string",
            "description": "What we read from it, one line"
          },
          "shapes": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "document",
                "record",
                "signal"
              ]
            }
          },
          "route": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "enum": [
                  "official_api",
                  "public_file",
                  "public_page",
                  "licensed",
                  "vendor",
                  "team_licence",
                  "none"
                ]
              },
              "name": {
                "type": "string",
                "example": "Official API"
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "cadence": {
            "type": "object",
            "properties": {
              "hours": {
                "type": "number"
              },
              "words": {
                "type": "string"
              }
            },
            "required": [
              "hours",
              "words"
            ]
          },
          "state": {
            "type": "string",
            "enum": [
              "live",
              "on_ask",
              "late",
              "by_request"
            ],
            "description": "`live`: ran here within twice its cadence. `on_ask`: reads a company only when a team asks for a read, so it is never late; `last_ran` is its latest run. `late`: ran here before, not since. `by_request`: a team asks for it"
          },
          "last_ran": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When its reader last ran in this environment; null for a source by request that has not"
          },
          "held": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "count": {
                "type": "integer"
              },
              "unit": {
                "type": "string",
                "example": "documents"
              },
              "since": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date"
              }
            },
            "required": [
              "count",
              "unit",
              "since"
            ],
            "description": "How much we hold from it and since when, as of `as_of`; null where nothing counts it"
          },
          "terms": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri",
                "description": "The page the terms are on"
              },
              "dated": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date",
                "description": "The date the terms carry, when they carry one"
              },
              "read": {
                "type": "string",
                "format": "date",
                "description": "The day we read them"
              },
              "says": {
                "type": "string",
                "description": "What they say about our use, in a sentence"
              }
            },
            "required": [
              "url",
              "dated",
              "read",
              "says"
            ]
          },
          "sample": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "title": {
                "type": "string",
                "description": "At most 80 words"
              },
              "url": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uri"
              },
              "day": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date"
              }
            },
            "required": [
              "title",
              "url",
              "day"
            ],
            "description": "One recent item with its link; null while it holds none"
          },
          "as_of": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "name",
          "family",
          "reads",
          "shapes",
          "route",
          "cadence",
          "state",
          "last_ran",
          "held",
          "terms",
          "sample",
          "as_of"
        ]
      },
      "SourceItemPage": {
        "type": "object",
        "properties": {
          "source": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "lists": {
            "type": "boolean",
            "description": "false for a source with no list of its own, with why"
          },
          "why": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why it has no list of its own; null when it lists"
          },
          "held": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "count": {
                "type": "integer"
              },
              "unit": {
                "type": "string",
                "example": "documents"
              },
              "since": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date"
              }
            },
            "required": [
              "count",
              "unit",
              "since"
            ],
            "description": "How much we hold from it and since when, as of `as_of`; null where nothing counts it"
          },
          "as_of": {
            "type": "string",
            "format": "date-time"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SourceItem"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "source",
          "lists",
          "why",
          "held",
          "as_of",
          "data",
          "next"
        ]
      },
      "SourceItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "doc_01JD7X5T6M3R4S5V6W7X8Y9Z0A"
          },
          "kind": {
            "type": "string",
            "enum": [
              "episode",
              "document",
              "event",
              "record",
              "signal",
              "post"
            ]
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "What sort of it it is, in words: Slide deck, Annual report, Earnings call, Breach, Review, Reply",
            "example": "Slide deck"
          },
          "title": {
            "type": "string",
            "description": "At most 80 words. An X post’s is \"A post on X\"; a signal with no words of its own is named from its kind and counts, \"A text ad, shown 47 days\" or \"A review, rated 5 of 5\""
          },
          "day": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Published, filed, posted, when it starts, or its own day; null where its source gives none"
          },
          "company": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "show": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ],
            "description": "An episode’s show"
          },
          "person": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ],
            "description": "Whose account a post is from"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri",
            "description": "The original on its own site"
          },
          "opens": {
            "type": [
              "string",
              "null"
            ],
            "description": "The id the workspace’s viewer opens it by (ep_, doc_, tr_, rec_, sig_ or pst_); null where there is only the link"
          }
        },
        "required": [
          "id",
          "kind",
          "type",
          "title",
          "day",
          "company",
          "show",
          "person",
          "url",
          "opens"
        ]
      },
      "HelpTopicPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "example": "trackers"
                },
                "title": {
                  "type": "string",
                  "example": "Trackers"
                },
                "line": {
                  "type": "string",
                  "description": "What it covers, in a sentence"
                }
              },
              "required": [
                "id",
                "title",
                "line"
              ]
            }
          },
          "next": {
            "type": "null"
          }
        },
        "required": [
          "data",
          "next"
        ]
      },
      "HelpTimes": {
        "type": "object",
        "properties": {
          "time_zone": {
            "type": "string",
            "example": "America/New_York"
          },
          "bookable": {
            "type": "boolean",
            "description": "Whether a call can be booked here: false where Cal.com isn’t set up, as on staging"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HelpTime"
            }
          },
          "next": {
            "type": "null"
          }
        },
        "required": [
          "time_zone",
          "bookable",
          "data",
          "next"
        ]
      },
      "HelpTime": {
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "format": "date-time",
            "description": "With the offset of `time_zone`: the call_at that books it"
          },
          "end": {
            "type": "string",
            "format": "date-time"
          },
          "label": {
            "type": "string",
            "description": "How it reads in `time_zone`",
            "example": "Tue, Nov 18 at 9:00 AM"
          }
        },
        "required": [
          "start",
          "end",
          "label"
        ]
      },
      "HelpTopic": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "trackers"
          },
          "title": {
            "type": "string",
            "example": "Trackers"
          },
          "line": {
            "type": "string",
            "description": "What it covers, in a sentence"
          },
          "text": {
            "type": "string",
            "description": "Plain paragraphs, a blank line between them"
          },
          "screens": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "example": "Trackers"
                },
                "href": {
                  "type": "string",
                  "description": "An address in the workspace, app.poddata.ai",
                  "example": "/trackers"
                }
              },
              "required": [
                "name",
                "href"
              ]
            },
            "description": "Where in the workspace it is done, the most useful first"
          }
        },
        "required": [
          "id",
          "title",
          "line",
          "text",
          "screens"
        ]
      },
      "HelpQuestion": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "hq_01JD7X5T6M3R4S5V6W7X8Y9Z0A"
          },
          "asked_at": {
            "type": "string",
            "format": "date-time"
          },
          "sent": {
            "type": "boolean",
            "description": "Whether it reached PodData’s team’s channel. Kept either way"
          },
          "answer_to": {
            "type": "string",
            "description": "The address PodData’s team answers by email: the asker’s, or for a key the address of the account that made it"
          },
          "call": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "start": {
                "type": "string",
                "format": "date-time"
              },
              "end": {
                "type": "string",
                "format": "date-time"
              },
              "booking": {
                "type": "string",
                "description": "Cal.com’s booking uid"
              }
            },
            "required": [
              "start",
              "end",
              "booking"
            ],
            "description": "The call booked, when `call_at` was given. Cal.com sends the invite to `answer_to`"
          }
        },
        "required": [
          "id",
          "asked_at",
          "sent",
          "answer_to",
          "call"
        ]
      },
      "HelpQuestionInput": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000,
            "description": "The question, in the asker’s words"
          },
          "screen": {
            "type": "string",
            "maxLength": 500,
            "pattern": "^\\/(?!\\/)",
            "description": "The workspace address it was asked from",
            "example": "/trackers"
          },
          "conversation": {
            "type": "string",
            "pattern": "^cnv_[0-9A-Z]{26}$",
            "description": "The asker’s chat with PodData’s agent it came from"
          },
          "call_at": {
            "type": "string",
            "format": "date-time",
            "description": "Books a 30-minute call with PodData’s team at this open time, from GET /v1/help/times, with the question in its notes (#2351)"
          }
        },
        "required": [
          "text"
        ]
      },
      "CompanyPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Company"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "next"
        ]
      },
      "Company": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "aliases": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "listed": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "ticker": {
            "type": [
              "string",
              "null"
            ]
          },
          "exchange": {
            "type": [
              "string",
              "null"
            ]
          },
          "listings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Listing"
            }
          },
          "cik": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "industry": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "sic": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "sic",
              "name"
            ]
          },
          "parent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CompanyRef"
              },
              {
                "type": "null"
              }
            ]
          },
          "site": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "field": {
                  "type": "string",
                  "enum": [
                    "ticker",
                    "cik",
                    "figi",
                    "isin",
                    "country",
                    "industry"
                  ]
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "terms": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "terms_url": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uri"
                },
                "read_on": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date"
                }
              },
              "required": [
                "field",
                "url",
                "terms",
                "terms_url",
                "read_on"
              ]
            }
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "name",
          "aliases",
          "listed",
          "ticker",
          "exchange",
          "listings",
          "cik",
          "country",
          "industry",
          "parent",
          "site",
          "sources",
          "updated"
        ]
      },
      "Listing": {
        "type": "object",
        "properties": {
          "ticker": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          },
          "main": {
            "type": "boolean"
          },
          "figi": {
            "type": [
              "string",
              "null"
            ]
          },
          "share_class_figi": {
            "type": [
              "string",
              "null"
            ]
          },
          "isin": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "ticker",
          "exchange",
          "main",
          "figi",
          "share_class_figi",
          "isin"
        ]
      },
      "DocumentPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Document"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "next"
        ]
      },
      "DocumentTypePage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentType"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "next"
        ]
      },
      "DocumentType": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/DocumentKind"
          },
          "group": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DocumentGroup"
              },
              {
                "type": "null"
              }
            ]
          },
          "form": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "kind",
          "group",
          "form"
        ]
      },
      "PagePage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Page"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "next"
        ]
      },
      "DocumentText": {
        "type": "object",
        "properties": {
          "document": {
            "type": "string"
          },
          "shown": {
            "type": "string",
            "enum": [
              "passages",
              "whole"
            ]
          },
          "sections": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "item": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "level": {
                  "type": "integer"
                },
                "first_page": {
                  "type": "integer"
                },
                "last_page": {
                  "type": "integer"
                }
              },
              "required": [
                "title",
                "item",
                "level",
                "first_page",
                "last_page"
              ]
            }
          },
          "markdown_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          }
        },
        "required": [
          "document",
          "shown",
          "sections",
          "markdown_url"
        ]
      },
      "EventPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Event"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "next"
        ]
      },
      "Event": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "company": {
            "$ref": "#/components/schemas/CompanyRef"
          },
          "type": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "title": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "date_confirmed": {
            "type": "boolean"
          },
          "fiscal": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "year": {
                    "type": "integer"
                  },
                  "period": {
                    "type": "string",
                    "enum": [
                      "Q1",
                      "Q2",
                      "Q3",
                      "Q4",
                      "H1",
                      "H2",
                      "FY"
                    ]
                  }
                },
                "required": [
                  "year",
                  "period"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "language": {
            "type": "string"
          },
          "webcast_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "transcript": {
            "type": [
              "string",
              "null"
            ]
          },
          "audio": {
            "type": [
              "string",
              "null"
            ]
          },
          "replay": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "open",
              "form",
              "none",
              null
            ]
          },
          "documents": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "kind": {
                  "$ref": "#/components/schemas/DocumentKind"
                },
                "group": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/DocumentGroup"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "title": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "kind",
                "group",
                "title"
              ]
            }
          },
          "summary": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "trackers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name"
              ]
            }
          }
        },
        "required": [
          "id",
          "company",
          "type",
          "title",
          "date",
          "date_confirmed",
          "fiscal",
          "language",
          "webcast_url",
          "transcript",
          "audio",
          "replay",
          "documents",
          "summary",
          "created",
          "updated"
        ]
      },
      "EventTypePage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EventType"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "next"
        ]
      },
      "EventType": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "parent": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "parent"
        ]
      },
      "PassagePage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Passage"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "next"
        ]
      },
      "Passage": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "written",
              "said"
            ]
          },
          "company": {
            "$ref": "#/components/schemas/CompanyRef"
          },
          "event": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EventRef"
              },
              {
                "type": "null"
              }
            ]
          },
          "document": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "kind": {
                    "$ref": "#/components/schemas/DocumentKind"
                  },
                  "group": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/DocumentGroup"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "kind",
                  "group",
                  "title"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "page": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "number": {
                "type": "integer"
              },
              "title": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "id",
              "number",
              "title"
            ]
          },
          "transcript": {
            "type": [
              "string",
              "null"
            ]
          },
          "speaker": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "name": {
                    "type": "string"
                  },
                  "role": {
                    "type": "string"
                  },
                  "company": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "ticker": {
                        "type": "string"
                      },
                      "exchange": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ]
                  },
                  "page": {
                    "type": "string",
                    "format": "uri"
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "confirmed",
                      "unconfirmed"
                    ]
                  }
                },
                "required": [
                  "id",
                  "name",
                  "status"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "chapter": {
            "type": [
              "string",
              "null"
            ]
          },
          "starts_at": {
            "type": [
              "number",
              "null"
            ]
          },
          "ends_at": {
            "type": [
              "number",
              "null"
            ]
          },
          "date": {
            "type": "string"
          },
          "source_url": {
            "type": "string",
            "format": "uri"
          },
          "article": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "outlet": {
                    "type": "string"
                  },
                  "part": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "question",
                      "answer",
                      null
                    ]
                  },
                  "cite": {
                    "type": "string"
                  }
                },
                "required": [
                  "outlet",
                  "part",
                  "cite"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "published_by": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "site": {
                    "type": "string"
                  },
                  "cite": {
                    "type": "string"
                  }
                },
                "required": [
                  "site",
                  "cite"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "from": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "api-ninjas",
              null
            ]
          },
          "turn": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "n": {
                "type": "integer"
              },
              "start": {
                "type": "integer"
              },
              "end": {
                "type": "integer"
              }
            },
            "required": [
              "n",
              "start",
              "end"
            ]
          }
        },
        "required": [
          "id",
          "text",
          "kind",
          "company",
          "event",
          "document",
          "page",
          "transcript",
          "speaker",
          "chapter",
          "starts_at",
          "ends_at",
          "date",
          "source_url"
        ]
      },
      "SlideHistory": {
        "type": "object",
        "properties": {
          "slide": {
            "type": "string"
          },
          "versions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "slide": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "number": {
                      "type": "integer"
                    },
                    "title": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "number",
                    "title"
                  ]
                },
                "document": {
                  "type": "string"
                },
                "event": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/EventRef"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "date": {
                  "type": "string"
                },
                "source_url": {
                  "type": "string",
                  "format": "uri"
                },
                "added": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "changed": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string"
                      },
                      "from": {
                        "type": "string"
                      },
                      "to": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "label",
                      "from",
                      "to"
                    ]
                  }
                },
                "dropped": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "slide",
                "document",
                "event",
                "date",
                "source_url",
                "added",
                "changed",
                "dropped"
              ]
            }
          }
        },
        "required": [
          "slide",
          "versions"
        ]
      },
      "LivePage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Live"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "next"
        ]
      },
      "Live": {
        "type": "object",
        "properties": {
          "event": {
            "$ref": "#/components/schemas/EventRef"
          },
          "company": {
            "$ref": "#/components/schemas/CompanyRef"
          },
          "state": {
            "type": "string",
            "enum": [
              "upcoming",
              "live",
              "ended",
              "failed"
            ]
          },
          "failure": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "interrupted",
              "no_access",
              "not_started",
              null
            ]
          },
          "went_live_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "ended_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "webcast_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "qa_starts_at": {
            "type": [
              "number",
              "null"
            ]
          },
          "position": {
            "type": "integer"
          },
          "transcript": {
            "type": [
              "string",
              "null"
            ]
          },
          "shown": {
            "type": "string",
            "enum": [
              "passages",
              "whole"
            ]
          },
          "audio_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "event",
          "company",
          "state",
          "failure",
          "went_live_at",
          "ended_at",
          "webcast_url",
          "qa_starts_at",
          "position",
          "transcript",
          "shown",
          "audio_url",
          "updated"
        ]
      },
      "LiveTranscript": {
        "type": "object",
        "properties": {
          "event": {
            "type": "string"
          },
          "state": {
            "type": "string",
            "enum": [
              "upcoming",
              "live",
              "ended",
              "failed"
            ]
          },
          "shown": {
            "type": "string",
            "enum": [
              "passages",
              "whole"
            ]
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LiveEntry"
            }
          },
          "position": {
            "type": "integer"
          }
        },
        "required": [
          "event",
          "state",
          "shown",
          "data",
          "position"
        ]
      },
      "LiveEntry": {
        "type": "object",
        "properties": {
          "position": {
            "type": "integer"
          },
          "kind": {
            "type": "string",
            "enum": [
              "words",
              "correction",
              "section",
              "interruption",
              "end"
            ]
          },
          "at": {
            "type": "number"
          },
          "speaker": {
            "type": [
              "integer",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "replaces": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "section": {
            "type": "string",
            "enum": [
              "remarks",
              "qa"
            ]
          }
        },
        "required": [
          "position",
          "kind",
          "at"
        ]
      },
      "PostPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Post"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "next"
        ]
      },
      "Post": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "network": {
            "type": "string",
            "enum": [
              "x",
              "linkedin",
              "bluesky",
              "mastodon",
              "threads"
            ]
          },
          "account": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "handle": {
                "type": "string"
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "person": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ]
              },
              "company": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CompanyRef"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "handle",
              "url",
              "person",
              "company"
            ]
          },
          "kind": {
            "type": "string",
            "enum": [
              "post",
              "reply",
              "repost",
              "quote"
            ]
          },
          "posted_at": {
            "type": "string",
            "format": "date-time"
          },
          "edited_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "cite": {
            "type": "string"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "shown": {
            "type": "string",
            "enum": [
              "whole",
              "link"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "lang": {
            "type": [
              "string",
              "null"
            ]
          },
          "thread": {
            "type": [
              "string",
              "null"
            ]
          },
          "reply_to": {
            "type": [
              "string",
              "null"
            ]
          },
          "reposts": {
            "type": [
              "string",
              "null"
            ]
          },
          "links": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "media": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string"
                },
                "alt": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "kind": {
                  "type": "string"
                }
              },
              "required": [
                "url",
                "alt",
                "kind"
              ]
            }
          },
          "removed": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "at": {
                "type": "string",
                "format": "date-time"
              },
              "why": {
                "type": "string",
                "enum": [
                  "deleted",
                  "private",
                  "withheld",
                  "account_gone",
                  "left_out",
                  "takedown"
                ]
              }
            },
            "required": [
              "at",
              "why"
            ]
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "network",
          "account",
          "kind",
          "posted_at",
          "edited_at",
          "cite",
          "url",
          "shown",
          "text",
          "lang",
          "thread",
          "reply_to",
          "reposts",
          "links",
          "media",
          "removed",
          "created",
          "updated"
        ]
      },
      "EpisodeItemPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EpisodeItem"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "next"
        ]
      },
      "EpisodeItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "episode",
              "event"
            ]
          },
          "title": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "duration": {
            "type": [
              "number",
              "null"
            ]
          },
          "show": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "transcribing",
              "naming",
              "indexing",
              "indexed",
              "blocked",
              "failed",
              "skipped",
              "removed"
            ]
          },
          "standing": {
            "type": "string",
            "enum": [
              "transcribed",
              "transcribing",
              "quotes_only",
              "not_transcribed"
            ]
          },
          "transcript_from": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "show",
              "imported",
              "whisper",
              "mac",
              null
            ]
          },
          "audio_from": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "feed",
              "youtube",
              "company",
              "official",
              null
            ]
          },
          "speakers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "guests": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "quotes": {
            "type": "integer"
          },
          "chapters": {
            "type": "integer"
          },
          "page_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "source_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "first": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "text": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "starts_at": {
                "type": "number"
              },
              "clock": {
                "type": "string",
                "enum": [
                  "video",
                  "audio"
                ]
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "source_url": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uri"
              }
            },
            "required": [
              "id",
              "text",
              "starts_at",
              "clock",
              "url",
              "source_url"
            ]
          },
          "market": {
            "type": "object",
            "properties": {
              "company": {
                "type": "string"
              },
              "category": {
                "type": "string"
              }
            },
            "required": [
              "company",
              "category"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "title",
          "date",
          "duration",
          "show",
          "status",
          "standing",
          "transcript_from",
          "audio_from",
          "speakers",
          "guests",
          "quotes",
          "chapters",
          "page_url",
          "source_url",
          "first"
        ]
      },
      "Episode": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "episode",
              "event"
            ]
          },
          "shown": {
            "type": "string",
            "enum": [
              "passages",
              "whole"
            ]
          },
          "removed": {
            "type": "boolean"
          },
          "held": {
            "type": "boolean"
          },
          "summary": {
            "type": "boolean"
          },
          "episode": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "date": {
                "type": "string",
                "format": "date"
              },
              "duration": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "show": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ]
              },
              "guests": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "name": {
                      "type": "string"
                    },
                    "role": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "role"
                  ]
                }
              },
              "clock": {
                "type": "string",
                "enum": [
                  "video",
                  "audio"
                ]
              },
              "status": {
                "type": "string",
                "enum": [
                  "queued",
                  "transcribing",
                  "naming",
                  "indexing",
                  "indexed",
                  "blocked",
                  "failed",
                  "skipped",
                  "removed"
                ]
              },
              "says": {
                "type": "string"
              },
              "transcript_from": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "show",
                  "imported",
                  "whisper",
                  "mac",
                  null
                ]
              },
              "audio_from": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "feed",
                  "youtube",
                  "company",
                  "official",
                  null
                ]
              },
              "page_url": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uri"
              }
            },
            "required": [
              "id",
              "title",
              "date",
              "duration",
              "show",
              "guests",
              "clock",
              "status",
              "says",
              "transcript_from",
              "audio_from",
              "page_url"
            ]
          },
          "event": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string"
                  },
                  "date": {
                    "type": "string"
                  },
                  "company": {
                    "$ref": "#/components/schemas/CompanyRef"
                  },
                  "duration": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "transcript": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "audio": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "replay": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "open",
                      "form",
                      "none",
                      null
                    ]
                  },
                  "page_url": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "uri"
                  }
                },
                "required": [
                  "id",
                  "title",
                  "type",
                  "date",
                  "company",
                  "duration",
                  "transcript",
                  "audio",
                  "replay",
                  "page_url"
                ]
              }
            ]
          },
          "open": {
            "type": "object",
            "properties": {
              "what": {
                "type": "string",
                "enum": [
                  "video",
                  "audio",
                  "page",
                  "document",
                  "none"
                ]
              },
              "url": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uri"
              },
              "embed": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "youtube",
                  "audio",
                  null
                ]
              },
              "video": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "starts_at": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "ends_at": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "clock": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "video",
                  "audio",
                  null
                ]
              },
              "page": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "copy_url": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uri"
              },
              "copy_expires": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            },
            "required": [
              "what",
              "url",
              "embed",
              "video",
              "starts_at",
              "ends_at",
              "clock",
              "page",
              "copy_url",
              "copy_expires"
            ]
          },
          "speakers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "index": {
                  "type": "integer"
                },
                "id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "role": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "company": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "confirmed",
                    "unconfirmed"
                  ]
                },
                "evidence": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "show_label",
                      "official",
                      "guest_list",
                      "host",
                      "self",
                      "addressed"
                    ]
                  }
                },
                "seconds": {
                  "type": "number"
                }
              },
              "required": [
                "index",
                "id",
                "name",
                "role",
                "company",
                "status",
                "evidence",
                "seconds"
              ]
            }
          },
          "ads": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer"
              },
              "seconds": {
                "type": "number"
              }
            },
            "required": [
              "count",
              "seconds"
            ]
          },
          "turns": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "speaker": {
                  "type": "integer"
                },
                "starts_at": {
                  "type": "number"
                },
                "ends_at": {
                  "type": "number"
                },
                "chapter": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "word_count": {
                  "type": "integer"
                },
                "text": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "words": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "starts_at": {
                        "type": "number"
                      },
                      "ends_at": {
                        "type": "number"
                      },
                      "confidence": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1
                      }
                    },
                    "required": [
                      "text",
                      "starts_at",
                      "ends_at",
                      "confidence"
                    ]
                  }
                },
                "source_url": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uri"
                }
              },
              "required": [
                "speaker",
                "starts_at",
                "ends_at",
                "chapter",
                "word_count",
                "text",
                "source_url"
              ]
            }
          },
          "chapters": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "transcript": {
                  "type": "string"
                },
                "parent": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "level": {
                  "type": "integer"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "remarks",
                    "qa",
                    "question",
                    "topic",
                    "chapter"
                  ]
                },
                "title": {
                  "type": "string"
                },
                "starts_at": {
                  "type": "number"
                },
                "ends_at": {
                  "type": "number"
                },
                "asker": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "company": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "name",
                        "company"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "from": {
                  "type": "string",
                  "enum": [
                    "show",
                    "script",
                    "model"
                  ]
                }
              },
              "required": [
                "id",
                "transcript",
                "parent",
                "level",
                "kind",
                "title",
                "starts_at",
                "ends_at",
                "asker",
                "from"
              ]
            }
          },
          "quotes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "chapter": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "quote": {
                  "$ref": "#/components/schemas/Quote"
                }
              },
              "required": [
                "chapter",
                "quote"
              ]
            }
          },
          "names": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": [
                    "company",
                    "person"
                  ]
                },
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "ticker": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "exchange": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "count": {
                  "type": "integer"
                },
                "own": {
                  "type": "integer"
                },
                "first_at": {
                  "type": "number"
                },
                "by": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "count": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "id",
                      "name",
                      "count"
                    ]
                  }
                }
              },
              "required": [
                "kind",
                "id",
                "name",
                "ticker",
                "exchange",
                "count",
                "own",
                "first_at",
                "by"
              ]
            }
          },
          "also": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "podcast",
                    "interview",
                    "talk",
                    "company_event",
                    "hearing",
                    "tv"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uri"
                },
                "title": {
                  "type": "string"
                },
                "outlet": {
                  "type": "string"
                },
                "date": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date"
                },
                "duration": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "required": [
                "id",
                "kind",
                "url",
                "title",
                "outlet",
                "date",
                "duration"
              ]
            }
          },
          "missing": {
            "type": "object",
            "properties": {
              "speakers": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "turns": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "chapters": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "quotes": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "names": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "speakers",
              "turns",
              "chapters",
              "quotes",
              "names"
            ]
          }
        },
        "required": [
          "kind",
          "shown",
          "removed",
          "held",
          "summary",
          "episode",
          "event",
          "open",
          "speakers",
          "turns",
          "chapters",
          "quotes",
          "names",
          "also",
          "missing"
        ]
      },
      "Preview": {
        "type": "object",
        "properties": {
          "spec": {
            "$ref": "#/components/schemas/TrackerSpec"
          },
          "questions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "about": {
                  "type": "string"
                },
                "options": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "role": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "looked_at": {
            "type": "integer"
          },
          "matched": {
            "type": "integer"
          },
          "quotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Quote"
            }
          }
        },
        "required": [
          "spec",
          "questions",
          "looked_at",
          "matched",
          "quotes"
        ]
      },
      "TrackerSpec": {
        "type": "object",
        "properties": {
          "version": {
            "type": "number",
            "enum": [
              1
            ]
          },
          "people": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "name"
              ]
            }
          },
          "kinds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PersonKind"
            }
          },
          "companies": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "name"
              ]
            }
          },
          "shows": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "topics": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxItems": 5
          },
          "test": {
            "type": "string"
          },
          "must": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exclude": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "speaker_only": {
            "type": "boolean"
          },
          "include_unconfirmed": {
            "type": "boolean"
          },
          "documents": {
            "type": "boolean"
          },
          "posts": {
            "type": "boolean"
          },
          "events": {
            "type": "string",
            "enum": [
              "include",
              "exclude",
              "only"
            ]
          },
          "live": {
            "type": "boolean"
          },
          "lists": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 64
            },
            "maxItems": 10
          },
          "named": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "name"
              ]
            },
            "maxItems": 10
          },
          "tickers": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 12
            },
            "maxItems": 10
          },
          "claims": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "forecast",
                "commitment",
                "admission",
                "figure"
              ]
            },
            "maxItems": 4
          }
        },
        "required": [
          "version",
          "people",
          "kinds",
          "companies",
          "shows",
          "topics",
          "test",
          "must",
          "exclude",
          "speaker_only",
          "include_unconfirmed"
        ]
      },
      "TrackerPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tracker"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "next"
        ]
      },
      "Tracker": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "sentence": {
            "type": "string"
          },
          "spec": {
            "$ref": "#/components/schemas/TrackerSpec"
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "paused"
            ]
          },
          "email": {
            "type": "string",
            "enum": [
              "each",
              "daily",
              "weekly",
              "off"
            ]
          },
          "slack": {
            "type": "boolean"
          },
          "msteams": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "each",
              "daily",
              null
            ]
          },
          "recipients": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "email"
            }
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "last_match": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "matches": {
            "type": "object",
            "properties": {
              "total": {
                "type": "integer"
              },
              "week": {
                "type": "integer"
              },
              "good": {
                "type": "integer"
              },
              "not_this": {
                "type": "integer"
              },
              "said": {
                "type": "integer"
              },
              "written": {
                "type": "integer"
              },
              "posted": {
                "type": "integer"
              }
            },
            "required": [
              "total",
              "week",
              "good",
              "not_this"
            ]
          },
          "paused": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "at": {
                "type": "string",
                "format": "date-time"
              },
              "reason": {
                "type": "string",
                "enum": [
                  "owner",
                  "plan",
                  "list"
                ]
              },
              "list": {
                "type": "string"
              }
            },
            "required": [
              "at",
              "reason"
            ]
          },
          "lists": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "deleted": {
                  "type": "boolean"
                }
              },
              "required": [
                "id",
                "name",
                "deleted"
              ]
            }
          }
        },
        "required": [
          "id",
          "name",
          "sentence",
          "spec",
          "status",
          "email",
          "slack",
          "msteams",
          "recipients",
          "created",
          "updated",
          "last_match"
        ]
      },
      "TrackerInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 80
          },
          "sentence": {
            "type": "string",
            "maxLength": 300
          },
          "spec": {
            "$ref": "#/components/schemas/TrackerSpec"
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "paused"
            ]
          },
          "email": {
            "type": "string",
            "enum": [
              "each",
              "daily",
              "weekly",
              "off"
            ]
          },
          "slack_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "msteams_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "msteams": {
            "type": "string",
            "enum": [
              "each",
              "daily"
            ]
          },
          "recipients": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "email"
            }
          },
          "picks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "$ref": "#/components/schemas/DirectoryKind"
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 120
                },
                "text": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 120
                }
              },
              "required": [
                "kind",
                "id",
                "text"
              ]
            },
            "maxItems": 10
          }
        }
      },
      "AnyMatchPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListedMatch"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          },
          "total": {
            "type": "integer"
          }
        },
        "required": [
          "data",
          "next",
          "total"
        ]
      },
      "ListedMatch": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Match"
          },
          {
            "$ref": "#/components/schemas/WrittenMatch"
          },
          {
            "$ref": "#/components/schemas/PostMatch"
          }
        ]
      },
      "Match": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "tracker": {
            "type": "string"
          },
          "mode": {
            "type": "string",
            "enum": [
              "said"
            ]
          },
          "quote": {
            "$ref": "#/components/schemas/Quote"
          },
          "why": {
            "type": "string"
          },
          "origin": {
            "type": "string",
            "enum": [
              "live",
              "backfill"
            ]
          },
          "feedback": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "not_this",
              "good",
              null
            ]
          },
          "created": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "tracker",
          "quote",
          "why",
          "origin",
          "feedback",
          "created"
        ]
      },
      "WrittenMatch": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "tracker": {
            "type": "string"
          },
          "mode": {
            "type": "string",
            "enum": [
              "written"
            ]
          },
          "passage": {
            "$ref": "#/components/schemas/WrittenPassage"
          },
          "why": {
            "type": "string"
          },
          "origin": {
            "type": "string",
            "enum": [
              "live",
              "backfill"
            ]
          },
          "feedback": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "not_this",
              "good",
              null
            ]
          },
          "created": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "tracker",
          "mode",
          "passage",
          "why",
          "origin",
          "feedback",
          "created"
        ]
      },
      "WrittenPassage": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "document": {
            "type": "string"
          },
          "company": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "title": {
            "type": "string"
          },
          "form": {
            "type": [
              "string",
              "null"
            ]
          },
          "exhibit": {
            "type": [
              "string",
              "null"
            ]
          },
          "filed": {
            "type": "string",
            "format": "date"
          },
          "page": {
            "type": "integer"
          },
          "page_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "excerpt": {
            "type": "string"
          },
          "cite": {
            "type": "string"
          },
          "source_url": {
            "type": "string",
            "format": "uri"
          },
          "filing_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          }
        },
        "required": [
          "id",
          "document",
          "company",
          "title",
          "form",
          "exhibit",
          "filed",
          "page",
          "page_label",
          "excerpt",
          "cite",
          "source_url",
          "filing_url"
        ]
      },
      "PostMatch": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "tracker": {
            "type": "string"
          },
          "mode": {
            "type": "string",
            "enum": [
              "posted"
            ]
          },
          "post": {
            "$ref": "#/components/schemas/Post"
          },
          "why": {
            "type": "string"
          },
          "origin": {
            "type": "string",
            "enum": [
              "live",
              "backfill"
            ]
          },
          "feedback": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "not_this",
              "good",
              null
            ]
          },
          "created": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "tracker",
          "mode",
          "post",
          "why",
          "origin",
          "feedback",
          "created"
        ]
      },
      "SavedPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": [
                    "quote",
                    "passage"
                  ]
                },
                "quote": {
                  "anyOf": [
                    {
                      "type": "null"
                    },
                    {
                      "$ref": "#/components/schemas/Quote"
                    }
                  ]
                },
                "passage": {
                  "anyOf": [
                    {
                      "type": "null"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "text": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "word_count": {
                          "type": "integer"
                        },
                        "speaker": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "name": {
                              "type": "string"
                            },
                            "role": {
                              "type": "string"
                            },
                            "company": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "ticker": {
                                  "type": "string"
                                },
                                "exchange": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ]
                            },
                            "page": {
                              "type": "string",
                              "format": "uri"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "confirmed",
                                "unconfirmed"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "status"
                          ]
                        },
                        "show": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ]
                        },
                        "episode": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "date": {
                              "type": "string",
                              "format": "date"
                            }
                          },
                          "required": [
                            "id",
                            "title",
                            "date"
                          ]
                        },
                        "event": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "earnings_call",
                                "investor_day",
                                "analyst_day",
                                "capital_markets_day",
                                "conference",
                                "shareholder_meeting",
                                "deal_call",
                                "guidance_update",
                                "business_update",
                                "keynote",
                                "other"
                              ]
                            },
                            "title": {
                              "type": "string"
                            },
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "company": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "ticker": {
                                  "type": "string"
                                },
                                "exchange": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ]
                            },
                            "fiscal_year": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "fiscal_period": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "enum": [
                                "Q1",
                                "Q2",
                                "Q3",
                                "Q4",
                                "H1",
                                "H2",
                                "FY",
                                null
                              ]
                            },
                            "chapter": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "n": {
                                  "type": "integer"
                                },
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "remarks",
                                    "qa",
                                    "question"
                                  ]
                                },
                                "title": {
                                  "type": "string"
                                },
                                "starts_at": {
                                  "type": "number"
                                },
                                "ends_at": {
                                  "type": "number"
                                },
                                "analyst": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "firm": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "n",
                                "kind",
                                "title",
                                "starts_at",
                                "ends_at",
                                "analyst",
                                "firm"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "type",
                            "title",
                            "date",
                            "company",
                            "fiscal_year",
                            "fiscal_period",
                            "chapter"
                          ]
                        },
                        "turn_at": {
                          "type": "number"
                        },
                        "starts_at": {
                          "type": "number"
                        },
                        "ends_at": {
                          "type": "number"
                        },
                        "clock": {
                          "type": "string",
                          "enum": [
                            "video",
                            "audio"
                          ]
                        },
                        "source_url": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "uri"
                        },
                        "cite": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "text",
                        "word_count",
                        "speaker",
                        "show",
                        "episode",
                        "event",
                        "turn_at",
                        "starts_at",
                        "ends_at",
                        "clock",
                        "source_url",
                        "cite"
                      ]
                    }
                  ]
                },
                "saved": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "kind",
                "quote",
                "passage",
                "saved"
              ]
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          },
          "total": {
            "type": "integer"
          }
        },
        "required": [
          "data",
          "next",
          "total"
        ]
      },
      "SavedQuote": {
        "type": "object",
        "properties": {
          "quote": {
            "$ref": "#/components/schemas/Quote"
          },
          "saved": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "quote",
          "saved"
        ]
      },
      "CalendarFeed": {
        "type": "object",
        "properties": {
          "on": {
            "type": "boolean"
          },
          "created": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "last_read": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "on",
          "created",
          "last_read"
        ]
      },
      "NewCalendarFeed": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "url",
          "created"
        ]
      },
      "TeamListPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeamList"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          },
          "limits": {
            "type": "object",
            "properties": {
              "lists": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "members": {
                "type": [
                  "integer",
                  "null"
                ]
              }
            },
            "required": [
              "lists",
              "members"
            ]
          }
        },
        "required": [
          "data",
          "next",
          "limits"
        ]
      },
      "TeamList": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "counts": {
            "$ref": "#/components/schemas/TeamListCounts"
          },
          "created_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "name",
          "counts",
          "created_by",
          "created",
          "updated"
        ]
      },
      "TeamListCounts": {
        "type": "object",
        "properties": {
          "people": {
            "type": "integer"
          },
          "companies": {
            "type": "integer"
          },
          "trackers": {
            "type": "integer"
          }
        },
        "required": [
          "people",
          "companies",
          "trackers"
        ]
      },
      "TeamListDetail": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "counts": {
            "$ref": "#/components/schemas/TeamListCounts"
          },
          "created_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "people": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "role": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "company": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "added": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "id",
                "name",
                "role",
                "company",
                "added"
              ]
            }
          },
          "companies": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "ticker": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "exchange": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "added": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "id",
                "name",
                "ticker",
                "exchange",
                "added"
              ]
            }
          },
          "trackers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "active",
                    "paused"
                  ]
                }
              },
              "required": [
                "id",
                "name",
                "status"
              ]
            }
          }
        },
        "required": [
          "id",
          "name",
          "counts",
          "created_by",
          "created",
          "updated",
          "people",
          "companies",
          "trackers"
        ]
      },
      "TeamListNames": {
        "type": "object",
        "properties": {
          "rows": {
            "type": "integer"
          },
          "matched": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "row": {
                  "type": "integer"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "company": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "ticker": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "member": {
                  "$ref": "#/components/schemas/TeamListMatch"
                }
              },
              "required": [
                "row",
                "name",
                "company",
                "ticker",
                "member"
              ]
            }
          },
          "choose": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "row": {
                  "type": "integer"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "company": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "ticker": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "options": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamListMatch"
                  }
                }
              },
              "required": [
                "row",
                "name",
                "company",
                "ticker",
                "options"
              ]
            }
          },
          "unknown": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "row": {
                  "type": "integer"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "company": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "ticker": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "row",
                "name",
                "company",
                "ticker"
              ]
            }
          },
          "already": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "row": {
                  "type": "integer"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "company": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "ticker": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "member": {
                  "$ref": "#/components/schemas/TeamListMatch"
                }
              },
              "required": [
                "row",
                "name",
                "company",
                "ticker",
                "member"
              ]
            }
          },
          "repeated": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "row": {
                  "type": "integer"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "company": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "ticker": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "member": {
                  "$ref": "#/components/schemas/TeamListMatch"
                },
                "first_row": {
                  "type": "integer"
                }
              },
              "required": [
                "row",
                "name",
                "company",
                "ticker",
                "member",
                "first_row"
              ]
            }
          },
          "room": {
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "rows",
          "matched",
          "choose",
          "unknown",
          "already",
          "repeated",
          "room"
        ]
      },
      "TeamListMatch": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "person",
              "company"
            ]
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "detail": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "kind",
          "id",
          "name",
          "detail"
        ]
      }
    },
    "parameters": {}
  },
  "paths": {
    "/targets": {
      "get": {
        "operationId": "listTargets",
        "summary": "The team's diligence targets, newest first",
        "description": "Your team's diligence targets, newest first. Each is a company with its id and name, whether it's on PodData's companies list (`list`) or held only as your target (`target_only`), who added it and when, its links counted by state, and, for a company that files with the SEC, where reading its filings stands.\n\n**Before:** Nothing: a team with no targets gets an empty list.\n\n**Next:** Add one with `POST /targets`. For each, `GET /companies/{id}/links` lists its links, and `GET /targets/{company}/coverage` says what has been read for it.\n\n**Limits:** 20 a page, or `limit`, at most 100. Pass `next` back as `cursor` for the page after; it is null on the last.",
        "x-mcp-tool": "list_targets",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/targets?limit=2' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The team's targets",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "company": {
                            "id": "northwind-dental",
                            "name": "Northwind Dental"
                          },
                          "listed_on": "target_only",
                          "added_at": "2026-11-12T15:04:00.000Z",
                          "added_by": {
                            "kind": "member",
                            "email": "ana@lakeside-capital.example"
                          },
                          "links": {
                            "confirmed": 4,
                            "proposed": 2
                          },
                          "filings": null
                        },
                        {
                          "company": {
                            "id": "harbor-health",
                            "name": "Harbor Health Holdings"
                          },
                          "listed_on": "target_only",
                          "added_at": "2026-11-10T09:30:00.000Z",
                          "added_by": {
                            "kind": "member",
                            "email": "ana@lakeside-capital.example"
                          },
                          "links": {
                            "confirmed": 1,
                            "proposed": 0
                          },
                          "filings": {
                            "state": "read",
                            "asked_at": "2026-11-10T09:30:00.000Z"
                          }
                        }
                      ],
                      "next": "MjAyNi0xMS0xMFQwOTozMDowMC4wMDBa"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "listed_on": {
                            "type": "string",
                            "enum": [
                              "list",
                              "target_only"
                            ]
                          },
                          "added_at": {
                            "type": "string"
                          },
                          "added_by": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "member",
                                  "poddata"
                                ]
                              },
                              "email": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "email"
                            ]
                          },
                          "links": {
                            "type": "object",
                            "properties": {
                              "confirmed": {
                                "type": "integer"
                              },
                              "proposed": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "confirmed",
                              "proposed"
                            ]
                          },
                          "filings": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "state": {
                                "type": "string",
                                "enum": [
                                  "reading",
                                  "read",
                                  "waiting",
                                  "not_read_here"
                                ]
                              },
                              "asked_at": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "state",
                              "asked_at"
                            ]
                          }
                        },
                        "required": [
                          "company",
                          "listed_on",
                          "added_at",
                          "added_by",
                          "links",
                          "filings"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Targets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `list_targets`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      },
      "post": {
        "operationId": "addTarget",
        "summary": "Adds a company to the team’s targets",
        "description": "Adds a company to your team's targets, the first step of a diligence. Give one of three: `company`, an id any `/companies/{id}` takes; `name` and `domain`, for a company PodData doesn't hold, which makes one held only as your target, its domain a proposed link; or `ticker` or `cik`, for a company that files with the SEC, found in SEC's own list, whose filings PodData then reads. `201` with the target, or `200` with it when it's yours already.\n\n**Before:** Look the company up with `GET /companies?q=` first, so you add the one PodData holds rather than a second of the same name. For an SEC filer, `GET /filers/{filer}` says what asking for it would do.\n\n**Next:** Propose its links from its own site with `POST /targets/{company}/find` and its rivals with `POST /targets/{company}/rivals/find`. A domain given here is only proposed: a person confirms it with `POST /companies/{id}/links/{link}/confirm`.\n\n**Limits:** A filer PodData doesn't read yet counts toward the plan's filers a UTC day, 1 on Free, 5 on Pro and Pilot, and 25 on Enterprise, and past it is a `403` with the code `plan`; one PodData reads already costs nothing. By `ticker` or `cik` it's filings on request, on every plan; by `company`, or `name` and `domain`, it's a diligence, on Enterprise and Pilot, and on another plan a `403` with the code `plan`. A body that gives two of the three is a `400`.",
        "x-mcp-tool": "add_target",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/targets' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"name\":\"Northwind Dental\",\"domain\":\"northwind-dental.example\"}'"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "name": "Northwind Dental",
                    "domain": "northwind-dental.example"
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "company": {
                    "type": "string",
                    "maxLength": 64,
                    "description": "A company any /companies/{id} takes"
                  },
                  "name": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 120,
                    "description": "For a company the list doesn't hold: its name"
                  },
                  "domain": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 253,
                    "description": "And its own domain, which goes in as a proposed link"
                  },
                  "ticker": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 20,
                    "description": "A company that files with the SEC, by its ticker: HIMS or NYSE:HIMS, looked up in SEC's own list"
                  },
                  "cik": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 13,
                    "description": "Or by its SEC number, with or without the leading zeros"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Already one of the team’s targets",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "listed_on": {
                      "type": "string",
                      "enum": [
                        "list",
                        "target_only"
                      ]
                    },
                    "added_at": {
                      "type": "string"
                    },
                    "added_by": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "member",
                            "poddata"
                          ]
                        },
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "email"
                      ]
                    },
                    "links": {
                      "type": "object",
                      "properties": {
                        "confirmed": {
                          "type": "integer"
                        },
                        "proposed": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "confirmed",
                        "proposed"
                      ]
                    },
                    "filings": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "state": {
                          "type": "string",
                          "enum": [
                            "reading",
                            "read",
                            "waiting",
                            "not_read_here"
                          ]
                        },
                        "asked_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "state",
                        "asked_at"
                      ]
                    }
                  },
                  "required": [
                    "company",
                    "listed_on",
                    "added_at",
                    "added_by",
                    "links",
                    "filings"
                  ]
                }
              }
            }
          },
          "201": {
            "description": "Added",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "listed_on": "target_only",
                      "added_at": "2026-11-12T15:04:00.000Z",
                      "added_by": {
                        "kind": "member",
                        "email": "ana@lakeside-capital.example"
                      },
                      "links": {
                        "confirmed": 0,
                        "proposed": 1
                      },
                      "filings": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "listed_on": {
                      "type": "string",
                      "enum": [
                        "list",
                        "target_only"
                      ]
                    },
                    "added_at": {
                      "type": "string"
                    },
                    "added_by": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "member",
                            "poddata"
                          ]
                        },
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "email"
                      ]
                    },
                    "links": {
                      "type": "object",
                      "properties": {
                        "confirmed": {
                          "type": "integer"
                        },
                        "proposed": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "confirmed",
                        "proposed"
                      ]
                    },
                    "filings": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "state": {
                          "type": "string",
                          "enum": [
                            "reading",
                            "read",
                            "waiting",
                            "not_read_here"
                          ]
                        },
                        "asked_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "state",
                        "asked_at"
                      ]
                    }
                  },
                  "required": [
                    "company",
                    "listed_on",
                    "added_at",
                    "added_by",
                    "links",
                    "filings"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Targets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `add_target`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/targets/{company}": {
      "delete": {
        "operationId": "removeTarget",
        "summary": "Takes a company off the team’s targets",
        "description": "Takes a company off your team's targets. What PodData read about it stays, since that isn't your team's. A company held only as your target can't be read by your team once it's off, nor can your reports on it, until it's added back.\n\n**Before:** An assistant asks the person first.\n\n**Next:** Nothing: `GET /targets` lists the targets left.\n\n**Limits:** A company that isn't one of your targets is a `404`.",
        "x-mcp-tool": "remove_target",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X DELETE 'https://api.poddata.ai/v1/targets/northwind-dental' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "company",
            "in": "path"
          }
        ],
        "responses": {
          "204": {
            "description": "Removed"
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Targets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `remove_target`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/filers/{filer}": {
      "get": {
        "operationId": "findFiler",
        "summary": "A company that files with the SEC, as SEC's own list names it, and whether the team can ask for its filings",
        "description": "A company that files with the SEC, by its ticker or its SEC number, before you add it: SEC's own name, number and exchange for it; the company PodData holds for it, when your team may see that company; whether asking for its filings here counts toward your plan's filers a day; and, for one your team sees, where reading its last year of filings stands.\n\n**Before:** Nothing.\n\n**Next:** Add it with `POST /targets` and its `ticker` or `cik`. PodData then reads its filings, first on the reader’s next run.\n\n**Limits:** A ticker or number SEC's list doesn't hold is a `404`. Asking counts only for a filer PodData doesn't read yet: 1 on Free, 5 on Pro and Pilot, and 25 on Enterprise a UTC day.",
        "x-mcp-tool": "find_filer",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/filers/NYSE:NWDL' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 20,
              "description": "A ticker, HIMS or NYSE:HIMS, or an SEC number with or without its leading zeros"
            },
            "required": true,
            "description": "A ticker, HIMS or NYSE:HIMS, or an SEC number with or without its leading zeros",
            "name": "filer",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The filer, the company PodData holds for it if the team may see it, and what asking for it would do",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "ticker": "NWDL",
                      "cik": "0009999901",
                      "name": "NORTHWIND DENTAL HOLDINGS INC",
                      "exchange": "NYSE",
                      "read_on": "2026-11-17",
                      "company": null,
                      "asking": "open",
                      "counts": true,
                      "asked_today": 0,
                      "limit": 5,
                      "filings": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "ticker": {
                      "type": "string"
                    },
                    "cik": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "exchange": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "read_on": {
                      "type": "string"
                    },
                    "company": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "by_request": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "by_request"
                      ]
                    },
                    "asking": {
                      "type": "string",
                      "enum": [
                        "open",
                        "not_here"
                      ]
                    },
                    "counts": {
                      "type": "boolean"
                    },
                    "asked_today": {
                      "type": "integer"
                    },
                    "limit": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "filings": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "state": {
                          "type": "string",
                          "enum": [
                            "reading",
                            "read",
                            "waiting",
                            "not_read_here"
                          ]
                        },
                        "asked_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "listed": {
                          "type": "integer"
                        },
                        "parsed": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "state",
                        "asked_at",
                        "listed",
                        "parsed"
                      ]
                    }
                  },
                  "required": [
                    "ticker",
                    "cik",
                    "name",
                    "exchange",
                    "read_on",
                    "company",
                    "asking",
                    "counts",
                    "asked_today",
                    "limit",
                    "filings"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Targets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `find_filer`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/targets/{company}/category": {
      "get": {
        "operationId": "getTargetCategory",
        "summary": "A target’s category in words: what it sells, to whom, the names its category goes by, its buyer groups and each rival’s overlap",
        "description": "Reads one of your targets' category in words: what it sells and to whom, the names its category goes by with the page that uses each, its buyer groups, and which of them each confirmed rival shares. A report's market and competition pages read it, so a software company's market is its category, not an industry code.\n\n**Before:** The company is one of your targets.\n\n**Next:** Set or correct it with `PUT /targets/{company}/category`. Its names are what to ask a market's size and search interest about.\n\n**Limits:** A target whose category isn't set yet is a `404`, which says how to set it.",
        "x-mcp-tool": "target_category",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/targets/northwind-dental/category' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "company",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Its category as last set",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "sells": "General and cosmetic dentistry, and dental implants",
                      "buyers": "Families and adults in three Oregon towns, most paying through dental insurance",
                      "names": [
                        {
                          "name": "General dentistry",
                          "url": "https://northwind-dental.example/services"
                        }
                      ],
                      "buyer_groups": [
                        "Insured families",
                        "Implant patients"
                      ],
                      "rivals": [
                        {
                          "rival": {
                            "id": "bluebird-dental",
                            "name": "Bluebird Dental"
                          },
                          "groups": [
                            "Insured families"
                          ],
                          "url": "https://bluebird-dental.example/insurance"
                        }
                      ],
                      "set_at": "2026-11-20T10:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "sells": {
                      "type": "string"
                    },
                    "buyers": {
                      "type": "string"
                    },
                    "names": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "url"
                        ]
                      }
                    },
                    "buyer_groups": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "rivals": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "rival": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "groups": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "rival",
                          "groups",
                          "url"
                        ]
                      }
                    },
                    "set_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "company",
                    "sells",
                    "buyers",
                    "names",
                    "buyer_groups",
                    "rivals",
                    "set_at"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Targets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `target_category`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      },
      "put": {
        "operationId": "setTargetCategory",
        "summary": "Sets or corrects a target’s category in words: what it sells, to whom, its category’s names with their pages, its buyer groups and each rival’s overlap",
        "description": "Sets one of your targets' category in words, replacing what was there: `sells` and `buyers` in a line each, `names` (each with the page that uses it), `buyer_groups`, and `rivals`, each confirmed rival with the buyer groups it shares. Set it from the company's own pages, a review site's category and an analyst's words, never from an industry code. When its names change (one added, changed, dropped or moved), the readers that read a category's names (Google Trends, Reddit, YouTube, the category's size and podcasts on its market) are asked to read it now, as `POST /targets/{company}/read` asks with `sources`, and `read` says which were queued and which wait on a link; a read of theirs from before doesn't stand.\n\n**Before:** The company is one of your targets, and each rival named is one of its confirmed rivals (`GET /companies/{id}/rivals`).\n\n**Next:** `GET /targets/{company}/category` reads it back, and `GET /targets/{company}/coverage` says when each reader asked has run. A report written after reads it.\n\n**Limits:** A rival that isn't confirmed, or a group a rival shares that isn't among the buyer groups, is a `400`. Saving writes a line in your team's audit log. The ask counts as one of the day's reads, none on Free and Pro, 10 on Pilot, and no limit on Enterprise; past them, the category is set all the same and `read` says why nothing was asked. An ask of the same readers that none has run on yet is answered again with `again: true`, not counted twice.",
        "x-mcp-tool": "set_target_category",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X PUT 'https://api.poddata.ai/v1/targets/northwind-dental/category' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"sells\":\"General and cosmetic dentistry, and dental implants\",\"buyers\":\"Families and adults in three Oregon towns, most paying through dental insurance\",\"names\":[{\"name\":\"General dentistry\",\"url\":\"https://northwind-dental.example/services\"}],\"buyer_groups\":[\"Insured families\",\"Implant patients\"],\"rivals\":[{\"rival\":\"bluebird-dental\",\"groups\":[\"Insured families\"],\"url\":\"https://bluebird-dental.example/insurance\"}]}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "company",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "sells": "General and cosmetic dentistry, and dental implants",
                    "buyers": "Families and adults in three Oregon towns, most paying through dental insurance",
                    "names": [
                      {
                        "name": "General dentistry",
                        "url": "https://northwind-dental.example/services"
                      }
                    ],
                    "buyer_groups": [
                      "Insured families",
                      "Implant patients"
                    ],
                    "rivals": [
                      {
                        "rival": "bluebird-dental",
                        "groups": [
                          "Insured families"
                        ],
                        "url": "https://bluebird-dental.example/insurance"
                      }
                    ]
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "sells": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 300,
                    "description": "What it sells, in a line: intelligent document processing software and APIs"
                  },
                  "buyers": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 300,
                    "description": "To whom, in a line: lenders, insurers and operations teams that handle documents at volume"
                  },
                  "names": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 2,
                          "maxLength": 80
                        },
                        "url": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^https?:\\/\\/\\S+$",
                          "description": "The page that calls it this: its own site, a review site’s category, an analyst’s"
                        }
                      },
                      "required": [
                        "name",
                        "url"
                      ],
                      "additionalProperties": false
                    },
                    "minItems": 1,
                    "maxItems": 8,
                    "description": "The names its category goes by, each with the page that uses it"
                  },
                  "buyer_groups": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 2,
                      "maxLength": 60
                    },
                    "maxItems": 12,
                    "description": "Who buys it, such as lenders or insurers"
                  },
                  "rivals": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "rival": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64,
                          "description": "A confirmed rival's company id"
                        },
                        "groups": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 2,
                            "maxLength": 60
                          },
                          "maxItems": 12,
                          "description": "Which of the buyer groups it shares with the target"
                        },
                        "url": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^https?:\\/\\/\\S+$",
                          "description": "The page that shows it sells to them"
                        }
                      },
                      "required": [
                        "rival",
                        "groups"
                      ],
                      "additionalProperties": false
                    },
                    "maxItems": 40,
                    "description": "Each confirmed rival and the buyer groups it shares with the target"
                  }
                },
                "required": [
                  "sells",
                  "buyers",
                  "names",
                  "buyer_groups"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Its category as set now, and what it asked of the readers of its names",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "sells": "General and cosmetic dentistry, and dental implants",
                      "buyers": "Families and adults in three Oregon towns, most paying through dental insurance",
                      "names": [
                        {
                          "name": "General dentistry",
                          "url": "https://northwind-dental.example/services"
                        }
                      ],
                      "buyer_groups": [
                        "Insured families",
                        "Implant patients"
                      ],
                      "rivals": [
                        {
                          "rival": {
                            "id": "bluebird-dental",
                            "name": "Bluebird Dental"
                          },
                          "groups": [
                            "Insured families"
                          ],
                          "url": "https://bluebird-dental.example/insurance"
                        }
                      ],
                      "set_at": "2026-11-20T10:00:00.000Z",
                      "read": {
                        "asked_at": "2026-11-20T10:00:00.000Z",
                        "until": "2026-11-21T10:00:00.000Z",
                        "again": false,
                        "queued": [
                          {
                            "id": "google-trends",
                            "name": "Google Trends"
                          },
                          {
                            "id": "market-sizes",
                            "name": "A category's size, from market-research firms' free releases"
                          }
                        ],
                        "waiting": [
                          {
                            "id": "reddit",
                            "name": "Reddit",
                            "needs": [
                              "search_term",
                              "reddit_subreddit"
                            ]
                          }
                        ],
                        "why": null
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "sells": {
                      "type": "string"
                    },
                    "buyers": {
                      "type": "string"
                    },
                    "names": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "url"
                        ]
                      }
                    },
                    "buyer_groups": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "rivals": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "rival": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "groups": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "rival",
                          "groups",
                          "url"
                        ]
                      }
                    },
                    "set_at": {
                      "type": "string"
                    },
                    "read": {
                      "type": "object",
                      "properties": {
                        "asked_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "until": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "again": {
                          "type": "boolean"
                        },
                        "queued": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          }
                        },
                        "waiting": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "needs": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "needs"
                            ]
                          }
                        },
                        "why": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "asked_at",
                        "until",
                        "again",
                        "queued",
                        "waiting",
                        "why"
                      ]
                    }
                  },
                  "required": [
                    "company",
                    "sells",
                    "buyers",
                    "names",
                    "buyer_groups",
                    "rivals",
                    "set_at",
                    "read"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Targets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `set_target_category`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/links": {
      "get": {
        "operationId": "listCompanyLinks",
        "summary": "A company's links, with which are confirmed",
        "description": "A company's links, confirmed first: its domain, its places on Google, its listings and accounts, and its numbers at registries such as the SEC and the NPI registry. Each has its kind, its value, its state (`proposed`, `confirmed` or `struck`), the page that shows it's theirs, and when a person decided it. PodData reads a company only through its confirmed links.\n\n**Before:** The company is one your team may see: on PodData’s list, one of your targets, or a confirmed rival of one.\n\n**Next:** Show each proposed link and its page to a person. On their yes, `POST /companies/{id}/links/{link}/confirm`; on their no, `POST /companies/{id}/links/{link}/strike`. Propose one PodData missed with `POST /companies/{id}/links`.\n\n**Limits:** Every link at once, no pages. A company your team can't see is a `404`, which says nothing of whether anyone else has it.",
        "x-mcp-tool": "company_links",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/links' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Its links, confirmed first",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "id": "cln_01JD8X4K2M9Q00000000000000",
                          "kind": "domain",
                          "value": "northwind-dental.example",
                          "state": "confirmed",
                          "evidence": "https://northwind-dental.example/",
                          "decided_at": "2026-11-12T15:20:00.000Z"
                        },
                        {
                          "id": "cln_01JD8X4K2N3R00000000000000",
                          "kind": "google_place",
                          "value": "ChIJ_made_up_riverside",
                          "state": "confirmed",
                          "evidence": "https://northwind-dental.example/locations/riverside",
                          "decided_at": "2026-11-12T15:21:00.000Z"
                        },
                        {
                          "id": "cln_01JD8X4K2P7S00000000000000",
                          "kind": "instagram",
                          "value": "northwinddental",
                          "state": "proposed",
                          "evidence": "https://northwind-dental.example/",
                          "decided_at": null
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "proposed",
                              "confirmed",
                              "struck"
                            ]
                          },
                          "evidence": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "decided_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "kind",
                          "value",
                          "state",
                          "evidence",
                          "decided_at"
                        ]
                      }
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Links"
        ],
        "x-mint": {
          "content": "**MCP tool:** `company_links`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      },
      "post": {
        "operationId": "proposeCompanyLink",
        "summary": "Adds one of a target's links, taken at once when it comes with the page that shows it's theirs",
        "description": "Proposes a link PodData missed for one of your targets, or for a confirmed rival of one: its `kind`, its `value` as that kind writes it, and the page that shows it's theirs. With that page it's confirmed at once, and PodData's readers read through it from their next run; with none it stays proposed for a person to confirm. `201` with the link, or `200` with it as it stands when the company has it already.\n\n**Before:** The company is one of your targets, or a confirmed rival of one: otherwise a `409` says to add it first. `GET /companies/{id}/links` shows what it has.\n\n**Next:** `POST /targets/{company}/read` asks PodData to read it now. A link that's wrong is struck with `POST /companies/{id}/links/{link}/strike`, and one still proposed is confirmed with `POST /companies/{id}/links/{link}/confirm`.\n\n**Limits:** A value confirmed for another company already is a `409`, which names that company only when your team may see it. One confirmed for a company no team holds, such as one every team took off its targets, moves to yours with what was read through it.",
        "x-mcp-tool": "propose_link",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/companies/northwind-dental/links' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"kind\":\"instagram\",\"value\":\"northwinddental\",\"evidence\":\"https://northwind-dental.example/\"}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "kind": "instagram",
                    "value": "northwinddental",
                    "evidence": "https://northwind-dental.example/"
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "domain",
                      "site",
                      "google_place",
                      "amazon_asin",
                      "walmart_item",
                      "target_tcin",
                      "costco_item",
                      "sams_item",
                      "g2_product",
                      "capterra_product",
                      "software_advice_product",
                      "getapp_product",
                      "trustradius_product",
                      "gartner_product",
                      "trustpilot_domain",
                      "yelp_business",
                      "bbb_profile",
                      "angi_business",
                      "homeadvisor_business",
                      "thumbtack_business",
                      "tripadvisor_location",
                      "google_play_app",
                      "app_store_app",
                      "indeed_company",
                      "glassdoor_employer",
                      "ambitionbox_company",
                      "producthunt_product",
                      "instagram",
                      "tiktok",
                      "x",
                      "youtube_channel",
                      "facebook_page",
                      "franchisee_facebook_page",
                      "linkedin_company",
                      "reddit_subreddit",
                      "sec_cik",
                      "ein",
                      "npi",
                      "fsis_establishment",
                      "frs_registry",
                      "sam_uei",
                      "fcc_provider",
                      "uspto_owner",
                      "usdot",
                      "state_registration",
                      "licence",
                      "franchise_file",
                      "tips_vendor",
                      "importyeti_company",
                      "legal_name",
                      "court_party",
                      "search_term",
                      "naics"
                    ],
                    "description": "One of the kinds GET /companies/{id}/links answers: domain, google_place, amazon_asin, instagram, x, sec_cik, npi, legal_name and the rest. Any other is a `400` that lists them"
                  },
                  "value": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 300,
                    "description": "As the kind writes it: waterboy.com, ChIJ…, TN:QualDerm Partners, LLC"
                  },
                  "evidence": {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 2000,
                    "description": "The address of the page that shows it's theirs, such as the company's own site linking to the account"
                  }
                },
                "required": [
                  "kind",
                  "value"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Already one of its links: as it stands",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "kind",
                    "value",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "201": {
            "description": "Added",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "cln_01JD8X4K2P7S00000000000000",
                      "kind": "instagram",
                      "value": "northwinddental",
                      "evidence": "https://northwind-dental.example/",
                      "state": "confirmed",
                      "decided_at": "2026-11-12T15:30:00.000Z",
                      "waits_for": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "kind",
                    "value",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Links"
        ],
        "x-mint": {
          "content": "**MCP tool:** `propose_link`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/links/{link}/confirm": {
      "post": {
        "operationId": "confirmCompanyLink",
        "summary": "Confirms one of a target's links, with the page that shows it's theirs",
        "description": "Confirms one of a target's links, or a confirmed rival's, so PodData's readers read through it from their next run. What a whole file's reader already holds that names it, such as a gaming board's monthly reports for a casino's licence, is the company's at once. Give `evidence`, the page that shows it's theirs, where the link has none. `200` with the link confirmed.\n\n**Before:** The link is still proposed, because it came with no page that shows it's theirs or its value was held elsewhere. A person has seen the link and its page and said yes. An assistant never confirms one on its own: it shows the page and asks.\n\n**Next:** Once its links are confirmed, `POST /targets/{company}/read` asks PodData to read the company now rather than on each source’s own cadence.\n\n**Limits:** A value confirmed for another company is a `409`, unless no team holds that company: then it moves to yours, with what was read through it. Confirming a link that has no evidence, without giving one, is a `400`.",
        "x-mcp-tool": "confirm_link",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/companies/northwind-dental/links/cln_01JD8X4K2P7S00000000000000/confirm' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The link's id, cln_…"
            },
            "required": true,
            "description": "The link's id, cln_…",
            "name": "link",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {}
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "evidence": {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 2000,
                    "description": "The address of the page that shows it's theirs, such as the company's own site linking to the account"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Confirmed, or confirmed already",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "cln_01JD8X4K2P7S00000000000000",
                      "kind": "instagram",
                      "value": "northwinddental",
                      "evidence": "https://northwind-dental.example/",
                      "state": "confirmed",
                      "decided_at": "2026-11-12T15:30:00.000Z",
                      "waits_for": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "kind",
                    "value",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "202": {
            "description": "Left as it was, waiting for PodData's team, where PodData's own team decides",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "kind",
                    "value",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Links"
        ],
        "x-mint": {
          "content": "**MCP tool:** `confirm_link`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/links/{link}/strike": {
      "post": {
        "operationId": "strikeCompanyLink",
        "summary": "Strikes one of a target's links, with why",
        "description": "Strikes one of a target's links, or a confirmed rival's, with `why`: it isn't theirs, or it's the wrong place. Nothing is read through it from then on, and what was read through it is tied to nobody, so the company's records and signals, its folder and the number tools leave it out, until the link is confirmed again. A document read through it keeps its company, and `GET /documents`, the folder and search leave it out the same way; by its id it still opens. `200` with the link struck.\n\n**Before:** A person has said no to it.\n\n**Next:** Propose the right one with `POST /companies/{id}/links`, if there is one.\n\n**Limits:** None beyond the key’s.",
        "x-mcp-tool": "strike_link",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/companies/northwind-dental/links/cln_01JD8X4K2P7S00000000000000/strike' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"why\":\"A dental practice of the same name in another state\"}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The link's id, cln_…"
            },
            "required": true,
            "description": "The link's id, cln_…",
            "name": "link",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "why": "A dental practice of the same name in another state"
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "why": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 500,
                    "description": "Why it was struck, in a sentence"
                  }
                },
                "required": [
                  "why"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Struck, or struck already",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "cln_01JD8X4K2P7S00000000000000",
                      "kind": "instagram",
                      "value": "northwinddental",
                      "evidence": "https://northwind-dental.example/",
                      "state": "struck",
                      "decided_at": "2026-11-12T15:31:00.000Z",
                      "waits_for": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "kind",
                    "value",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "202": {
            "description": "Left as it was, waiting for PodData's team, where PodData's own team decides",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "kind",
                    "value",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Links"
        ],
        "x-mint": {
          "content": "**MCP tool:** `strike_link`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/targets/{company}/find": {
      "post": {
        "operationId": "findTargetLinks",
        "summary": "Reads one of the team's targets' own site, or a confirmed rival's, and proposes the accounts it links to and the addresses it gives",
        "description": "Reads one of your targets' own site, at its proposed or confirmed domain, and proposes each account its pages link to (Instagram, TikTok, X, YouTube, Facebook, LinkedIn), each with the page that links to it, never confirming one. It answers the street addresses on its location pages too, each with its page, for a person to match to listings, and the towns its places' own pages name without an address: each page's own town and the communities it says it serves. Each Google listing its pages link or show is looked up to its place ID and proposed as a `google_place` with its page. With `{\"rival\": \"…\"}`, a confirmed rival's site is read instead, kept to the towns where the target has a confirmed place. Only what the company's own pages show is proposed: a search result never is.\n\n**Before:** The company is one of your targets with a domain, proposed or confirmed. For a rival, the pair is confirmed: otherwise a `409`.\n\n**Next:** Show each proposed account and its page to a person, and confirm the right ones with `POST /companies/{id}/links/{link}/confirm`.\n\n**Limits:** PodData reads a site as `PodData/1.0`, its robots.txt and its terms first, one page a second or as seldom as its Crawl-delay asks, 30 seconds at most: twelve pages at most for its home and locations pages, and up to 60 more for its places' own pages, as many as 90 seconds of its Crawl-delay hold. It reads a company's site once an hour whoever asks: a second ask within the hour answers what the first found (`recent`). A site whose robots.txt keeps PodData out, or whose terms bar collecting it, is read all the same, whoever's it is, on Rushabh's call of Nov 25, 2026, and its `why` in `sites` names what it was read past. A site that doesn't answer isn't read, and `sites` says why. A Google listing is looked up only where the Google Maps reader is on, under its daily cap; otherwise `listings` says why, for a person to look it up.",
        "x-mcp-tool": "find_links",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/targets/northwind-dental/find' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "company",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "rival": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64,
                    "description": "A confirmed rival of the target: its own site is read instead, kept to what overlaps the target"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "What its own site shows: each account proposed with its page, never confirmed",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "sites": [
                        {
                          "domain": "northwind-dental.example",
                          "read": true,
                          "why": null,
                          "terms": "https://northwind-dental.example/terms",
                          "pages": [
                            "https://northwind-dental.example/",
                            "https://northwind-dental.example/locations",
                            "https://northwind-dental.example/locations/riverside"
                          ]
                        }
                      ],
                      "proposed": [
                        {
                          "id": "cln_01JD8X4K2P7S00000000000000",
                          "kind": "instagram",
                          "value": "northwinddental",
                          "page": "https://northwind-dental.example/",
                          "state": "proposed",
                          "added": true
                        }
                      ],
                      "skipped": [],
                      "addresses": [
                        {
                          "address": "1200 Market Street, Riverside, CA 92501",
                          "page": "https://northwind-dental.example/locations/riverside"
                        }
                      ],
                      "towns": [
                        {
                          "town": "Corona",
                          "state": "CA",
                          "page": "https://northwind-dental.example/locations/riverside",
                          "how": "served"
                        }
                      ],
                      "listings": [
                        {
                          "url": "https://maps.google.com/?cid=15227622989142723670",
                          "cid": "15227622989142723670",
                          "place": "ChIJr13wko15yQIRBZpLXokGOpI",
                          "page": "https://northwind-dental.example/locations/riverside",
                          "why": null
                        }
                      ],
                      "recent": null,
                      "overlap": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "sites": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "domain": {
                            "type": "string"
                          },
                          "read": {
                            "type": "boolean"
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "terms": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "pages": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "required": [
                          "domain",
                          "read",
                          "why",
                          "terms",
                          "pages"
                        ]
                      }
                    },
                    "proposed": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "page": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "proposed",
                              "confirmed",
                              "struck"
                            ]
                          },
                          "added": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "id",
                          "kind",
                          "value",
                          "page",
                          "state",
                          "added"
                        ]
                      }
                    },
                    "skipped": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "page": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind",
                          "value",
                          "page"
                        ]
                      }
                    },
                    "addresses": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "address": {
                            "type": "string"
                          },
                          "page": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "address",
                          "page"
                        ]
                      }
                    },
                    "towns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "town": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "page": {
                            "type": "string"
                          },
                          "how": {
                            "type": "string",
                            "enum": [
                              "page",
                              "link",
                              "served"
                            ]
                          }
                        },
                        "required": [
                          "town",
                          "state",
                          "page",
                          "how"
                        ]
                      }
                    },
                    "listings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string"
                          },
                          "cid": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "place": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "page": {
                            "type": "string"
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "url",
                          "cid",
                          "place",
                          "page",
                          "why"
                        ]
                      }
                    },
                    "recent": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "overlap": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "target": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ]
                        },
                        "towns": {
                          "type": "integer"
                        },
                        "outside": {
                          "type": "object",
                          "properties": {
                            "addresses": {
                              "type": "integer"
                            },
                            "towns": {
                              "type": "integer"
                            },
                            "listings": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "addresses",
                            "towns",
                            "listings"
                          ]
                        },
                        "over_cap": {
                          "type": "integer"
                        },
                        "cap": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "target",
                        "towns",
                        "outside",
                        "over_cap",
                        "cap"
                      ]
                    }
                  },
                  "required": [
                    "company",
                    "sites",
                    "proposed",
                    "skipped",
                    "addresses",
                    "towns",
                    "listings",
                    "recent",
                    "overlap"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Links"
        ],
        "x-mint": {
          "content": "**MCP tool:** `find_links`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/targets/{company}/profiles/find": {
      "post": {
        "operationId": "findTargetProfiles",
        "summary": "Finds one of the team's targets' review profiles, or a confirmed rival's, on the review sites (G2 to Product Hunt for software, Glassdoor, Indeed and AmbitionBox for any employer, Yelp to Trustpilot for a local service company), and takes each whose own page shows it's theirs",
        "description": "Finds one of your targets' review profiles, which its own site rarely links to. A software company's are its products on G2, Capterra, Software Advice, TrustRadius, Gartner Peer Insights and Product Hunt; any company's staff review it on Glassdoor and Indeed, and in India on AmbitionBox; a local service company's are its Yelp, BBB, Angi and Thumbtack profiles, one or more a market, and its Trustpilot page. PodData searches each site by the company's name, a local site once for each state where it has a place, and reads each profile page the search gives, as the search provider's copy shows it, since the sites refuse a direct fetch. A software or employer profile is taken at once, with its own page as its evidence, where that page gives the company's confirmed domain as its website and no other, or gives no website and its title names the company whole: its name, at the title's start or after \"Working at\", then only the site's words for a profile, as \"Affinity Reviews 2026\" and \"Pros & Cons of Working At Del Real Foods - Reviews\" do and \"Affinity Designer Pros and Cons\" doesn't. An Indeed or AmbitionBox page is one company page however many of its pages the search gives, and is taken too where the company name in its address is the company's. A Software Advice product is one page whatever category its address files it under, and Capterra's reviews of the product are read through it where its Capterra name differs. Two pages of one site that give no website and are titled alike are two companies of one name, and neither is taken. A page that gives no website is left proposed, with why, where another company's page the find read goes by the same name, one that gives another website, is confirmed for another company or is one of two titled alike. A local profile is taken where its page names the company and gives one of its confirmed domains, a phone number its own pages give, or a town where it has a place; a Trustpilot page where its website is the company's. Every other profile page comes back in `left_out` with why: it names another company or another product or firm of the name, gives another website, gives none of the company's domains, phone numbers or towns, or is confirmed for another company. With `{\"rival\": \"…\"}`, a confirmed rival's profiles are found instead. A search result alone is never the evidence: the profile page is.\n\n**Before:** The company is one of your targets, or a confirmed rival of one, with a confirmed domain: a page's website is held against it. Without one, a `409` says to propose its own domain first. Leave out `sites` for a software company's seven. For a local service company, give `[\"yelp\", \"bbb\", \"angi\", \"thumbtack\", \"trustpilot\", \"glassdoor\", \"indeed\"]`, once its own site is read: `POST /targets/{company}/find` keeps the towns its location pages give, and a read keeps its pages, whose phone numbers count. For any other company, `[\"glassdoor\", \"indeed\"]`.\n\n**Next:** Show a person each profile in `taken`, with its page, and go on: `POST /targets/{company}/read` reads it. A wrong one is struck with `POST /companies/{id}/links/{link}/strike`. One in `proposed` is read only once a person confirms it: show its page and its `why`, and confirm it with `POST /companies/{id}/links/{link}/confirm` only on their yes.\n\n**Limits:** One web search a site, or for a local site one a state where the company has places in several, its ten states with the most places at most, so a franchise's five local sites are up to 41 searches, and Glassdoor and Indeed one each. Each is kept a week once it finds a page, so the same find within the week costs little. `cost` says what it spent. At most three profiles of one software site a find, and of a local site one a town where the company has a place. Where the open web is off here, or web search is at its cap for the day, a site isn't searched, and `sites` says why.",
        "x-mcp-tool": "find_profiles",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/targets/ledgerline/profiles/find' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"sites\":[\"g2\",\"capterra\",\"glassdoor\"]}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "company",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "sites": [
                      "g2",
                      "capterra",
                      "glassdoor"
                    ]
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "rival": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64,
                    "description": "A confirmed rival of the target: its profiles are found instead"
                  },
                  "sites": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "g2",
                        "capterra",
                        "software-advice",
                        "trustradius",
                        "gartner",
                        "producthunt",
                        "glassdoor",
                        "indeed",
                        "ambitionbox",
                        "yelp",
                        "bbb",
                        "angi",
                        "thumbtack",
                        "trustpilot"
                      ]
                    },
                    "minItems": 1,
                    "description": "The sites to search: g2, capterra, software-advice, trustradius, gartner, producthunt, glassdoor, indeed and ambitionbox if left out, a software company's and its staff's. A local service company's are yelp, bbb, angi, thumbtack and trustpilot; any company's staff review it on glassdoor and indeed, and in India on ambitionbox"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "What each site's search found: each profile taken, or left proposed with why, with its own page, and each other profile page left out with why",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "company": {
                        "id": "ledgerline",
                        "name": "Ledgerline"
                      },
                      "domains": [
                        "ledgerline.example"
                      ],
                      "sites": [
                        {
                          "site": "g2",
                          "name": "G2",
                          "kind": "g2_product",
                          "looked": true,
                          "states": [],
                          "found": 2,
                          "why": null
                        },
                        {
                          "site": "capterra",
                          "name": "Capterra",
                          "kind": "capterra_product",
                          "looked": true,
                          "states": [],
                          "found": 1,
                          "why": null
                        },
                        {
                          "site": "glassdoor",
                          "name": "Glassdoor",
                          "kind": "glassdoor_employer",
                          "looked": true,
                          "states": [],
                          "found": 1,
                          "why": null
                        }
                      ],
                      "taken": [
                        {
                          "site": "g2",
                          "kind": "g2_product",
                          "value": "ledgerline",
                          "page": "https://www.g2.com/products/ledgerline/reviews",
                          "title": "Ledgerline Reviews 2026: Details, Pricing, & Features | G2",
                          "website": "ledgerline.example",
                          "phone": null,
                          "town": null,
                          "id": "cln_01JD8X4K2P7S00000000000001",
                          "added": true
                        }
                      ],
                      "proposed": [
                        {
                          "site": "glassdoor",
                          "kind": "glassdoor_employer",
                          "value": "7654321",
                          "page": "https://www.glassdoor.com/Reviews/Ledgerline-Reviews-E7654321.htm",
                          "title": "Ledgerline Reviews: What Is It Like to Work At Ledgerline? | Glassdoor",
                          "website": null,
                          "phone": null,
                          "town": null,
                          "id": "cln_01JD8X4K2P7S00000000000002",
                          "state": "proposed",
                          "added": true,
                          "why": "Its page gives no website, and https://www.g2.com/products/ledgerline-payroll/reviews goes by Ledgerline's name too, giving the website ledgerline-payroll.example, so it may be another company's: a person confirms which is Ledgerline's."
                        }
                      ],
                      "left_out": [
                        {
                          "site": "g2",
                          "kind": "g2_product",
                          "value": "ledgerline-payroll",
                          "page": "https://www.g2.com/products/ledgerline-payroll/reviews",
                          "title": "Ledgerline Payroll Reviews 2026 | G2",
                          "website": "ledgerline-payroll.example",
                          "phone": null,
                          "town": null,
                          "why": "Its page gives the website ledgerline-payroll.example, not Ledgerline's ledgerline.example."
                        },
                        {
                          "site": "capterra",
                          "kind": "capterra_product",
                          "value": "1234567",
                          "page": "https://www.capterra.com/p/1234567/Bookwise/",
                          "title": "Bookwise Reviews 2026 | Capterra",
                          "website": null,
                          "phone": null,
                          "town": null,
                          "why": "Its page is titled \"Bookwise Reviews 2026 | Capterra\", which doesn't name Ledgerline, and gives no website."
                        }
                      ],
                      "cost": {
                        "usd": 0.012,
                        "searches": 3
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "domains": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "sites": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "site": {
                            "type": "string",
                            "enum": [
                              "g2",
                              "capterra",
                              "software-advice",
                              "trustradius",
                              "gartner",
                              "producthunt",
                              "glassdoor",
                              "indeed",
                              "ambitionbox",
                              "yelp",
                              "bbb",
                              "angi",
                              "thumbtack",
                              "trustpilot"
                            ]
                          },
                          "name": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "looked": {
                            "type": "boolean"
                          },
                          "states": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "found": {
                            "type": "integer"
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "site",
                          "name",
                          "kind",
                          "looked",
                          "states",
                          "found",
                          "why"
                        ]
                      }
                    },
                    "taken": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "site": {
                            "type": "string",
                            "enum": [
                              "g2",
                              "capterra",
                              "software-advice",
                              "trustradius",
                              "gartner",
                              "producthunt",
                              "glassdoor",
                              "indeed",
                              "ambitionbox",
                              "yelp",
                              "bbb",
                              "angi",
                              "thumbtack",
                              "trustpilot"
                            ]
                          },
                          "kind": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "page": {
                            "type": "string"
                          },
                          "title": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "website": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "town": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "id": {
                            "type": "string"
                          },
                          "added": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "site",
                          "kind",
                          "value",
                          "page",
                          "title",
                          "website",
                          "phone",
                          "town",
                          "id",
                          "added"
                        ]
                      }
                    },
                    "proposed": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "site": {
                            "type": "string",
                            "enum": [
                              "g2",
                              "capterra",
                              "software-advice",
                              "trustradius",
                              "gartner",
                              "producthunt",
                              "glassdoor",
                              "indeed",
                              "ambitionbox",
                              "yelp",
                              "bbb",
                              "angi",
                              "thumbtack",
                              "trustpilot"
                            ]
                          },
                          "kind": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "page": {
                            "type": "string"
                          },
                          "title": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "website": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "town": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "id": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "proposed",
                              "struck"
                            ]
                          },
                          "added": {
                            "type": "boolean"
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "site",
                          "kind",
                          "value",
                          "page",
                          "title",
                          "website",
                          "phone",
                          "town",
                          "id",
                          "state",
                          "added",
                          "why"
                        ]
                      }
                    },
                    "left_out": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "site": {
                            "type": "string",
                            "enum": [
                              "g2",
                              "capterra",
                              "software-advice",
                              "trustradius",
                              "gartner",
                              "producthunt",
                              "glassdoor",
                              "indeed",
                              "ambitionbox",
                              "yelp",
                              "bbb",
                              "angi",
                              "thumbtack",
                              "trustpilot"
                            ]
                          },
                          "kind": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "page": {
                            "type": "string"
                          },
                          "title": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "website": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "town": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "why": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "site",
                          "kind",
                          "value",
                          "page",
                          "title",
                          "website",
                          "phone",
                          "town",
                          "why"
                        ]
                      }
                    },
                    "cost": {
                      "type": "object",
                      "properties": {
                        "usd": {
                          "type": "number"
                        },
                        "searches": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "usd",
                        "searches"
                      ]
                    }
                  },
                  "required": [
                    "company",
                    "domains",
                    "sites",
                    "taken",
                    "proposed",
                    "left_out",
                    "cost"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Links"
        ],
        "x-mint": {
          "content": "**MCP tool:** `find_profiles`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/rivals": {
      "get": {
        "operationId": "listCompanyRivals",
        "summary": "A company's rivals, with which are confirmed",
        "description": "A company's rivals, confirmed first: each with its id and name, its state (`proposed`, `confirmed` or `struck`), the page that shows they compete, when it was decided, and who decides next (`waits_for`). A confirmed rival is read beside its target, and the number tools compare the two.\n\n**Before:** The company is one your team may see.\n\n**Next:** Show each proposed rival and its page to a person: on their yes, `POST /companies/{id}/rivals/{rival}/confirm`. A confirmed rival's own links are proposed and confirmed as a target's are, at `/companies/{rival}/links`.\n\n**Limits:** Every rival at once, no pages. A company your team can't see is a `404`.",
        "x-mcp-tool": "company_rivals",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/rivals' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Its rivals, confirmed first",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "rival": {
                            "id": "bluebird-dental",
                            "name": "Bluebird Dental"
                          },
                          "state": "confirmed",
                          "evidence": "https://bluebird-dental.example/locations",
                          "decided_at": "2026-11-12T16:02:00.000Z",
                          "waits_for": null
                        },
                        {
                          "rival": {
                            "id": "harbor-smiles",
                            "name": "Harbor Smiles"
                          },
                          "state": "proposed",
                          "evidence": "https://harbor-smiles.example/",
                          "decided_at": null,
                          "waits_for": "team"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "rival": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "proposed",
                              "confirmed",
                              "struck"
                            ]
                          },
                          "evidence": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "decided_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "waits_for": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "enum": [
                              "team",
                              "poddata",
                              null
                            ]
                          },
                          "filled": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "enum": [
                                "why",
                                "evidence"
                              ]
                            }
                          }
                        },
                        "required": [
                          "rival",
                          "state",
                          "evidence",
                          "decided_at",
                          "waits_for"
                        ]
                      }
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Rivals"
        ],
        "x-mint": {
          "content": "**MCP tool:** `company_rivals`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      },
      "post": {
        "operationId": "proposeCompanyRival",
        "summary": "Proposes a rival for one of the team’s targets, for a person to confirm",
        "description": "Proposes a rival you know of for one of your targets: `rival`, a company any `/companies/{id}` takes, or `name` and `domain` for one PodData doesn't hold, which PodData then holds as a rival with its domain proposed. Add `why` and `evidence`, the page that shows they compete. `201` with the pair proposed, or `200` with it as it stands. A pair still proposed takes the `why` and the page you give where it has none, as a rival PodData seeded with no page does, and `filled` says which it took; a `why` or a page it has is kept, and a pair confirmed or struck isn't changed.\n\n**Before:** The company is one of your targets. To have PodData find and test candidates instead, use `POST /targets/{company}/rivals/find`.\n\n**Next:** Show the person the rival and its page: on their yes, `POST /companies/{id}/rivals/{rival}/confirm`. Then confirm the rival's own domain at `/companies/{rival}/links`, so it's read beside the target.\n\n**Limits:** A domain confirmed for a company your team can't see is a `409`, which says how to add it by name and domain instead.",
        "x-mcp-tool": "propose_rival",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/companies/northwind-dental/rivals' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"name\":\"Bluebird Dental\",\"domain\":\"bluebird-dental.example\",\"why\":\"General dentistry clinics in the same three towns\",\"evidence\":\"https://bluebird-dental.example/locations\"}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "name": "Bluebird Dental",
                    "domain": "bluebird-dental.example",
                    "why": "General dentistry clinics in the same three towns",
                    "evidence": "https://bluebird-dental.example/locations"
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "rival": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64,
                    "description": "A company any /companies/{id} takes"
                  },
                  "name": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 120,
                    "description": "Or, for a company PodData doesn't hold, its name"
                  },
                  "domain": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 253,
                    "description": "And its own domain, which goes in as a proposed link"
                  },
                  "why": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 500,
                    "description": "What makes it a rival, in a sentence"
                  },
                  "evidence": {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 2000,
                    "description": "The page that shows they compete"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Already its rival, proposed, confirmed or struck: as it stands",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "rival": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    },
                    "filled": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "why",
                          "evidence"
                        ]
                      }
                    }
                  },
                  "required": [
                    "rival",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "201": {
            "description": "Proposed",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "rival": {
                        "id": "bluebird-dental",
                        "name": "Bluebird Dental"
                      },
                      "state": "proposed",
                      "evidence": "https://bluebird-dental.example/locations",
                      "decided_at": null,
                      "waits_for": "team"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "rival": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    },
                    "filled": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "why",
                          "evidence"
                        ]
                      }
                    }
                  },
                  "required": [
                    "rival",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Rivals"
        ],
        "x-mint": {
          "content": "**MCP tool:** `propose_rival`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/rivals/{rival}/confirm": {
      "post": {
        "operationId": "confirmCompanyRival",
        "summary": "Confirms a target's rival",
        "description": "Confirms a target's rival, so it's read beside the target and the number tools compare the two. `200` with the pair confirmed.\n\n**Before:** A person has seen the rival and the page that shows they compete, and said yes. An assistant never confirms one on its own.\n\n**Next:** Confirm the rival's own links at `/companies/{rival}/links`, or propose them from its site with `POST /targets/{company}/find` and `{\"rival\": \"…\"}`. Then `POST /targets/{company}/read` with `{\"rivals\": true}` reads it with the target.\n\n**Limits:** A rival that isn't proposed for the target is a `404`.",
        "x-mcp-tool": "confirm_link",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/companies/northwind-dental/rivals/bluebird-dental/confirm' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The rival's company id"
            },
            "required": true,
            "description": "The rival's company id",
            "name": "rival",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Confirmed, or confirmed already",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "rival": {
                        "id": "bluebird-dental",
                        "name": "Bluebird Dental"
                      },
                      "state": "confirmed",
                      "evidence": "https://bluebird-dental.example/locations",
                      "decided_at": "2026-11-12T16:02:00.000Z",
                      "waits_for": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "rival": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    },
                    "filled": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "why",
                          "evidence"
                        ]
                      }
                    }
                  },
                  "required": [
                    "rival",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "202": {
            "description": "Left as it was, waiting for PodData's team, where PodData's own team decides",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "rival": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    },
                    "filled": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "why",
                          "evidence"
                        ]
                      }
                    }
                  },
                  "required": [
                    "rival",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Rivals"
        ],
        "x-mint": {
          "content": "**MCP tool:** `confirm_link`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/rivals/{rival}/strike": {
      "post": {
        "operationId": "strikeCompanyRival",
        "summary": "Strikes a target's rival, with why",
        "description": "Strikes a target's rival, with `why`: it sells something else, to other buyers, or elsewhere. It isn't read beside the target or compared with it from then on, and a later rival find doesn't test it again. `200` with the pair struck.\n\n**Before:** A person has said no to it.\n\n**Next:** Nothing. `GET /companies/{id}/rivals` lists the rest.\n\n**Limits:** A rival that isn't proposed for the target is a `404`.",
        "x-mcp-tool": "strike_link",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/companies/northwind-dental/rivals/harbor-smiles/strike' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"why\":\"Orthodontics only, for other buyers\"}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The rival's company id"
            },
            "required": true,
            "description": "The rival's company id",
            "name": "rival",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "why": "Orthodontics only, for other buyers"
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "why": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 500,
                    "description": "Why it was struck, in a sentence"
                  }
                },
                "required": [
                  "why"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Struck, or struck already",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "rival": {
                        "id": "harbor-smiles",
                        "name": "Harbor Smiles"
                      },
                      "state": "struck",
                      "evidence": "https://harbor-smiles.example/",
                      "decided_at": "2026-11-12T16:05:00.000Z",
                      "waits_for": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "rival": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    },
                    "filled": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "why",
                          "evidence"
                        ]
                      }
                    }
                  },
                  "required": [
                    "rival",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "202": {
            "description": "Left as it was, waiting for PodData's team, where PodData's own team decides",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "rival": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    },
                    "filled": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "why",
                          "evidence"
                        ]
                      }
                    }
                  },
                  "required": [
                    "rival",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Rivals"
        ],
        "x-mint": {
          "content": "**MCP tool:** `strike_link`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/targets/{company}/rivals/find": {
      "post": {
        "operationId": "findTargetRivals",
        "summary": "Finds one of the team's targets' rivals: candidates tested like for like from their own sites, only the rivals proposed",
        "description": "Finds one of your targets' rivals. PodData gathers candidates from your `list`, from the records it holds (a licensing board's other licensees, the same specialty in the same towns, the products a review site lists as alternatives to one of the target's listings), from stories and deals that name the target, and from the open web where that's on here; `sources` says where it looked. It reads each candidate's own site and has two models of different families say, blind to each other, what it sells, to whom and where, and so what it is to the target. Only a rival both agree on comes back in `proposed`; every other candidate comes back in `left_out` with its verdict and why (a supplier, a different buyer, a different product, another business of the same name, or unclear). `target.markets` is where the target serves, the towns of its own pages and confirmed listings where PodData holds them, which both reads are given beside `about`; each candidate's `held_against` names which of them it was held against. `overlap` says what the two firms share that no model said: industry codes, towns and words. `supported` is true only where they share a town, or an industry code other than a licensing board's: a board licenses every casino in its state, so its licence backs a rival only beside a town the two share. The words are listed for the person, but never take a rival alone. A rival with `supported: true` is taken at once, its `state` `confirmed` and its own domain with it. One with `supported: false`, which only the models' reading backs, stays `proposed` for a person.\n\n**Before:** The company is one of your targets. Give `about`, what it sells, to whom and where, if its own site can't be read: a site that doesn't answer, or refuses PodData, is a `400` that asks for it. Its robots.txt and its terms don't keep it unread, nor a candidate's, on Rushabh's call of Nov 25, 2026.\n\n**Next:** Show a person what was taken and what stayed proposed, each with its page and why. They confirm a proposed rival with `POST /companies/{id}/rivals/{rival}/confirm`, and strike a wrong one, taken or proposed, with `POST /companies/{id}/rivals/{rival}/strike`.\n\n**Limits:** At most 15 candidates tested an ask, your list first; the rest come back in `not_tested`. A model call past today's spending cap isn't made: `stopped` then says so, with when to ask again (`until`, the next midnight UTC) and how many weren't tested, each in `not_tested` too; it's null where the cap held none back. As many asks a UTC day as the plan's rival finds, none on Free and Pro, 3 on Pilot, and no limit on Enterprise; past it, a `403` with the code `plan`. `cost` says what the ask spent. A rival confirmed or struck already isn't tested again.",
        "x-mcp-tool": "find_rivals",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/targets/northwind-dental/rivals/find' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"list\":[{\"name\":\"Bluebird Dental\",\"domain\":\"bluebird-dental.example\"},{\"name\":\"Summit Dental Supply\",\"domain\":\"summit-dental-supply.example\"}],\"from\":[\"list\"]}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "company",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "list": [
                      {
                        "name": "Bluebird Dental",
                        "domain": "bluebird-dental.example"
                      },
                      {
                        "name": "Summit Dental Supply",
                        "domain": "summit-dental-supply.example"
                      }
                    ],
                    "from": [
                      "list"
                    ]
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "list": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 2,
                          "maxLength": 120
                        },
                        "domain": {
                          "type": "string",
                          "minLength": 3,
                          "maxLength": 253
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    "maxItems": 40,
                    "description": "Candidates the caller gives, each a name and, where known, its own domain. At most 15 are tested an ask"
                  },
                  "about": {
                    "type": "string",
                    "minLength": 10,
                    "maxLength": 500,
                    "description": "What the target sells, to whom and where, in a sentence: read from its own site when left out"
                  },
                  "from": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "list",
                        "records",
                        "news",
                        "web"
                      ]
                    },
                    "minItems": 1,
                    "description": "Where to look: list, records, news and web. All of them if left out"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "What it found: the rivals taken or proposed, and every other candidate left out with why",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "target": {
                        "about": "General and cosmetic dentistry for families, at three clinics in Riverside County, California",
                        "from": "site",
                        "page": "https://northwind-dental.example/",
                        "markets": {
                          "states": [
                            {
                              "state": "CA",
                              "towns": [
                                "Corona",
                                "Riverside",
                                "Temecula"
                              ]
                            }
                          ],
                          "country": null
                        }
                      },
                      "stopped": null,
                      "proposed": [
                        {
                          "name": "Bluebird Dental",
                          "domain": "bluebird-dental.example",
                          "site": null,
                          "found": {
                            "from": "list",
                            "source": null,
                            "why": "On your list",
                            "url": null
                          },
                          "verdict": "rival",
                          "sells": "General and cosmetic dentistry",
                          "to": "Families and adults",
                          "where": "Riverside and Corona, California",
                          "line": "General and cosmetic dentistry",
                          "shows": {
                            "words": "Family dentistry in Riverside and Corona, with same-day crowns and cleanings for all ages.",
                            "page": "https://bluebird-dental.example/"
                          },
                          "reads": [
                            {
                              "model": "first model",
                              "verdict": "rival",
                              "why": "The same care for the same patients in the same towns."
                            },
                            {
                              "model": "second model",
                              "verdict": "rival",
                              "why": "General dentistry in two of the target’s towns."
                            }
                          ],
                          "overlap": {
                            "codes": [
                              "NPI specialty 1223G0001X"
                            ],
                            "towns": [
                              "Riverside"
                            ],
                            "terms": [
                              "crowns",
                              "cleanings",
                              "family"
                            ],
                            "supported": true
                          },
                          "held_against": {
                            "states": [
                              "CA"
                            ],
                            "towns": [
                              "Corona, CA",
                              "Riverside, CA",
                              "Temecula, CA"
                            ],
                            "country": null
                          },
                          "why": "Both reads say it sells general dentistry to families in Riverside.",
                          "rival": {
                            "id": "bluebird-dental",
                            "name": "Bluebird Dental"
                          },
                          "state": "confirmed",
                          "added": true,
                          "comparable": null
                        }
                      ],
                      "left_out": [
                        {
                          "name": "Summit Dental Supply",
                          "domain": "summit-dental-supply.example",
                          "site": null,
                          "found": {
                            "from": "list",
                            "source": null,
                            "why": "On your list",
                            "url": null
                          },
                          "verdict": "supplier",
                          "sells": "Instruments and consumables for dental practices",
                          "to": "Dental practices",
                          "where": "The United States",
                          "line": null,
                          "shows": {
                            "words": "Everything your practice needs, from impression trays to autoclaves, shipped next day.",
                            "page": "https://summit-dental-supply.example/"
                          },
                          "reads": [
                            {
                              "model": "first model",
                              "verdict": "supplier",
                              "why": "It sells to practices like the target."
                            },
                            {
                              "model": "second model",
                              "verdict": "supplier",
                              "why": "A distributor to dental offices."
                            }
                          ],
                          "overlap": {
                            "codes": [],
                            "towns": [],
                            "terms": [],
                            "supported": false
                          },
                          "held_against": {
                            "states": [
                              "CA"
                            ],
                            "towns": [],
                            "country": null
                          },
                          "why": "It supplies dental practices, so it isn’t a rival."
                        }
                      ],
                      "decided": [],
                      "not_tested": [],
                      "not_candidates": [],
                      "sources": [
                        {
                          "from": "list",
                          "looked": true,
                          "found": 2,
                          "why": null
                        },
                        {
                          "from": "records",
                          "looked": false,
                          "found": 0,
                          "why": "Not asked for"
                        },
                        {
                          "from": "news",
                          "looked": false,
                          "found": 0,
                          "why": "Not asked for"
                        },
                        {
                          "from": "web",
                          "looked": false,
                          "found": 0,
                          "why": "Not asked for"
                        }
                      ],
                      "cost": {
                        "usd": 0.03,
                        "model_calls": 4,
                        "searches": 0,
                        "pages": 7
                      },
                      "asked_today": 1,
                      "limit": 3
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "target": {
                      "type": "object",
                      "properties": {
                        "about": {
                          "type": "string"
                        },
                        "from": {
                          "type": "string",
                          "enum": [
                            "caller",
                            "site"
                          ]
                        },
                        "page": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "markets": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "states": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "state": {
                                    "type": "string"
                                  },
                                  "towns": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "required": [
                                  "state",
                                  "towns"
                                ]
                              }
                            },
                            "country": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "states",
                            "country"
                          ]
                        }
                      },
                      "required": [
                        "about",
                        "from",
                        "page",
                        "markets"
                      ]
                    },
                    "stopped": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "why": {
                          "type": "string"
                        },
                        "until": {
                          "type": "string"
                        },
                        "untested": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "why",
                        "until",
                        "untested"
                      ]
                    },
                    "proposed": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "domain": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "site": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "found": {
                            "type": "object",
                            "properties": {
                              "from": {
                                "type": "string",
                                "enum": [
                                  "list",
                                  "records",
                                  "news",
                                  "web"
                                ]
                              },
                              "source": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "why": {
                                "type": "string"
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "from",
                              "source",
                              "why",
                              "url"
                            ]
                          },
                          "verdict": {
                            "type": "string",
                            "enum": [
                              "rival",
                              "supplier",
                              "different_buyer",
                              "different_product",
                              "same_name",
                              "unclear"
                            ]
                          },
                          "sells": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "to": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "where": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "line": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "shows": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "words": {
                                "type": "string"
                              },
                              "page": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "words",
                              "page"
                            ]
                          },
                          "reads": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "model": {
                                  "type": "string"
                                },
                                "verdict": {
                                  "type": "string",
                                  "enum": [
                                    "rival",
                                    "supplier",
                                    "different_buyer",
                                    "different_product",
                                    "same_name",
                                    "unclear"
                                  ]
                                },
                                "why": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "model",
                                "verdict",
                                "why"
                              ]
                            }
                          },
                          "overlap": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "codes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "towns": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "terms": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "supported": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "codes",
                              "towns",
                              "terms",
                              "supported"
                            ]
                          },
                          "held_against": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "states": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "towns": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "country": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "states",
                              "towns",
                              "country"
                            ]
                          },
                          "why": {
                            "type": "string"
                          },
                          "rival": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "proposed",
                              "confirmed",
                              "struck"
                            ]
                          },
                          "added": {
                            "type": "boolean"
                          },
                          "comparable": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "state": {
                                "type": "string",
                                "enum": [
                                  "proposed",
                                  "confirmed",
                                  "struck"
                                ]
                              },
                              "added": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "state",
                              "added"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "domain",
                          "site",
                          "found",
                          "verdict",
                          "sells",
                          "to",
                          "where",
                          "line",
                          "shows",
                          "reads",
                          "overlap",
                          "held_against",
                          "why",
                          "rival",
                          "state",
                          "added",
                          "comparable"
                        ]
                      }
                    },
                    "left_out": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "domain": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "site": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "found": {
                            "type": "object",
                            "properties": {
                              "from": {
                                "type": "string",
                                "enum": [
                                  "list",
                                  "records",
                                  "news",
                                  "web"
                                ]
                              },
                              "source": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "why": {
                                "type": "string"
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "from",
                              "source",
                              "why",
                              "url"
                            ]
                          },
                          "verdict": {
                            "type": "string",
                            "enum": [
                              "rival",
                              "supplier",
                              "different_buyer",
                              "different_product",
                              "same_name",
                              "unclear"
                            ]
                          },
                          "sells": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "to": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "where": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "line": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "shows": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "words": {
                                "type": "string"
                              },
                              "page": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "words",
                              "page"
                            ]
                          },
                          "reads": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "model": {
                                  "type": "string"
                                },
                                "verdict": {
                                  "type": "string",
                                  "enum": [
                                    "rival",
                                    "supplier",
                                    "different_buyer",
                                    "different_product",
                                    "same_name",
                                    "unclear"
                                  ]
                                },
                                "why": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "model",
                                "verdict",
                                "why"
                              ]
                            }
                          },
                          "overlap": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "codes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "towns": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "terms": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "supported": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "codes",
                              "towns",
                              "terms",
                              "supported"
                            ]
                          },
                          "held_against": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "states": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "towns": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "country": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "states",
                              "towns",
                              "country"
                            ]
                          },
                          "why": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "domain",
                          "site",
                          "found",
                          "verdict",
                          "sells",
                          "to",
                          "where",
                          "line",
                          "shows",
                          "reads",
                          "overlap",
                          "held_against",
                          "why"
                        ]
                      }
                    },
                    "decided": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "rival": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "confirmed",
                              "struck"
                            ]
                          }
                        },
                        "required": [
                          "rival",
                          "state"
                        ]
                      }
                    },
                    "not_tested": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "domain": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "found": {
                            "type": "object",
                            "properties": {
                              "from": {
                                "type": "string",
                                "enum": [
                                  "list",
                                  "records",
                                  "news",
                                  "web"
                                ]
                              },
                              "source": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "why": {
                                "type": "string"
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "from",
                              "source",
                              "why",
                              "url"
                            ]
                          },
                          "why": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "domain",
                          "found",
                          "why"
                        ]
                      }
                    },
                    "not_candidates": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "found": {
                            "type": "object",
                            "properties": {
                              "from": {
                                "type": "string",
                                "enum": [
                                  "list",
                                  "records",
                                  "news",
                                  "web"
                                ]
                              },
                              "source": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "why": {
                                "type": "string"
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "from",
                              "source",
                              "why",
                              "url"
                            ]
                          },
                          "tie": {
                            "type": "string",
                            "enum": [
                              "owner",
                              "investor",
                              "retailer_or_customer",
                              "supplier",
                              "subsidiary"
                            ]
                          },
                          "why": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "found",
                          "tie",
                          "why"
                        ]
                      }
                    },
                    "sources": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "from": {
                            "type": "string",
                            "enum": [
                              "list",
                              "records",
                              "news",
                              "web"
                            ]
                          },
                          "looked": {
                            "type": "boolean"
                          },
                          "found": {
                            "type": "integer"
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "from",
                          "looked",
                          "found",
                          "why"
                        ]
                      }
                    },
                    "cost": {
                      "type": "object",
                      "properties": {
                        "usd": {
                          "type": "number"
                        },
                        "model_calls": {
                          "type": "integer"
                        },
                        "searches": {
                          "type": "integer"
                        },
                        "pages": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "usd",
                        "model_calls",
                        "searches",
                        "pages"
                      ]
                    },
                    "asked_today": {
                      "type": "integer"
                    },
                    "limit": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "company",
                    "target",
                    "stopped",
                    "proposed",
                    "left_out",
                    "decided",
                    "not_tested",
                    "not_candidates",
                    "sources",
                    "cost",
                    "asked_today",
                    "limit"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Rivals"
        ],
        "x-mint": {
          "content": "**MCP tool:** `find_rivals`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/relations": {
      "get": {
        "operationId": "listCompanyRelations",
        "summary": "A company's listed parent and comparables, and its subsidiaries, with which are confirmed",
        "description": "A company's listed parent and comparables, and the companies it owns or runs (`subsidiary`), confirmed first: each with its id and name, its `kind`, its state (`proposed`, `confirmed` or `struck`), the page that shows it, when it was decided, and who decides next (`waits_for`). A confirmed parent or comparable is read beside the target, and the number tools use it. A confirmed subsidiary is the target's own family: a report on the target may draw on its figures, combined with the target's or apart.\n\n**Before:** The company is one your team may see.\n\n**Next:** Show each one still proposed and its page to a person: on their yes, `POST /companies/{id}/relations/{other}/confirm`. Strike a wrong one with `POST /companies/{id}/relations/{other}/strike`.\n\n**Limits:** Every relation at once, no pages. A company your team can't see is a `404`.",
        "x-mcp-tool": "company_relations",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/relations' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Its listed parent and comparables, confirmed first",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "other": {
                            "id": "harbor-holdings",
                            "name": "Harbor Holdings"
                          },
                          "kind": "parent",
                          "state": "confirmed",
                          "evidence": "https://northwind-dental.example/about",
                          "decided_at": "2026-11-12T16:02:00.000Z",
                          "waits_for": null
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "other": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "parent",
                              "comparable",
                              "subsidiary"
                            ]
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "proposed",
                              "confirmed",
                              "struck"
                            ]
                          },
                          "evidence": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "decided_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "waits_for": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "enum": [
                              "team",
                              "poddata",
                              null
                            ]
                          }
                        },
                        "required": [
                          "other",
                          "kind",
                          "state",
                          "evidence",
                          "decided_at",
                          "waits_for"
                        ]
                      }
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Parents and comparables"
        ],
        "x-mint": {
          "content": "**MCP tool:** `company_relations`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      },
      "post": {
        "operationId": "proposeCompanyRelation",
        "summary": "Proposes a target's listed parent or comparable, taken at once where its test allows, or its subsidiary, for a person to confirm",
        "description": "Proposes a listed company as one of your target's parent or comparables. A `parent` is taken at once when `evidence` is a page of the target's own site, at a confirmed domain, that names the parent, or a filing of the parent's own, held by PodData, that names the target. A `comparable` is taken at once when it's held with its SEC filer number and `find_rivals`' test took it as the target's rival. A `subsidiary`, a company the target owns or runs, listed or not, always stays `proposed` for a person, with the page that shows it: the target's own list of its practices or brands, or the subsidiary's own footer. Anything else stays `proposed`, and `why_waiting` says why. `201` with the relation, or `200` with it as it stands.\n\n**Before:** The company is one of your targets, and the other is a company PodData holds: `GET /companies?q=` finds one, and `POST /targets` with a ticker adds a listed filer.\n\n**Next:** A confirmed parent or comparable is read beside the target from the next run. Show a person what was taken. Strike a wrong one with `POST /companies/{id}/relations/{other}/strike`. For a comparable that waits on the rival test, send it to `POST /targets/{company}/rivals/find` in `list`.\n\n**Limits:** Reading the target's own site for a parent reads past its robots.txt and terms, on Rushabh's call of Nov 25, 2026; a page that doesn't answer or refuses PodData leaves the parent proposed. Nothing here holds a report's run.",
        "x-mcp-tool": "propose_relation",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/companies/northwind-dental/relations' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"other\":\"harbor-holdings\",\"kind\":\"parent\",\"evidence\":\"https://northwind-dental.example/about\"}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "other": "harbor-holdings",
                    "kind": "parent",
                    "evidence": "https://northwind-dental.example/about"
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "other": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64,
                    "description": "The listed company: any company `/companies/{id}` takes"
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "parent",
                      "comparable",
                      "subsidiary"
                    ],
                    "description": "`parent`, the listed company that owns the target; `comparable`, a listed company it is compared with; or `subsidiary`, a company the target owns or runs, listed or not"
                  },
                  "why": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 500,
                    "description": "What makes it so, in a sentence"
                  },
                  "evidence": {
                    "type": "string",
                    "maxLength": 2000,
                    "format": "uri",
                    "description": "The page that shows it. For a parent: a page of the target's own site at a confirmed domain that names the parent, or a filing of the parent's that names the target"
                  }
                },
                "required": [
                  "other",
                  "kind"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Already there: as it stands, and taken now if its test allows",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "other": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "parent",
                        "comparable",
                        "subsidiary"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    },
                    "why_waiting": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "other",
                    "kind",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for",
                    "why_waiting"
                  ]
                }
              }
            }
          },
          "201": {
            "description": "Added",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "other": {
                        "id": "harbor-holdings",
                        "name": "Harbor Holdings"
                      },
                      "kind": "parent",
                      "state": "confirmed",
                      "evidence": "https://northwind-dental.example/about",
                      "decided_at": "2026-11-12T16:02:00.000Z",
                      "waits_for": null,
                      "why_waiting": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "other": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "parent",
                        "comparable",
                        "subsidiary"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    },
                    "why_waiting": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "other",
                    "kind",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for",
                    "why_waiting"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Parents and comparables"
        ],
        "x-mint": {
          "content": "**MCP tool:** `propose_relation`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/relations/{other}/confirm": {
      "post": {
        "operationId": "confirmCompanyRelation",
        "summary": "Confirms a target's listed parent or comparable",
        "description": "Confirms a target's listed parent or comparable that stayed proposed, so it's read beside the target and the number tools use it. `200` with the relation confirmed.\n\n**Before:** A person has seen it and the page that shows it, and said yes. An assistant never confirms one on its own.\n\n**Next:** `POST /targets/{company}/read` reads the target now.\n\n**Limits:** A relation that isn't proposed for the target is a `404`.",
        "x-mcp-tool": "confirm_link",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/companies/northwind-dental/relations/harbor-holdings/confirm' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"kind\":\"parent\"}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The listed company's id"
            },
            "required": true,
            "description": "The listed company's id",
            "name": "other",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "kind": "parent"
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "parent",
                      "comparable",
                      "subsidiary"
                    ],
                    "description": "`parent`, the listed company that owns the target; `comparable`, a listed company it is compared with; or `subsidiary`, a company the target owns or runs, listed or not"
                  },
                  "evidence": {
                    "type": "string",
                    "maxLength": 2000,
                    "format": "uri",
                    "description": "The page that shows it"
                  }
                },
                "required": [
                  "kind"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Confirmed, or confirmed already",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "other": {
                        "id": "harbor-holdings",
                        "name": "Harbor Holdings"
                      },
                      "kind": "parent",
                      "state": "confirmed",
                      "evidence": "https://northwind-dental.example/about",
                      "decided_at": "2026-11-12T16:02:00.000Z",
                      "waits_for": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "other": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "parent",
                        "comparable",
                        "subsidiary"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    }
                  },
                  "required": [
                    "other",
                    "kind",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "202": {
            "description": "Left as it was, waiting for PodData's team, where PodData's own team decides",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "other": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "parent",
                        "comparable",
                        "subsidiary"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    }
                  },
                  "required": [
                    "other",
                    "kind",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Parents and comparables"
        ],
        "x-mint": {
          "content": "**MCP tool:** `confirm_link`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/relations/{other}/strike": {
      "post": {
        "operationId": "strikeCompanyRelation",
        "summary": "Strikes a target's listed parent or comparable, with why",
        "description": "Strikes a target's listed parent or comparable, taken or proposed, with `why`. It isn't read beside the target from then on, and it and what was read through it, such as a parent's own releases, leave the number tools. `200` with the relation struck.\n\n**Before:** A person has said no to it.\n\n**Next:** Nothing. `GET /companies/{id}/relations` lists the rest.\n\n**Limits:** A relation that isn't proposed for the target is a `404`.",
        "x-mcp-tool": "strike_link",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/companies/northwind-dental/relations/harbor-holdings/strike' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"kind\":\"parent\",\"why\":\"It sold the company in 2024\"}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The listed company's id"
            },
            "required": true,
            "description": "The listed company's id",
            "name": "other",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "kind": "parent",
                    "why": "It sold the company in 2024"
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "parent",
                      "comparable",
                      "subsidiary"
                    ],
                    "description": "`parent`, the listed company that owns the target; `comparable`, a listed company it is compared with; or `subsidiary`, a company the target owns or runs, listed or not"
                  },
                  "why": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 500,
                    "description": "Why it was struck, in a sentence"
                  }
                },
                "required": [
                  "kind",
                  "why"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Struck, or struck already",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "other": {
                        "id": "harbor-holdings",
                        "name": "Harbor Holdings"
                      },
                      "kind": "parent",
                      "state": "struck",
                      "evidence": "https://northwind-dental.example/about",
                      "decided_at": "2026-11-12T16:05:00.000Z",
                      "waits_for": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "other": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "parent",
                        "comparable",
                        "subsidiary"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    }
                  },
                  "required": [
                    "other",
                    "kind",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "202": {
            "description": "Left as it was, waiting for PodData's team, where PodData's own team decides",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "other": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "parent",
                        "comparable",
                        "subsidiary"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    }
                  },
                  "required": [
                    "other",
                    "kind",
                    "state",
                    "evidence",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Parents and comparables"
        ],
        "x-mint": {
          "content": "**MCP tool:** `strike_link`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/targets/{company}/coverage": {
      "get": {
        "operationId": "getTargetCoverage",
        "summary": "What has been read for one of the team's targets, source by source, and what's missing and why",
        "description": "Says what PodData has read for one of your targets, so a page can say how it was built: every source in the catalog and where it `stands` (`read`, `due`, `waiting` on a link, `off_here`, `by_request`, `not_read` or `not_built`), what each holds tied to the company over which days, how it was last read, and the known breaks in the window, with the same counted for each confirmed rival. A source not read yet says in its `why` what holds it: the cap its latest run stopped at, named, and when it opens; its share of a day's requests; its key; its turn behind the reads going now; or when it was asked. `read` says whether the read you last asked for is `going`, `done` or `held` by a day's cap, for the target and each rival, with each reader still to run.\n\n**Before:** The company is one of your targets (`POST /targets`), its links and rivals confirmed, and a read asked for with `POST /targets/{company}/read`.\n\n**Next:** While `read` is `going`, ask again in a few minutes. When it's `held`, come back when it opens or go on with what has run; when it's `done`, go on: the target's folder (`GET /targets/{company}/folder`) and a report (`POST /diligence-reports`).\n\n**Limits:** Your own targets only: another company is a `404`. A source held by a day's cap, or past its share of a day's requests, opens at the next midnight UTC, or at midnight Pacific for YouTube's quota and share; an ask lapses a day after it was made.",
        "x-mcp-tool": "target_coverage",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/targets/example-water/coverage' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "company",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 32,
              "description": "One family of sources, such as reviews or news"
            },
            "required": false,
            "description": "One family of sources, such as reviews or news",
            "name": "family",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The window the known breaks are read over, from; three years before `to` if left out"
            },
            "required": false,
            "description": "The window the known breaks are read over, from; three years before `to` if left out",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "And to; today if left out"
            },
            "required": false,
            "description": "And to; today if left out",
            "name": "to",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Every source in the catalog as it stands for the target, read first, and its confirmed rivals counted",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "company": {
                        "id": "example-water",
                        "name": "Example Water"
                      },
                      "window": {
                        "from": "2023-11-17",
                        "to": "2026-11-17"
                      },
                      "links": {
                        "confirmed": 3,
                        "proposed": 1,
                        "struck": 0
                      },
                      "kind": "consumer-product",
                      "counted": {
                        "read": 1,
                        "due": 0,
                        "waiting": 0,
                        "off_here": 0,
                        "by_request": 0,
                        "not_read": 0,
                        "not_built": 0
                      },
                      "sources": [
                        {
                          "id": "google-maps",
                          "name": "Google Maps reviews and listings",
                          "family": {
                            "id": "reviews",
                            "name": "Reviews"
                          },
                          "route": "Public page",
                          "cadence": "Weekly",
                          "stands": "read",
                          "why": null,
                          "needs": [
                            "google_place"
                          ],
                          "links": {
                            "confirmed": 2,
                            "proposed": 0
                          },
                          "holds": {
                            "records": 0,
                            "signals": 412,
                            "documents": 0,
                            "from": "2021-03-02",
                            "to": "2026-11-16"
                          },
                          "last_ok": "2026-11-16T09:15:00.000Z",
                          "last_run": {
                            "at": "2026-11-17T09:15:00.000Z",
                            "status": "capped"
                          },
                          "pull": {
                            "captured_at": "2026-11-16T09:15:00.000Z",
                            "sort": "newest",
                            "filter": null,
                            "method": "apify",
                            "total": 430,
                            "items": 412,
                            "held": 412
                          },
                          "breaks": []
                        }
                      ],
                      "read": {
                        "asked_at": "2026-11-17T09:00:00.000Z",
                        "until": "2026-11-18T09:00:00.000Z",
                        "state": "held",
                        "queued": 2,
                        "ran": 1,
                        "left": [
                          {
                            "id": "google-maps",
                            "name": "Google Maps reviews and listings",
                            "state": "held",
                            "why": "Its run for Example Water at 2026-11-17 09:15 UTC stopped at a day's cap: it reads Example Water again after midnight UTC.",
                            "opens": "2026-11-18T00:00:00.000Z"
                          }
                        ],
                        "why": "The read of Example Water asked for at 2026-11-17 09:00 UTC is held: Google Maps reviews and listings, until 2026-11-18 00:00 UTC. 1 of 2 readers have run; come back then, or go on with what has run."
                      },
                      "rivals": [
                        {
                          "company": {
                            "id": "example-springs",
                            "name": "Example Springs"
                          },
                          "links": {
                            "confirmed": 1,
                            "proposed": 0
                          },
                          "sources": [
                            {
                              "id": "gdelt",
                              "stands": "read",
                              "holds": {
                                "records": 0,
                                "signals": 9,
                                "documents": 0,
                                "from": "2025-02-11",
                                "to": "2026-11-12"
                              }
                            }
                          ],
                          "read": {
                            "asked_at": "2026-11-17T09:00:00.000Z",
                            "until": "2026-11-18T09:00:00.000Z",
                            "state": "done",
                            "queued": 1,
                            "ran": 1,
                            "left": [],
                            "why": "The read of Example Springs asked for at 2026-11-17 09:00 UTC is done: its reader has run since. Go on."
                          }
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "window": {
                      "type": "object",
                      "properties": {
                        "from": {
                          "type": "string"
                        },
                        "to": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "from",
                        "to"
                      ]
                    },
                    "links": {
                      "type": "object",
                      "properties": {
                        "confirmed": {
                          "type": "integer"
                        },
                        "proposed": {
                          "type": "integer"
                        },
                        "struck": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "confirmed",
                        "proposed",
                        "struck"
                      ]
                    },
                    "kind": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The kind of company the team's report names it, such as software or casino, which decides the sources that stand not_applicable; null before a plan names one. Always given, optional for a coverage read before it"
                    },
                    "counted": {
                      "type": "object",
                      "properties": {
                        "read": {
                          "type": "integer"
                        },
                        "due": {
                          "type": "integer"
                        },
                        "failed": {
                          "type": "integer",
                          "description": "Sources whose latest run failed with no read before it that ended well; always given, optional for a count made before it"
                        },
                        "waiting": {
                          "type": "integer"
                        },
                        "off_here": {
                          "type": "integer"
                        },
                        "by_request": {
                          "type": "integer"
                        },
                        "not_read": {
                          "type": "integer"
                        },
                        "not_built": {
                          "type": "integer"
                        },
                        "not_applicable": {
                          "type": "integer",
                          "description": "Sources that can't hold a company of the kind the team's report names; always given, optional for a count made before it"
                        }
                      },
                      "required": [
                        "read",
                        "due",
                        "waiting",
                        "off_here",
                        "by_request",
                        "not_read",
                        "not_built"
                      ]
                    },
                    "sources": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "family": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "route": {
                            "type": "string"
                          },
                          "cadence": {
                            "type": "string"
                          },
                          "stands": {
                            "type": "string",
                            "enum": [
                              "read",
                              "due",
                              "failed",
                              "waiting",
                              "off_here",
                              "by_request",
                              "not_read",
                              "not_built",
                              "not_applicable"
                            ]
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "needs": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "string"
                            }
                          },
                          "links": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "confirmed": {
                                "type": "integer"
                              },
                              "proposed": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "confirmed",
                              "proposed"
                            ]
                          },
                          "holds": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "records": {
                                "type": "integer"
                              },
                              "signals": {
                                "type": "integer"
                              },
                              "documents": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "records",
                              "signals",
                              "documents",
                              "from",
                              "to"
                            ]
                          },
                          "last_ok": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "last_run": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "at": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "running",
                                  "ok",
                                  "failed",
                                  "capped"
                                ]
                              }
                            },
                            "required": [
                              "at",
                              "status"
                            ]
                          },
                          "capped_until": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "When the cap its latest run stopped at lifts, the next midnight UTC (or Pacific, for YouTube); null where its latest run met no cap. Always given, optional for an answer kept before it"
                          },
                          "pull": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "captured_at": {
                                "type": "string"
                              },
                              "sort": {
                                "type": "string"
                              },
                              "filter": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "method": {
                                "type": "string"
                              },
                              "total": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "items": {
                                "type": "integer"
                              },
                              "held": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "captured_at",
                              "sort",
                              "filter",
                              "method",
                              "total",
                              "items",
                              "held"
                            ]
                          },
                          "breaks": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "sources": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "from": {
                                  "type": "string"
                                },
                                "to": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "approximate": {
                                  "type": "boolean"
                                },
                                "effect": {
                                  "type": "string",
                                  "enum": [
                                    "mark",
                                    "mask"
                                  ]
                                },
                                "what": {
                                  "type": "string"
                                },
                                "url": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "sources",
                                "from",
                                "to",
                                "approximate",
                                "effect",
                                "what",
                                "url"
                              ]
                            }
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "family",
                          "route",
                          "cadence",
                          "stands",
                          "why",
                          "needs",
                          "links",
                          "holds",
                          "last_ok",
                          "last_run",
                          "pull",
                          "breaks"
                        ]
                      }
                    },
                    "apify_month": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "used_usd": {
                          "type": "number"
                        },
                        "limit_usd": {
                          "type": "number"
                        },
                        "seen_at": {
                          "type": "string"
                        },
                        "source": {
                          "type": "string"
                        },
                        "words": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "used_usd",
                        "limit_usd",
                        "seen_at",
                        "source",
                        "words"
                      ],
                      "description": "Apify's month where a source's latest run met it full, so every reader through Apify waits; null where none did. Always given, optional for an answer kept before it"
                    },
                    "read": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "asked_at": {
                          "type": "string"
                        },
                        "until": {
                          "type": "string"
                        },
                        "state": {
                          "type": "string",
                          "enum": [
                            "going",
                            "done",
                            "held"
                          ]
                        },
                        "queued": {
                          "type": "integer"
                        },
                        "ran": {
                          "type": "integer"
                        },
                        "left": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "state": {
                                "type": "string",
                                "enum": [
                                  "going",
                                  "held"
                                ]
                              },
                              "why": {
                                "type": "string"
                              },
                              "opens": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "state",
                              "why",
                              "opens"
                            ]
                          }
                        },
                        "why": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "asked_at",
                        "until",
                        "state",
                        "queued",
                        "ran",
                        "left",
                        "why"
                      ]
                    },
                    "rivals": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "links": {
                            "type": "object",
                            "properties": {
                              "confirmed": {
                                "type": "integer"
                              },
                              "proposed": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "confirmed",
                              "proposed"
                            ]
                          },
                          "sources": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "stands": {
                                  "type": "string",
                                  "enum": [
                                    "read",
                                    "due",
                                    "failed",
                                    "waiting",
                                    "off_here",
                                    "by_request",
                                    "not_read",
                                    "not_built",
                                    "not_applicable"
                                  ]
                                },
                                "holds": {
                                  "type": "object",
                                  "properties": {
                                    "records": {
                                      "type": "integer"
                                    },
                                    "signals": {
                                      "type": "integer"
                                    },
                                    "documents": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "records",
                                    "signals",
                                    "documents",
                                    "from",
                                    "to"
                                  ]
                                },
                                "blocked": {
                                  "type": "string",
                                  "description": "Why its latest run for the rival, which ended well, read nothing to stand on, in its reader's words: given only then"
                                }
                              },
                              "required": [
                                "id",
                                "stands",
                                "holds"
                              ]
                            }
                          },
                          "read": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "asked_at": {
                                "type": "string"
                              },
                              "until": {
                                "type": "string"
                              },
                              "state": {
                                "type": "string",
                                "enum": [
                                  "going",
                                  "done",
                                  "held"
                                ]
                              },
                              "queued": {
                                "type": "integer"
                              },
                              "ran": {
                                "type": "integer"
                              },
                              "left": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "state": {
                                      "type": "string",
                                      "enum": [
                                        "going",
                                        "held"
                                      ]
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "opens": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "state",
                                    "why",
                                    "opens"
                                  ]
                                }
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "asked_at",
                              "until",
                              "state",
                              "queued",
                              "ran",
                              "left",
                              "why"
                            ]
                          }
                        },
                        "required": [
                          "company",
                          "links",
                          "sources",
                          "read"
                        ]
                      }
                    }
                  },
                  "required": [
                    "company",
                    "window",
                    "links",
                    "counted",
                    "sources",
                    "read",
                    "rivals"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Reads"
        ],
        "x-mint": {
          "content": "**MCP tool:** `target_coverage`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/targets/{company}/read": {
      "post": {
        "operationId": "readTargetNow",
        "summary": "Asks PodData to read one of the team's targets now, and its confirmed rivals with it if asked, ahead of each reader's cadence and under every cap",
        "description": "Asks PodData to read one of your targets now, rather than on each source's own cadence, which is a day or a week for most. Each source that reads through one of its confirmed links takes it first on its next run, within the quarter hour, under every cap. With `{\"rivals\": true}`, each confirmed rival is asked for too. A source that read it in the last day, with no link of its kinds decided since, isn't read again (`stands`); a run that was blocked, or made by an older version of its reader, doesn't stand. With `{\"force\": true}`, every source reads it again all the same, and `costs` says what each spends a call; with `sources`, only those are read. `202` with what was queued (`queued`, each source with how many links it reads) and what waits on a link no one has confirmed (`waiting`); `200` with nothing queued when no source here can read it yet, and then nothing is counted. While its category isn't set, `waits_for_category` names the readers of a category's names: they read them once `PUT /targets/{company}/category` sets it, which asks them then.\n\n**Before:** The company's links are confirmed, and its rivals', since a source reads only through a confirmed link.\n\n**Next:** `GET /targets/{company}/coverage` says when each source has run. Then `GET /targets/{company}/folder` lists the files.\n\n**Limits:** As many a UTC day as the plan's reads, none on Free and Pro, 10 on Pilot, and no limit on Enterprise, each rival counted as one, up to 20 rivals an ask; past it, a `403` with the code `plan`, and a rival past it comes back with why. A forced read counts as one too. An ask made already, as forced and for the same sources, that no source has run on yet is answered again with `again: true`, and not counted twice. A source stopped at its own cap, quota or daily share shows as `capped` in coverage, forced or not, and the ask stays for it until `until`, a day after it was made.",
        "x-mcp-tool": "read_target",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/targets/northwind-dental/read' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"rivals\":true}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "company",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "rivals": true
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "rivals": {
                    "type": "boolean",
                    "description": "Also read the target's confirmed rivals now, each counted as one of the day's reads"
                  },
                  "force": {
                    "type": "boolean",
                    "description": "Read again what ran in the last day, which an ask otherwise leaves standing; every cap still holds"
                  },
                  "sources": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64
                    },
                    "minItems": 1,
                    "maxItems": 60,
                    "description": "Read only these sources, by catalog id, for the target and any rivals asked"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Nothing to queue: no reader switched on here reads against a confirmed link of the company, or of its rivals",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "asked_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "until": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "again": {
                      "type": "boolean"
                    },
                    "queued": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "links": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "links"
                        ]
                      }
                    },
                    "waiting": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "needs": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "needs"
                        ]
                      }
                    },
                    "waits_for_category": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ]
                      }
                    },
                    "stands": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "read_at": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "read_at"
                        ]
                      }
                    },
                    "forced": {
                      "type": "boolean"
                    },
                    "sources": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "string"
                      }
                    },
                    "costs": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "usd": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "words": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "usd",
                          "words"
                        ]
                      }
                    },
                    "caps": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "day_cap_usd": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "spent_today_usd": {
                            "type": "number"
                          },
                          "left_usd": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "needs_usd": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "short": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "of": {
                                "type": "string"
                              },
                              "left_usd": {
                                "type": "number"
                              },
                              "needs_usd": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "of",
                              "left_usd",
                              "needs_usd"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "day_cap_usd",
                          "spent_today_usd",
                          "left_usd",
                          "needs_usd",
                          "short"
                        ]
                      }
                    },
                    "apify_month": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "used_usd": {
                          "type": "number"
                        },
                        "limit_usd": {
                          "type": "number"
                        },
                        "seen_at": {
                          "type": "string"
                        },
                        "source": {
                          "type": "string"
                        },
                        "words": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "used_usd",
                        "limit_usd",
                        "seen_at",
                        "source",
                        "words"
                      ]
                    },
                    "asked_today": {
                      "type": "integer"
                    },
                    "limit": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "rivals": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "asked_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "until": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "again": {
                            "type": "boolean"
                          },
                          "queued": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "links": {
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "links"
                              ]
                            }
                          },
                          "waiting": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "needs": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "needs"
                              ]
                            }
                          },
                          "stands": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "read_at": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "read_at"
                              ]
                            }
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "company",
                          "asked_at",
                          "until",
                          "again",
                          "queued",
                          "waiting",
                          "stands",
                          "why"
                        ]
                      }
                    }
                  },
                  "required": [
                    "company",
                    "asked_at",
                    "until",
                    "again",
                    "queued",
                    "waiting",
                    "waits_for_category",
                    "stands",
                    "forced",
                    "sources",
                    "costs",
                    "asked_today",
                    "limit",
                    "rivals"
                  ]
                }
              }
            }
          },
          "202": {
            "description": "Queued: each reader in `queued` reads it first on its next run",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "asked_at": "2026-11-12T16:10:00.000Z",
                      "until": "2026-11-13T16:10:00.000Z",
                      "again": false,
                      "queued": [
                        {
                          "id": "google-maps",
                          "name": "Google Maps reviews and listings",
                          "links": 3
                        },
                        {
                          "id": "nppes-npi",
                          "name": "CMS NPPES NPI registry",
                          "links": 1
                        }
                      ],
                      "waiting": [
                        {
                          "id": "yelp",
                          "name": "Yelp",
                          "needs": [
                            "yelp_business"
                          ]
                        }
                      ],
                      "waits_for_category": [],
                      "stands": [],
                      "forced": false,
                      "sources": null,
                      "costs": [],
                      "asked_today": 2,
                      "limit": 10,
                      "rivals": [
                        {
                          "company": {
                            "id": "bluebird-dental",
                            "name": "Bluebird Dental"
                          },
                          "asked_at": "2026-11-12T16:10:00.000Z",
                          "until": "2026-11-13T16:10:00.000Z",
                          "again": false,
                          "queued": [
                            {
                              "id": "google-maps",
                              "name": "Google Maps reviews and listings",
                              "links": 2
                            }
                          ],
                          "waiting": [],
                          "stands": [
                            {
                              "id": "gdelt",
                              "name": "GDELT DOC 2.0 news API",
                              "read_at": "2026-11-12T15:02:00.000Z"
                            }
                          ],
                          "why": null
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "asked_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "until": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "again": {
                      "type": "boolean"
                    },
                    "queued": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "links": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "links"
                        ]
                      }
                    },
                    "waiting": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "needs": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "needs"
                        ]
                      }
                    },
                    "waits_for_category": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ]
                      }
                    },
                    "stands": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "read_at": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "read_at"
                        ]
                      }
                    },
                    "forced": {
                      "type": "boolean"
                    },
                    "sources": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "string"
                      }
                    },
                    "costs": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "usd": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "words": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "usd",
                          "words"
                        ]
                      }
                    },
                    "caps": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "day_cap_usd": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "spent_today_usd": {
                            "type": "number"
                          },
                          "left_usd": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "needs_usd": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "short": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "of": {
                                "type": "string"
                              },
                              "left_usd": {
                                "type": "number"
                              },
                              "needs_usd": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "of",
                              "left_usd",
                              "needs_usd"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "day_cap_usd",
                          "spent_today_usd",
                          "left_usd",
                          "needs_usd",
                          "short"
                        ]
                      }
                    },
                    "apify_month": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "used_usd": {
                          "type": "number"
                        },
                        "limit_usd": {
                          "type": "number"
                        },
                        "seen_at": {
                          "type": "string"
                        },
                        "source": {
                          "type": "string"
                        },
                        "words": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "used_usd",
                        "limit_usd",
                        "seen_at",
                        "source",
                        "words"
                      ]
                    },
                    "asked_today": {
                      "type": "integer"
                    },
                    "limit": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "rivals": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "asked_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "until": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "again": {
                            "type": "boolean"
                          },
                          "queued": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "links": {
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "links"
                              ]
                            }
                          },
                          "waiting": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "needs": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "needs"
                              ]
                            }
                          },
                          "stands": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "read_at": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "read_at"
                              ]
                            }
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "company",
                          "asked_at",
                          "until",
                          "again",
                          "queued",
                          "waiting",
                          "stands",
                          "why"
                        ]
                      }
                    }
                  },
                  "required": [
                    "company",
                    "asked_at",
                    "until",
                    "again",
                    "queued",
                    "waiting",
                    "waits_for_category",
                    "stands",
                    "forced",
                    "sources",
                    "costs",
                    "asked_today",
                    "limit",
                    "rivals"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Reads"
        ],
        "x-mint": {
          "content": "**MCP tool:** `read_target`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/records": {
      "get": {
        "operationId": "listCompanyRecords",
        "summary": "Records tied to a company by a confirmed link, newest day first",
        "description": "Records PodData read about a company through its confirmed links, newest day first: filings, registrations, licences, inspections, cases, deals, stories and the like. Each has its source, its kind, its own day, a title, its fields, the people it names as the record writes them (`people`: a filing's officers and agents, a licence's qualifiers, a UCC filing's or a lien's debtors and secured parties who are people, a docket's parties who are people, each with their role, street, place, phone and email where it gives them), its own text whole, its page on the source's site, how many times it has changed, the link that ties it to the company, and the day PodData last read it. One whose page or file PodData keeps names its `document`, which reads whole. Narrow it with `source`, `kind`, `from` and `to`. With `format=csv`, one source's records of one kind come as a file, a column a field.\n\n**Before:** The company has the confirmed links its sources read through, and PodData has read them: `GET /targets/{company}/coverage` says which sources have.\n\n**Next:** Open one with `GET /records/{id}`, and what it said before with `GET /records/{id}/revisions`. For a page's figures, ask a number tool rather than adding up records.\n\n**Limits:** 20 a page, or `limit`, at most 100, with `next` as the cursor. A file is at most 10,000 rows, and the cursor for the rest comes in the `X-PodData-Next` header. A file needs `source`, and `kind` where that source holds more than one.",
        "x-mcp-tool": "company_records",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/records?source=nppes-npi&limit=1' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": false,
            "name": "source",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 40
            },
            "required": false,
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: one source's records as a file, a kind a file, at most 10,000 rows. It needs source, and kind where the source holds more than one. json: a page, the default"
            },
            "required": false,
            "description": "csv: one source's records as a file, a kind a file, at most 10,000 rows. It needs source, and kind where the source holds more than one. json: a page, the default",
            "name": "format",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of records, or with format=csv one source’s as a file",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "id": "rec_01JD9A2B3C4D00000000000000",
                          "source": "nppes-npi",
                          "kind": "organization",
                          "day": "2026-10-02",
                          "title": "Northwind Dental PC, Riverside",
                          "fields": {
                            "npi": "1999999901",
                            "specialty": "Dentist, General Practice",
                            "city": "Riverside",
                            "state": "CA",
                            "people": [
                              {
                                "name": "DR. MORGAN ELLIS DDS",
                                "role": "OWNER, DDS",
                                "phone": "9515550142"
                              }
                            ]
                          },
                          "people": [
                            {
                              "as": "named",
                              "name": "DR. MORGAN ELLIS DDS",
                              "role": "OWNER, DDS",
                              "phone": "9515550142"
                            }
                          ],
                          "text": null,
                          "url": "https://npiregistry.cms.hhs.gov/provider-view/1999999901",
                          "revisions": 1,
                          "link": "cln_01JD8X4K2Q1T00000000000000",
                          "read": "2026-11-14",
                          "document": null,
                          "raw": null,
                          "raws": []
                        }
                      ],
                      "next": "MjAyNi0xMC0wMg"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "source": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "title": {
                            "type": "string"
                          },
                          "fields": {
                            "type": "object",
                            "additionalProperties": {}
                          },
                          "people": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "as": {
                                  "type": "string",
                                  "enum": [
                                    "reviewer",
                                    "writer",
                                    "author",
                                    "coauthor",
                                    "tagged",
                                    "named"
                                  ]
                                },
                                "name": {
                                  "type": "string"
                                },
                                "handle": {
                                  "type": "string"
                                },
                                "role": {
                                  "type": "string"
                                },
                                "picture": {
                                  "type": "object",
                                  "properties": {
                                    "from": {
                                      "type": "string"
                                    },
                                    "copy_url": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "from"
                                  ]
                                },
                                "profile": {
                                  "type": "string"
                                },
                                "location": {
                                  "type": "string"
                                },
                                "badges": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "street": {
                                  "type": "string"
                                },
                                "phone": {
                                  "type": "string"
                                },
                                "email": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "as"
                              ]
                            }
                          },
                          "text": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": "string"
                          },
                          "revisions": {
                            "type": "integer"
                          },
                          "link": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "read": {
                            "type": "string"
                          },
                          "document": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "raw": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "raws": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "required": [
                          "id",
                          "source",
                          "kind",
                          "day",
                          "title",
                          "fields",
                          "text",
                          "url",
                          "revisions",
                          "link",
                          "read",
                          "document",
                          "raw",
                          "raws"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "next"
                  ]
                }
              },
              "text/csv": {
                "schema": {
                  "type": "string",
                  "description": "With format=csv: one source's records of one kind as a file, a column for each of their own fields"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Records and signals"
        ],
        "x-mint": {
          "content": "**MCP tool:** `company_records`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/records/{id}": {
      "get": {
        "operationId": "getRecord",
        "summary": "One record",
        "description": "One record, as `GET /companies/{id}/records` lists it. A record tied to no company, as most of a recall list or a breach list is, is answered to any team. A record whose page or file PodData keeps names it in `document`: a regulator's page or file, or a deal's party page, whole.\n\n**Before:** Its id, from a company's records, a folder's file or a number tool's evidence.\n\n**Next:** When `revisions` is above 0, `GET /records/{id}/revisions` says what it said before. Its `document` reads whole with `GET /documents/{id}/pages`.\n\n**Limits:** One a call. A record of a company your team can't see is a `404`.",
        "x-mcp-tool": "record_revisions",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/records/rec_01JD9A2B3C4D00000000000000' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The record",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "rec_01JD9A2B3C4D00000000000000",
                      "source": "nppes-npi",
                      "kind": "organization",
                      "day": "2026-10-02",
                      "title": "Northwind Dental PC, Riverside",
                      "fields": {
                        "npi": "1999999901",
                        "specialty": "Dentist, General Practice",
                        "city": "Riverside",
                        "state": "CA",
                        "people": [
                          {
                            "name": "DR. MORGAN ELLIS DDS",
                            "role": "OWNER, DDS",
                            "phone": "9515550142"
                          }
                        ]
                      },
                      "people": [
                        {
                          "as": "named",
                          "name": "DR. MORGAN ELLIS DDS",
                          "role": "OWNER, DDS",
                          "phone": "9515550142"
                        }
                      ],
                      "text": null,
                      "url": "https://npiregistry.cms.hhs.gov/provider-view/1999999901",
                      "revisions": 1,
                      "link": "cln_01JD8X4K2Q1T00000000000000",
                      "read": "2026-11-14",
                      "document": null,
                      "raw": null,
                      "raws": []
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "day": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "fields": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "people": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "as": {
                            "type": "string",
                            "enum": [
                              "reviewer",
                              "writer",
                              "author",
                              "coauthor",
                              "tagged",
                              "named"
                            ]
                          },
                          "name": {
                            "type": "string"
                          },
                          "handle": {
                            "type": "string"
                          },
                          "role": {
                            "type": "string"
                          },
                          "picture": {
                            "type": "object",
                            "properties": {
                              "from": {
                                "type": "string"
                              },
                              "copy_url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "from"
                            ]
                          },
                          "profile": {
                            "type": "string"
                          },
                          "location": {
                            "type": "string"
                          },
                          "badges": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "street": {
                            "type": "string"
                          },
                          "phone": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "as"
                        ]
                      }
                    },
                    "text": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "url": {
                      "type": "string"
                    },
                    "revisions": {
                      "type": "integer"
                    },
                    "link": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "read": {
                      "type": "string"
                    },
                    "document": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "raw": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "raws": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "required": [
                    "id",
                    "source",
                    "kind",
                    "day",
                    "title",
                    "fields",
                    "text",
                    "url",
                    "revisions",
                    "link",
                    "read",
                    "document",
                    "raw",
                    "raws"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Records and signals"
        ],
        "x-mint": {
          "content": "**MCP tool:** `record_revisions`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/records/{id}/revisions": {
      "get": {
        "operationId": "listRecordRevisions",
        "summary": "What a record said before, oldest first",
        "description": "What a record said before, oldest first: each earlier version's day, title, fields and text, with when PodData first read it saying so (`seen_from`) and when PodData read it saying something else (`seen_to`). A breach count revised downward, say, shows both counts.\n\n**Before:** The record's id, and its `revisions` above 0.\n\n**Next:** `GET /records/{id}` for the record as it stands now.\n\n**Limits:** Every version at once. A record of a company your team can't see is a `404`.",
        "x-mcp-tool": "record_revisions",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/records/rec_01JD9A2B3C4D00000000000000/revisions' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Its earlier versions",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "rev": 1,
                          "day": "2025-06-18",
                          "title": "Northwind Dental PC",
                          "fields": {
                            "npi": "1999999901",
                            "specialty": "Dentist, General Practice",
                            "city": "Riverside",
                            "state": "CA"
                          },
                          "text": null,
                          "seen_from": "2026-09-01T04:00:00.000Z",
                          "seen_to": "2026-10-15T04:00:00.000Z"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "rev": {
                            "type": "integer"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "title": {
                            "type": "string"
                          },
                          "fields": {
                            "type": "object",
                            "additionalProperties": {}
                          },
                          "text": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "seen_from": {
                            "type": "string"
                          },
                          "seen_to": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "rev",
                          "day",
                          "title",
                          "fields",
                          "text",
                          "seen_from",
                          "seen_to"
                        ]
                      }
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Records and signals"
        ],
        "x-mint": {
          "content": "**MCP tool:** `record_revisions`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/signals": {
      "get": {
        "operationId": "listCompanySignals",
        "summary": "Signals tied to a company by a confirmed link, newest day first, each with the pull it came from",
        "description": "Signals PodData read about a company through its confirmed links, newest day first: reviews, ratings, listings and counts. Each has its source, its kind, its own day, its rating or counts, its first 80 words and, where its reader keeps them, its words whole (`text`), a review's fields (the reviewer's company size and industry as the platform writes them among them, and on a G2, Capterra, Gartner Peer Insights or TrustRadius review their job title as the platform shows it, `job_title`) and what a model read in it once (`codes`: its praise and faults, the reviewer's job, what it switched from or to), the scores its reviewer gave by criterion in its `counts` (Capterra's `ease_of_use`, `customer_service`, `features`, `value_for_money`, each only where given), its page on the source's site, and the pull it came from: when it was read, in what order, by what method, and the platform's own total, rating and histogram, its own average of each score (`scores`) and the products it lists as alternatives (`alternatives`: Gartner Peer Insights' four, each with its slug, rating and count; Capterra's link to its page of them), which `POST /targets/{company}/rivals/find` tests as candidates. Each names its people as its platform shows them (`people`): a review's reviewer, with their name, handle, job title as their role, picture's address, profile, location and badges; a comment's writer; a post's or a thread's author, co-authors and the people it tags. Glassdoor, Indeed and AmbitionBox keep their reviewers anonymous, so theirs give no name, handle, picture or profile. A story whose page PodData keeps names its `document`, which reads whole. Narrow it with `source`, `kind`, `from` and `to`. With `format=csv`, one source's signals of one kind come as a file.\n\n**Before:** The company has the confirmed links its sources read through, and PodData has read them: `GET /targets/{company}/coverage` says which sources have.\n\n**Next:** For a rating, its share of low stars or what unhappy reviews complain about, ask a number tool, such as `GET /companies/{id}/numbers/rating`, rather than paging through reviews.\n\n**Limits:** 20 a page, or `limit`, at most 100. A file is at most 10,000 rows, with the cursor for the rest in `X-PodData-Next`. A review or retail source's file is given only for the platforms PodData hands on, and for the rest is a `403` that says why: read their signals here, a page at a time. A licensed history by day (Keepa's) shows only in the workspace's charts, by its licence's terms: here its listing signal carries the figures derived from it, and `kind=series` is a `403`.",
        "x-mcp-tool": "company_signals",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/signals?source=google-maps&limit=1' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": false,
            "name": "source",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 40
            },
            "required": false,
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: one source's signals as a file, a kind a file, at most 10,000 rows. It needs source, and kind where the source holds more than one. json: a page, the default"
            },
            "required": false,
            "description": "csv: one source's signals as a file, a kind a file, at most 10,000 rows. It needs source, and kind where the source holds more than one. json: a page, the default",
            "name": "format",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of signals, or with format=csv one source’s as a file",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "id": "sig_01JD9C5E6F7G00000000000000",
                          "source": "google-maps",
                          "kind": "review",
                          "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_made_up_riverside",
                          "day": "2026-11-09",
                          "rating": 2,
                          "counts": null,
                          "excerpt": "Waited forty minutes past my appointment and the front desk never said why.",
                          "text": "Waited forty minutes past my appointment and the front desk never said why. The cleaning itself was fine and the hygienist was kind, but nobody called to say the dentist was running late, and the bill had a charge I had been told was covered.",
                          "cut": null,
                          "fields": {
                            "reviewer": {
                              "name": "Jordan P.",
                              "picture": {
                                "from": "https://lh3.googleusercontent.com/a/made-up-picture=s120"
                              },
                              "profile": "https://www.google.com/maps/contrib/100000000000000000001",
                              "badges": [
                                "Local Guide · 23 reviews"
                              ]
                            },
                            "reply": "Jordan, we are sorry about the wait. Please call the office and we will look at the bill with you."
                          },
                          "people": [
                            {
                              "as": "reviewer",
                              "name": "Jordan P.",
                              "picture": {
                                "from": "https://lh3.googleusercontent.com/a/made-up-picture=s120"
                              },
                              "profile": "https://www.google.com/maps/contrib/100000000000000000001",
                              "badges": [
                                "Local Guide · 23 reviews"
                              ]
                            }
                          ],
                          "codes": {
                            "praise": [
                              "staff"
                            ],
                            "faults": [
                              "waits",
                              "billing"
                            ],
                            "label": "mixed",
                            "read": "2026-11-14",
                            "by": "model"
                          },
                          "document": null,
                          "raw": null,
                          "raws": [],
                          "media": null,
                          "pull": {
                            "captured_at": "2026-11-14T06:12:00.000Z",
                            "sort": "newest",
                            "filter": null,
                            "method": "vendor",
                            "total": 412,
                            "rating": 4.3,
                            "histogram": {
                              "1": 31,
                              "2": 18,
                              "3": 22,
                              "4": 61,
                              "5": 280
                            },
                            "scores": null,
                            "alternatives": null
                          }
                        }
                      ],
                      "next": "MjAyNi0xMS0wOQ"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "source": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "rating": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "counts": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": {
                              "type": "number"
                            }
                          },
                          "excerpt": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "text": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "cut": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "fields": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": {}
                          },
                          "people": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "as": {
                                  "type": "string",
                                  "enum": [
                                    "reviewer",
                                    "writer",
                                    "author",
                                    "coauthor",
                                    "tagged",
                                    "named"
                                  ]
                                },
                                "name": {
                                  "type": "string"
                                },
                                "handle": {
                                  "type": "string"
                                },
                                "role": {
                                  "type": "string"
                                },
                                "picture": {
                                  "type": "object",
                                  "properties": {
                                    "from": {
                                      "type": "string"
                                    },
                                    "copy_url": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "from"
                                  ]
                                },
                                "profile": {
                                  "type": "string"
                                },
                                "location": {
                                  "type": "string"
                                },
                                "badges": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "street": {
                                  "type": "string"
                                },
                                "phone": {
                                  "type": "string"
                                },
                                "email": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "as"
                              ]
                            }
                          },
                          "codes": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": {}
                          },
                          "document": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "raw": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "raws": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "media": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "image": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "video": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "poster": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "preview": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "image",
                              "video",
                              "poster",
                              "preview"
                            ]
                          },
                          "pull": {
                            "type": "object",
                            "properties": {
                              "captured_at": {
                                "type": "string"
                              },
                              "sort": {
                                "type": "string"
                              },
                              "filter": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "method": {
                                "type": "string"
                              },
                              "total": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "histogram": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {
                                  "type": "number"
                                }
                              },
                              "scores": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {
                                  "type": "number"
                                }
                              },
                              "alternatives": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "page": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "products": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "name": {
                                          "type": "string"
                                        },
                                        "id": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "page": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "rating": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "name",
                                        "id",
                                        "page",
                                        "rating",
                                        "reviews"
                                      ]
                                    }
                                  }
                                },
                                "required": [
                                  "page",
                                  "products"
                                ]
                              }
                            },
                            "required": [
                              "captured_at",
                              "sort",
                              "filter",
                              "method",
                              "total",
                              "rating",
                              "histogram",
                              "scores",
                              "alternatives"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "source",
                          "kind",
                          "url",
                          "day",
                          "rating",
                          "counts",
                          "excerpt",
                          "text",
                          "cut",
                          "fields",
                          "codes",
                          "document",
                          "raw",
                          "raws",
                          "media",
                          "pull"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "next"
                  ]
                }
              },
              "text/csv": {
                "schema": {
                  "type": "string",
                  "description": "With format=csv: one source's signals of one kind as a file, a column for each of their own counts"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Records and signals"
        ],
        "x-mint": {
          "content": "**MCP tool:** `company_signals`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/signals/{id}": {
      "get": {
        "operationId": "getSignal",
        "summary": "One signal, with the pull it was last seen in",
        "description": "One signal, with the pull it was last seen in, as `GET /companies/{id}/signals` lists it. A signal tied to no company is answered to any team. A story whose page PodData keeps names it in `document`: an outlet's article, whole as its words.\n\n**Before:** Its id, from a company's signals or a number tool's evidence.\n\n**Next:** The number tools put it among the company's others: `GET /companies/{id}/numbers/rating` for a review's. A story's `document` reads whole with `GET /documents/{id}/pages`.\n\n**Limits:** One a call. A signal of a company your team can't see is a `404`. A licensed history by day (Keepa's) is a `403`: its listing signal carries the figures derived from it.",
        "x-mcp-tool": "get_signal",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/signals/sig_01JD9C5E6F7G00000000000000' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The signal",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "sig_01JD9C5E6F7G00000000000000",
                      "source": "google-maps",
                      "kind": "review",
                      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_made_up_riverside",
                      "day": "2026-11-09",
                      "rating": 2,
                      "counts": null,
                      "excerpt": "Waited forty minutes past my appointment and the front desk never said why.",
                      "text": "Waited forty minutes past my appointment and the front desk never said why. The cleaning itself was fine and the hygienist was kind, but nobody called to say the dentist was running late, and the bill had a charge I had been told was covered.",
                      "cut": null,
                      "fields": {
                        "reviewer": {
                          "name": "Jordan P.",
                          "picture": {
                            "from": "https://lh3.googleusercontent.com/a/made-up-picture=s120"
                          },
                          "profile": "https://www.google.com/maps/contrib/100000000000000000001",
                          "badges": [
                            "Local Guide · 23 reviews"
                          ]
                        },
                        "reply": "Jordan, we are sorry about the wait. Please call the office and we will look at the bill with you."
                      },
                      "people": [
                        {
                          "as": "reviewer",
                          "name": "Jordan P.",
                          "picture": {
                            "from": "https://lh3.googleusercontent.com/a/made-up-picture=s120"
                          },
                          "profile": "https://www.google.com/maps/contrib/100000000000000000001",
                          "badges": [
                            "Local Guide · 23 reviews"
                          ]
                        }
                      ],
                      "codes": {
                        "praise": [
                          "staff"
                        ],
                        "faults": [
                          "waits",
                          "billing"
                        ],
                        "label": "mixed",
                        "read": "2026-11-14",
                        "by": "model"
                      },
                      "document": null,
                      "raw": null,
                      "raws": [],
                      "media": null,
                      "pull": {
                        "captured_at": "2026-11-14T06:12:00.000Z",
                        "sort": "newest",
                        "filter": null,
                        "method": "vendor",
                        "total": 412,
                        "rating": 4.3,
                        "histogram": {
                          "1": 31,
                          "2": 18,
                          "3": 22,
                          "4": 61,
                          "5": 280
                        },
                        "scores": null,
                        "alternatives": null
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "day": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "rating": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "counts": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": "number"
                      }
                    },
                    "excerpt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "text": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cut": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "fields": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {}
                    },
                    "people": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "as": {
                            "type": "string",
                            "enum": [
                              "reviewer",
                              "writer",
                              "author",
                              "coauthor",
                              "tagged",
                              "named"
                            ]
                          },
                          "name": {
                            "type": "string"
                          },
                          "handle": {
                            "type": "string"
                          },
                          "role": {
                            "type": "string"
                          },
                          "picture": {
                            "type": "object",
                            "properties": {
                              "from": {
                                "type": "string"
                              },
                              "copy_url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "from"
                            ]
                          },
                          "profile": {
                            "type": "string"
                          },
                          "location": {
                            "type": "string"
                          },
                          "badges": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "street": {
                            "type": "string"
                          },
                          "phone": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "as"
                        ]
                      }
                    },
                    "codes": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {}
                    },
                    "document": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "raw": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "raws": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "media": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "image": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "video": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "poster": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "preview": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "image",
                        "video",
                        "poster",
                        "preview"
                      ]
                    },
                    "pull": {
                      "type": "object",
                      "properties": {
                        "captured_at": {
                          "type": "string"
                        },
                        "sort": {
                          "type": "string"
                        },
                        "filter": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "total": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "rating": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "histogram": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "additionalProperties": {
                            "type": "number"
                          }
                        },
                        "scores": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "additionalProperties": {
                            "type": "number"
                          }
                        },
                        "alternatives": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "page": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "products": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "id": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "page": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "rating": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  },
                                  "reviews": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "name",
                                  "id",
                                  "page",
                                  "rating",
                                  "reviews"
                                ]
                              }
                            }
                          },
                          "required": [
                            "page",
                            "products"
                          ]
                        }
                      },
                      "required": [
                        "captured_at",
                        "sort",
                        "filter",
                        "method",
                        "total",
                        "rating",
                        "histogram",
                        "scores",
                        "alternatives"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "source",
                    "kind",
                    "url",
                    "day",
                    "rating",
                    "counts",
                    "excerpt",
                    "text",
                    "cut",
                    "fields",
                    "codes",
                    "document",
                    "raw",
                    "raws",
                    "media",
                    "pull"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Records and signals"
        ],
        "x-mint": {
          "content": "**MCP tool:** `get_signal`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/signals/{id}/comments": {
      "get": {
        "operationId": "listSignalComments",
        "summary": "The comments PodData keeps under a post, most liked first, each with who wrote it",
        "description": "The comments PodData keeps under a post on a brand's own Instagram or TikTok account, most liked first: each a signal of its own (`kind: 'comment'`) as `GET /signals/{id}` answers one, with its day, its likes and replies, its words whole and who wrote it among its `people`, as the platform shows them: their handle, name, picture's address, profile and badges. `total` is how many are kept under it: the 50 most liked of those the platform's first pages give, under each of the account's posts of the last 90 days once it's a week old. The post's own `counts.comments` is the platform's count. Any other signal has none.\n\n**Before:** The post's id, from a company's signals (`kind=post`) or a number tool's evidence.\n\n**Next:** `GET /companies/{id}/numbers/query` counts comments by post, day or words across a company's posts.\n\n**Limits:** 20 a page, or `limit`, at most 100. A post of a company your team can't see is a `404`.",
        "x-mcp-tool": "post_comments",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/signals/sig_01JD9C5E6F7G00000000000000/comments?limit=1' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of the comments kept under it, and how many are kept",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [],
                      "total": 0,
                      "next": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "source": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "rating": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "counts": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": {
                              "type": "number"
                            }
                          },
                          "excerpt": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "text": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "cut": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "fields": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": {}
                          },
                          "people": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "as": {
                                  "type": "string",
                                  "enum": [
                                    "reviewer",
                                    "writer",
                                    "author",
                                    "coauthor",
                                    "tagged",
                                    "named"
                                  ]
                                },
                                "name": {
                                  "type": "string"
                                },
                                "handle": {
                                  "type": "string"
                                },
                                "role": {
                                  "type": "string"
                                },
                                "picture": {
                                  "type": "object",
                                  "properties": {
                                    "from": {
                                      "type": "string"
                                    },
                                    "copy_url": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "from"
                                  ]
                                },
                                "profile": {
                                  "type": "string"
                                },
                                "location": {
                                  "type": "string"
                                },
                                "badges": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "street": {
                                  "type": "string"
                                },
                                "phone": {
                                  "type": "string"
                                },
                                "email": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "as"
                              ]
                            }
                          },
                          "codes": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": {}
                          },
                          "document": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "raw": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "raws": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "media": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "image": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "video": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "poster": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "preview": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "image",
                              "video",
                              "poster",
                              "preview"
                            ]
                          },
                          "pull": {
                            "type": "object",
                            "properties": {
                              "captured_at": {
                                "type": "string"
                              },
                              "sort": {
                                "type": "string"
                              },
                              "filter": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "method": {
                                "type": "string"
                              },
                              "total": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "histogram": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {
                                  "type": "number"
                                }
                              },
                              "scores": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {
                                  "type": "number"
                                }
                              },
                              "alternatives": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "page": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "products": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "name": {
                                          "type": "string"
                                        },
                                        "id": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "page": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "rating": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "name",
                                        "id",
                                        "page",
                                        "rating",
                                        "reviews"
                                      ]
                                    }
                                  }
                                },
                                "required": [
                                  "page",
                                  "products"
                                ]
                              }
                            },
                            "required": [
                              "captured_at",
                              "sort",
                              "filter",
                              "method",
                              "total",
                              "rating",
                              "histogram",
                              "scores",
                              "alternatives"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "source",
                          "kind",
                          "url",
                          "day",
                          "rating",
                          "counts",
                          "excerpt",
                          "text",
                          "cut",
                          "fields",
                          "codes",
                          "document",
                          "raw",
                          "raws",
                          "media",
                          "pull"
                        ]
                      }
                    },
                    "total": {
                      "type": "integer"
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "total",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Records and signals"
        ],
        "x-mint": {
          "content": "**MCP tool:** `post_comments`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/raw/{id}": {
      "get": {
        "operationId": "getRawResponse",
        "summary": "What a source sent a reader, as it came, a part at a time",
        "description": "What a source sent a diligence reader, as it came, every key taken out: how it was asked, what came back, and its body from `offset`, a megabyte at most. A text body (JSON, CSV, XML, HTML, plain text) is `text`; any other, such as a zip or a workbook, is `base64`. `why` says when a body isn't kept whole: its reader read only part of it, or none.\n\n**Before:** Its id: the `raw` of a record or a signal, or any of its `raws`.\n\n**Next:** Ask again with `offset` set to `next_offset` until it is null, for the rest of a body over a megabyte.\n\n**Limits:** A megabyte of its body a call. A response from a run for a company your team can't see is a `404`; one from a run over a whole file is answered to any team.",
        "x-mcp-tool": "raw_response",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/raw/raw_01JDA0B1C2D3E4F5G6H7J8K9M0' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": [
                "integer",
                "null"
              ],
              "minimum": 0,
              "maximum": 1000000000
            },
            "required": false,
            "name": "offset",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The response and a part of its body",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "raw_01JDA0B1C2D3E4F5G6H7J8K9M0",
                      "source": "openfda-enforcement",
                      "method": "GET",
                      "url": "https://api.fda.gov/food/enforcement.json?search=report_date:[20261101+TO+20261115]&limit=100",
                      "status": 200,
                      "media_type": "application/json",
                      "bytes": 1180,
                      "fetched_at": "2026-11-16T04:00:00.000Z",
                      "why": null,
                      "offset": 0,
                      "text": "{\"meta\":{\"last_updated\":\"2026-11-04\"},\"results\":[{\"recall_number\":\"H-0181-2027\",\"recalling_firm\":\"Oliva on Main\",\"reason_for_recall\":\"contains undeclared sesame\"}]}",
                      "base64": null,
                      "next_offset": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "method": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "status": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "media_type": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "bytes": {
                      "type": "integer"
                    },
                    "fetched_at": {
                      "type": "string"
                    },
                    "why": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "offset": {
                      "type": "integer"
                    },
                    "text": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "base64": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "next_offset": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "source",
                    "method",
                    "url",
                    "status",
                    "media_type",
                    "bytes",
                    "fetched_at",
                    "why",
                    "offset",
                    "text",
                    "base64",
                    "next_offset"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Records and signals"
        ],
        "x-mint": {
          "content": "**MCP tool:** `raw_response`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/records/{id}/source-part": {
      "get": {
        "operationId": "getRecordSourcePart",
        "summary": "The part of its source's file a record came from, as the workspace marks it",
        "description": "The part of what a source sent that a record came from, found as the workspace finds it: the row, item or element that holds the most of the record's values. A table (a CSV or another delimited file, a fixed-width file cut by its reader's layout, a zip's file, a workbook's sheet) gives its title lines, header, the record's rows with their place in the file, and how many rows it has. A JSON answer gives the record's items by their path; an XML answer its elements by their path, each with its text and the values inside it. `kind` `none`, or `marked` 0, comes with `why`.\n\n**Before:** Its id, from a company's records, a folder's file or a number tool's evidence. A record whose `raw` is null has no response kept. One read from several answers names each in `raws`, in order (an OSHA inspection its inspection's, then its violations'): give `raw` for another than the first.\n\n**Next:** The whole of what was sent, as it came: `GET /raw/{id}` with the `raw` given, a megabyte at a time.\n\n**Limits:** One answer a call. A `raw` the record doesn't name is a `404`. Its response is read whole as the workspace reads it, 16 MB of text and 64 MB of a zip or a workbook; past that, `why` says so. At most 500 rows, items or elements listed, with `marked` the count. A record of a company your team can't see is a `404`.",
        "x-mcp-tool": "record_source_part",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/records/rec_01JDA1C2D3E4F5G6H7J8K9M0NP/source-part' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "Which of the record's answers, from its `raws`; its first, `raw`, if left out"
            },
            "required": false,
            "description": "Which of the record's answers, from its `raws`; its first, `raw`, if left out",
            "name": "raw",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The record's part of its file, or why none is marked",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "record": "rec_01JDA1C2D3E4F5G6H7J8K9M0NP",
                      "raw": "raw_01JDA0B1C2D3E4F5G6H7J8K9M1",
                      "source": "igb-reports",
                      "media_type": "text/csv",
                      "bytes": 1984,
                      "kind": "table",
                      "marked": 1,
                      "why": null,
                      "cut": null,
                      "table": {
                        "file": null,
                        "titles": [
                          "Casino Summary",
                          "March 2023",
                          "Report Date: 11/15/2026 21:58 PM"
                        ],
                        "header": [
                          "Casino",
                          "Square Feet",
                          "Admissions",
                          "Operating Days",
                          "Table Game AGR",
                          "EGD AGR",
                          "Total AGR",
                          "State Share",
                          "Local Share"
                        ],
                        "places": null,
                        "rows": [
                          {
                            "n": 4,
                            "cells": [
                              "FHR-Illinois LLC",
                              "70000",
                              "68462",
                              "31",
                              "1030981.0000",
                              "6237320.2200",
                              "7268301.2200",
                              "863754.0800",
                              "431877.0700"
                            ]
                          }
                        ],
                        "total": 17,
                        "others": []
                      },
                      "json": null,
                      "xml": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "record": {
                      "type": "string"
                    },
                    "raw": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "source": {
                      "type": "string"
                    },
                    "media_type": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "bytes": {
                      "type": "integer"
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "table",
                        "json",
                        "xml",
                        "none"
                      ]
                    },
                    "marked": {
                      "type": "integer"
                    },
                    "why": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cut": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "table": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "file": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "titles": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "header": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "places": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "string"
                          }
                        },
                        "rows": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "n": {
                                "type": "integer"
                              },
                              "cells": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "n",
                              "cells"
                            ]
                          }
                        },
                        "total": {
                          "type": "integer"
                        },
                        "others": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "file",
                        "titles",
                        "header",
                        "places",
                        "rows",
                        "total",
                        "others"
                      ]
                    },
                    "json": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "list": {
                          "type": "string"
                        },
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "path": {
                                "type": "string"
                              },
                              "value": {}
                            },
                            "required": [
                              "path",
                              "value"
                            ]
                          }
                        },
                        "total": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "list",
                        "items",
                        "total"
                      ]
                    },
                    "xml": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "whole": {
                          "type": "boolean"
                        },
                        "elements": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "path": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "leaves": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "path": {
                                      "type": "string"
                                    },
                                    "text": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "path",
                                    "text"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "path",
                              "text",
                              "leaves"
                            ]
                          }
                        },
                        "total": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "whole",
                        "elements",
                        "total"
                      ]
                    }
                  },
                  "required": [
                    "record",
                    "raw",
                    "source",
                    "media_type",
                    "bytes",
                    "kind",
                    "marked",
                    "why",
                    "cut",
                    "table",
                    "json",
                    "xml"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Records and signals"
        ],
        "x-mint": {
          "content": "**MCP tool:** `record_source_part`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/licensed": {
      "get": {
        "operationId": "listCompanyLicensedFigures",
        "summary": "Figures read through the caller's own team's connections about a company, newest day first, each marked Your licence",
        "description": "The figures PodData read about a company through your team's own connection to a data vendor your team already pays for, newest day first: each with its kind, day, title, fields, the vendor's own page for it, and its citation, `licence`: \"Your licence\", from that vendor, read on that day. They're your team's alone. Connecting a vendor is by request today, so for most teams this is an empty list.\n\n**Before:** An owner on your team has connected a vendor in the workspace, Settings › Connections, and PodData has read through it.\n\n**Next:** Cite each as `licence` says. A report keeps them out of a private link, since they're your team's.\n\n**Limits:** 20 a page, or `limit`, at most 100. Another team, and a key of another team, get an empty list, never a refusal that says figures exist.",
        "x-mcp-tool": "company_licensed",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/licensed?limit=1' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": false,
            "name": "source",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 40
            },
            "required": false,
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of the team's own figures",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "id": "lfg_01JD9R2S3T4V00000000000000",
                          "source": "crunchbase",
                          "kind": "funding_round",
                          "day": "2025-03-04",
                          "title": "Series B, Northwind Dental",
                          "fields": {
                            "amount_usd": 18000000,
                            "lead": "Example Growth Partners"
                          },
                          "url": null,
                          "licence": {
                            "label": "Your licence",
                            "source": "crunchbase",
                            "vendor": "Crunchbase",
                            "read": "2026-11-13"
                          }
                        }
                      ],
                      "next": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "source": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "title": {
                            "type": "string"
                          },
                          "fields": {
                            "type": "object",
                            "additionalProperties": {}
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "licence": {
                            "type": "object",
                            "properties": {
                              "label": {
                                "type": "string",
                                "enum": [
                                  "Your licence"
                                ]
                              },
                              "source": {
                                "type": "string"
                              },
                              "vendor": {
                                "type": "string"
                              },
                              "read": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "label",
                              "source",
                              "vendor",
                              "read"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "source",
                          "kind",
                          "day",
                          "title",
                          "fields",
                          "url",
                          "licence"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Records and signals"
        ],
        "x-mint": {
          "content": "**MCP tool:** `company_licensed`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/ads": {
      "get": {
        "operationId": "listCompanyAds",
        "summary": "A brand's ads in an ad library: the days it has pulls, its counts on a day and an earlier one, and its ads, filtered by where they stand and by platform",
        "description": "A brand's ads in Meta's US ad library, from PodData's weekly reads of its confirmed Facebook pages, its franchisees' among them: every pull, newest first, so you can pick days; its counts on `on` and on `vs`; and its ads, newest start day first, each with its page in the library, Meta's start day, where it runs, its words whole, the address it points to (`link_out`, the brand's own page, null where none was kept), the first and last pull it was seen in, and where it stands on `on`. `state` picks the ads running on `on` (the default), or those that started, stopped or weren't seen since between `vs` and `on`, or all; `platform` narrows to one. Where it can't count, `cannot` says why.\n\n**Before:** The company has a confirmed `facebook_page` or `franchisee_facebook_page` link, or for Google's library (`source=google-ads-transparency`) a confirmed `domain`, and PodData has read it at least once. Google's text ads keep their headline and description; an image or video ad's words are in its picture, on its page in the Center.\n\n**Next:** `GET /ads/{id}` for one ad. For the brand beside its confirmed rivals, the number tools `GET /companies/{id}/numbers/ads` and `GET /companies/{id}/numbers/ads-weeks`.\n\n**Limits:** 50 a page, or `limit`, at most 100, with `next` as the cursor. Stopped means missing from a pull that read the page to the end; missing from one that stopped short is `not_seen`, never stopped. A company your team can't see is a `404`.",
        "x-mcp-tool": "company_ads",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/ads?on=2026-11-11&limit=1' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64,
              "description": "The ad library, by catalog id: meta-ad-library (Meta's, read against a confirmed Facebook page) if left out, or google-ads-transparency (Google's, read against a confirmed domain)"
            },
            "required": false,
            "description": "The ad library, by catalog id: meta-ad-library (Meta's, read against a confirmed Facebook page) if left out, or google-ads-transparency (Google's, read against a confirmed domain)",
            "name": "source",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The day to count the ads running on, by each brand's last pull on or before it: today if left out"
            },
            "required": false,
            "description": "The day to count the ads running on, by each brand's last pull on or before it: today if left out",
            "name": "on",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The earlier day to compare it with: four weeks before `on` if left out"
            },
            "required": false,
            "description": "The earlier day to compare it with: four weeks before `on` if left out",
            "name": "vs",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "running",
                "started",
                "stopped",
                "not_seen",
                "all"
              ],
              "description": "Which ads: running on `on` (the default), started, stopped or not seen since between `vs` and `on`, or all"
            },
            "required": false,
            "description": "Which ads: running on `on` (the default), started, stopped or not seen since between `vs` and `on`, or all",
            "name": "state",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 40,
              "description": "Only those running on one platform: facebook, instagram, messenger, audience_network, threads"
            },
            "required": false,
            "description": "Only those running on one platform: facebook, instagram, messenger, audience_network, threads",
            "name": "platform",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "description": "How many a page: 50 if left out"
            },
            "required": false,
            "description": "How many a page: 50 if left out",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A brand's ads on a day",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "source": "meta-ad-library",
                      "on": "2026-11-11",
                      "vs": "2026-10-14",
                      "pages": 1,
                      "pulls": [
                        {
                          "id": "sns_01JD9F0A1B2C00000000000000",
                          "day": "2026-11-11",
                          "captured_at": "2026-11-11T05:40:00.000Z",
                          "complete": true,
                          "items": 14
                        },
                        {
                          "id": "sns_01JCX1A2B3C400000000000000",
                          "day": "2026-10-14",
                          "captured_at": "2026-10-14T05:38:00.000Z",
                          "complete": true,
                          "items": 9
                        }
                      ],
                      "on_pull": "2026-11-11",
                      "vs_pull": "2026-10-14",
                      "complete": true,
                      "counts": {
                        "running": 14,
                        "running_vs": 9,
                        "change": 5,
                        "started": 6,
                        "stopped": 1,
                        "not_seen": 0,
                        "platforms": {
                          "facebook": 14,
                          "instagram": 12
                        }
                      },
                      "cannot": null,
                      "data": [
                        {
                          "id": "sig_01JD9F2D3E4F00000000000000",
                          "source": "meta-ad-library",
                          "company": "northwind-dental",
                          "url": "https://www.facebook.com/ads/library/?id=990000000000001",
                          "library_id": "990000000000001",
                          "day": "2026-10-28",
                          "platforms": [
                            "facebook",
                            "instagram"
                          ],
                          "words": "New patients: a cleaning, an exam and X-rays for $99 at any Northwind clinic. Book online in two minutes.",
                          "media": {
                            "image": "https://scontent-iad3-1.xx.fbcdn.net/v/t39.35426-6/000000000_990000000000001_n.jpg",
                            "video": null,
                            "poster": null,
                            "preview": null
                          },
                          "link_out": "https://www.northwinddental.example/new-patients",
                          "first_seen": "2026-11-04",
                          "last_seen": "2026-11-11",
                          "state": "running",
                          "started": true,
                          "gone_by": null
                        }
                      ],
                      "next": "MjAyNi0xMC0yOA"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "source": {
                      "type": "string"
                    },
                    "on": {
                      "type": "string"
                    },
                    "vs": {
                      "type": "string"
                    },
                    "pages": {
                      "type": "integer"
                    },
                    "pulls": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "day": {
                            "type": "string"
                          },
                          "captured_at": {
                            "type": "string"
                          },
                          "complete": {
                            "type": "boolean"
                          },
                          "items": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "id",
                          "day",
                          "captured_at",
                          "complete",
                          "items"
                        ]
                      }
                    },
                    "on_pull": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "vs_pull": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "complete": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "counts": {
                      "type": "object",
                      "properties": {
                        "running": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "running_vs": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "change": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "started": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "stopped": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "not_seen": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "platforms": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "integer"
                          }
                        }
                      },
                      "required": [
                        "running",
                        "running_vs",
                        "change",
                        "started",
                        "stopped",
                        "not_seen",
                        "platforms"
                      ]
                    },
                    "cannot": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "source": {
                            "type": "string"
                          },
                          "company": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "library_id": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "platforms": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "words": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "media": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "image": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "video": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "poster": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "preview": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "image",
                              "video",
                              "poster",
                              "preview"
                            ]
                          },
                          "link_out": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "first_seen": {
                            "type": "string"
                          },
                          "last_seen": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "running",
                              "stopped",
                              "not_seen"
                            ]
                          },
                          "started": {
                            "type": "boolean"
                          },
                          "gone_by": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "source",
                          "company",
                          "url",
                          "library_id",
                          "day",
                          "platforms",
                          "words",
                          "media",
                          "link_out",
                          "first_seen",
                          "last_seen",
                          "state",
                          "started",
                          "gone_by"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "company",
                    "source",
                    "on",
                    "vs",
                    "pages",
                    "pulls",
                    "on_pull",
                    "vs_pull",
                    "complete",
                    "counts",
                    "cannot",
                    "data",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Ads and site"
        ],
        "x-mint": {
          "content": "**MCP tool:** `company_ads`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/ads/{id}": {
      "get": {
        "operationId": "getAd",
        "summary": "One ad: its words, where it runs, its start day, where it stands now and the pulls it was seen in",
        "description": "One ad, as `GET /companies/{id}/ads` lists it, with where it stands now: the pull it was first and last seen in, the one it was missing from, the brand's page that runs it, and how many of that page's other ads in its latest pull have the same words, since a brand often runs one message as many ads.\n\n**Before:** Its id, from a brand's ads or a number tool's evidence.\n\n**Next:** Its page in the library (`url`) shows it as Meta does, picture and all; `link_out` is the page it sends a person to.\n\n**Limits:** One a call. An ad of a company your team can't see is a `404`. `link_out`, where the ad points, is null for an ad whose library gave none, and for one read before PodData kept it, until its next weekly pull.",
        "x-mcp-tool": "get_ad",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/ads/sig_01JD9F2D3E4F00000000000000' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "One ad",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "sig_01JD9F2D3E4F00000000000000",
                      "source": "meta-ad-library",
                      "company": "northwind-dental",
                      "url": "https://www.facebook.com/ads/library/?id=990000000000001",
                      "library_id": "990000000000001",
                      "day": "2026-10-28",
                      "platforms": [
                        "facebook",
                        "instagram"
                      ],
                      "words": "New patients: a cleaning, an exam and X-rays for $99 at any Northwind clinic. Book online in two minutes.",
                      "media": {
                        "image": "https://scontent-iad3-1.xx.fbcdn.net/v/t39.35426-6/000000000_990000000000001_n.jpg",
                        "video": null,
                        "poster": null,
                        "preview": null
                      },
                      "link_out": "https://www.northwinddental.example/new-patients",
                      "first_seen": "2026-11-04",
                      "last_seen": "2026-11-11",
                      "state": "running",
                      "started": true,
                      "gone_by": null,
                      "company_name": "Northwind Dental",
                      "link": "cln_01JD8X4K2R5V00000000000000",
                      "page": "100000000000001",
                      "first_pull": {
                        "id": "sns_01JD0B1C2D3E00000000000000",
                        "day": "2026-11-04",
                        "captured_at": "2026-11-04T05:41:00.000Z",
                        "complete": true,
                        "items": 12
                      },
                      "last_pull": {
                        "id": "sns_01JD9F0A1B2C00000000000000",
                        "day": "2026-11-11",
                        "captured_at": "2026-11-11T05:40:00.000Z",
                        "complete": true,
                        "items": 14
                      },
                      "next_pull": null,
                      "same_words": 2
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "company": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "library_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "day": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "platforms": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "words": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "media": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "image": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "video": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "poster": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "preview": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "image",
                        "video",
                        "poster",
                        "preview"
                      ]
                    },
                    "link_out": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "first_seen": {
                      "type": "string"
                    },
                    "last_seen": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "running",
                        "stopped",
                        "not_seen"
                      ]
                    },
                    "started": {
                      "type": "boolean"
                    },
                    "gone_by": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "company_name": {
                      "type": "string"
                    },
                    "link": {
                      "type": "string"
                    },
                    "page": {
                      "type": "string"
                    },
                    "first_pull": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "day": {
                          "type": "string"
                        },
                        "captured_at": {
                          "type": "string"
                        },
                        "complete": {
                          "type": "boolean"
                        },
                        "items": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "id",
                        "day",
                        "captured_at",
                        "complete",
                        "items"
                      ]
                    },
                    "last_pull": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "day": {
                          "type": "string"
                        },
                        "captured_at": {
                          "type": "string"
                        },
                        "complete": {
                          "type": "boolean"
                        },
                        "items": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "id",
                        "day",
                        "captured_at",
                        "complete",
                        "items"
                      ]
                    },
                    "next_pull": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "day": {
                          "type": "string"
                        },
                        "captured_at": {
                          "type": "string"
                        },
                        "complete": {
                          "type": "boolean"
                        },
                        "items": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "id",
                        "day",
                        "captured_at",
                        "complete",
                        "items"
                      ]
                    },
                    "same_words": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "id",
                    "source",
                    "company",
                    "url",
                    "library_id",
                    "day",
                    "platforms",
                    "words",
                    "media",
                    "link_out",
                    "first_seen",
                    "last_seen",
                    "state",
                    "started",
                    "gone_by",
                    "company_name",
                    "link",
                    "page",
                    "first_pull",
                    "last_pull",
                    "next_pull",
                    "same_words"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Ads and site"
        ],
        "x-mint": {
          "content": "**MCP tool:** `get_ad`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/site": {
      "get": {
        "operationId": "listCompanySite",
        "summary": "A company's own pages on a day, by kind, with the day each was read, the route that got it and its versions, or why its site wasn't read",
        "description": "A company's own pages as PodData read them on `on`, today if left out, by kind (home, products, pricing, customers, about, leadership, locations, careers, news, security, terms): each page's address, title, the days it was first and last read and changed, how its words were got, and its versions; a page taken down is `gone`, with the day. Where its site wasn't read, `unread` says why: a bot check no route passed, a home page that didn't answer, or no confirmed domain. A site its robots.txt closes, or whose terms bar collecting it, is read all the same, on Rushabh's call of Nov 25, 2026, and its home page's line says so. With `format=csv`, the same as a file, a row a page.\n\n**Before:** The company has a confirmed domain, and PodData's weekly read of company sites has reached it.\n\n**Next:** `GET /companies/{id}/site/page?url=` for one page's words and what changed. `GET /companies/{id}/numbers/site` puts its site beside its confirmed rivals'.\n\n**Limits:** Every page at once. A company your team can't see is a `404`.",
        "x-mcp-tool": "company_site",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/site?on=2026-11-12' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "The day: each page as it was on it, by its last version on or before it. Today if left out"
            },
            "required": false,
            "description": "The day: each page as it was on it, by its last version on or before it. Today if left out",
            "name": "on",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: its pages as a file, a row a page, for a target's folder. json: the default"
            },
            "required": false,
            "description": "csv: its pages as a file, a row a page, for a target's folder. json: the default",
            "name": "format",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The company's pages, or with format=csv the same as a file",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "sites": [
                        "northwind-dental.example"
                      ],
                      "on": "2026-11-12",
                      "read": true,
                      "unread": null,
                      "data": [
                        {
                          "url": "https://northwind-dental.example/new-patients",
                          "kind": "pricing",
                          "title": "New patients | Northwind Dental",
                          "state": "read",
                          "why": null,
                          "route": "own",
                          "first_read": "2026-10-20",
                          "last_read": "2026-11-10",
                          "changed": "2026-11-10",
                          "gone": null,
                          "version": {
                            "day": "2026-11-10",
                            "document": "doc_01JD8Q1R2S3T00000000000000"
                          },
                          "versions": [
                            {
                              "day": "2026-10-20",
                              "document": "doc_01JCZ7A8B9C000000000000000"
                            },
                            {
                              "day": "2026-11-10",
                              "document": "doc_01JD8Q1R2S3T00000000000000"
                            }
                          ],
                          "facts": [
                            {
                              "id": "rec_01JD8Q1R2S3T000000000000S2",
                              "kind": "price",
                              "value": "$99",
                              "detail": "A cleaning, an exam and X-rays",
                              "passage": "A cleaning, an exam and X-rays for $99 at any Northwind clinic."
                            }
                          ],
                          "facts_read": true
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "sites": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "on": {
                      "type": "string"
                    },
                    "read": {
                      "type": "boolean"
                    },
                    "unread": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "title": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "read",
                              "gone",
                              "unread"
                            ]
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "route": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "first_read": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "last_read": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "changed": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "gone": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "version": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "day": {
                                "type": "string"
                              },
                              "document": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "day",
                              "document"
                            ]
                          },
                          "versions": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "day": {
                                  "type": "string"
                                },
                                "document": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "day",
                                "document"
                              ]
                            }
                          },
                          "facts": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "kind": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                },
                                "detail": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "passage": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "value",
                                "detail",
                                "passage"
                              ]
                            }
                          },
                          "facts_read": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "url",
                          "kind",
                          "title",
                          "state",
                          "why",
                          "route",
                          "first_read",
                          "last_read",
                          "changed",
                          "gone",
                          "version",
                          "versions",
                          "facts",
                          "facts_read"
                        ]
                      }
                    }
                  },
                  "required": [
                    "company",
                    "sites",
                    "on",
                    "read",
                    "unread",
                    "data"
                  ]
                }
              },
              "text/csv": {
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the company's pages as a file, a row a page"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Ads and site"
        ],
        "x-mint": {
          "content": "**MCP tool:** `company_site`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/site/page": {
      "get": {
        "operationId": "getCompanySitePage",
        "summary": "One page of a company's own site: its words as the caller may read them, its versions, and what changed between two days",
        "description": "One page of a company's own site, by its `url`, as it was on `on`: its words, whole to a key (`shown: whole`) or at most 80 of them where they can't be (`passages`), its kind and its versions. With `vs`, an earlier day, the passages added and removed between the two versions, each at most 80 words: a price that changed, a clinic that opened. `facts_added` and `facts_dropped` are given only where both versions' facts were read (`facts_read`, `vs_facts_read`): while either waits they're empty, never the old version's facts as dropped.\n\n**Before:** Its address, as `GET /companies/{id}/site` lists it.\n\n**Next:** `GET /companies/{id}/numbers/site-changes` counts what changed across all its pages, and its rivals'.\n\n**Limits:** One page a call. A page read whole counts toward the key's whole documents a UTC day, and past them its words come as passages.",
        "x-mcp-tool": "site_page",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/site/page?url=https%3A%2F%2Fnorthwind-dental.example%2Fnew-patients&on=2026-11-12&vs=2026-10-21' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 2048,
              "format": "uri",
              "description": "The page's address, as GET /companies/{id}/site lists it"
            },
            "required": true,
            "description": "The page's address, as GET /companies/{id}/site lists it",
            "name": "url",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "The version on this day: today if left out"
            },
            "required": false,
            "description": "The version on this day: today if left out",
            "name": "on",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "An earlier day: the passages added and removed between its version and the one on `on`"
            },
            "required": false,
            "description": "An earlier day: the passages added and removed between its version and the one on `on`",
            "name": "vs",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "One page",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "url": "https://northwind-dental.example/new-patients",
                      "kind": "pricing",
                      "title": "New patients | Northwind Dental",
                      "shown": "whole",
                      "words": "New patients\nA cleaning, an exam and X-rays for $99 at any Northwind clinic.\nWe take most dental plans.",
                      "version": {
                        "day": "2026-11-10",
                        "document": "doc_01JD8Q1R2S3T00000000000000"
                      },
                      "vs": {
                        "day": "2026-10-20",
                        "document": "doc_01JCZ7A8B9C000000000000000"
                      },
                      "versions": [
                        {
                          "day": "2026-10-20",
                          "document": "doc_01JCZ7A8B9C000000000000000"
                        },
                        {
                          "day": "2026-11-10",
                          "document": "doc_01JD8Q1R2S3T00000000000000"
                        }
                      ],
                      "added": [
                        "A cleaning, an exam and X-rays for $99 at any Northwind clinic."
                      ],
                      "removed": [
                        "A cleaning, an exam and X-rays for $129 at any Northwind clinic."
                      ],
                      "facts": [
                        {
                          "id": "rec_01JD8Q1R2S3T000000000000S2",
                          "kind": "price",
                          "value": "$99",
                          "detail": "A cleaning, an exam and X-rays",
                          "passage": "A cleaning, an exam and X-rays for $99 at any Northwind clinic."
                        }
                      ],
                      "facts_added": [
                        {
                          "id": "rec_01JD8Q1R2S3T000000000000S2",
                          "kind": "price",
                          "value": "$99",
                          "detail": "A cleaning, an exam and X-rays",
                          "passage": "A cleaning, an exam and X-rays for $99 at any Northwind clinic."
                        }
                      ],
                      "facts_dropped": [
                        {
                          "id": "rec_01JCQ9LNKC00000000000000S1",
                          "kind": "price",
                          "value": "$129",
                          "detail": "A cleaning, an exam and X-rays",
                          "passage": "A cleaning, an exam and X-rays for $129 at any Northwind clinic."
                        }
                      ],
                      "facts_read": true,
                      "vs_facts_read": true,
                      "shared": {
                        "before": 0,
                        "after": 0
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "url": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "title": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "shown": {
                      "type": "string",
                      "enum": [
                        "whole",
                        "passages"
                      ]
                    },
                    "words": {
                      "type": "string"
                    },
                    "version": {
                      "type": "object",
                      "properties": {
                        "day": {
                          "type": "string"
                        },
                        "document": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "day",
                        "document"
                      ]
                    },
                    "vs": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "day": {
                          "type": "string"
                        },
                        "document": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "day",
                        "document"
                      ]
                    },
                    "versions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "day": {
                            "type": "string"
                          },
                          "document": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "day",
                          "document"
                        ]
                      }
                    },
                    "added": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "removed": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "facts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "detail": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "passage": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "kind",
                          "value",
                          "detail",
                          "passage"
                        ]
                      }
                    },
                    "facts_added": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "detail": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "passage": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "kind",
                          "value",
                          "detail",
                          "passage"
                        ]
                      }
                    },
                    "facts_dropped": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "detail": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "passage": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "kind",
                          "value",
                          "detail",
                          "passage"
                        ]
                      }
                    },
                    "facts_read": {
                      "type": "boolean"
                    },
                    "vs_facts_read": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "shared": {
                      "type": "object",
                      "properties": {
                        "before": {
                          "type": "integer"
                        },
                        "after": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "before",
                        "after"
                      ]
                    }
                  },
                  "required": [
                    "company",
                    "url",
                    "kind",
                    "title",
                    "shown",
                    "words",
                    "version",
                    "vs",
                    "versions",
                    "added",
                    "removed",
                    "facts",
                    "facts_added",
                    "facts_dropped",
                    "shared"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Ads and site"
        ],
        "x-mint": {
          "content": "**MCP tool:** `site_page`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/rating": {
      "get": {
        "operationId": "numbersRating",
        "summary": "A company's rating over a window, its share at each star, and the platform's own all-time figures",
        "description": "A company's rating on one source over a window, counted by the reviews' own days: the average, the count and the share at each star, beside the platform's own all-time total and histogram from its latest pulls. Under 30 reviews a figure comes with its count and an interval. A review a shop shows under several of the company's items counts once, and `syndicated_count` says how many another source holds too, with the same day, stars and words, as Walmart shows Target's. `no_words_count` and `no_words_share` count the reviews that give a star and no words, a sign customers are sent a link to tap after each visit. On a place's Google or Yelp listing, `site_visit_count` counts the truck drivers' reviews of a dock or a pick-up, left out of every figure. A row is a star, or a month with by=month. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"rating\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_rating",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/rating?source=google-maps&from=2025-11-17&to=2026-11-16' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64,
              "description": "A source's catalog id, such as google-maps"
            },
            "required": true,
            "description": "A source's catalog id, such as google-maps",
            "name": "source",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The window's first day, by the reviews' own days. A year before `to` if left out"
            },
            "required": false,
            "description": "The window's first day, by the reviews' own days. A year before `to` if left out",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The window's last day. Today if left out"
            },
            "required": false,
            "description": "The window's last day. Today if left out",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "stars",
                "month"
              ],
              "description": "What a row is: a star (the default) or a month, by the reviews’ own days"
            },
            "required": false,
            "description": "What a row is: a star (the default) or a month, by the reviews’ own days",
            "name": "by",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The figures, their rows, their evidence and how they were built",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "rating",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "source": "google-maps",
                        "from": "2025-11-17",
                        "to": "2026-11-16",
                        "by": "stars"
                      },
                      "figures": [
                        {
                          "name": "average",
                          "label": "Average rating",
                          "value": 4.3,
                          "unit": "stars",
                          "company": "northwind-dental",
                          "n": 412,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "count",
                          "label": "Reviews in the window",
                          "value": 412,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": 412,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "share_low",
                          "label": "Share of one and two stars",
                          "value": 0.11,
                          "unit": "share",
                          "company": "northwind-dental",
                          "n": 412,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "count",
                          "label": "Reviews in the window",
                          "unit": "count"
                        },
                        {
                          "name": "share",
                          "label": "Share in the window",
                          "unit": "share"
                        }
                      ],
                      "rows": [
                        {
                          "key": "5",
                          "label": "5 stars",
                          "kind": "star",
                          "company": "northwind-dental",
                          "values": {
                            "count": 301,
                            "share": 0.73
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        },
                        {
                          "key": "1",
                          "label": "1 star",
                          "kind": "star",
                          "company": "northwind-dental",
                          "values": {
                            "count": 33,
                            "share": 0.08
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "google-maps",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "5",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "google-maps",
                            "name": "Google Maps reviews and listings",
                            "network": "google-maps"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_rating`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/rating-by-link": {
      "get": {
        "operationId": "numbersRatingByLink",
        "summary": "The same figures for each of a company's confirmed links, a place or a product, weakest first",
        "description": "The rating's figures for each of the company's confirmed links on one source, a place or a product, weakest average first. A row is a link. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"rating_by_link\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_rating_by_link",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/rating-by-link?source=google-maps' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64,
              "description": "A source's catalog id, such as google-maps"
            },
            "required": true,
            "description": "A source's catalog id, such as google-maps",
            "name": "source",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The window's first day, by the reviews' own days. A year before `to` if left out"
            },
            "required": false,
            "description": "The window's first day, by the reviews' own days. A year before `to` if left out",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The window's last day. Today if left out"
            },
            "required": false,
            "description": "The window's last day. Today if left out",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a link",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "rating_by_link",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "source": "google-maps",
                        "from": "2025-11-17",
                        "to": "2026-11-16"
                      },
                      "figures": [
                        {
                          "name": "links",
                          "label": "Confirmed links with reviews from this source",
                          "value": 2,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": 2,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "average",
                          "label": "Average rating",
                          "unit": "stars"
                        },
                        {
                          "name": "count",
                          "label": "Reviews in the window",
                          "unit": "count"
                        }
                      ],
                      "rows": [
                        {
                          "key": "cln_01EXAMPLE00000000000000001",
                          "label": "Northwind Dental, Elm Street",
                          "kind": "link",
                          "company": "northwind-dental",
                          "values": {
                            "average": 3.9,
                            "count": 140
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        },
                        {
                          "key": "cln_01EXAMPLE00000000000000002",
                          "label": "Northwind Dental, Harbor Road",
                          "kind": "link",
                          "company": "northwind-dental",
                          "values": {
                            "average": 4.5,
                            "count": 272
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "google-maps",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "cln_01EXAMPLE00000000000000001",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "google-maps",
                            "name": "Google Maps reviews and listings",
                            "network": "google-maps"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_rating_by_link`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/rating-rivals": {
      "get": {
        "operationId": "numbersRatingRivals",
        "summary": "A company against each of its confirmed rivals, over the same window and source",
        "description": "The company's rating beside each of its confirmed rivals', over the same window and source, with the gap between them. `no_words_count` and `no_words_share` count each company's reviews that give a star and no words, a rival's ending in its id, with the rivals' together and `gap_no_words_share`. On a place's Google or Yelp listing, a truck driver's review of a dock or a pick-up is left out of every figure, and `site_visit_count` counts them, a rival's ending in its id. A row is the company or a rival. A value a row can't work out, an average or a share of no reviews, or a count the platform never showed, is left out of the row, never null: a null says a source withheld it. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"rating_rivals\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_rating_rivals",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/rating-rivals?source=google-maps' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64,
              "description": "A source's catalog id, such as google-maps"
            },
            "required": true,
            "description": "A source's catalog id, such as google-maps",
            "name": "source",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The window's first day, by the reviews' own days. A year before `to` if left out"
            },
            "required": false,
            "description": "The window's first day, by the reviews' own days. A year before `to` if left out",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The window's last day. Today if left out"
            },
            "required": false,
            "description": "The window's last day. Today if left out",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row the company and each confirmed rival",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "rating_rivals",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "source": "google-maps",
                        "from": "2025-11-17",
                        "to": "2026-11-16"
                      },
                      "figures": [
                        {
                          "name": "gap",
                          "label": "Northwind Dental against its rivals",
                          "value": -0.3,
                          "unit": "stars",
                          "company": null,
                          "n": null,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "rivals",
                          "label": "Confirmed rivals compared",
                          "value": 1,
                          "unit": "count",
                          "company": null,
                          "n": 1,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "average",
                          "label": "Average rating",
                          "unit": "stars"
                        },
                        {
                          "name": "gap",
                          "label": "Gap",
                          "unit": "stars"
                        }
                      ],
                      "rows": [
                        {
                          "key": "northwind-dental",
                          "label": "Northwind Dental",
                          "kind": "company",
                          "company": "northwind-dental",
                          "values": {
                            "average": 4.3,
                            "gap": null
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        },
                        {
                          "key": "harbor-smiles",
                          "label": "Harbor Smiles",
                          "kind": "company",
                          "company": "harbor-smiles",
                          "values": {
                            "average": 4.6,
                            "gap": 0.3
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "google-maps",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "northwind-dental",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "google-maps",
                            "name": "Google Maps reviews and listings",
                            "network": "google-maps"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_rating_rivals`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/rating-windows": {
      "get": {
        "operationId": "numbersRatingWindows",
        "summary": "The last few months against the months before, or the same months a year before, for a company and each confirmed rival",
        "description": "The rating over the last few months against the months before them, three against nine if left out, for the company and each confirmed rival. With `against=year`, the recent months, at most 12, are set against the same months a year before, so a seasonal trade is set against the same season; `prior` isn't taken then. A row is a company. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"rating_windows\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_rating_windows",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/rating-windows?source=google-maps&recent=3&prior=9' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64,
              "description": "A source's catalog id, such as google-maps"
            },
            "required": true,
            "description": "A source's catalog id, such as google-maps",
            "name": "source",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The window's last day. Today if left out"
            },
            "required": false,
            "description": "The window's last day. Today if left out",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 24,
              "description": "Months in the recent window, ending on `to`: 3 if left out. At most 12 with against=year"
            },
            "required": false,
            "description": "Months in the recent window, ending on `to`: 3 if left out. At most 12 with against=year",
            "name": "recent",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 36,
              "description": "Months in the window before it: 9 if left out. Not with against=year"
            },
            "required": false,
            "description": "Months in the window before it: 9 if left out. Not with against=year",
            "name": "prior",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "prior",
                "year"
              ],
              "description": "What the recent window is set against: prior, the months just before it (the default); or year, the same months a year before, as long as the recent window"
            },
            "required": false,
            "description": "What the recent window is set against: prior, the months just before it (the default); or year, the same months a year before, as long as the recent window",
            "name": "against",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The two windows, a row a company",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "rating_windows",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "source": "google-maps",
                        "to": "2026-11-16",
                        "recent": 3,
                        "prior": 9
                      },
                      "figures": [
                        {
                          "name": "recent_average",
                          "label": "Average rating, the last 3 months",
                          "value": 4.1,
                          "unit": "stars",
                          "company": "northwind-dental",
                          "n": 98,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "prior_average",
                          "label": "Average rating, the 9 months before",
                          "value": 4.4,
                          "unit": "stars",
                          "company": "northwind-dental",
                          "n": 314,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "change",
                          "label": "Change",
                          "value": -0.3,
                          "unit": "stars",
                          "company": "northwind-dental",
                          "n": null,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "recent_average",
                          "label": "The last 3 months",
                          "unit": "stars"
                        },
                        {
                          "name": "prior_average",
                          "label": "The 9 before",
                          "unit": "stars"
                        }
                      ],
                      "rows": [
                        {
                          "key": "northwind-dental",
                          "label": "Northwind Dental",
                          "kind": "company",
                          "company": "northwind-dental",
                          "values": {
                            "recent_average": 4.1,
                            "prior_average": 4.4
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "google-maps",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "northwind-dental",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "google-maps",
                            "name": "Google Maps reviews and listings",
                            "network": "google-maps"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_rating_windows`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/complaints": {
      "get": {
        "operationId": "numbersComplaints",
        "summary": "What reviews praise and fault, as a model read each, or what low-rated reviews complain about by keyword, for a company and each confirmed rival, with samples to check",
        "description": "What a company's reviews praise and fault, for the company and each confirmed rival, with samples in the JSON's evidence to check. Without `topics`, it counts the codes a model kept on each review once, when it was read in, at every star level unless `max_stars` is given: a row a company's praise or fault for one code (its `category` `praise` or `fault`), then a row for each product its reviews say they switched from, left it for or would switch to, and each confirmed rival they name; `coded` and `uncoded` say how many reviews a model has read and how many with words wait. With `topics`, it counts one- and two-star reviews (`max_stars`) by the keyword topics you give instead, a row a company's topic. On a place's Google or Yelp listing, a truck driver's review of a dock or a pick-up isn't a customer's: it's left out of every count, share, row and sample, and `site_visit_count` counts them, a rival's ending in its id. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"complaints\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_complaints",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/complaints?source=google-maps&topics=Billing:bill|charge;Waiting:wait|late' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64,
              "description": "A source's catalog id, such as g2, to hold the answer to one site. Left out, it pools every site that holds these companies' customers' reviews (G2, Capterra, Gartner Peer Insights and the rest, never an employer's), each review counted once, each site's count in basis.sources. Needed with topics"
            },
            "required": false,
            "description": "A source's catalog id, such as g2, to hold the answer to one site. Left out, it pools every site that holds these companies' customers' reviews (G2, Capterra, Gartner Peer Insights and the rest, never an employer's), each review counted once, each site's count in basis.sources. Needed with topics",
            "name": "source",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 3,
              "maxLength": 2000,
              "description": "Left out, the answer counts what a model read each review to praise and fault, at every star level. Given, it counts unhappy reviews by keyword instead: topics, each a label, a colon and its terms split by |, the topics split by ;: \"Billing:bill|charge|invoice;AI phone:AI|robot|phone tree\". A term counts where a word starts with it, and a term in capitals keeps its case"
            },
            "required": false,
            "description": "Left out, the answer counts what a model read each review to praise and fault, at every star level. Given, it counts unhappy reviews by keyword instead: topics, each a label, a colon and its terms split by |, the topics split by ;: \"Billing:bill|charge|invoice;AI phone:AI|robot|phone tree\". A term counts where a word starts with it, and a term in capitals keeps its case",
            "name": "topics",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The window's first day, by the reviews' own days. A year before `to` if left out"
            },
            "required": false,
            "description": "The window's first day, by the reviews' own days. A year before `to` if left out",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The window's last day. Today if left out"
            },
            "required": false,
            "description": "The window's last day. Today if left out",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5,
              "description": "The highest rating counted. With topics, the highest that counts as unhappy: 2, one and two stars, if left out. Without, every star if left out"
            },
            "required": false,
            "description": "The highest rating counted. With topics, the highest that counts as unhappy: 2, one and two stars, if left out. Without, every star if left out",
            "name": "max_stars",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a company a code, a name or a topic, and samples in the evidence",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "complaints",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "source": "google-maps",
                        "from": "2025-11-17",
                        "to": "2026-11-16",
                        "topics": "Billing:bill|charge;Waiting:wait|late",
                        "max_stars": 2
                      },
                      "figures": [
                        {
                          "name": "billing_share",
                          "label": "Unhappy reviews about billing",
                          "value": 0.34,
                          "unit": "share",
                          "company": "northwind-dental",
                          "n": 47,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "reviews",
                          "label": "Reviews about it",
                          "unit": "count"
                        },
                        {
                          "name": "share",
                          "label": "Share of the unhappy reviews with text",
                          "unit": "share"
                        }
                      ],
                      "rows": [
                        {
                          "key": "northwind-dental:Billing",
                          "label": "Northwind Dental: Billing",
                          "kind": "topic",
                          "company": "northwind-dental",
                          "values": {
                            "reviews": 16,
                            "share": 0.34
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        },
                        {
                          "key": "northwind-dental:Waiting",
                          "label": "Northwind Dental: Waiting",
                          "kind": "topic",
                          "company": "northwind-dental",
                          "values": {
                            "reviews": 11,
                            "share": 0.23
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "google-maps",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "northwind-dental:Billing",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "google-maps",
                            "name": "Google Maps reviews and listings",
                            "network": "google-maps"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_complaints`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/series": {
      "get": {
        "operationId": "numbersSeries",
        "summary": "A field of a source's records a period at a time, two windows, for a company and each confirmed rival, or a county's by its key",
        "description": "One field of a source's records a period at a time, over a window and the one before it, for the company and each confirmed rival with that record, or a county's or a state's figures by key. A row is a company's period. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"series\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_series",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/series?source=medicare-utilization&field=services&months=3&compare=none' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64,
              "description": "A source's catalog id, such as google-maps"
            },
            "required": true,
            "description": "A source's catalog id, such as google-maps",
            "name": "source",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120,
              "description": "A path into the records’ fields: total_agr, counties.031.units, figures[Gross Revenue].value"
            },
            "required": true,
            "description": "A path into the records’ fields: total_agr, counties.031.units, figures[Gross Revenue].value",
            "name": "field",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$",
              "description": "The last month, YYYY-MM: the latest the source holds if left out"
            },
            "required": false,
            "description": "The last month, YYYY-MM: the latest the source holds if left out",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 60,
              "description": "How many months the window holds, ending on to: 12 if left out"
            },
            "required": false,
            "description": "How many months the window holds, ending on to: 12 if left out",
            "name": "months",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "prior",
                "none"
              ],
              "description": "prior (the default): the same number of months just before; none: no second window"
            },
            "required": false,
            "description": "prior (the default): the same number of months just before; none: no second window",
            "name": "compare",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "One of the company's confirmed links (cln_…), such as one casino of a group: only its records"
            },
            "required": false,
            "description": "One of the company's confirmed links (cln_…), such as one casino of a group: only its records",
            "name": "link",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "For a county's or a state's series that ties to no company: its records' own id at the source without the period"
            },
            "required": false,
            "description": "For a county's or a state's series that ties to no company: its records' own id at the source without the period",
            "name": "key",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a company a period",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "series",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "source": "medicare-utilization",
                        "field": "services",
                        "to": "2026-09",
                        "months": 3,
                        "compare": "none"
                      },
                      "figures": [
                        {
                          "name": "latest",
                          "label": "Services, Sep 2026",
                          "value": 1840,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": 1,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "value",
                          "label": "Services",
                          "unit": "count"
                        }
                      ],
                      "rows": [
                        {
                          "key": "northwind-dental:2026-08",
                          "label": "Aug 2026",
                          "kind": "period",
                          "company": "northwind-dental",
                          "values": {
                            "value": 1790
                          },
                          "small": false,
                          "day": "2026-08",
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        },
                        {
                          "key": "northwind-dental:2026-09",
                          "label": "Sep 2026",
                          "kind": "period",
                          "company": "northwind-dental",
                          "values": {
                            "value": 1840
                          },
                          "small": false,
                          "day": "2026-09",
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "medicare-utilization",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "northwind-dental:2026-08",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "medicare-utilization",
                            "name": "Medicare utilization",
                            "network": "cms"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_series`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/timeline": {
      "get": {
        "operationId": "numbersTimeline",
        "summary": "A company's dated records and stories, newest first, a record that changed with what it said before",
        "description": "The company's dated records and stories, newest first, each with its own day and its link, and a record that changed with what it said before. A row is an event, labelled by its title. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"timeline\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_timeline",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/timeline?from=2025-11-17' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The first day, by each event's own day: all of them if left out"
            },
            "required": false,
            "description": "The first day, by each event's own day: all of them if left out",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The last day: today if left out"
            },
            "required": false,
            "description": "The last day: today if left out",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300,
              "description": "A comma list of what to keep: a record's kind (breach, recall, warning, award, licence, deal, case, release and the like), story for every story, or a story's type (acquisition, funding, launch, price_change, partnership, customer, hire_or_departure, award_or_ranking, results, legal, list, other). All of them but lists if left out"
            },
            "required": false,
            "description": "A comma list of what to keep: a record's kind (breach, recall, warning, award, licence, deal, case, release and the like), story for every story, or a story's type (acquisition, funding, launch, price_change, partnership, customer, hire_or_departure, award_or_ranking, results, legal, list, other). All of them but lists if left out",
            "name": "kinds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ],
              "description": "true keeps a story that copies another, the same release on a second wire or an outlet reprinting it. false (the default) shows each once"
            },
            "required": false,
            "description": "true keeps a story that copies another, the same release on a second wire or an outlet reprinting it. false (the default) shows each once",
            "name": "copies",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "company",
                "all"
              ],
              "description": "Whose events: company, the company alone (the default); or all, the company and each confirmed rival at once, each event naming whose it is"
            },
            "required": false,
            "description": "Whose events: company, the company alone (the default); or all, the company and each confirmed rival at once, each event naming whose it is",
            "name": "companies",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "newest",
                "kind"
              ],
              "description": "newest first; or kind, acquisitions and deals first, then funding, price changes, launches, leaders and the rest, each newest first. newest if left out, kind with companies=all"
            },
            "required": false,
            "description": "newest first; or kind, acquisitions and deals first, then funding, price changes, launches, leaders and the rest, each newest first. newest if left out, kind with companies=all",
            "name": "order",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 200,
              "description": "How many events, newest first: 50 if left out"
            },
            "required": false,
            "description": "How many events, newest first: 50 if left out",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row an event",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "timeline",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "from": "2025-11-17",
                        "to": "2026-11-16"
                      },
                      "figures": [
                        {
                          "name": "events",
                          "label": "Dated events, Nov 17, 2025 to Nov 16, 2026",
                          "value": 2,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": 2,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [],
                      "rows": [
                        {
                          "key": "rec_01EXAMPLE00000000000000001",
                          "label": "A patient-data breach, reported to the state",
                          "kind": "event",
                          "company": "northwind-dental",
                          "values": {},
                          "small": false,
                          "day": "2026-06-03",
                          "source": "state-breaches",
                          "category": "breach",
                          "url": "https://state.example/breaches/1",
                          "was": []
                        },
                        {
                          "key": "sig_01EXAMPLE00000000000000002",
                          "label": "Northwind Dental opens a third office",
                          "kind": "event",
                          "company": "northwind-dental",
                          "values": {},
                          "small": false,
                          "day": "2026-03-12",
                          "source": "gdelt",
                          "category": "story",
                          "url": "https://news.example/northwind",
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "google-maps",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "rec_01EXAMPLE00000000000000001",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "google-maps",
                            "name": "Google Maps reviews and listings",
                            "network": "google-maps"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_timeline`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/ads": {
      "get": {
        "operationId": "numbersAds",
        "summary": "A brand's ads running on one day and on another, what started and stopped between them, by platform, for the target and each confirmed rival",
        "description": "A brand's ads in Meta's US library running on one day and on another, four weeks before if left out, what started and stopped between them, and the running ones by platform, for the company and each confirmed rival, by each brand's last weekly pull on or before each day. A brand's franchisees' confirmed pages count with its own, and `from_franchisees` says how many ran from them. With `source=google-ads-transparency`, the ads Google's US Ads Transparency Center showed in the nine days before each pull, by format (text, image, video), read against each company's confirmed domain. A brand that can't be counted is null, never 0, and a caveat says why; a brand read and running none is 0, and a caveat says when it was read. A row is a company. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"ads\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_ads",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/ads?source=meta-ad-library&on=2026-11-16&vs=2026-10-19' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64,
              "description": "The ad library, by catalog id: meta-ad-library (Meta's, read against a confirmed Facebook page) if left out, or google-ads-transparency (Google's, read against a confirmed domain)"
            },
            "required": false,
            "description": "The ad library, by catalog id: meta-ad-library (Meta's, read against a confirmed Facebook page) if left out, or google-ads-transparency (Google's, read against a confirmed domain)",
            "name": "source",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The day to count the ads running on, by each brand's last pull on or before it: today if left out"
            },
            "required": false,
            "description": "The day to count the ads running on, by each brand's last pull on or before it: today if left out",
            "name": "on",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The earlier day to compare it with: four weeks before `on` if left out"
            },
            "required": false,
            "description": "The earlier day to compare it with: four weeks before `on` if left out",
            "name": "vs",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a company",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "ads",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "source": "meta-ad-library",
                        "on": "2026-11-16",
                        "vs": "2026-10-19"
                      },
                      "figures": [
                        {
                          "name": "running",
                          "label": "Ads running on Nov 16, 2026",
                          "value": 6,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": 6,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "started",
                          "label": "Started since Oct 19, 2026",
                          "value": 3,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": 3,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "running",
                          "label": "Running",
                          "unit": "count"
                        },
                        {
                          "name": "started",
                          "label": "Started",
                          "unit": "count"
                        }
                      ],
                      "rows": [
                        {
                          "key": "northwind-dental",
                          "label": "Northwind Dental",
                          "kind": "company",
                          "company": "northwind-dental",
                          "values": {
                            "running": 6,
                            "started": 3
                          },
                          "small": false,
                          "day": "2026-11-16",
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        },
                        {
                          "key": "harbor-smiles",
                          "label": "Harbor Smiles",
                          "kind": "company",
                          "company": "harbor-smiles",
                          "values": {
                            "running": null,
                            "started": null
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "meta-ad-library",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "northwind-dental",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "meta-ad-library",
                            "name": "Meta's US ad library",
                            "network": "meta"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_ads`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/ads-weeks": {
      "get": {
        "operationId": "numbersAdsWeeks",
        "summary": "The ads running at each of a brand's weekly pulls, with what started and stopped since the one before, for the target and each confirmed rival",
        "description": "The ads running at each of a brand's weekly pulls, twelve weeks to `to` if left out, with what started and stopped since the pull before, for the company and each confirmed rival. With `source=google-ads-transparency`, the ads Google showed in the nine days before each pull. A row is a company's pull. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"ads_weeks\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_ads_weeks",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/ads-weeks?source=meta-ad-library&weeks=4' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64,
              "description": "The ad library, by catalog id: meta-ad-library (Meta's, read against a confirmed Facebook page) if left out, or google-ads-transparency (Google's, read against a confirmed domain)"
            },
            "required": false,
            "description": "The ad library, by catalog id: meta-ad-library (Meta's, read against a confirmed Facebook page) if left out, or google-ads-transparency (Google's, read against a confirmed domain)",
            "name": "source",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The last day: today if left out"
            },
            "required": false,
            "description": "The last day: today if left out",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 104,
              "description": "How many weeks of pulls, ending on `to`: 12 if left out"
            },
            "required": false,
            "description": "How many weeks of pulls, ending on `to`: 12 if left out",
            "name": "weeks",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a company's pull",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "ads_weeks",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "source": "meta-ad-library",
                        "to": "2026-11-16",
                        "weeks": 4
                      },
                      "figures": [
                        {
                          "name": "running_latest",
                          "label": "Ads running at the latest pull",
                          "value": 6,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": 6,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "running",
                          "label": "Running",
                          "unit": "count"
                        }
                      ],
                      "rows": [
                        {
                          "key": "northwind-dental:2026-11-09",
                          "label": "Nov 9, 2026",
                          "kind": "period",
                          "company": "northwind-dental",
                          "values": {
                            "running": 5
                          },
                          "small": false,
                          "day": "2026-11-09",
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        },
                        {
                          "key": "northwind-dental:2026-11-16",
                          "label": "Nov 16, 2026",
                          "kind": "period",
                          "company": "northwind-dental",
                          "values": {
                            "running": 6
                          },
                          "small": false,
                          "day": "2026-11-16",
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "meta-ad-library",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "northwind-dental:2026-11-09",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "meta-ad-library",
                            "name": "Meta's US ad library",
                            "network": "meta"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_ads_weeks`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/site": {
      "get": {
        "operationId": "numbersSite",
        "summary": "What a company's own pages say it sells, charges and serves, where it is, who leads it, its open roles and certifications, beside each confirmed rival's",
        "description": "What a company's own pages say it sells, charges and serves, where it is, who leads it, its open roles and its certifications, as counts beside each confirmed rival's, from its pages as last read on or before `on`, and the releases its changelog dates in the 12 months to `on`, each with its words as evidence. A site not read by then has null figures and says why, and so has a count of facts where no model has read its pages' facts yet: a 0 is only ever a kind its read pages don't say. Releases are null where its changelog wasn't read: a team's target's site is read with its changelog, a rival's without. A row is a company. With `by=rival`, a row is a confirmed rival instead, nearest first: whom its own site says it sells to, how far and where it overlaps the target, what it does beyond the target's product and who does the manual part, and what its pages say of the target, each answer a cell of `word_columns` with the page's own words as its evidence. A rival not read yet is a row of nulls that says why. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"site\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_site",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/site?on=2026-11-16' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The day: each company's pages as last read on or before it, and the facts read from those versions. Today if left out"
            },
            "required": false,
            "description": "The day: each company's pages as last read on or before it, and the facts read from those versions. Today if left out",
            "name": "on",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "company",
                "rival",
                "player"
              ],
              "description": "What a row is: a company with its counts, the target first (the default); a confirmed rival with its own site's four answers about the target (whom it sells to, where it overlaps the target, what it does beyond the target's product and who does the manual part, and what its pages say of the target), nearest first; or, for a market, a confirmed player with its own site's four answers about the market (which of its buyer groups it sells to, how much of it the player covers, what it sells beyond it, and which other players its pages name), with a column a buyer group (`group_…`) and a column a player (`names_…`) for the two grids"
            },
            "required": false,
            "description": "What a row is: a company with its counts, the target first (the default); a confirmed rival with its own site's four answers about the target (whom it sells to, where it overlaps the target, what it does beyond the target's product and who does the manual part, and what its pages say of the target), nearest first; or, for a market, a confirmed player with its own site's four answers about the market (which of its buyer groups it sells to, how much of it the player covers, what it sells beyond it, and which other players its pages name), with a column a buyer group (`group_…`) and a column a player (`names_…`) for the two grids",
            "name": "by",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a company, or with by=rival a row a confirmed rival",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "site",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "on": "2026-11-16"
                      },
                      "figures": [
                        {
                          "name": "rivals_read",
                          "label": "Confirmed rivals whose site was read",
                          "value": 1,
                          "unit": "count",
                          "company": null,
                          "n": 1,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "pages",
                          "label": "Pages read",
                          "unit": "count"
                        },
                        {
                          "name": "plans",
                          "label": "Plans priced",
                          "unit": "count"
                        }
                      ],
                      "rows": [
                        {
                          "key": "northwind-dental",
                          "label": "Northwind Dental",
                          "kind": "company",
                          "company": "northwind-dental",
                          "values": {
                            "pages": 14,
                            "plans": 2
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        },
                        {
                          "key": "harbor-smiles",
                          "label": "Harbor Smiles",
                          "kind": "company",
                          "company": "harbor-smiles",
                          "values": {
                            "pages": 9,
                            "plans": 0
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "company-site",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "northwind-dental",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "company-site",
                            "name": "The company's own site",
                            "network": "company-site"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_site`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/site-changes": {
      "get": {
        "operationId": "numbersSiteChanges",
        "summary": "What changed on a company's own pages and each confirmed rival's between two days: pages added, gone and changed, and facts added and dropped",
        "description": "What changed on the company's own pages and each confirmed rival's between `vs` and `on`, four weeks apart if left out: pages added, gone and changed, and facts added and dropped. A row is a company. A page that changed counts its facts added and dropped only where its version's facts on both days were read; one that waits is in `basis.left_out`, and where every page that changed waits, `facts_added` and `facts_dropped` are null. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"site_changes\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_site_changes",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/site-changes?on=2026-11-16&vs=2026-10-19' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The later day: today if left out"
            },
            "required": false,
            "description": "The later day: today if left out",
            "name": "on",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The earlier day: four weeks before `on` if left out"
            },
            "required": false,
            "description": "The earlier day: four weeks before `on` if left out",
            "name": "vs",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a company",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "site_changes",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "on": "2026-11-16",
                        "vs": "2026-10-19"
                      },
                      "figures": [],
                      "columns": [
                        {
                          "name": "pages_changed",
                          "label": "Pages changed",
                          "unit": "count"
                        },
                        {
                          "name": "facts_added",
                          "label": "Facts added",
                          "unit": "count"
                        }
                      ],
                      "rows": [
                        {
                          "key": "northwind-dental",
                          "label": "Northwind Dental",
                          "kind": "company",
                          "company": "northwind-dental",
                          "values": {
                            "pages_changed": 2,
                            "facts_added": 1
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "company-site",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "northwind-dental",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "company-site",
                            "name": "The company's own site",
                            "network": "company-site"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_site_changes`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/figures": {
      "get": {
        "operationId": "numbersFigures",
        "summary": "A listed company's reported revenue, operating income, net income and segments by year or quarter, each against the year before, beside each confirmed rival and comparable that files",
        "description": "What a listed company reported in its 10-Ks and 10-Qs, over up to five fiscal years: revenue, operating income, net income and each segment's revenue, each against the same period a year before, and each segment's share of reported revenue. Each confirmed rival and comparable that files has the same figures over the same years. A restated value keeps what it replaced. A company with no filings under a confirmed SEC number has no rows, and `basis.left_out` says why. A row is a line of one company for a period, or a company with `by=company`. A value a row can't work out, a change from a year not filed or at or below zero, a line's share of revenue, a line not tagged, is left out of the row, never null: a null says a source withheld it. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"figures\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_figures",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/figures?by=year&years=2&to=2026' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "year",
                "quarter",
                "company"
              ],
              "description": "What a row is: a fiscal year of one line (the default), a quarter of one line, or a company at its latest fiscal year"
            },
            "required": false,
            "description": "What a row is: a fiscal year of one line (the default), a quarter of one line, or a company at its latest fiscal year",
            "name": "by",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5,
              "description": "How many fiscal years, ending on `to`: 5 if left out"
            },
            "required": false,
            "description": "How many fiscal years, ending on `to`: 5 if left out",
            "name": "years",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1990,
              "maximum": 2100,
              "description": "The last fiscal year: the latest the company has reported if left out"
            },
            "required": false,
            "description": "The last fiscal year: the latest the company has reported if left out",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "income",
                "products",
                "cash"
              ],
              "description": "Which of its filings' figures: `income`, its revenue, income and segments (the default); `products`, its revenue by product and segment, with what its revenue change would be without each product's; or `cash`, its gross profit, cash flow, capital spending, share repurchases, cash and long-term debt. `products` and `cash` answer the company alone, a row a line a fiscal year"
            },
            "required": false,
            "description": "Which of its filings' figures: `income`, its revenue, income and segments (the default); `products`, its revenue by product and segment, with what its revenue change would be without each product's; or `cash`, its gross profit, cash flow, capital spending, share repurchases, cash and long-term debt. `products` and `cash` answer the company alone, a row a line a fiscal year",
            "name": "section",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a company a line a period, or a row a company with by=company",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "figures",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "by": "year",
                        "years": 2,
                        "to": 2026
                      },
                      "figures": [
                        {
                          "name": "revenue",
                          "label": "Revenue, FY2026",
                          "value": 84000000,
                          "unit": "usd",
                          "company": "northwind-dental",
                          "n": null,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "revenue_change",
                          "label": "Revenue, FY2026 against FY2025",
                          "value": 0.05,
                          "unit": "share",
                          "company": "northwind-dental",
                          "n": null,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "total",
                          "label": "Reported",
                          "unit": "usd"
                        },
                        {
                          "name": "prior_total",
                          "label": "The year before",
                          "unit": "usd"
                        },
                        {
                          "name": "change_share",
                          "label": "Change on the year before",
                          "unit": "share"
                        },
                        {
                          "name": "share_of_group",
                          "label": "Share of reported revenue",
                          "unit": "share"
                        }
                      ],
                      "rows": [
                        {
                          "key": "northwind-dental:revenue:FY2026",
                          "label": "Northwind Dental: revenue, FY2026",
                          "kind": "period",
                          "company": "northwind-dental",
                          "values": {
                            "total": 84000000,
                            "prior_total": 80000000,
                            "change_share": 0.05,
                            "share_of_group": null
                          },
                          "small": false,
                          "day": "2026-09-30",
                          "source": "edgar",
                          "category": "revenue",
                          "url": "https://sec.example/filings/1",
                          "was": null
                        },
                        {
                          "key": "northwind-dental:segment:clinics:FY2026",
                          "label": "Northwind Dental: Clinics, FY2026",
                          "kind": "period",
                          "company": "northwind-dental",
                          "values": {
                            "total": 63000000,
                            "prior_total": 60000000,
                            "change_share": 0.05,
                            "share_of_group": 0.75
                          },
                          "small": false,
                          "day": "2026-09-30",
                          "source": "edgar",
                          "category": "segment",
                          "url": "https://sec.example/filings/1",
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "edgar",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "northwind-dental:revenue:FY2026",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "edgar",
                            "name": "SEC EDGAR filings",
                            "network": "edgar"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_figures`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/market": {
      "get": {
        "operationId": "numbersMarket",
        "summary": "The market a company sells into: how big it is, how it splits, how fast it grows and the company's share of it",
        "description": "The market a company sells into, for one of its confirmed industry codes (`naics`), for the nation and each state it works in (`states`). How big it is: receipts from the Economic Census, and the Service Annual Survey between its years, with establishments, jobs and payroll from County Business Patterns, each against five years before. How it splits: establishments by size class, and each state's share of the nation. How fast it grows: jobs and wages from QCEW, the newest quarter against the same quarter a year before. The company's share: its reported revenue, and each confirmed rival's and listed comparable's, over the market's receipts for the same year. `section` keeps one part, `size`, `split`, `share` or `growth`, with its own rows, figures, evidence and caveats. Each source keeps its own year, and each row's label and each figure says which. A column with no value in any row is left out of the answer. A figure a source withholds is empty, never 0. A company with no confirmed industry code has no rows, and `basis.left_out` says why. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"market\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_market",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/market?naics=621210&states=OR,WA' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{6}$",
              "description": "One of the company's confirmed six-digit industry codes: the one with the largest national receipts if left out"
            },
            "required": false,
            "description": "One of the company's confirmed six-digit industry codes: the one with the largest national receipts if left out",
            "name": "naics",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 160,
              "pattern": "^[A-Za-z]{2}(,[A-Za-z]{2})*$",
              "description": "The states to read beside the nation, as two-letter codes, comma-separated: CA,NV. The states the company's own site gives addresses in if left out"
            },
            "required": false,
            "description": "The states to read beside the nation, as two-letter codes, comma-separated: CA,NV. The states the company's own site gives addresses in if left out",
            "name": "states",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "size",
                "split",
                "share",
                "growth"
              ],
              "description": "Keep one part: `size`, the market's receipts, establishments, jobs and payroll for the nation and each state; `split`, its establishments by size class; `share`, each company's reported revenue over the market's receipts; or `growth`, QCEW's newest quarter against the same quarter a year before. Its rows, figures, evidence and caveats are that part's alone. Every part if left out"
            },
            "required": false,
            "description": "Keep one part: `size`, the market's receipts, establishments, jobs and payroll for the nation and each state; `split`, its establishments by size class; `share`, each company's reported revenue over the market's receipts; or `growth`, QCEW's newest quarter against the same quarter a year before. Its rows, figures, evidence and caveats are that part's alone. Every part if left out",
            "name": "section",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row an area a source, a size class, or a company",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "market",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "naics": "621210",
                        "states": "OR,WA"
                      },
                      "figures": [
                        {
                          "name": "receipts",
                          "label": "Receipts in United States, 2022 Economic Census",
                          "value": 174000000000,
                          "unit": "usd",
                          "company": null,
                          "n": null,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "company_share",
                          "label": "Northwind Dental's share of the market's 2022 receipts",
                          "value": 0.0005,
                          "unit": "share",
                          "company": "northwind-dental",
                          "n": null,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "year",
                          "label": "Year",
                          "unit": "number"
                        },
                        {
                          "name": "receipts",
                          "label": "Receipts",
                          "unit": "usd"
                        },
                        {
                          "name": "receipts_change",
                          "label": "Change in receipts",
                          "unit": "share"
                        },
                        {
                          "name": "market_share",
                          "label": "Share of the market's receipts",
                          "unit": "share"
                        }
                      ],
                      "rows": [
                        {
                          "key": "economic:us",
                          "label": "United States, 2022 Economic Census, against 2017",
                          "kind": "period",
                          "company": null,
                          "values": {
                            "year": 2022,
                            "receipts": 174000000000,
                            "receipts_change": 0.29,
                            "market_share": null
                          },
                          "small": false,
                          "day": "2022-12-31",
                          "source": "census-economic",
                          "category": "size",
                          "url": "https://census.example/ec/2022",
                          "was": null
                        },
                        {
                          "key": "share:northwind-dental",
                          "label": "Northwind Dental, FY2022 revenue against the market's 2022 receipts",
                          "kind": "company",
                          "company": "northwind-dental",
                          "values": {
                            "year": 2022,
                            "receipts": null,
                            "receipts_change": null,
                            "market_share": 0.0005
                          },
                          "small": false,
                          "day": "2022-09-30",
                          "source": "edgar",
                          "category": "share",
                          "url": "https://sec.example/filings/1",
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "census-economic",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "economic:us",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "census-economic",
                            "name": "Census Bureau Economic Census",
                            "network": "census-economic"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_market`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/query": {
      "get": {
        "operationId": "numbersQuery",
        "summary": "A query over what PodData holds for a company and its confirmed rivals: count, filter and group its signals or records",
        "description": "A query over the rows PodData holds for a company and its confirmed rivals, for a question no other number tool was built for. It reads the signals (`of=signals`: reviews, posts, ads, videos, stories, threads) or records (`of=records`) a confirmed link ties to the company (`companies=company`), its confirmed rivals (`rivals`), both (`all`, the default) or some of them by id. It filters by `source`, `kind`, `from` and `to` by each row's own day, `min_rating` and `max_rating`, words a row holds (`contains`) and one field's value (`where=field:value`). It groups by up to two of company, source, kind, day, week, month, quarter, year, rating, topic or `field:<name>` (`group`), filling every period from the first held to the last, and gives each group its count, its share and, with `measure`, the average, median, sum, min or max of `value`. Its figures are the count, the groups, the days from the first to the last, and for a period its peak, first and last, the change from each, and with `busiest` the share in the busiest run of that many periods in a row; for any other group, a count and a share for each. With `once=words`, rows of one company, source and kind with the same words count once, the first held standing for the rest, and `basis.left_out` says how many copies were left out. With `topics` and `group=topic`, a row is a topic: the rows whose words use any of its terms, where a word starts with a term and a term in capitals keeps its case, at any stars and in any kind, its share of the rows asked with words, `with_words` and `matched` as figures, and each topic's newest samples, with their words, as evidence. A review a shop shows under several of a company's items counts once, the copies counted in `basis.left_out`, and where it counts reviews from two sources that hold the same day, stars and words, a caveat says how many. Its evidence is the rows, newest first; `row` lists a group's whole. It reads nothing another team holds, writes nothing, and refuses a field whose values run past 80 words. A share of none, and a measure where no row was counted, are left out of the row, never null; rows counted whose values are all null keep null, since then their sources withheld it. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"query\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_query",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/query?companies=company&source=google-maps&kind=review&group=week&busiest=2' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "signals",
                "records"
              ],
              "description": "What to count: signals, a review, post, ad, video, story or thread (the default); or records, an agency's or a site's rows"
            },
            "required": false,
            "description": "What to count: signals, a review, post, ad, video, story or thread (the default); or records, an agency's or a site's rows",
            "name": "of",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 400,
              "description": "Whose rows: all, the company and each confirmed rival (the default); company, the company alone; rivals, its confirmed rivals; or a comma list of their ids"
            },
            "required": false,
            "description": "Whose rows: all, the company and each confirmed rival (the default); company, the company alone; rivals, its confirmed rivals; or a comma list of their ids",
            "name": "companies",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 400,
              "description": "A comma list of catalog ids, such as g2,gartner-peer-insights: every source if left out"
            },
            "required": false,
            "description": "A comma list of catalog ids, such as g2,gartner-peer-insights: every source if left out",
            "name": "source",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "A comma list of kinds, such as review or video for signals, deal or site_fact for records: every kind if left out"
            },
            "required": false,
            "description": "A comma list of kinds, such as review or video for signals, deal or site_fact for records: every kind if left out",
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The first day, by each row's own day: from the first held if left out"
            },
            "required": false,
            "description": "The first day, by each row's own day: from the first held if left out",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The last day: to the last held if left out"
            },
            "required": false,
            "description": "The last day: to the last held if left out",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5,
              "description": "Signals only: reviews of at least these stars"
            },
            "required": false,
            "description": "Signals only: reviews of at least these stars",
            "name": "min_rating",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5,
              "description": "Signals only: reviews of at most these stars"
            },
            "required": false,
            "description": "Signals only: reviews of at most these stars",
            "name": "max_rating",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 2,
              "maxLength": 100,
              "description": "Rows whose words hold this, in any case: a signal's excerpt, a record's title or text"
            },
            "required": false,
            "description": "Rows whose words hold this, in any case: a signal's excerpt, a record's title or text",
            "name": "contains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 3,
              "maxLength": 160,
              "pattern": "^[a-z_][a-z0-9_]*(\\.[a-z0-9_]+)*:.+$",
              "description": "One field and the value it must have, as field:value: a signal's count (replied:1), a review's field (job_title:Founder, reviewer.location:Austin, TX) or a record's field (form:10-K)"
            },
            "required": false,
            "description": "One field and the value it must have, as field:value: a signal's count (replied:1), a review's field (job_title:Founder, reviewer.location:Austin, TX) or a record's field (form:10-K)",
            "name": "where",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80,
              "description": "Up to two groups, comma-separated, such as company,week: none, company, source, kind, day, week, month, quarter, year, rating, topic, or field:<name> for a field's value, such as field:job_title for a review's reviewer's job title as the platform shows it, or field:reviewer.location for where they are. company if left out"
            },
            "required": false,
            "description": "Up to two groups, comma-separated, such as company,week: none, company, source, kind, day, week, month, quarter, year, rating, topic, or field:<name> for a field's value, such as field:job_title for a review's reviewer's job title as the platform shows it, or field:reviewer.location for where they are. company if left out",
            "name": "group",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "count",
                "average",
                "median",
                "sum",
                "min",
                "max"
              ],
              "description": "What each group gives beside its count: count (the default), or the average, median, sum, min or max of value. The median of an even count is its two middle values' average"
            },
            "required": false,
            "description": "What each group gives beside its count: count (the default), or the average, median, sum, min or max of value. The median of an even count is its two middle values' average",
            "name": "measure",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 60,
              "pattern": "^[a-z_][a-z0-9_]*(\\.[a-z0-9_]+)*$",
              "description": "What measure reads: rating (a review's stars, the default for signals) or a field: a signal's count, such as likes, or a path into a record's fields. YouTube's counts are never measured"
            },
            "required": false,
            "description": "What measure reads: rating (a review's stars, the default for signals) or a field: a signal's count, such as likes, or a path into a record's fields. YouTube's counts are never measured",
            "name": "value",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 52,
              "description": "With a group by a period of time: the share of rows in the busiest run of this many periods in a row, such as 2 with week for the busiest two weeks"
            },
            "required": false,
            "description": "With a group by a period of time: the share of rows in the busiest run of this many periods in a row, such as 2 with week for the busiest two weeks",
            "name": "busiest",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "words"
              ],
              "description": "words, signals only: rows of one company, source and kind with the same words count once, the first held standing for the rest, as a brand runs one message as many ads. A row with no words counts on its own"
            },
            "required": false,
            "description": "words, signals only: rows of one company, source and kind with the same words count once, the first held standing for the rest, as a brand runs one message as many ads. A row with no words counts on its own",
            "name": "once",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 3,
              "maxLength": 2000,
              "description": "With group=topic, signals only: the topics to count, each a label, a colon and its terms split by |, the topics split by ;: \"Salesforce:salesforce|SFDC;Digests:digest\". A row counts for a topic where its words use any of its terms: a term counts where a word starts with it, and a term in capitals keeps its case"
            },
            "required": false,
            "description": "With group=topic, signals only: the topics to count, each a label, a colon and its terms split by |, the topics split by ;: \"Salesforce:salesforce|SFDC;Digests:digest\". A row counts for a topic where its words use any of its terms: a term counts where a word starts with it, and a term in capitals keeps its case",
            "name": "topics",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a group: a company, a source, a kind, a period, a star or a field’s value, or two of them",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "query",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "of": "signals",
                        "companies": "company",
                        "source": "google-maps",
                        "kind": "review",
                        "group": "week",
                        "measure": "count",
                        "busiest": 2
                      },
                      "figures": [
                        {
                          "name": "count",
                          "label": "Reviews, Northwind Dental, Oct 5, 2026 to Nov 14, 2026",
                          "value": 14,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": 14,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "peak",
                          "label": "Reviews in the busiest week, Week of Oct 26, 2026",
                          "value": 6,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": 6,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "busiest_share",
                          "label": "Share of all in the busiest 2 weeks in a row, Oct 26, 2026 to Nov 8, 2026",
                          "value": 0.64,
                          "unit": "share",
                          "company": "northwind-dental",
                          "n": 14,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "count",
                          "label": "Reviews",
                          "unit": "count"
                        },
                        {
                          "name": "share",
                          "label": "Share of all asked for",
                          "unit": "share"
                        }
                      ],
                      "rows": [
                        {
                          "key": "2026-10-26",
                          "label": "Week of Oct 26, 2026",
                          "kind": "period",
                          "company": "northwind-dental",
                          "values": {
                            "count": 6,
                            "share": 0.43
                          },
                          "small": false,
                          "day": "2026-10-26",
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        },
                        {
                          "key": "2026-11-02",
                          "label": "Week of Nov 2, 2026",
                          "kind": "period",
                          "company": "northwind-dental",
                          "values": {
                            "count": 3,
                            "share": 0.21
                          },
                          "small": false,
                          "day": "2026-11-02",
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "google-maps",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "2026-10-26",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "google-maps",
                            "name": "Google Maps reviews and listings",
                            "network": "google-maps"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_query`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/rating-periods": {
      "get": {
        "operationId": "numbersRatingPeriods",
        "summary": "A source's reviews by week or month over everything held, beside each confirmed rival: the busiest runs, and the average inside and outside them",
        "description": "A source's reviews over everything held, not a window's, counted by the week or month of each review's own day, for the company and each confirmed rival: how many are held and how many the platform shows, the share in the busiest two and four weeks in a row (or one and three months with `period=month`), and the average rating inside and outside the busiest run. `by=company` (the default) gives a row a company; `by=week` or `by=month` gives the company's own reviews a period at a time, every period from its first review held to its last, a period with none as 0. `by=year` gives each company's years, the same years for all, with each year's count and average and the change from its first year to its last: with an employer source such as Glassdoor, how its staff rate it over time. Each company's figures end in its id, and the company's own have no ending. Where the platform labels how each review came, as G2, Capterra and Gartner Peer Insights do, `invited_count` and `invited_share` count those invited by the platform or by the seller, of those whose source it shows, with `invited_by_seller_count`, `invited_by_platform_count` and `organic_count` apart, `incentivised_share` those whose reviewer was offered an incentive, and `average_invited` and `average_organic` their averages; a company none of whose reviews carries the label has none, never 0. `no_words_count` and `no_words_share` count a company's reviews held that give a star and no words, a rival's ending in its id. Reviews bunched into a few weeks are a sign someone asked for them, and the answer's caveats say so. A value a row can't work out, an average of no reviews, a share of none or a count the platform never showed, is left out of the row, never null: a null says a source withheld it. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"rating_periods\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_rating_periods",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/rating-periods?source=google-maps' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64,
              "description": "A source's catalog id, such as google-maps"
            },
            "required": true,
            "description": "A source's catalog id, such as google-maps",
            "name": "source",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "company",
                "week",
                "month",
                "year",
                "review"
              ],
              "description": "What a row is: a company, the target and each confirmed rival (the default); a week or a month of the company's own reviews; a year of each company's, over the same years for all; or one review, each company's newest first, up to 400 a company, its day and its stars"
            },
            "required": false,
            "description": "What a row is: a company, the target and each confirmed rival (the default); a week or a month of the company's own reviews; a year of each company's, over the same years for all; or one review, each company's newest first, up to 400 a company, its day and its stars",
            "name": "by",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "week",
                "month"
              ],
              "description": "With by=company, the period a burst is counted in: week (the busiest two and four weeks, the default) or month (the busiest one and three months)"
            },
            "required": false,
            "description": "With by=company, the period a burst is counted in: week (the busiest two and four weeks, the default) or month (the busiest one and three months)",
            "name": "period",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The first day, by each review's own day: from the first review held if left out"
            },
            "required": false,
            "description": "The first day, by each review's own day: from the first review held if left out",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The window's last day. Today if left out"
            },
            "required": false,
            "description": "The window's last day. Today if left out",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a company, a week or month of the company's own reviews, a year of each company's, or one review",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "rating_periods",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "source": "google-maps",
                        "by": "company",
                        "period": "week",
                        "to": "2026-11-16"
                      },
                      "figures": [
                        {
                          "name": "count",
                          "label": "Reviews held, Northwind Dental",
                          "value": 14,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": 14,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "busiest_2_share",
                          "label": "Share of the reviews held in the busiest 2 weeks in a row, Oct 26, 2026 to Nov 8, 2026, Northwind Dental",
                          "value": 0.5,
                          "unit": "share",
                          "company": "northwind-dental",
                          "n": 14,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "busiest_2_share_harbor_smiles",
                          "label": "Share of the reviews held in the busiest 2 weeks in a row, Mar 2, 2026 to Mar 15, 2026, Harbor Smiles",
                          "value": 0.08,
                          "unit": "share",
                          "company": "harbor-smiles",
                          "n": 51,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "count",
                          "label": "Reviews held",
                          "unit": "count"
                        },
                        {
                          "name": "busiest_2_share",
                          "label": "Share in the busiest 2 weeks in a row",
                          "unit": "share"
                        },
                        {
                          "name": "average",
                          "label": "Average rating",
                          "unit": "stars"
                        }
                      ],
                      "rows": [
                        {
                          "key": "northwind-dental",
                          "label": "Northwind Dental",
                          "kind": "company",
                          "company": "northwind-dental",
                          "values": {
                            "count": 14,
                            "busiest_2_share": 0.5,
                            "average": 4.7
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        },
                        {
                          "key": "harbor-smiles",
                          "label": "Harbor Smiles",
                          "kind": "company",
                          "company": "harbor-smiles",
                          "values": {
                            "count": 51,
                            "busiest_2_share": 0.08,
                            "average": 4.5
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "google-maps",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "northwind-dental",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "google-maps",
                            "name": "Google Maps reviews and listings",
                            "network": "google-maps"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_rating_periods`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/videos": {
      "get": {
        "operationId": "numbersVideos",
        "summary": "A company's videos beside each confirmed rival's: how many it published, by month, and each with its title and YouTube's counts",
        "description": "A company's videos over a window, a year to `to` if left out, for the company and each confirmed rival: how many it published and in how many months (`by=company`, the default), how many each month (`by=month`), or each video newest first, its title as its label and YouTube's views, likes, comments and length as its values (`by=video`). A video from the company's own channel, a confirmed `youtube_channel` link, counts whatever its title says (`own_channel_videos`); one a search found counts only where its title or address names its company, by its name, its other names or its confirmed search terms (`found_videos`), and those that don't are counted as left out. Its counts rest on the days the reads cover: `basis.sources` lists each company's own channel and its videos found by search, each with `reads_from`, the first day its searches read back to, and where that's after `from` its figures' labels say so. YouTube's counts are each video's own and never added up. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"videos\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_videos",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/videos?by=video&from=2026-10-01&to=2026-11-16' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The first day, by each video's own day: a year before `to` if left out"
            },
            "required": false,
            "description": "The first day, by each video's own day: a year before `to` if left out",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The window's last day. Today if left out"
            },
            "required": false,
            "description": "The window's last day. Today if left out",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "company",
                "month",
                "video"
              ],
              "description": "What a row is: a company (the default), a company's month, or a video with its title and YouTube's counts, newest first"
            },
            "required": false,
            "description": "What a row is: a company (the default), a company's month, or a video with its title and YouTube's counts, newest first",
            "name": "by",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a company, a company's month, or a video",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "videos",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "from": "2026-10-01",
                        "to": "2026-11-16",
                        "by": "video"
                      },
                      "figures": [
                        {
                          "name": "videos",
                          "label": "Videos naming Northwind Dental, Oct 1, 2026 to Nov 16, 2026",
                          "value": 3,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": 3,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "videos_harbor_smiles",
                          "label": "Videos naming Harbor Smiles, Oct 1, 2026 to Nov 16, 2026",
                          "value": 1,
                          "unit": "count",
                          "company": "harbor-smiles",
                          "n": 1,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "views",
                          "label": "Views, YouTube's count when last read",
                          "unit": "count"
                        },
                        {
                          "name": "likes",
                          "label": "Likes, YouTube's count",
                          "unit": "count"
                        },
                        {
                          "name": "comments",
                          "label": "Comments, YouTube's count",
                          "unit": "count"
                        },
                        {
                          "name": "seconds",
                          "label": "Length in seconds",
                          "unit": "number"
                        }
                      ],
                      "rows": [
                        {
                          "key": "sig_01EXAMPLE00000000000000011",
                          "label": "Northwind Dental: same-day crowns, start to finish",
                          "kind": "event",
                          "company": "northwind-dental",
                          "values": {
                            "views": 212,
                            "likes": 9,
                            "comments": 1,
                            "seconds": 184
                          },
                          "small": false,
                          "day": "2026-11-04",
                          "source": "youtube",
                          "category": "video",
                          "url": "https://youtube.example/watch?v=1",
                          "was": null
                        },
                        {
                          "key": "sig_01EXAMPLE00000000000000012",
                          "label": "Harbor Smiles opens its third office",
                          "kind": "event",
                          "company": "harbor-smiles",
                          "values": {
                            "views": 40,
                            "likes": 2,
                            "comments": 0,
                            "seconds": 61
                          },
                          "small": false,
                          "day": "2026-10-20",
                          "source": "youtube",
                          "category": "video",
                          "url": "https://youtube.example/watch?v=2",
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "youtube",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "sig_01EXAMPLE00000000000000011",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "youtube",
                            "name": "YouTube Data API (finding videos about a target)",
                            "network": "youtube"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_videos`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/profile": {
      "get": {
        "operationId": "numbersProfile",
        "summary": "What a company is, beside each confirmed rival: where it is registered and located, what it sells, who runs it, the employees its 10-K states, the signs of its team, its fleet, industry codes and parent",
        "description": "What PodData holds about what a company is, beside each confirmed rival: its entities in the state registries read and the years since the earliest, its locations and places, the products, prices, trademarks and listings it has, what changed on its pages between `vs` and `on`, the leaders and officers its records name, the employees and executive officers its latest 10-K states, the signs of its team, its fleet, its industry codes and its confirmed parent. Each column counts one kind of fact, and `evidence` lists each fact with the record that names it. A 10-K's employees are the filing's own count, with the words that say what it counts, and where a 10-K takes its officers from the proxy statement only those who signed it are named and `basis.left_out` says so. A fact no source holds is left out of its row, never shown as zero, and no column is a headcount PodData worked out. A row is a company. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"profile\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_profile",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/profile?on=2026-11-16&vs=2026-10-19' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The day: each company's pages as last read on or before it. Today if left out"
            },
            "required": false,
            "description": "The day: each company's pages as last read on or before it. Today if left out",
            "name": "on",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The earlier day its products and services are compared with: four weeks before `on` if left out"
            },
            "required": false,
            "description": "The earlier day its products and services are compared with: four weeks before `on` if left out",
            "name": "vs",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a company",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "profile",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "on": "2026-11-16",
                        "vs": "2026-10-19"
                      },
                      "figures": [
                        {
                          "name": "entities",
                          "label": "Northwind Dental: entities in the state registries read",
                          "value": 2,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": null,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "rivals",
                          "label": "Confirmed rivals",
                          "value": 1,
                          "unit": "count",
                          "company": null,
                          "n": null,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "entities",
                          "label": "Entities in the state registries read",
                          "unit": "count"
                        },
                        {
                          "name": "products",
                          "label": "Products and services its site says it sells",
                          "unit": "count"
                        },
                        {
                          "name": "site_leaders",
                          "label": "Leaders its site names",
                          "unit": "count"
                        }
                      ],
                      "rows": [
                        {
                          "key": "northwind-dental",
                          "label": "Northwind Dental (target)",
                          "kind": "company",
                          "company": "northwind-dental",
                          "values": {
                            "entities": 2,
                            "products": 6,
                            "site_leaders": 3
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        },
                        {
                          "key": "harbor-smiles",
                          "label": "Harbor Smiles",
                          "kind": "company",
                          "company": "harbor-smiles",
                          "values": {
                            "products": 4
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "company-site",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "northwind-dental",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "company-site",
                            "name": "The company's own site",
                            "network": "company-site"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_profile`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/markets/{market}/numbers/{name}": {
      "get": {
        "operationId": "marketNumbers",
        "summary": "A number tool asked for a market: a row each confirmed player, and the field's own figures",
        "description": "A number tool asked for a market rather than a company: the same tool, the same arguments as its query, and the same answer, but `market` stands where `company` would, each row is a confirmed player, no row is a target's, and its figures are the field's: `players` (how many are confirmed), then for each measure `counted_<m>` (how many have it), `leader_<m>` (whose figure it is: the leader's), `median_<m>`, `low_<m>`, `high_<m>`, and `total_<m>` where a sum means something. There's no gap. Rows run in the order of the measure, largest first, a player with nothing held last, marked, and `basis.left_out` names each player left out and why. A share is a share among the players read, never a market share. The tools that answer a market now: profile, query, videos, funding, figures, interest, rating_periods, site, timeline, series, rating, rating_by_link, rating_rivals, rating_windows, complaints, ads, ads_weeks, social, risks, site_changes, market, players, category; any other is a `400` that says so. With `format=csv` its rows are a file, as a company's are.\n\n**Before:** The market is one of your team's (`GET /markets`), and its players are confirmed: a player counts only once a person confirms it, as a rival does.\n\n**Next:** Put it in a market report as an exhibit, `{\"numbers\": \"profile\", \"company\": \"mkt_…\", \"params\": {…}}`, the market's id where a company's would be, and cite a figure as `{exhibit-id.median_products}`.\n\n**Limits:** One `api` call, as a company's tool is. At most 200 of the ids behind the figures are listed in `evidence`. An id that isn't one of your team's markets is a `404`, in the same words as one that isn't there.",
        "x-mcp-tool": "numbers_query",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/markets/mkt_01JD3Q7C9P8XH2W4YB5N6R0TKM/numbers/query?group=company&source=g2' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "A market's id, mkt_…, from GET /markets",
              "example": "mkt_01JD3Q7C9P8XH2W4YB5N6R0TKM"
            },
            "required": true,
            "description": "A market's id, mkt_…, from GET /markets",
            "name": "market",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rating",
                "rating-by-link",
                "rating-rivals",
                "rating-windows",
                "complaints",
                "series",
                "timeline",
                "ads",
                "ads-weeks",
                "site",
                "site-changes",
                "figures",
                "profile",
                "risks",
                "market",
                "funding",
                "interest",
                "social",
                "videos",
                "rating-periods",
                "query",
                "players",
                "category"
              ],
              "description": "The number tool, as its company route names it: profile, query, rating-rivals",
              "example": "profile"
            },
            "required": true,
            "description": "The number tool, as its company route names it: profile, query, rating-rivals",
            "name": "name",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row each confirmed player, and the field's figures",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "query",
                      "market": {
                        "id": "mkt_01JD3Q7C9P8XH2W4YB5N6R0TKM",
                        "name": "Northwind document tools"
                      },
                      "params": {
                        "of": "signals",
                        "source": "g2",
                        "group": "company",
                        "measure": "count"
                      },
                      "figures": [
                        {
                          "name": "players",
                          "label": "Confirmed players",
                          "value": 3,
                          "unit": "count",
                          "company": null,
                          "n": 3,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "leader_count",
                          "label": "Leader by signals: Contoso Scan",
                          "value": 412,
                          "unit": "count",
                          "company": "contoso-scan",
                          "n": 2,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "count",
                          "label": "Signals",
                          "unit": "count"
                        }
                      ],
                      "rows": [
                        {
                          "key": "contoso-scan",
                          "label": "Contoso Scan",
                          "kind": "company",
                          "company": "contoso-scan",
                          "values": {
                            "count": 412
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [],
                        "total": 412,
                        "more": 412
                      },
                      "basis": {
                        "sources": [],
                        "independent": 0,
                        "window": null,
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": null,
                          "from": null,
                          "to": null,
                          "days": 0,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [
                          {
                            "what": "Fabrikam Forms (nothing held)",
                            "count": 1,
                            "why": "Nothing on G2 is tied to it by a confirmed link yet"
                          }
                        ],
                        "caveats": []
                      },
                      "computed_at": "2026-11-26T12:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_query`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/category": {
      "get": {
        "operationId": "numbersCategory",
        "summary": "A target's market: its size as each research firm gives it, where each analyst's list places it and each confirmed rival, and what it's called",
        "description": "What a target's category is, as others say it, from what two readers keep: its size as each research firm's own free release gives it (`section=size`), a row a figure with its firm, the year it's for, its scope in the firm's own words and how that sits against the category, never merged, averaged or converted, the lowest and highest of the category's own sizes and its parts' as figures, a wider market's a row counted in none; where each analyst's list places the target and each confirmed rival (`section=placements`), a grid of a row a company and a column a list, each cell the vendor's own words, a company with none named in `basis.left_out` with whether its site was read, never read as not placed; and what the market is called (`section=names`), each name with its page and how many of the companies' own pages use it. All three if left out. Asked for a market at `/markets/{market}/numbers/category`, its players stand where the companies do. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"category\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_category",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/category?section=size' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "size",
                "placements",
                "names"
              ],
              "description": "Keep one part: size, a row each research firm's figure, never merged; placements, a row each player or company and a column each analyst's list; or names, what the market is called and by whom. All three if left out"
            },
            "required": false,
            "description": "Keep one part: size, a row each research firm's figure, never merged; placements, a row each player or company and a column each analyst's list; or names, what the market is called and by whom. All three if left out",
            "name": "section",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a size, a company's placements or a name",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "category",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "section": "size"
                      },
                      "figures": [
                        {
                          "name": "sizes",
                          "label": "Sizes of Northwind Dental's market a research firm's own release gives",
                          "value": 2,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": 2,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "size_low",
                          "label": "The lowest size in dollars, Example Research's 2025 estimate",
                          "value": 1200000000,
                          "unit": "usd",
                          "company": "northwind-dental",
                          "n": 2,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "usd",
                          "label": "Size in dollars, as the firm gives it",
                          "unit": "usd"
                        },
                        {
                          "name": "year_for",
                          "label": "The year it is for",
                          "unit": "number"
                        }
                      ],
                      "rows": [
                        {
                          "key": "rec_01EXAMPLE00000000000000021",
                          "label": "Example Research's 2025 estimate: dental support organizations",
                          "kind": "event",
                          "company": "northwind-dental",
                          "values": {
                            "usd": 1200000000,
                            "year_for": 2025
                          },
                          "small": false,
                          "day": "2026-03-02",
                          "source": "market-sizes",
                          "category": "size",
                          "url": "https://research.example/dso-market",
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "market-sizes",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "rec_01EXAMPLE00000000000000021",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "market-sizes",
                            "name": "Market sizes from research firms' releases",
                            "network": "market-sizes"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_category`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/risks": {
      "get": {
        "operationId": "numbersRisks",
        "summary": "A company's record of safety, compliance, labour, breaches, licences and claims, the last three years against the three before, beside each confirmed rival",
        "description": "A company's record of what could go wrong, beside each confirmed rival: workplace safety, vehicles, environment, products, labour, data breaches, licences and claims on its assets. Each count covers the three years to `on`, with the three years before beside it where the source reaches that far, and `evidence` lists each record behind a count. A kind with no source read for a company is left out of its row and listed in `basis.left_out`, never shown as zero. Court cases aren't read yet. A row is a company. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"risks\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_risks",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/risks?on=2026-11-16&kind=workplace' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The day the windows end: the last three years to it, against the three before. Today if left out"
            },
            "required": false,
            "description": "The day the windows end: the last three years to it, against the three before. Today if left out",
            "name": "on",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "workplace",
                "vehicles",
                "environment",
                "products",
                "labour",
                "data",
                "licences",
                "claims"
              ],
              "description": "One kind of record: workplace, vehicles, environment, products, labour, data, licences or claims. Every kind if left out"
            },
            "required": false,
            "description": "One kind of record: workplace, vehicles, environment, products, labour, data, licences or claims. Every kind if left out",
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a company",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "risks",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "on": "2026-11-16",
                        "kind": "workplace"
                      },
                      "figures": [
                        {
                          "name": "osha_inspections",
                          "label": "Northwind Dental: OSHA inspections, the last three years",
                          "value": 4,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": null,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "osha_inspections_earlier",
                          "label": "Northwind Dental: OSHA inspections, the three years before",
                          "value": 2,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": null,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "rival_harbor_smiles_osha_inspections",
                          "label": "Harbor Smiles: OSHA inspections, the last three years",
                          "value": 1,
                          "unit": "count",
                          "company": "harbor-smiles",
                          "n": null,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "osha_inspections",
                          "label": "Workplace safety: OSHA inspections, the last three years",
                          "unit": "count"
                        },
                        {
                          "name": "osha_inspections_earlier",
                          "label": "Workplace safety: OSHA inspections, the three years before",
                          "unit": "count"
                        },
                        {
                          "name": "osha_penalties",
                          "label": "Workplace safety: OSHA penalties, as they stand now, the last three years",
                          "unit": "usd"
                        }
                      ],
                      "rows": [
                        {
                          "key": "northwind-dental",
                          "label": "Northwind Dental (target)",
                          "kind": "company",
                          "company": "northwind-dental",
                          "values": {
                            "osha_inspections": 4,
                            "osha_inspections_earlier": 2,
                            "osha_penalties": 12500
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        },
                        {
                          "key": "harbor-smiles",
                          "label": "Harbor Smiles",
                          "kind": "company",
                          "company": "harbor-smiles",
                          "values": {
                            "osha_inspections": 1,
                            "osha_inspections_earlier": 0,
                            "osha_penalties": 0
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "osha-inspections",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "northwind-dental",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "osha-inspections",
                            "name": "OSHA's inspections",
                            "network": "osha-inspections"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_risks`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/funding": {
      "get": {
        "operationId": "numbersFunding",
        "summary": "Who lends to a company, who backed it and who owns it, beside each confirmed rival: its UCC filings, federal liens and the loans a lender’s 10-Q lists, its deals, releases, Form D offerings, the equity a fund lists and what TheirStack says it raised, and its parent",
        "description": "Who lends to a company, who backed it and who owns it, for the company and each confirmed rival, as they stood on `on`. Who lends to it: the secured parties of its Florida UCC filings and its federal liens, each with its day and whether it is in force, and the loans a lender’s 10-Q or 10-K lists in its schedule of investments, in force until they mature. Who backed it: the deals a party to them published, the releases on the wires about its own financing or sale, never one about a round another company raised that only names it, the offerings it notified the SEC of on Form D, the equity a fund’s 10-Q or 10-K lists, and what TheirStack says it raised. An offering is one row however often it was amended, with its amount sold, amount offered and investors by its latest report, and every report in its evidence. TheirStack’s is one row with its total raised, its stage, last round and investors as TheirStack writes them, and the day it was read. Who owns it: its confirmed parent and the owner a deal names. A row is one filing, lien, deal, release, offering, tracker’s figure or owner, or a company with `by=company`, and `section` keeps one of the three parts. An amount is shown only where a party states one exactly, and one left blank or undisclosed is left out, never shown as zero. A filing’s amount sits beside a deal’s, a release’s or TheirStack’s, never added to them. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"funding\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_funding",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/funding?on=2026-11-16&section=lenders' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The day: what stood on it, a filing in force or lapsed, a deal announced by then. Today if left out"
            },
            "required": false,
            "description": "The day: what stood on it, a filing in force or lapsed, a deal announced by then. Today if left out",
            "name": "on",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "event",
                "company"
              ],
              "description": "What a row is: a filing, lien, loan, deal, release, offering, equity holding or owner (the default), or a company with its counts"
            },
            "required": false,
            "description": "What a row is: a filing, lien, loan, deal, release, offering, equity holding or owner (the default), or a company with its counts",
            "name": "by",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "lenders",
                "backers",
                "owners"
              ],
              "description": "Keep one part: who lends to it, who backed it or who owns it. All three if left out"
            },
            "required": false,
            "description": "Keep one part: who lends to it, who backed it or who owns it. All three if left out",
            "name": "section",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a filing, lien, loan, deal, release, offering, equity holding, tracker’s figure or owner, or a row a company with by=company",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "funding",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "on": "2026-11-16",
                        "by": "event",
                        "section": "lenders"
                      },
                      "figures": [
                        {
                          "name": "ucc_filings",
                          "label": "Northwind Dental: UCC filings against it in Florida",
                          "value": 2,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": null,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "ucc_filings_in_force",
                          "label": "Northwind Dental: UCC filings in force on Nov 16, 2026",
                          "value": 1,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": null,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "secured_parties_in_force",
                          "label": "Northwind Dental: Secured parties on filings in force on Nov 16, 2026",
                          "value": 1,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": null,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "rivals",
                          "label": "Confirmed rivals",
                          "value": 1,
                          "unit": "count",
                          "company": null,
                          "n": null,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "in_force",
                          "label": "In force on the day: 1 if it is, 0 if it has lapsed or ended",
                          "unit": "count"
                        },
                        {
                          "name": "days_to_lapse",
                          "label": "Days from the day until it lapses or matures",
                          "unit": "days"
                        }
                      ],
                      "rows": [
                        {
                          "key": "rec_01EXAMPLE00000000000000001",
                          "label": "Northwind Dental: Example Bank, N.A., as collateral agent",
                          "kind": "event",
                          "company": "northwind-dental",
                          "values": {
                            "in_force": 1,
                            "days_to_lapse": 900
                          },
                          "small": false,
                          "day": "2024-05-02",
                          "source": "fl-ucc",
                          "category": "ucc_filing",
                          "url": "https://ucc.example/filings/1",
                          "was": null
                        },
                        {
                          "key": "rec_01EXAMPLE00000000000000002",
                          "label": "Northwind Dental: Sample Leasing, LLC",
                          "kind": "event",
                          "company": "northwind-dental",
                          "values": {
                            "in_force": 0
                          },
                          "small": false,
                          "day": "2018-03-09",
                          "source": "fl-ucc",
                          "category": "ucc_filing",
                          "url": "https://ucc.example/filings/2",
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "fl-ucc",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "rec_01EXAMPLE00000000000000001",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "fl-ucc",
                            "name": "Florida's UCC filings",
                            "network": "fl-ucc"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_funding`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/interest": {
      "get": {
        "operationId": "numbersInterest",
        "summary": "How much people look for a brand, beside each confirmed rival: the change in search interest in its name, and Ahrefs' estimate of its search traffic",
        "description": "How much people look for a brand, for the company and each confirmed rival. Search interest comes from Google Trends through its confirmed search terms: the last 52 whole weeks against the same weeks a year before, leaving out weeks inside a known distortion. Google scales each request by its own highest week, so a row a company gives only the change, and `by=week` answers the asked company alone. The target's category names are a request of their own: a row each name, `category:<name>`, gives its change beside the company's, with `category_<name>_interest_change` (`legal CRM` is `category_legal_crm_interest_change`) and, for two or more names, all of them added up as `category_interest_change`; `by=week&terms=category` gives their weeks alone. Search traffic is a monthly estimate for its confirmed domains, organic and paid: the newest month held against the same month a year before, how far each company's organic traffic fell from its own peak month, and its rank among those compared in the target's peak month and in the newest. It's an estimate, never visits. `by=month` gives its months, `months` of them to the newest held, and `by=country` the asked company's countries in its peak month and the newest, from Ahrefs' ten largest each month. A figure no source holds is left out of its row, never shown as zero. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"interest\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_interest",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/interest?to=2026-11-16' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The last day: the windows end at the last whole week and month before it. Today if left out"
            },
            "required": false,
            "description": "The last day: the windows end at the last whole week and month before it. Today if left out",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "company",
                "week",
                "month",
                "country"
              ],
              "description": "What a row is: a company (the default), a week of the asked company's search interest, a company's month of search traffic, or a country of the asked company's search traffic in its peak month and the newest"
            },
            "required": false,
            "description": "What a row is: a company (the default), a week of the asked company's search interest, a company's month of search traffic, or a country of the asked company's search traffic in its peak month and the newest",
            "name": "by",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 60,
              "description": "With by=month, how many months, ending at the last whole month: 24 if left out"
            },
            "required": false,
            "description": "With by=month, how many months, ending at the last whole month: 24 if left out",
            "name": "months",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "company",
                "category"
              ],
              "description": "With by=week, whose request's weeks: the company's own confirmed search terms (the default), or its category's names, a request of their own"
            },
            "required": false,
            "description": "With by=week, whose request's weeks: the company's own confirmed search terms (the default), or its category's names, a request of their own",
            "name": "terms",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a company, a week or a month",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "interest",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "to": "2026-11-16",
                        "by": "company"
                      },
                      "figures": [
                        {
                          "name": "interest_change",
                          "label": "Northwind Dental: search interest in its name, the last 52 weeks against the same weeks a year before",
                          "value": 0.12,
                          "unit": "share",
                          "company": "northwind-dental",
                          "n": null,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "category_dental_marketing_interest_change",
                          "label": "\"dental marketing\", Northwind Dental's category: search interest, the last 52 weeks against the same weeks a year before",
                          "value": 0.05,
                          "unit": "share",
                          "company": "northwind-dental",
                          "n": 35,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "organic_traffic",
                          "label": "Northwind Dental: organic search traffic, Oct 2026, Ahrefs' estimate",
                          "value": 18400,
                          "unit": "number",
                          "company": "northwind-dental",
                          "n": null,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "interest_change",
                          "label": "Search interest in its name, or a category name's, the last 52 weeks against the same weeks a year before",
                          "unit": "share"
                        },
                        {
                          "name": "organic_traffic",
                          "label": "Organic search traffic, Ahrefs' estimate",
                          "unit": "number"
                        }
                      ],
                      "rows": [
                        {
                          "key": "northwind-dental",
                          "label": "Northwind Dental (target)",
                          "kind": "company",
                          "company": "northwind-dental",
                          "values": {
                            "interest_change": 0.12,
                            "organic_traffic": 18400
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        },
                        {
                          "key": "harbor-smiles",
                          "label": "Harbor Smiles",
                          "kind": "company",
                          "company": "harbor-smiles",
                          "values": {
                            "interest_change": -0.04,
                            "organic_traffic": 9200
                          },
                          "small": false,
                          "day": null,
                          "source": null,
                          "category": null,
                          "url": null,
                          "was": null
                        },
                        {
                          "key": "category:dental marketing",
                          "label": "\"dental marketing\", Northwind Dental's category",
                          "kind": "topic",
                          "company": "northwind-dental",
                          "values": {
                            "interest_change": 0.05,
                            "interest_weeks": 35
                          },
                          "small": false,
                          "day": null,
                          "source": "google-trends",
                          "category": "dental marketing",
                          "url": "https://trends.google.com/trends/explore?date=2021-11-14%202026-11-14&geo=US&q=dental%20marketing#dental%20marketing",
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "google-trends",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "northwind-dental",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "google-trends",
                            "name": "Google Trends",
                            "network": "google-trends"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_interest`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/numbers/social": {
      "get": {
        "operationId": "numbersSocial",
        "summary": "What a brand's own accounts do, beside each confirmed rival: followers, posts, a post's median likes and comments, and what names it on Reddit",
        "description": "What a brand's own accounts do, for the company and each confirmed rival. A row each confirmed Instagram or TikTok account: its followers as the latest pull on or before `on` read them, against the newest pull at least 90 days before; its own posts over the last 90 days; and a post's median likes and comments. A row for Reddit counts posts and comments naming the company in its confirmed communities, the last 90 days against the 90 before. `evidence` lists each post and pull, at most 80 words, with no commenter's name. A figure no source holds is left out of its row, never shown as zero. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.\n\n**Next:** Put it in a report as an exhibit, `{\"numbers\": \"social\", \"company\": \"…\", \"params\": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.\n\n**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.",
        "x-mcp-tool": "numbers_social",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/numbers/social?on=2026-11-16' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The day: each account as its latest pull on or before it read it, and the 90 days to it. Today if left out"
            },
            "required": false,
            "description": "The day: each account as its latest pull on or before it read it, and the 90 days to it. Today if left out",
            "name": "on",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
              "example": "5"
            },
            "required": false,
            "description": "One row of the answer, by its key: the evidence then lists every item behind that row, up to 200, and says how many more. A key the answer has no row for is a 400",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
              "example": "csv"
            },
            "required": false,
            "description": "csv: the answer as a file, its rows under its columns, or with part=figures its named figures. json: the answer, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "rows",
                "figures"
              ],
              "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
              "example": "figures"
            },
            "required": false,
            "description": "With format=csv: rows (the default), the table behind the chart, a row each with a column for each of its columns; or figures, a row each with its label, value, unit, company, n and interval",
            "name": "part",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A row an account, and a row for Reddit",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "numbers": "social",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "params": {
                        "on": "2026-11-16"
                      },
                      "figures": [
                        {
                          "name": "instagram_followers",
                          "label": "Northwind Dental: Instagram @northwind: followers, as the latest pull read them",
                          "value": 12800,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": null,
                          "small": false,
                          "interval": null
                        },
                        {
                          "name": "instagram_posts_90d",
                          "label": "Northwind Dental: Instagram @northwind: its own posts over the last 90 days",
                          "value": 21,
                          "unit": "count",
                          "company": "northwind-dental",
                          "n": null,
                          "small": false,
                          "interval": null
                        }
                      ],
                      "columns": [
                        {
                          "name": "followers",
                          "label": "Followers, as the latest pull read them",
                          "unit": "count"
                        },
                        {
                          "name": "posts_90d",
                          "label": "Its own posts over the last 90 days",
                          "unit": "count"
                        },
                        {
                          "name": "median_likes",
                          "label": "A post's median likes",
                          "unit": "number"
                        }
                      ],
                      "rows": [
                        {
                          "key": "cln_01EXAMPLE0000000000000001",
                          "label": "Northwind Dental: Instagram @northwind",
                          "kind": "link",
                          "company": "northwind-dental",
                          "values": {
                            "followers": 12800,
                            "posts_90d": 21,
                            "median_likes": 84
                          },
                          "small": false,
                          "day": "2026-11-14",
                          "source": "instagram",
                          "category": null,
                          "url": null,
                          "was": null
                        },
                        {
                          "key": "cln_01EXAMPLE0000000000000002",
                          "label": "Harbor Smiles: Instagram @harborsmiles",
                          "kind": "link",
                          "company": "harbor-smiles",
                          "values": {
                            "followers": 6100,
                            "posts_90d": 9,
                            "median_likes": 40
                          },
                          "small": false,
                          "day": "2026-11-14",
                          "source": "instagram",
                          "category": null,
                          "url": null,
                          "was": null
                        }
                      ],
                      "evidence": {
                        "items": [
                          {
                            "kind": "signal",
                            "id": "sig_01EXAMPLE00000000000000001",
                            "source": "instagram",
                            "company": "northwind-dental",
                            "link": "cln_01EXAMPLE00000000000000001",
                            "day": "2026-10-02",
                            "url": "https://maps.example/reviews/1",
                            "row": "cln_01EXAMPLE0000000000000001",
                            "rating": null,
                            "text": null
                          }
                        ],
                        "total": 412,
                        "more": 411
                      },
                      "basis": {
                        "sources": [
                          {
                            "id": "instagram",
                            "name": "Instagram",
                            "network": "meta"
                          }
                        ],
                        "independent": 1,
                        "window": {
                          "from": "2025-11-17",
                          "to": "2026-11-16"
                        },
                        "compare": null,
                        "method": "Made up for this example.",
                        "sample": {
                          "read": 412,
                          "of": 1180,
                          "from": "2023-02-01",
                          "to": "2026-11-16",
                          "days": 1385,
                          "undated": 0
                        },
                        "breaks": [],
                        "periods": null,
                        "left_out": [],
                        "caveats": []
                      },
                      "computed_at": "2026-11-17T14:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "numbers": {
                      "type": "string",
                      "enum": [
                        "rating",
                        "rating_by_link",
                        "rating_rivals",
                        "rating_windows",
                        "complaints",
                        "series",
                        "timeline",
                        "ads",
                        "ads_weeks",
                        "site",
                        "site_changes",
                        "figures",
                        "profile",
                        "risks",
                        "market",
                        "funding",
                        "interest",
                        "social",
                        "videos",
                        "rating_periods",
                        "query",
                        "players",
                        "category"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "params": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "figures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "n": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "interval": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "low",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "value",
                          "unit",
                          "company",
                          "n",
                          "small",
                          "interval"
                        ]
                      }
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string",
                            "enum": [
                              "count",
                              "stars",
                              "share",
                              "usd",
                              "days",
                              "number"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "unit"
                        ]
                      }
                    },
                    "word_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 60,
                            "pattern": "^[a-z][a-z0-9_]*$"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "label"
                        ]
                      }
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "company",
                              "link",
                              "star",
                              "period",
                              "topic",
                              "event",
                              "review"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "values": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "small": {
                            "type": "boolean"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "was": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "seen_from": {
                                  "type": "string"
                                },
                                "seen_to": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "label",
                                "values",
                                "day",
                                "seen_from",
                                "seen_to"
                              ]
                            }
                          },
                          "words": {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "marks": {
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "kind",
                          "company",
                          "values",
                          "small",
                          "day",
                          "source",
                          "category",
                          "url",
                          "was"
                        ]
                      }
                    },
                    "evidence": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "maxItems": 200
                        },
                        "total": {
                          "type": "integer"
                        },
                        "more": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "total",
                        "more"
                      ]
                    },
                    "basis": {
                      "type": "object",
                      "properties": {
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "network": {
                                "type": "string"
                              },
                              "read": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "total": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": "integer"
                              },
                              "held_from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held_to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "listings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "company": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "read": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "rating": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": "integer"
                                    },
                                    "held_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held_to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reads_from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "routes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "route": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "found_by": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "n": {
                                            "type": "integer"
                                          },
                                          "filter": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "route",
                                          "found_by",
                                          "n",
                                          "filter"
                                        ]
                                      }
                                    },
                                    "shop": {
                                      "type": "object",
                                      "properties": {
                                        "store": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "item_words": {
                                          "type": "string"
                                        },
                                        "item": {
                                          "type": "string"
                                        },
                                        "read_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "figures_on": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "price_usd": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_low_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "price_high_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "bought_past_month": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "sales_rank_best_90d": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "written_reviews": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "store",
                                        "name",
                                        "item_words",
                                        "item",
                                        "read_on",
                                        "figures_on",
                                        "price_usd",
                                        "price_low_90d",
                                        "price_high_90d",
                                        "bought_past_month",
                                        "sales_rank",
                                        "sales_rank_best_90d",
                                        "written_reviews"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "company",
                                    "label",
                                    "link",
                                    "read",
                                    "from",
                                    "to",
                                    "total",
                                    "rating",
                                    "url"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "network"
                            ]
                          }
                        },
                        "independent": {
                          "type": "integer"
                        },
                        "window": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "compare": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "to"
                          ]
                        },
                        "method": {
                          "type": "string"
                        },
                        "sample": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "of": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "days": {
                              "type": "integer"
                            },
                            "undated": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "read",
                            "of",
                            "from",
                            "to",
                            "days",
                            "undated"
                          ]
                        },
                        "breaks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "from": {
                                "type": "string"
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "approximate": {
                                "type": "boolean"
                              },
                              "effect": {
                                "type": "string",
                                "enum": [
                                  "mark",
                                  "mask"
                                ]
                              },
                              "what": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sources",
                              "from",
                              "to",
                              "approximate",
                              "effect",
                              "what",
                              "url"
                            ]
                          }
                        },
                        "periods": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "has": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "lacks": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "has",
                            "lacks"
                          ]
                        },
                        "left_out": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "what",
                              "count",
                              "why"
                            ]
                          }
                        },
                        "caveats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sources",
                        "independent",
                        "window",
                        "compare",
                        "method",
                        "sample",
                        "breaks",
                        "periods",
                        "left_out",
                        "caveats"
                      ]
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "unset": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "value",
                                "label",
                                "params"
                              ]
                            }
                          },
                          "selected": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "label",
                          "options",
                          "selected"
                        ]
                      }
                    },
                    "computed_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "numbers",
                    "params",
                    "figures",
                    "columns",
                    "rows",
                    "evidence",
                    "basis",
                    "computed_at"
                  ]
                }
              },
              "text/csv": {
                "example": "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n",
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the answer's rows under its columns, or with part=figures its figures, as a file"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Number tools"
        ],
        "x-mint": {
          "content": "**MCP tool:** `numbers_social`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/targets/{company}/folder": {
      "get": {
        "operationId": "getTargetFolder",
        "summary": "Everything PodData holds tied to one of the team's targets, a part a company, source by source, each with its files",
        "description": "Everything PodData holds for one of your targets, as files: the index of a folder with a part for each company, the target first, then each confirmed rival and its listed parent and comparables. Each part lists, source by source, its records and signals by kind, each with its count, its first and last day, its CSV file's address and the same rows as JSON, and its documents. For the target it adds its quotes' two files, said by its people and naming it; once its category has found podcast episodes, its market's apart from both (`quotes.market`: those episodes' quotes, whose words needn't name it, and the episodes themselves); your team's own licensed figures, your reports on it, and every source that holds nothing, with why. `?format=zip` is every file at once, with a README, `coverage.csv` and this index.\n\n**Before:** The company is one of your targets, and PodData has read it: after `POST /targets/{company}/read`, wait for `GET /targets/{company}/coverage` to show its sources read.\n\n**Next:** Fetch each `file` (or `rows` where a file is held back) by its own address, or the whole `download`. A long file stops at its row limit and gives the cursor for the rest in `X-PodData-Next`. Your reports are read whole at `GET /diligence-reports/{id}`.\n\n**Limits:** One call for the index and one for the zip. A file is at most 10,000 rows and the zip 100,000 in all; past that, a file is left out and the README gives its address. A review or retail source's file is given only for the platforms PodData hands on; for the rest `file` is null and `held` says why: read their rows as JSON. The market's quotes come from PodData's own transcripts, which Gate 2 holds, so its file holds little until it opens: read its `episodes` meanwhile, each at `GET /episodes/{id}`. Whole documents aren't in the zip: each is read on its own at `GET /documents/{id}`, under the key's daily limit.",
        "x-mcp-tool": "target_folder",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/targets/northwind-dental/folder' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "company",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "zip"
              ],
              "description": "zip: everything at once, the folder's files with a README, its coverage and this index, at most 100,000 rows. json: the index, the default"
            },
            "required": false,
            "description": "zip: everything at once, the folder's files with a README, its coverage and this index, at most 100,000 rows. json: the index, the default",
            "name": "format",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The target, its rivals and its listed parent and comparables, each source with its counts, days and files, and what holds nothing and why; or with format=zip, the files",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "asked_at": "2026-11-14T09:00:00.000Z",
                      "window": {
                        "from": "2023-11-14",
                        "to": "2026-11-14"
                      },
                      "counted": {
                        "read": 9,
                        "due": 1,
                        "waiting": 4,
                        "off_here": 2,
                        "by_request": 3,
                        "not_read": 6,
                        "not_built": 40
                      },
                      "parts": [
                        {
                          "role": "target",
                          "company": {
                            "id": "northwind-dental",
                            "name": "Northwind Dental"
                          },
                          "sources": [
                            {
                              "id": "google-maps",
                              "name": "Google Maps reviews and listings",
                              "family": {
                                "id": "reviews",
                                "name": "Reviews"
                              },
                              "stands": "read",
                              "why": null,
                              "last_ok": "2026-11-14T06:20:00.000Z",
                              "records": [],
                              "signals": [
                                {
                                  "kind": "review",
                                  "count": 412,
                                  "from": "2024-02-11",
                                  "to": "2026-11-09",
                                  "file": "/v1/companies/northwind-dental/signals?source=google-maps&kind=review&format=csv",
                                  "rows": "/v1/companies/northwind-dental/signals?source=google-maps&kind=review",
                                  "held": null
                                }
                              ],
                              "documents": {
                                "count": 0,
                                "from": null,
                                "to": null
                              },
                              "pages": null,
                              "raw": null
                            },
                            {
                              "id": "nppes-npi",
                              "name": "CMS NPPES NPI registry",
                              "family": {
                                "id": "health",
                                "name": "Health"
                              },
                              "stands": "read",
                              "why": null,
                              "last_ok": "2026-11-14T04:02:00.000Z",
                              "records": [
                                {
                                  "kind": "organization",
                                  "count": 3,
                                  "from": "2025-06-18",
                                  "to": "2026-10-02",
                                  "file": "/v1/companies/northwind-dental/records?source=nppes-npi&kind=organization&format=csv",
                                  "rows": "/v1/companies/northwind-dental/records?source=nppes-npi&kind=organization",
                                  "held": null
                                }
                              ],
                              "signals": [],
                              "documents": {
                                "count": 0,
                                "from": null,
                                "to": null
                              },
                              "pages": null,
                              "raw": null
                            }
                          ],
                          "documents": {
                            "count": 0,
                            "file": "/v1/documents?company=northwind-dental&format=csv",
                            "rows": "/v1/documents?company=northwind-dental"
                          }
                        },
                        {
                          "role": "rival",
                          "company": {
                            "id": "bluebird-dental",
                            "name": "Bluebird Dental"
                          },
                          "sources": [
                            {
                              "id": "google-maps",
                              "name": "Google Maps reviews and listings",
                              "family": {
                                "id": "reviews",
                                "name": "Reviews"
                              },
                              "stands": null,
                              "why": null,
                              "last_ok": "2026-11-14T06:24:00.000Z",
                              "records": [],
                              "signals": [
                                {
                                  "kind": "review",
                                  "count": 268,
                                  "from": "2024-02-11",
                                  "to": "2026-11-09",
                                  "file": "/v1/companies/bluebird-dental/signals?source=google-maps&kind=review&format=csv",
                                  "rows": "/v1/companies/bluebird-dental/signals?source=google-maps&kind=review",
                                  "held": null
                                }
                              ],
                              "documents": {
                                "count": 0,
                                "from": null,
                                "to": null
                              },
                              "pages": null,
                              "raw": null
                            }
                          ],
                          "documents": {
                            "count": 0,
                            "file": "/v1/documents?company=bluebird-dental&format=csv",
                            "rows": "/v1/documents?company=bluebird-dental"
                          }
                        }
                      ],
                      "quotes": {
                        "said": {
                          "file": "/v1/quotes?company=northwind-dental&format=csv",
                          "rows": "/v1/quotes?company=northwind-dental"
                        },
                        "named": {
                          "file": "/v1/quotes?named=northwind-dental&format=csv",
                          "rows": "/v1/quotes?named=northwind-dental"
                        },
                        "market": {
                          "file": "/v1/quotes?market=northwind-dental&format=csv",
                          "rows": "/v1/quotes?market=northwind-dental",
                          "episodes": "/v1/episodes?market=northwind-dental"
                        }
                      },
                      "licensed": [],
                      "category": {
                        "set_at": "2026-11-14T07:10:00.000Z",
                        "rows": "/v1/targets/northwind-dental/category"
                      },
                      "reports": [
                        {
                          "id": "dlr_01JD9K4M5N6P00000000000000",
                          "title": "Northwind Dental: first look",
                          "status": "draft",
                          "updated_at": "2026-11-14T08:30:00.000Z",
                          "rows": "/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000",
                          "file": "/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000?format=zip",
                          "runs": [
                            {
                              "id": "drn_01JD9K7Q8R9S00000000000000",
                              "kind": "write",
                              "status": "done",
                              "created_at": "2026-11-14T08:00:00.000Z",
                              "ended_at": "2026-11-14T08:28:00.000Z",
                              "usd": 3.12,
                              "rows": "/v1/diligence-runs/drn_01JD9K7Q8R9S00000000000000"
                            }
                          ]
                        }
                      ],
                      "not_held": [
                        {
                          "id": "yelp",
                          "name": "Yelp",
                          "family": {
                            "id": "reviews",
                            "name": "Reviews"
                          },
                          "stands": "waiting",
                          "why": "It reads against a confirmed yelp_business, and Northwind Dental has none confirmed."
                        }
                      ],
                      "download": "/v1/targets/northwind-dental/folder?format=zip"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "asked_at": {
                      "type": "string"
                    },
                    "window": {
                      "type": "object",
                      "properties": {
                        "from": {
                          "type": "string"
                        },
                        "to": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "from",
                        "to"
                      ]
                    },
                    "counted": {
                      "type": "object",
                      "properties": {
                        "read": {
                          "type": "integer"
                        },
                        "due": {
                          "type": "integer"
                        },
                        "failed": {
                          "type": "integer",
                          "description": "Sources whose latest run failed with no read before it that ended well; always given, optional for a count made before it"
                        },
                        "waiting": {
                          "type": "integer"
                        },
                        "off_here": {
                          "type": "integer"
                        },
                        "by_request": {
                          "type": "integer"
                        },
                        "not_read": {
                          "type": "integer"
                        },
                        "not_built": {
                          "type": "integer"
                        },
                        "not_applicable": {
                          "type": "integer",
                          "description": "Sources that can't hold a company of the kind the team's report names; always given, optional for a count made before it"
                        }
                      },
                      "required": [
                        "read",
                        "due",
                        "waiting",
                        "off_here",
                        "by_request",
                        "not_read",
                        "not_built"
                      ]
                    },
                    "parts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "role": {
                            "type": "string",
                            "enum": [
                              "target",
                              "rival",
                              "parent",
                              "comparable",
                              "subsidiary",
                              "market",
                              "player"
                            ]
                          },
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "sources": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "family": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "stands": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "enum": [
                                    "read",
                                    "due",
                                    "failed",
                                    "waiting",
                                    "off_here",
                                    "by_request",
                                    "not_read",
                                    "not_built",
                                    "not_applicable",
                                    null
                                  ]
                                },
                                "why": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "last_ok": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "records": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "kind": {
                                        "type": "string"
                                      },
                                      "count": {
                                        "type": "integer"
                                      },
                                      "from": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "to": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "file": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "rows": {
                                        "type": "string"
                                      },
                                      "held": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "count",
                                      "from",
                                      "to",
                                      "file",
                                      "rows",
                                      "held"
                                    ]
                                  }
                                },
                                "signals": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "kind": {
                                        "type": "string"
                                      },
                                      "count": {
                                        "type": "integer"
                                      },
                                      "from": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "to": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "file": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "rows": {
                                        "type": "string"
                                      },
                                      "held": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "count",
                                      "from",
                                      "to",
                                      "file",
                                      "rows",
                                      "held"
                                    ]
                                  }
                                },
                                "documents": {
                                  "type": "object",
                                  "properties": {
                                    "count": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "count",
                                    "from",
                                    "to"
                                  ]
                                },
                                "pages": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "count": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "file": {
                                      "type": "string"
                                    },
                                    "rows": {
                                      "type": "string"
                                    },
                                    "why": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "count",
                                    "from",
                                    "to",
                                    "file",
                                    "rows",
                                    "why"
                                  ]
                                },
                                "raw": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "count": {
                                      "type": "integer"
                                    },
                                    "bytes": {
                                      "type": "integer"
                                    },
                                    "items": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "id": {
                                            "type": "string"
                                          },
                                          "row": {
                                            "type": "string"
                                          },
                                          "bytes": {
                                            "type": "integer"
                                          },
                                          "media_type": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "fetched_at": {
                                            "type": "string"
                                          },
                                          "rows": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "id",
                                          "row",
                                          "bytes",
                                          "media_type",
                                          "fetched_at",
                                          "rows"
                                        ]
                                      }
                                    },
                                    "held": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "count",
                                    "bytes",
                                    "items",
                                    "held"
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "family",
                                "stands",
                                "why",
                                "last_ok",
                                "records",
                                "signals",
                                "documents",
                                "pages",
                                "raw"
                              ]
                            }
                          },
                          "documents": {
                            "type": "object",
                            "properties": {
                              "count": {
                                "type": "integer"
                              },
                              "file": {
                                "type": "string"
                              },
                              "rows": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "count",
                              "file",
                              "rows"
                            ]
                          }
                        },
                        "required": [
                          "role",
                          "company",
                          "sources",
                          "documents"
                        ]
                      }
                    },
                    "quotes": {
                      "type": "object",
                      "properties": {
                        "said": {
                          "type": "object",
                          "properties": {
                            "file": {
                              "type": "string"
                            },
                            "rows": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "file",
                            "rows"
                          ]
                        },
                        "named": {
                          "type": "object",
                          "properties": {
                            "file": {
                              "type": "string"
                            },
                            "rows": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "file",
                            "rows"
                          ]
                        },
                        "market": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "file": {
                              "type": "string"
                            },
                            "rows": {
                              "type": "string"
                            },
                            "episodes": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "file",
                            "rows",
                            "episodes"
                          ]
                        }
                      },
                      "required": [
                        "said",
                        "named",
                        "market"
                      ]
                    },
                    "licensed": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "source": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "count": {
                            "type": "integer"
                          },
                          "from": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "to": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "rows": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "source",
                          "name",
                          "count",
                          "from",
                          "to",
                          "rows"
                        ]
                      }
                    },
                    "category": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "set_at": {
                          "type": "string"
                        },
                        "rows": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "set_at",
                        "rows"
                      ]
                    },
                    "reports": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "updated_at": {
                            "type": "string"
                          },
                          "rows": {
                            "type": "string"
                          },
                          "file": {
                            "type": "string"
                          },
                          "runs": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "kind": {
                                  "type": "string"
                                },
                                "status": {
                                  "type": "string"
                                },
                                "created_at": {
                                  "type": "string"
                                },
                                "ended_at": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "usd": {
                                  "type": "number"
                                },
                                "rows": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "status",
                                "created_at",
                                "ended_at",
                                "usd",
                                "rows"
                              ]
                            }
                          }
                        },
                        "required": [
                          "id",
                          "title",
                          "status",
                          "updated_at",
                          "rows",
                          "file",
                          "runs"
                        ]
                      }
                    },
                    "not_held": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "family": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "stands": {
                            "type": "string",
                            "enum": [
                              "read",
                              "due",
                              "failed",
                              "waiting",
                              "off_here",
                              "by_request",
                              "not_read",
                              "not_built",
                              "not_applicable"
                            ]
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "family",
                          "stands",
                          "why"
                        ]
                      }
                    },
                    "download": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "company",
                    "asked_at",
                    "window",
                    "counted",
                    "parts",
                    "quotes",
                    "licensed",
                    "category",
                    "reports",
                    "not_held",
                    "download"
                  ]
                }
              },
              "application/zip": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "description": "With format=zip: the folder's files, each as its own address answers it"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Folder"
        ],
        "x-mint": {
          "content": "**MCP tool:** `target_folder`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/diligence-reports": {
      "get": {
        "operationId": "listDiligenceReports",
        "summary": "The team's diligence reports, newest change first",
        "description": "Your team's diligence reports, newest change first: each with its company, or its market on a market report (`subject` and `market`), title, status (`draft` or `checked`), version (`rev`), the check's refusals when it last ran (`problems`), the playbook version it was written on, who saved it last (`key`, `member` or `agent`) and when, and where each page stands (`empty`, `written` or `waits`). `company` narrows it to one company, `market` to one market.\n\n**Before:** Nothing.\n\n**Next:** `GET /diligence-reports/{id}` reads one with every figure filled. `POST /diligence-reports` makes one.\n\n**Limits:** 20 a page, or `limit`, at most 100, with `next` as the cursor. Only your team’s reports are ever listed.",
        "x-mcp-tool": "list_reports",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/diligence-reports?company=northwind-dental' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "Only those on this company: any id /companies/{id} takes"
            },
            "required": false,
            "description": "Only those on this company: any id /companies/{id} takes",
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "Only those on this market: its id, mkt_…, as GET /markets lists it"
            },
            "required": false,
            "description": "Only those on this market: its id, mkt_…, as GET /markets lists it",
            "name": "market",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The team's reports",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "id": "dlr_01JD9K4M5N6P00000000000000",
                          "company": {
                            "id": "northwind-dental",
                            "name": "Northwind Dental"
                          },
                          "title": "Northwind Dental",
                          "status": "draft",
                          "rev": 3,
                          "problems": 5,
                          "playbook": "2",
                          "saved_by": "key",
                          "created_at": "2026-11-14T08:00:00.000Z",
                          "updated_at": "2026-11-14T09:05:00.000Z",
                          "checked_at": null,
                          "pages": [
                            {
                              "id": "company",
                              "state": "empty"
                            },
                            {
                              "id": "market",
                              "state": "empty"
                            },
                            {
                              "id": "financials",
                              "state": "empty"
                            },
                            {
                              "id": "customer",
                              "state": "written"
                            },
                            {
                              "id": "competitive",
                              "state": "empty"
                            },
                            {
                              "id": "marketing",
                              "state": "empty"
                            },
                            {
                              "id": "news",
                              "state": "empty"
                            },
                            {
                              "id": "trends",
                              "state": "empty"
                            },
                            {
                              "id": "expert",
                              "state": "empty"
                            },
                            {
                              "id": "risks",
                              "state": "empty"
                            }
                          ],
                          "checks": {
                            "running": null,
                            "last": {
                              "id": "dck_01JD9C6A1B2C00000000000000",
                              "rev": 3,
                              "state": "draft",
                              "asked_at": "2026-11-14T09:06:00.000Z",
                              "started_at": "2026-11-14T09:06:01.000Z",
                              "ended_at": "2026-11-14T09:06:40.000Z",
                              "refused": 5,
                              "ahead": null,
                              "why": null
                            }
                          }
                        }
                      ],
                      "next": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "subject": {
                            "type": "string",
                            "enum": [
                              "company",
                              "market"
                            ]
                          },
                          "market": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "title": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "draft",
                              "checked"
                            ]
                          },
                          "rev": {
                            "type": "integer"
                          },
                          "problems": {
                            "type": "integer"
                          },
                          "playbook": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "saved_by": {
                            "type": "string",
                            "enum": [
                              "key",
                              "member",
                              "agent"
                            ]
                          },
                          "created_at": {
                            "type": "string"
                          },
                          "updated_at": {
                            "type": "string"
                          },
                          "checked_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "pages": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "enum": [
                                        "company",
                                        "market",
                                        "financials",
                                        "customer",
                                        "competitive",
                                        "marketing",
                                        "news",
                                        "trends",
                                        "expert",
                                        "risks",
                                        "players",
                                        "profiles"
                                      ]
                                    },
                                    {
                                      "type": "string",
                                      "maxLength": 48,
                                      "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                    }
                                  ]
                                },
                                "state": {
                                  "type": "string",
                                  "enum": [
                                    "empty",
                                    "written",
                                    "waits"
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "state"
                              ]
                            }
                          },
                          "checks": {
                            "type": "object",
                            "properties": {
                              "running": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "rev": {
                                    "type": "integer"
                                  },
                                  "state": {
                                    "type": "string",
                                    "enum": [
                                      "queued",
                                      "running",
                                      "checked",
                                      "draft",
                                      "saved_over",
                                      "failed"
                                    ]
                                  },
                                  "asked_at": {
                                    "type": "string"
                                  },
                                  "started_at": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "ended_at": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "refused": {
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "ahead": {
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "why": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "waiting_for": {
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "id",
                                  "rev",
                                  "state",
                                  "asked_at",
                                  "started_at",
                                  "ended_at",
                                  "refused",
                                  "ahead",
                                  "why"
                                ]
                              },
                              "last": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "rev": {
                                    "type": "integer"
                                  },
                                  "state": {
                                    "type": "string",
                                    "enum": [
                                      "queued",
                                      "running",
                                      "checked",
                                      "draft",
                                      "saved_over",
                                      "failed"
                                    ]
                                  },
                                  "asked_at": {
                                    "type": "string"
                                  },
                                  "started_at": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "ended_at": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "refused": {
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "ahead": {
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "why": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "waiting_for": {
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "id",
                                  "rev",
                                  "state",
                                  "asked_at",
                                  "started_at",
                                  "ended_at",
                                  "refused",
                                  "ahead",
                                  "why"
                                ]
                              }
                            },
                            "required": [
                              "running",
                              "last"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "company",
                          "title",
                          "status",
                          "rev",
                          "problems",
                          "playbook",
                          "saved_by",
                          "created_at",
                          "updated_at",
                          "checked_at",
                          "pages"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Reports"
        ],
        "x-mint": {
          "content": "**MCP tool:** `list_reports`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      },
      "post": {
        "operationId": "startDiligenceReport",
        "summary": "Makes a diligence report for a company or a market, with its pages empty",
        "description": "Makes a diligence report on a company: an overview and the pages the playbook writes, all empty, for your assistant to write a page at a time. A company your team doesn't target yet joins its targets, and `target_added` says so. With `market` in place of `company` it makes a market report, framed on the market and written from its confirmed players' data: its eleven pages (the market, the players, customers, how they compete, go to market, funding and financials, strategic news, industry trends, expert insights, risks and player profiles), all empty, and no company page. `201` with the report as a read answers it, the check listing what is still to write.\n\n**Before:** The company's links and rivals are confirmed and PodData has read them: `GET /targets/{company}/coverage` says what was read, and each page's figures come from it.\n\n**Next:** Write each page with `PUT /diligence-reports/{id}/pages/{page}`, then `POST /diligence-reports/{id}/check`. PodData’s own agent writes a report too, started from the workspace.\n\n**Limits:** None beyond the key’s.",
        "x-mcp-tool": "start_report",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/diligence-reports' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"company\":\"northwind-dental\",\"playbook\":\"2\"}'"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "company": "northwind-dental",
                    "playbook": "2"
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "company": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64,
                    "description": "Any id /companies/{id} takes. It joins the team’s targets if it isn’t one. Or send market"
                  },
                  "market": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64,
                    "description": "For a market report, in place of company: the market’s id, mkt_…, as GET /markets lists it"
                  },
                  "title": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 120,
                    "description": "The company's or the market's name as the report writes it; its own name if left out"
                  },
                  "playbook": {
                    "type": "string",
                    "maxLength": 40,
                    "description": "The playbook version the writer follows; the current one if left out"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Made",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "dlr_01JD9K4M5N6P00000000000000",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "title": "Northwind Dental",
                      "status": "draft",
                      "rev": 1,
                      "problems": 0,
                      "playbook": "2",
                      "saved_by": "key",
                      "created_at": "2026-11-14T08:00:00.000Z",
                      "updated_at": "2026-11-14T08:00:00.000Z",
                      "checked_at": null,
                      "pages": [
                        {
                          "id": "company",
                          "state": "empty"
                        },
                        {
                          "id": "market",
                          "state": "empty"
                        },
                        {
                          "id": "financials",
                          "state": "empty"
                        },
                        {
                          "id": "customer",
                          "state": "empty"
                        },
                        {
                          "id": "competitive",
                          "state": "empty"
                        },
                        {
                          "id": "marketing",
                          "state": "empty"
                        },
                        {
                          "id": "news",
                          "state": "empty"
                        },
                        {
                          "id": "trends",
                          "state": "empty"
                        },
                        {
                          "id": "expert",
                          "state": "empty"
                        },
                        {
                          "id": "risks",
                          "state": "empty"
                        }
                      ],
                      "checks": {
                        "running": null,
                        "last": null
                      },
                      "report": {
                        "version": 1,
                        "company": "northwind-dental",
                        "title": "Northwind Dental",
                        "playbook": "2",
                        "overview": {
                          "bottom_line": "",
                          "cards": [],
                          "first_question": "",
                          "case_for": [],
                          "case_against": [],
                          "names": []
                        },
                        "pages": [
                          {
                            "id": "company",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "market",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "financials",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "customer",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "competitive",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "marketing",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "news",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "trends",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "expert",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "risks",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          }
                        ]
                      },
                      "filled": {
                        "version": 1,
                        "company": "northwind-dental",
                        "title": "Northwind Dental",
                        "playbook": "2",
                        "overview": {
                          "bottom_line": "",
                          "cards": [],
                          "first_question": "",
                          "case_for": [],
                          "case_against": [],
                          "names": []
                        },
                        "pages": [
                          {
                            "id": "company",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "market",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "financials",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "customer",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "competitive",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "marketing",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "news",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "trends",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "expert",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "risks",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          }
                        ]
                      },
                      "answers": {},
                      "cited": {},
                      "check": {
                        "passes": false,
                        "problems": [
                          {
                            "where": "overview.bottom_line",
                            "problem": "has no bottom line",
                            "refused": true
                          },
                          {
                            "where": "pages.0",
                            "problem": "the company page is still empty",
                            "refused": true
                          },
                          {
                            "where": "pages.1",
                            "problem": "the market page is still empty",
                            "refused": true
                          },
                          {
                            "where": "pages.2",
                            "problem": "the financials page is still empty",
                            "refused": true
                          },
                          {
                            "where": "pages.3",
                            "problem": "the customer page is still empty",
                            "refused": true
                          },
                          {
                            "where": "pages.4",
                            "problem": "the competitive page is still empty",
                            "refused": true
                          },
                          {
                            "where": "pages.5",
                            "problem": "the marketing page is still empty",
                            "refused": true
                          },
                          {
                            "where": "pages.6",
                            "problem": "the news page is still empty",
                            "refused": true
                          },
                          {
                            "where": "pages.7",
                            "problem": "the trends page is still empty",
                            "refused": true
                          },
                          {
                            "where": "pages.8",
                            "problem": "the expert page is still empty",
                            "refused": true
                          },
                          {
                            "where": "pages.9",
                            "problem": "the risks page is still empty",
                            "refused": true
                          }
                        ],
                        "running": false
                      },
                      "pages_needed": [
                        "company",
                        "market",
                        "financials",
                        "customer",
                        "competitive",
                        "marketing",
                        "news",
                        "trends",
                        "expert",
                        "risks"
                      ],
                      "target_added": false
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "subject": {
                      "type": "string",
                      "enum": [
                        "company",
                        "market"
                      ]
                    },
                    "market": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "draft",
                        "checked"
                      ]
                    },
                    "rev": {
                      "type": "integer"
                    },
                    "problems": {
                      "type": "integer"
                    },
                    "playbook": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "saved_by": {
                      "type": "string",
                      "enum": [
                        "key",
                        "member",
                        "agent"
                      ]
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "updated_at": {
                      "type": "string"
                    },
                    "checked_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "company",
                                  "market",
                                  "financials",
                                  "customer",
                                  "competitive",
                                  "marketing",
                                  "news",
                                  "trends",
                                  "expert",
                                  "risks",
                                  "players",
                                  "profiles"
                                ]
                              },
                              {
                                "type": "string",
                                "maxLength": 48,
                                "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                              }
                            ]
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "empty",
                              "written",
                              "waits"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "state"
                        ]
                      }
                    },
                    "checks": {
                      "type": "object",
                      "properties": {
                        "running": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "rev": {
                              "type": "integer"
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "queued",
                                "running",
                                "checked",
                                "draft",
                                "saved_over",
                                "failed"
                              ]
                            },
                            "asked_at": {
                              "type": "string"
                            },
                            "started_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "ended_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "refused": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "ahead": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "why": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "waiting_for": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "rev",
                            "state",
                            "asked_at",
                            "started_at",
                            "ended_at",
                            "refused",
                            "ahead",
                            "why"
                          ]
                        },
                        "last": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "rev": {
                              "type": "integer"
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "queued",
                                "running",
                                "checked",
                                "draft",
                                "saved_over",
                                "failed"
                              ]
                            },
                            "asked_at": {
                              "type": "string"
                            },
                            "started_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "ended_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "refused": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "ahead": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "why": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "waiting_for": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "rev",
                            "state",
                            "asked_at",
                            "started_at",
                            "ended_at",
                            "refused",
                            "ahead",
                            "why"
                          ]
                        }
                      },
                      "required": [
                        "running",
                        "last"
                      ]
                    },
                    "report": {
                      "type": "object",
                      "properties": {
                        "version": {
                          "type": "number",
                          "enum": [
                            1
                          ]
                        },
                        "subject": {
                          "type": "string",
                          "enum": [
                            "company",
                            "market"
                          ]
                        },
                        "company": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "playbook": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "overview": {
                          "type": "object",
                          "properties": {
                            "bottom_line": {
                              "type": "string"
                            },
                            "story": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 8
                            },
                            "sections": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "text": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "page",
                                  "text"
                                ]
                              },
                              "maxItems": 15
                            },
                            "cards": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "exhibit": {
                                    "type": "string"
                                  },
                                  "figure": {
                                    "type": "string"
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "line": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "exhibit",
                                  "figure",
                                  "label",
                                  "line"
                                ]
                              },
                              "maxItems": 3
                            },
                            "first_question": {
                              "type": "string"
                            },
                            "case_for": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "case_against": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "findings": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "sure": {
                                    "type": "string",
                                    "enum": [
                                      "strong",
                                      "moderate",
                                      "thin"
                                    ]
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "pages": {
                                    "type": "array",
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "enum": [
                                            "company",
                                            "market",
                                            "financials",
                                            "customer",
                                            "competitive",
                                            "marketing",
                                            "news",
                                            "trends",
                                            "expert",
                                            "risks",
                                            "players",
                                            "profiles"
                                          ]
                                        },
                                        {
                                          "type": "string",
                                          "maxLength": 48,
                                          "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                        }
                                      ]
                                    },
                                    "minItems": 1,
                                    "maxItems": 4
                                  },
                                  "sentences": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "transcript": {
                                          "type": "string",
                                          "maxLength": 64
                                        },
                                        "turn": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "start": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "end": {
                                          "type": "integer",
                                          "minimum": 1
                                        }
                                      },
                                      "required": [
                                        "transcript",
                                        "turn",
                                        "start",
                                        "end"
                                      ]
                                    },
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "text",
                                  "sure",
                                  "why",
                                  "pages"
                                ]
                              },
                              "maxItems": 12
                            },
                            "first_tests": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 12
                              },
                              "maxItems": 6
                            },
                            "risks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "risk": {
                                    "type": "string"
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "maxItems": 6
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "risk",
                                  "why",
                                  "findings"
                                ]
                              },
                              "maxItems": 9
                            },
                            "would_change": {
                              "type": "string"
                            },
                            "asks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "ask": {
                                    "type": "string"
                                  },
                                  "tests": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "minItems": 1,
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "ask",
                                  "tests",
                                  "findings"
                                ]
                              },
                              "maxItems": 15
                            },
                            "not_assessed": {
                              "type": "string"
                            },
                            "names": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 100
                            }
                          },
                          "required": [
                            "bottom_line",
                            "cards",
                            "first_question",
                            "names"
                          ]
                        },
                        "pages": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "maxLength": 48,
                                    "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                  }
                                ]
                              },
                              "question": {
                                "type": "string",
                                "maxLength": 200
                              },
                              "name": {
                                "type": "string",
                                "maxLength": 60
                              },
                              "after": {
                                "type": "string",
                                "enum": [
                                  "company",
                                  "market",
                                  "financials",
                                  "customer",
                                  "competitive",
                                  "marketing",
                                  "news",
                                  "trends",
                                  "expert",
                                  "risks",
                                  "players",
                                  "profiles"
                                ]
                              },
                              "state": {
                                "type": "string",
                                "enum": [
                                  "empty",
                                  "written",
                                  "waits",
                                  "left_out"
                                ]
                              },
                              "headline": {
                                "type": "string"
                              },
                              "lede": {
                                "type": "string"
                              },
                              "read": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "exhibit": {
                                      "type": "string"
                                    },
                                    "figure": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "exhibit",
                                    "figure",
                                    "label"
                                  ]
                                },
                                "maxItems": 6
                              },
                              "questions": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "ask": {
                                      "type": "string"
                                    },
                                    "answer": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 3
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "ask",
                                    "answer",
                                    "cards"
                                  ]
                                },
                                "maxItems": 2
                              },
                              "exhibits": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "numbers": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "company": {
                                      "type": "string"
                                    },
                                    "params": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "anyOf": [
                                          {
                                            "type": "string"
                                          },
                                          {
                                            "type": "number"
                                          },
                                          {
                                            "type": "boolean"
                                          },
                                          {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    "show": {
                                      "type": "string",
                                      "enum": [
                                        "figures",
                                        "table",
                                        "bars",
                                        "share",
                                        "series",
                                        "timeline",
                                        "voices",
                                        "windows",
                                        "grid",
                                        "lanes",
                                        "lines",
                                        "squares",
                                        "strip"
                                      ]
                                    },
                                    "by": {
                                      "type": "string",
                                      "enum": [
                                        "none",
                                        "tie"
                                      ]
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "point": {
                                      "type": "string"
                                    },
                                    "caveat": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "numbers",
                                    "company",
                                    "params",
                                    "show",
                                    "title",
                                    "point",
                                    "caveat"
                                  ]
                                },
                                "maxItems": 12
                              },
                              "quotes": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "quote",
                                        "signal",
                                        "passage",
                                        "record"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "exhibit": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "player": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "id",
                                    "exhibit",
                                    "why"
                                  ]
                                },
                                "maxItems": 30
                              },
                              "uses": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "tag": {
                                      "type": "string"
                                    },
                                    "action": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "tag",
                                    "action",
                                    "line"
                                  ]
                                },
                                "maxItems": 4
                              },
                              "method": {
                                "type": "object",
                                "properties": {
                                  "read": {
                                    "type": "string"
                                  },
                                  "from": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "to": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "left_out": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "what": {
                                          "type": "string"
                                        },
                                        "why": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "what",
                                        "why"
                                      ]
                                    },
                                    "maxItems": 30
                                  }
                                },
                                "required": [
                                  "read",
                                  "from",
                                  "to",
                                  "left_out"
                                ]
                              },
                              "web": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "url": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "day": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "format": "date"
                                    },
                                    "day_from": {
                                      "type": "string",
                                      "enum": [
                                        "page",
                                        "none"
                                      ]
                                    },
                                    "read_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "figures": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "name": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "unit": {
                                            "type": "string",
                                            "enum": [
                                              "count",
                                              "stars",
                                              "share",
                                              "usd",
                                              "days",
                                              "number"
                                            ]
                                          },
                                          "says": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "name",
                                          "value",
                                          "unit",
                                          "says"
                                        ]
                                      },
                                      "maxItems": 8
                                    },
                                    "document": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "not_kept": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "url",
                                    "title",
                                    "day",
                                    "day_from",
                                    "read_at",
                                    "why"
                                  ]
                                },
                                "maxItems": 20
                              },
                              "names": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "maxItems": 100
                              },
                              "profiles": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "player": {
                                      "type": "string"
                                    },
                                    "copy": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          },
                                          "row": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 4
                                    }
                                  },
                                  "required": [
                                    "player",
                                    "copy",
                                    "cards"
                                  ]
                                },
                                "maxItems": 20
                              }
                            },
                            "required": [
                              "id",
                              "state",
                              "headline",
                              "lede",
                              "read",
                              "questions",
                              "exhibits",
                              "quotes",
                              "method",
                              "web",
                              "names"
                            ]
                          },
                          "maxItems": 15
                        },
                        "plan": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "consumer-product",
                                "franchise",
                                "b2b-manufacturer",
                                "casino",
                                "clinic-network",
                                "software",
                                "b2b-services",
                                "other"
                              ]
                            },
                            "pages": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "type": "string",
                                    "maxLength": 60
                                  },
                                  "after": {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  "in": {
                                    "type": "boolean"
                                  },
                                  "why": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "maxLength": 400
                                  }
                                },
                                "required": [
                                  "id",
                                  "in",
                                  "why"
                                ]
                              },
                              "maxItems": 15
                            }
                          },
                          "required": [
                            "kind",
                            "pages"
                          ]
                        }
                      },
                      "required": [
                        "version",
                        "company",
                        "title",
                        "playbook",
                        "overview",
                        "pages"
                      ]
                    },
                    "filled": {
                      "type": "object",
                      "properties": {
                        "version": {
                          "type": "number",
                          "enum": [
                            1
                          ]
                        },
                        "subject": {
                          "type": "string",
                          "enum": [
                            "company",
                            "market"
                          ]
                        },
                        "company": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "playbook": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "overview": {
                          "type": "object",
                          "properties": {
                            "bottom_line": {
                              "type": "string"
                            },
                            "story": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 8
                            },
                            "sections": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "text": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "page",
                                  "text"
                                ]
                              },
                              "maxItems": 15
                            },
                            "cards": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "exhibit": {
                                    "type": "string"
                                  },
                                  "figure": {
                                    "type": "string"
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "line": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "exhibit",
                                  "figure",
                                  "label",
                                  "line"
                                ]
                              },
                              "maxItems": 3
                            },
                            "first_question": {
                              "type": "string"
                            },
                            "case_for": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "case_against": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "findings": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "sure": {
                                    "type": "string",
                                    "enum": [
                                      "strong",
                                      "moderate",
                                      "thin"
                                    ]
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "pages": {
                                    "type": "array",
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "enum": [
                                            "company",
                                            "market",
                                            "financials",
                                            "customer",
                                            "competitive",
                                            "marketing",
                                            "news",
                                            "trends",
                                            "expert",
                                            "risks",
                                            "players",
                                            "profiles"
                                          ]
                                        },
                                        {
                                          "type": "string",
                                          "maxLength": 48,
                                          "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                        }
                                      ]
                                    },
                                    "minItems": 1,
                                    "maxItems": 4
                                  },
                                  "sentences": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "transcript": {
                                          "type": "string",
                                          "maxLength": 64
                                        },
                                        "turn": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "start": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "end": {
                                          "type": "integer",
                                          "minimum": 1
                                        }
                                      },
                                      "required": [
                                        "transcript",
                                        "turn",
                                        "start",
                                        "end"
                                      ]
                                    },
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "text",
                                  "sure",
                                  "why",
                                  "pages"
                                ]
                              },
                              "maxItems": 12
                            },
                            "first_tests": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 12
                              },
                              "maxItems": 6
                            },
                            "risks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "risk": {
                                    "type": "string"
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "maxItems": 6
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "risk",
                                  "why",
                                  "findings"
                                ]
                              },
                              "maxItems": 9
                            },
                            "would_change": {
                              "type": "string"
                            },
                            "asks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "ask": {
                                    "type": "string"
                                  },
                                  "tests": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "minItems": 1,
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "ask",
                                  "tests",
                                  "findings"
                                ]
                              },
                              "maxItems": 15
                            },
                            "not_assessed": {
                              "type": "string"
                            },
                            "names": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 100
                            }
                          },
                          "required": [
                            "bottom_line",
                            "cards",
                            "first_question",
                            "names"
                          ]
                        },
                        "pages": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "maxLength": 48,
                                    "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                  }
                                ]
                              },
                              "question": {
                                "type": "string",
                                "maxLength": 200
                              },
                              "name": {
                                "type": "string",
                                "maxLength": 60
                              },
                              "after": {
                                "type": "string",
                                "enum": [
                                  "company",
                                  "market",
                                  "financials",
                                  "customer",
                                  "competitive",
                                  "marketing",
                                  "news",
                                  "trends",
                                  "expert",
                                  "risks",
                                  "players",
                                  "profiles"
                                ]
                              },
                              "state": {
                                "type": "string",
                                "enum": [
                                  "empty",
                                  "written",
                                  "waits",
                                  "left_out"
                                ]
                              },
                              "headline": {
                                "type": "string"
                              },
                              "lede": {
                                "type": "string"
                              },
                              "read": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "exhibit": {
                                      "type": "string"
                                    },
                                    "figure": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "exhibit",
                                    "figure",
                                    "label"
                                  ]
                                },
                                "maxItems": 6
                              },
                              "questions": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "ask": {
                                      "type": "string"
                                    },
                                    "answer": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 3
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "ask",
                                    "answer",
                                    "cards"
                                  ]
                                },
                                "maxItems": 2
                              },
                              "exhibits": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "numbers": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "company": {
                                      "type": "string"
                                    },
                                    "params": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "anyOf": [
                                          {
                                            "type": "string"
                                          },
                                          {
                                            "type": "number"
                                          },
                                          {
                                            "type": "boolean"
                                          },
                                          {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    "show": {
                                      "type": "string",
                                      "enum": [
                                        "figures",
                                        "table",
                                        "bars",
                                        "share",
                                        "series",
                                        "timeline",
                                        "voices",
                                        "windows",
                                        "grid",
                                        "lanes",
                                        "lines",
                                        "squares",
                                        "strip"
                                      ]
                                    },
                                    "by": {
                                      "type": "string",
                                      "enum": [
                                        "none",
                                        "tie"
                                      ]
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "point": {
                                      "type": "string"
                                    },
                                    "caveat": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "numbers",
                                    "company",
                                    "params",
                                    "show",
                                    "title",
                                    "point",
                                    "caveat"
                                  ]
                                },
                                "maxItems": 12
                              },
                              "quotes": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "quote",
                                        "signal",
                                        "passage",
                                        "record"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "exhibit": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "player": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "id",
                                    "exhibit",
                                    "why"
                                  ]
                                },
                                "maxItems": 30
                              },
                              "uses": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "tag": {
                                      "type": "string"
                                    },
                                    "action": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "tag",
                                    "action",
                                    "line"
                                  ]
                                },
                                "maxItems": 4
                              },
                              "method": {
                                "type": "object",
                                "properties": {
                                  "read": {
                                    "type": "string"
                                  },
                                  "from": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "to": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "left_out": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "what": {
                                          "type": "string"
                                        },
                                        "why": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "what",
                                        "why"
                                      ]
                                    },
                                    "maxItems": 30
                                  }
                                },
                                "required": [
                                  "read",
                                  "from",
                                  "to",
                                  "left_out"
                                ]
                              },
                              "web": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "url": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "day": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "format": "date"
                                    },
                                    "day_from": {
                                      "type": "string",
                                      "enum": [
                                        "page",
                                        "none"
                                      ]
                                    },
                                    "read_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "figures": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "name": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "unit": {
                                            "type": "string",
                                            "enum": [
                                              "count",
                                              "stars",
                                              "share",
                                              "usd",
                                              "days",
                                              "number"
                                            ]
                                          },
                                          "says": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "name",
                                          "value",
                                          "unit",
                                          "says"
                                        ]
                                      },
                                      "maxItems": 8
                                    },
                                    "document": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "not_kept": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "url",
                                    "title",
                                    "day",
                                    "day_from",
                                    "read_at",
                                    "why"
                                  ]
                                },
                                "maxItems": 20
                              },
                              "names": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "maxItems": 100
                              },
                              "profiles": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "player": {
                                      "type": "string"
                                    },
                                    "copy": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          },
                                          "row": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 4
                                    }
                                  },
                                  "required": [
                                    "player",
                                    "copy",
                                    "cards"
                                  ]
                                },
                                "maxItems": 20
                              }
                            },
                            "required": [
                              "id",
                              "state",
                              "headline",
                              "lede",
                              "read",
                              "questions",
                              "exhibits",
                              "quotes",
                              "method",
                              "web",
                              "names"
                            ]
                          },
                          "maxItems": 15
                        },
                        "plan": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "consumer-product",
                                "franchise",
                                "b2b-manufacturer",
                                "casino",
                                "clinic-network",
                                "software",
                                "b2b-services",
                                "other"
                              ]
                            },
                            "pages": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "type": "string",
                                    "maxLength": 60
                                  },
                                  "after": {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  "in": {
                                    "type": "boolean"
                                  },
                                  "why": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "maxLength": 400
                                  }
                                },
                                "required": [
                                  "id",
                                  "in",
                                  "why"
                                ]
                              },
                              "maxItems": 15
                            }
                          },
                          "required": [
                            "kind",
                            "pages"
                          ]
                        }
                      },
                      "required": [
                        "version",
                        "company",
                        "title",
                        "playbook",
                        "overview",
                        "pages"
                      ]
                    },
                    "answers": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "asked_at": {
                            "type": "string"
                          },
                          "answer": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "numbers": {
                                "type": "string",
                                "enum": [
                                  "rating",
                                  "rating_by_link",
                                  "rating_rivals",
                                  "rating_windows",
                                  "complaints",
                                  "series",
                                  "timeline",
                                  "ads",
                                  "ads_weeks",
                                  "site",
                                  "site_changes",
                                  "figures",
                                  "profile",
                                  "risks",
                                  "market",
                                  "funding",
                                  "interest",
                                  "social",
                                  "videos",
                                  "rating_periods",
                                  "query",
                                  "players",
                                  "category"
                                ]
                              },
                              "company": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "market": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "params": {
                                "type": "object",
                                "additionalProperties": {}
                              },
                              "figures": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string",
                                      "maxLength": 60,
                                      "pattern": "^[a-z][a-z0-9_]*$"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "unit": {
                                      "type": "string",
                                      "enum": [
                                        "count",
                                        "stars",
                                        "share",
                                        "usd",
                                        "days",
                                        "number"
                                      ]
                                    },
                                    "company": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "n": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "small": {
                                      "type": "boolean"
                                    },
                                    "interval": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "properties": {
                                        "low": {
                                          "type": "number"
                                        },
                                        "high": {
                                          "type": "number"
                                        }
                                      },
                                      "required": [
                                        "low",
                                        "high"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label",
                                    "value",
                                    "unit",
                                    "company",
                                    "n",
                                    "small",
                                    "interval"
                                  ]
                                }
                              },
                              "columns": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string",
                                      "maxLength": 60,
                                      "pattern": "^[a-z][a-z0-9_]*$"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "unit": {
                                      "type": "string",
                                      "enum": [
                                        "count",
                                        "stars",
                                        "share",
                                        "usd",
                                        "days",
                                        "number"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label",
                                    "unit"
                                  ]
                                }
                              },
                              "word_columns": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string",
                                      "maxLength": 60,
                                      "pattern": "^[a-z][a-z0-9_]*$"
                                    },
                                    "label": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label"
                                  ]
                                }
                              },
                              "rows": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "company",
                                        "link",
                                        "star",
                                        "period",
                                        "topic",
                                        "event",
                                        "review"
                                      ]
                                    },
                                    "company": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "values": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "type": [
                                          "number",
                                          "null"
                                        ]
                                      }
                                    },
                                    "small": {
                                      "type": "boolean"
                                    },
                                    "day": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "source": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "category": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "was": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "values": {
                                            "type": "object",
                                            "additionalProperties": {
                                              "type": [
                                                "number",
                                                "null"
                                              ]
                                            }
                                          },
                                          "day": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "seen_from": {
                                            "type": "string"
                                          },
                                          "seen_to": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "values",
                                          "day",
                                          "seen_from",
                                          "seen_to"
                                        ]
                                      }
                                    },
                                    "words": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      }
                                    },
                                    "marks": {
                                      "type": "array",
                                      "items": {
                                        "type": "integer",
                                        "minimum": 0
                                      }
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "label",
                                    "kind",
                                    "company",
                                    "values",
                                    "small",
                                    "day",
                                    "source",
                                    "category",
                                    "url",
                                    "was"
                                  ]
                                }
                              },
                              "evidence": {
                                "type": "object",
                                "properties": {
                                  "items": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "kind": {
                                          "type": "string",
                                          "enum": [
                                            "signal",
                                            "record",
                                            "document",
                                            "quote",
                                            "snapshot"
                                          ]
                                        },
                                        "id": {
                                          "type": "string"
                                        },
                                        "source": {
                                          "type": "string"
                                        },
                                        "company": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "link": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "day": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "url": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "row": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "column": {
                                          "type": "string"
                                        },
                                        "rating": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "text": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "found_by": {
                                          "type": "string"
                                        },
                                        "facts": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "label": {
                                                "type": "string"
                                              },
                                              "line": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "concept": {
                                                "type": "string"
                                              },
                                              "axis": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "member": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "start_on": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "end_on": {
                                                "type": "string"
                                              },
                                              "value": {
                                                "type": "number"
                                              },
                                              "worked_from": {
                                                "type": [
                                                  "array",
                                                  "null"
                                                ],
                                                "items": {
                                                  "type": "object",
                                                  "properties": {
                                                    "label": {
                                                      "type": "string"
                                                    },
                                                    "line": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "concept": {
                                                      "type": "string"
                                                    },
                                                    "axis": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "member": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "start_on": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "end_on": {
                                                      "type": "string"
                                                    },
                                                    "value": {
                                                      "type": "number"
                                                    },
                                                    "document": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "url": {
                                                      "type": "string"
                                                    },
                                                    "form": {
                                                      "type": "string"
                                                    },
                                                    "filed_on": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "label",
                                                    "line",
                                                    "concept",
                                                    "axis",
                                                    "member",
                                                    "start_on",
                                                    "end_on",
                                                    "value",
                                                    "document",
                                                    "url",
                                                    "form",
                                                    "filed_on"
                                                  ]
                                                }
                                              }
                                            },
                                            "required": [
                                              "label",
                                              "line",
                                              "concept",
                                              "axis",
                                              "member",
                                              "start_on",
                                              "end_on",
                                              "value",
                                              "worked_from"
                                            ]
                                          }
                                        },
                                        "document": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "kind",
                                        "id",
                                        "source",
                                        "company",
                                        "link",
                                        "day",
                                        "url",
                                        "row",
                                        "rating",
                                        "text"
                                      ]
                                    },
                                    "maxItems": 200
                                  },
                                  "total": {
                                    "type": "integer"
                                  },
                                  "more": {
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "items",
                                  "total",
                                  "more"
                                ]
                              },
                              "basis": {
                                "type": "object",
                                "properties": {
                                  "sources": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "network": {
                                          "type": "string"
                                        },
                                        "read": {
                                          "type": "integer"
                                        },
                                        "from": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "to": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "total": {
                                          "type": [
                                            "integer",
                                            "null"
                                          ]
                                        },
                                        "rating": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "url": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "held": {
                                          "type": "integer"
                                        },
                                        "held_from": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "held_to": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "listings": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "company": {
                                                "type": "string"
                                              },
                                              "label": {
                                                "type": "string"
                                              },
                                              "link": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "read": {
                                                "type": "integer"
                                              },
                                              "from": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "to": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "total": {
                                                "type": [
                                                  "integer",
                                                  "null"
                                                ]
                                              },
                                              "rating": {
                                                "type": [
                                                  "number",
                                                  "null"
                                                ]
                                              },
                                              "url": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "held": {
                                                "type": "integer"
                                              },
                                              "held_from": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "held_to": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "reads_from": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "routes": {
                                                "type": "array",
                                                "items": {
                                                  "type": "object",
                                                  "properties": {
                                                    "route": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "found_by": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "n": {
                                                      "type": "integer"
                                                    },
                                                    "filter": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "route",
                                                    "found_by",
                                                    "n",
                                                    "filter"
                                                  ]
                                                }
                                              },
                                              "shop": {
                                                "type": "object",
                                                "properties": {
                                                  "store": {
                                                    "type": "string"
                                                  },
                                                  "name": {
                                                    "type": [
                                                      "string",
                                                      "null"
                                                    ]
                                                  },
                                                  "item_words": {
                                                    "type": "string"
                                                  },
                                                  "item": {
                                                    "type": "string"
                                                  },
                                                  "read_on": {
                                                    "type": [
                                                      "string",
                                                      "null"
                                                    ]
                                                  },
                                                  "figures_on": {
                                                    "type": [
                                                      "string",
                                                      "null"
                                                    ]
                                                  },
                                                  "price_usd": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "price_low_90d": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "price_high_90d": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "bought_past_month": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "sales_rank": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "sales_rank_best_90d": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "written_reviews": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  }
                                                },
                                                "required": [
                                                  "store",
                                                  "name",
                                                  "item_words",
                                                  "item",
                                                  "read_on",
                                                  "figures_on",
                                                  "price_usd",
                                                  "price_low_90d",
                                                  "price_high_90d",
                                                  "bought_past_month",
                                                  "sales_rank",
                                                  "sales_rank_best_90d",
                                                  "written_reviews"
                                                ]
                                              }
                                            },
                                            "required": [
                                              "company",
                                              "label",
                                              "link",
                                              "read",
                                              "from",
                                              "to",
                                              "total",
                                              "rating",
                                              "url"
                                            ]
                                          }
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "network"
                                      ]
                                    }
                                  },
                                  "independent": {
                                    "type": "integer"
                                  },
                                  "window": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "properties": {
                                      "from": {
                                        "type": "string"
                                      },
                                      "to": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "from",
                                      "to"
                                    ]
                                  },
                                  "compare": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "properties": {
                                      "from": {
                                        "type": "string"
                                      },
                                      "to": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "from",
                                      "to"
                                    ]
                                  },
                                  "method": {
                                    "type": "string"
                                  },
                                  "sample": {
                                    "type": "object",
                                    "properties": {
                                      "read": {
                                        "type": "integer"
                                      },
                                      "of": {
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "from": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "to": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "days": {
                                        "type": "integer"
                                      },
                                      "undated": {
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "read",
                                      "of",
                                      "from",
                                      "to",
                                      "days",
                                      "undated"
                                    ]
                                  },
                                  "breaks": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "sources": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "from": {
                                          "type": "string"
                                        },
                                        "to": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "approximate": {
                                          "type": "boolean"
                                        },
                                        "effect": {
                                          "type": "string",
                                          "enum": [
                                            "mark",
                                            "mask"
                                          ]
                                        },
                                        "what": {
                                          "type": "string"
                                        },
                                        "url": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "sources",
                                        "from",
                                        "to",
                                        "approximate",
                                        "effect",
                                        "what",
                                        "url"
                                      ]
                                    }
                                  },
                                  "periods": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "properties": {
                                      "has": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "lacks": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      }
                                    },
                                    "required": [
                                      "has",
                                      "lacks"
                                    ]
                                  },
                                  "left_out": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "what": {
                                          "type": "string"
                                        },
                                        "count": {
                                          "type": "integer"
                                        },
                                        "why": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "what",
                                        "count",
                                        "why"
                                      ]
                                    }
                                  },
                                  "caveats": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "required": [
                                  "sources",
                                  "independent",
                                  "window",
                                  "compare",
                                  "method",
                                  "sample",
                                  "breaks",
                                  "periods",
                                  "left_out",
                                  "caveats"
                                ]
                              },
                              "choices": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "options": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "value": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "params": {
                                            "type": "object",
                                            "additionalProperties": {
                                              "type": "string"
                                            }
                                          },
                                          "unset": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "required": [
                                          "value",
                                          "label",
                                          "params"
                                        ]
                                      }
                                    },
                                    "selected": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label",
                                    "options",
                                    "selected"
                                  ]
                                }
                              },
                              "computed_at": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "numbers",
                              "params",
                              "figures",
                              "columns",
                              "rows",
                              "evidence",
                              "basis",
                              "computed_at"
                            ]
                          },
                          "error": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "message": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "code",
                              "message"
                            ]
                          }
                        },
                        "required": [
                          "asked_at",
                          "answer",
                          "error"
                        ]
                      }
                    },
                    "cited": {
                      "type": "object",
                      "additionalProperties": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "quote",
                              "signal",
                              "passage",
                              "record"
                            ]
                          },
                          "id": {
                            "type": "string"
                          },
                          "text": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": "string"
                          },
                          "cite": {
                            "type": "string"
                          },
                          "rating": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "people": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "as": {
                                  "type": "string",
                                  "enum": [
                                    "reviewer",
                                    "writer",
                                    "author",
                                    "coauthor",
                                    "tagged",
                                    "named"
                                  ]
                                },
                                "name": {
                                  "type": "string"
                                },
                                "handle": {
                                  "type": "string"
                                },
                                "role": {
                                  "type": "string"
                                },
                                "picture": {
                                  "type": "object",
                                  "properties": {
                                    "from": {
                                      "type": "string"
                                    },
                                    "copy_url": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "from"
                                  ]
                                },
                                "profile": {
                                  "type": "string"
                                },
                                "location": {
                                  "type": "string"
                                },
                                "badges": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "street": {
                                  "type": "string"
                                },
                                "phone": {
                                  "type": "string"
                                },
                                "email": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "as"
                              ]
                            }
                          },
                          "speaker_confirmed": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "tie": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "tie": {
                                "type": "string",
                                "enum": [
                                  "staff",
                                  "former_staff",
                                  "rival",
                                  "customer",
                                  "partner",
                                  "adviser",
                                  "practitioner",
                                  "academic",
                                  "unknown"
                                ]
                              },
                              "rival": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "how": {
                                "type": "string",
                                "enum": [
                                  "role_on_day",
                                  "role_ended",
                                  "rival_role",
                                  "model",
                                  "unconfirmed",
                                  "nothing_read"
                                ]
                              },
                              "why": {
                                "type": "string"
                              },
                              "evidence": {
                                "type": "array",
                                "items": {
                                  "oneOf": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "from": {
                                          "type": "string",
                                          "enum": [
                                            "role"
                                          ]
                                        },
                                        "source": {
                                          "type": "string"
                                        },
                                        "source_kind": {
                                          "type": "string"
                                        },
                                        "title": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "company": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "first_on": {
                                          "type": "string"
                                        },
                                        "last_on": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from",
                                        "source",
                                        "source_kind",
                                        "title",
                                        "company",
                                        "first_on",
                                        "last_on"
                                      ]
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "from": {
                                          "type": "string",
                                          "enum": [
                                            "lineup"
                                          ]
                                        },
                                        "episode": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "role": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "company": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "day": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from",
                                        "episode",
                                        "role",
                                        "company",
                                        "day"
                                      ]
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "from": {
                                          "type": "string",
                                          "enum": [
                                            "words"
                                          ]
                                        },
                                        "where": {
                                          "type": "string",
                                          "enum": [
                                            "lineup",
                                            "introduction",
                                            "episode"
                                          ]
                                        },
                                        "words": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from",
                                        "where",
                                        "words"
                                      ]
                                    }
                                  ]
                                }
                              },
                              "model": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "decided_at": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "tie",
                              "rival",
                              "how",
                              "why",
                              "evidence",
                              "model",
                              "decided_at"
                            ]
                          }
                        },
                        "required": [
                          "kind",
                          "id",
                          "text",
                          "day",
                          "url",
                          "cite",
                          "rating",
                          "speaker_confirmed"
                        ]
                      }
                    },
                    "sentences": {
                      "type": "object",
                      "additionalProperties": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "transcript": {
                            "type": "string",
                            "maxLength": 64
                          },
                          "turn": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "start": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "end": {
                            "type": "integer",
                            "minimum": 1
                          },
                          "from": {
                            "type": "string",
                            "enum": [
                              "ours",
                              "api-ninjas"
                            ]
                          },
                          "text": {
                            "type": "string"
                          },
                          "speaker": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "role": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "role",
                              "company"
                            ]
                          },
                          "speaker_confirmed": {
                            "type": "boolean"
                          },
                          "chapter": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "title": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "title"
                            ]
                          },
                          "event": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "date": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "title",
                              "date"
                            ]
                          },
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "shown": {
                            "type": "string",
                            "enum": [
                              "passages",
                              "whole"
                            ]
                          }
                        },
                        "required": [
                          "transcript",
                          "turn",
                          "start",
                          "end",
                          "from",
                          "text",
                          "speaker",
                          "speaker_confirmed",
                          "chapter",
                          "event",
                          "company",
                          "shown"
                        ]
                      }
                    },
                    "check": {
                      "type": "object",
                      "properties": {
                        "passes": {
                          "type": "boolean"
                        },
                        "problems": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "where": {
                                "type": "string"
                              },
                              "problem": {
                                "type": "string"
                              },
                              "refused": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "where",
                              "problem",
                              "refused"
                            ]
                          }
                        },
                        "pending": {
                          "type": "boolean"
                        },
                        "running": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "passes",
                        "problems"
                      ]
                    },
                    "pages_needed": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "company",
                              "market",
                              "financials",
                              "customer",
                              "competitive",
                              "marketing",
                              "news",
                              "trends",
                              "expert",
                              "risks",
                              "players",
                              "profiles"
                            ]
                          },
                          {
                            "type": "string",
                            "maxLength": 48,
                            "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                          }
                        ]
                      }
                    },
                    "target_added": {
                      "type": "boolean"
                    },
                    "covers": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "company",
                              "market",
                              "financials",
                              "customer",
                              "competitive",
                              "marketing",
                              "news",
                              "trends",
                              "expert",
                              "risks",
                              "players",
                              "profiles"
                            ]
                          },
                          {
                            "type": "string",
                            "maxLength": 48,
                            "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "overview",
                              "plan"
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "required": [
                    "id",
                    "company",
                    "title",
                    "status",
                    "rev",
                    "problems",
                    "playbook",
                    "saved_by",
                    "created_at",
                    "updated_at",
                    "checked_at",
                    "pages",
                    "report",
                    "filled",
                    "answers",
                    "cited",
                    "check",
                    "pages_needed"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Reports"
        ],
        "x-mint": {
          "content": "**MCP tool:** `start_report`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/diligence-reports/{id}": {
      "get": {
        "operationId": "getDiligenceReport",
        "summary": "A diligence report, filled: each exhibit asked now, each cited item looked up, and what the check says",
        "description": "Reads one of your team's diligence reports with every figure filled. As JSON: the report as saved, its figures in braces (`report`); the same with each figure in its place (`filled`); each exhibit's number tool asked now (`answers`); each quote, review or record a page cites, its words whole, each quote with how its speaker stands to the target (`tie`: `staff`, `former_staff`, `rival`, `customer`, `partner`, `adviser`, `practitioner`, `academic` or `unknown`), how that was decided and why, or null while it isn't decided yet (`cited`); each sentence of a company's call a finding names, by `tr_…:turn:start-end`, with its words and no more of its turn, who said them and whether that's confirmed, its turn's chapter, the call, and whose text it is, ours or API Ninjas' (`sentences`); what the check finds (`check`); the report's plan, its kind of company and each page in or out with why (`report.plan`); and the pages a report needs, those its plan has in, or on a report with no plan those the playbook writes today (`pages_needed`): one the report doesn't have yet isn't written, and the check refuses the report until it is. With `format=md` it's one Markdown document, `poddata-report-<company>-<day>.md`: the overview, then each page with its questions, its exhibits as tables, what it cites and how it was built. With `format=zip` it's its files in one zip, `poddata-report-<company>-<day>.zip`: `README.txt`, `report.json`, the same report as Markdown, `pages/<page>.md` for the overview and each page, `exhibits/<exhibit>.csv` (its rows), `exhibits/<exhibit>.figures.csv` (its figures) and `exhibits/<exhibit>.json` (its answer whole), `evidence.csv` and `cited.csv`. With `format=pptx` it's slides, `poddata-report-<company>-<day>.pptx`: a title, the overview, then each page's headline and questions and one slide an exhibit, its point as the title and its caveat and sources at the foot, with charts and tables you can edit. Add `page` for one page's slides. With `fill=none` it's the report as saved, for a writer about to save: its version (`rev`), status and pages (`report`), with `filled` as saved, its figures in braces, `answers` and `cited` empty, `covers` empty and `check.pending`, since it asks no number tool and checks nothing. Its MCP tool answers the JSON only, since no tool hands over a file.\n\n**Before:** Make the report with `POST /diligence-reports` and write it a page at a time with `PUT /diligence-reports/{id}/pages/{page}`, or have PodData's agent write it. A draft reads and downloads too, marked a draft with how many things the check refuses.\n\n**Next:** Mark it checked with `POST /diligence-reports/{id}/check` once nothing is refused. To change a page, start from it as saved in `report` and save it again with the `rev` this read gave: a read with `fill=none` gives both, and each save answers the next `rev`.\n\n**Limits:** Each read asks every exhibit's number tool again, so two reads can differ and a saved file holds that moment's figures; a read with `fill=none` asks none, and with any `format` but `json`, or with `page`, it's a `400`. One `api` call, as JSON or as a file. A file holds a source's words whole and no reviewer's name, and leaves out a figure read through your team's own data licence, saying why. When PodData's database is too busy to read a file's appendix, it waits a few seconds and asks again, then answers `503` with `Retry-After`. Any `format` but `json`, `md`, `zip` or `pptx` is a `400`, and so is `page` without `format=pptx`.",
        "x-mcp-tool": "get_report",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/diligence-reports/dlr_01EXAMPLE00000000000000001' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "md",
                "zip",
                "pptx"
              ],
              "description": "md: the report as one Markdown document, every figure filled. zip: its files in one zip: the report as JSON and as Markdown, each page as Markdown, each exhibit's rows and figures as CSV and its answer as JSON, evidence.csv, cited.csv and README.txt. pptx: slides, with charts and tables you can edit. json: the report as data, the default",
              "example": "zip"
            },
            "required": false,
            "description": "md: the report as one Markdown document, every figure filled. zip: its files in one zip: the report as JSON and as Markdown, each page as Markdown, each exhibit's rows and figures as CSV and its answer as JSON, evidence.csv, cited.csv and README.txt. pptx: slides, with charts and tables you can edit. json: the report as data, the default",
            "name": "format",
            "in": "query"
          },
          {
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "company",
                    "market",
                    "financials",
                    "customer",
                    "competitive",
                    "marketing",
                    "news",
                    "trends",
                    "expert",
                    "risks",
                    "players",
                    "profiles",
                    "overview"
                  ]
                },
                {
                  "type": "string",
                  "maxLength": 48,
                  "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                }
              ],
              "description": "With format=pptx: only this page's slides, or `overview` for the overview's. Left out, the whole report",
              "example": "customer"
            },
            "required": false,
            "description": "With format=pptx: only this page's slides, or `overview` for the overview's. Left out, the whole report",
            "name": "page",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "none"
              ],
              "description": "none: the report as saved, for a writer about to save: its version, status and pages, figures in braces, with no number tool asked and nothing checked, so it answers while the database is busy. It goes with format=json alone. all: every figure filled and the report checked, the default",
              "example": "none"
            },
            "required": false,
            "description": "none: the report as saved, for a writer about to save: its version, status and pages, figures in braces, with no number tool asked and nothing checked, so it answers while the database is busy. It goes with format=json alone. all: every figure filled and the report checked, the default",
            "name": "fill",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The report; or with format=md, the document; with format=zip, its files; or with format=pptx, its slides",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "dlr_01EXAMPLE00000000000000001",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "title": "Northwind Dental",
                      "status": "draft",
                      "rev": 1,
                      "problems": 1,
                      "playbook": null,
                      "saved_by": "key",
                      "created_at": "2026-11-17T13:50:00.000Z",
                      "updated_at": "2026-11-17T14:01:00.000Z",
                      "checked_at": null,
                      "pages": [
                        {
                          "id": "company",
                          "state": "empty"
                        },
                        {
                          "id": "market",
                          "state": "empty"
                        },
                        {
                          "id": "financials",
                          "state": "empty"
                        },
                        {
                          "id": "customer",
                          "state": "empty"
                        },
                        {
                          "id": "competitive",
                          "state": "empty"
                        },
                        {
                          "id": "marketing",
                          "state": "empty"
                        },
                        {
                          "id": "news",
                          "state": "empty"
                        },
                        {
                          "id": "trends",
                          "state": "empty"
                        },
                        {
                          "id": "expert",
                          "state": "empty"
                        },
                        {
                          "id": "risks",
                          "state": "empty"
                        }
                      ],
                      "report": {
                        "version": 1,
                        "company": "northwind-dental",
                        "title": "Northwind Dental",
                        "playbook": null,
                        "overview": {
                          "bottom_line": "Made up for this example: patients rate Northwind Dental below its rival.",
                          "cards": [],
                          "first_question": "Why do billing complaints run so high?",
                          "names": [
                            "Northwind Dental"
                          ]
                        },
                        "pages": [
                          {
                            "id": "company",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "market",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "financials",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "customer",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "competitive",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "marketing",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "news",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "trends",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "expert",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "risks",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          }
                        ]
                      },
                      "filled": {
                        "version": 1,
                        "company": "northwind-dental",
                        "title": "Northwind Dental",
                        "playbook": null,
                        "overview": {
                          "bottom_line": "Made up for this example: patients rate Northwind Dental below its rival.",
                          "cards": [],
                          "first_question": "Why do billing complaints run so high?",
                          "names": [
                            "Northwind Dental"
                          ]
                        },
                        "pages": [
                          {
                            "id": "company",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "market",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "financials",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "customer",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "competitive",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "marketing",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "news",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "trends",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "expert",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "risks",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          }
                        ]
                      },
                      "answers": {},
                      "cited": {},
                      "check": {
                        "passes": false,
                        "problems": [
                          {
                            "where": "pages.0.headline",
                            "problem": "is empty: a written page states its finding",
                            "refused": true
                          }
                        ]
                      },
                      "pages_needed": [
                        "company",
                        "market",
                        "financials",
                        "customer",
                        "competitive",
                        "marketing",
                        "news",
                        "trends",
                        "expert",
                        "risks"
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "subject": {
                      "type": "string",
                      "enum": [
                        "company",
                        "market"
                      ]
                    },
                    "market": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "draft",
                        "checked"
                      ]
                    },
                    "rev": {
                      "type": "integer"
                    },
                    "problems": {
                      "type": "integer"
                    },
                    "playbook": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "saved_by": {
                      "type": "string",
                      "enum": [
                        "key",
                        "member",
                        "agent"
                      ]
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "updated_at": {
                      "type": "string"
                    },
                    "checked_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "company",
                                  "market",
                                  "financials",
                                  "customer",
                                  "competitive",
                                  "marketing",
                                  "news",
                                  "trends",
                                  "expert",
                                  "risks",
                                  "players",
                                  "profiles"
                                ]
                              },
                              {
                                "type": "string",
                                "maxLength": 48,
                                "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                              }
                            ]
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "empty",
                              "written",
                              "waits"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "state"
                        ]
                      }
                    },
                    "checks": {
                      "type": "object",
                      "properties": {
                        "running": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "rev": {
                              "type": "integer"
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "queued",
                                "running",
                                "checked",
                                "draft",
                                "saved_over",
                                "failed"
                              ]
                            },
                            "asked_at": {
                              "type": "string"
                            },
                            "started_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "ended_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "refused": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "ahead": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "why": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "waiting_for": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "rev",
                            "state",
                            "asked_at",
                            "started_at",
                            "ended_at",
                            "refused",
                            "ahead",
                            "why"
                          ]
                        },
                        "last": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "rev": {
                              "type": "integer"
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "queued",
                                "running",
                                "checked",
                                "draft",
                                "saved_over",
                                "failed"
                              ]
                            },
                            "asked_at": {
                              "type": "string"
                            },
                            "started_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "ended_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "refused": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "ahead": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "why": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "waiting_for": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "rev",
                            "state",
                            "asked_at",
                            "started_at",
                            "ended_at",
                            "refused",
                            "ahead",
                            "why"
                          ]
                        }
                      },
                      "required": [
                        "running",
                        "last"
                      ]
                    },
                    "report": {
                      "type": "object",
                      "properties": {
                        "version": {
                          "type": "number",
                          "enum": [
                            1
                          ]
                        },
                        "subject": {
                          "type": "string",
                          "enum": [
                            "company",
                            "market"
                          ]
                        },
                        "company": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "playbook": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "overview": {
                          "type": "object",
                          "properties": {
                            "bottom_line": {
                              "type": "string"
                            },
                            "story": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 8
                            },
                            "sections": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "text": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "page",
                                  "text"
                                ]
                              },
                              "maxItems": 15
                            },
                            "cards": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "exhibit": {
                                    "type": "string"
                                  },
                                  "figure": {
                                    "type": "string"
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "line": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "exhibit",
                                  "figure",
                                  "label",
                                  "line"
                                ]
                              },
                              "maxItems": 3
                            },
                            "first_question": {
                              "type": "string"
                            },
                            "case_for": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "case_against": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "findings": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "sure": {
                                    "type": "string",
                                    "enum": [
                                      "strong",
                                      "moderate",
                                      "thin"
                                    ]
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "pages": {
                                    "type": "array",
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "enum": [
                                            "company",
                                            "market",
                                            "financials",
                                            "customer",
                                            "competitive",
                                            "marketing",
                                            "news",
                                            "trends",
                                            "expert",
                                            "risks",
                                            "players",
                                            "profiles"
                                          ]
                                        },
                                        {
                                          "type": "string",
                                          "maxLength": 48,
                                          "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                        }
                                      ]
                                    },
                                    "minItems": 1,
                                    "maxItems": 4
                                  },
                                  "sentences": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "transcript": {
                                          "type": "string",
                                          "maxLength": 64
                                        },
                                        "turn": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "start": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "end": {
                                          "type": "integer",
                                          "minimum": 1
                                        }
                                      },
                                      "required": [
                                        "transcript",
                                        "turn",
                                        "start",
                                        "end"
                                      ]
                                    },
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "text",
                                  "sure",
                                  "why",
                                  "pages"
                                ]
                              },
                              "maxItems": 12
                            },
                            "first_tests": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 12
                              },
                              "maxItems": 6
                            },
                            "risks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "risk": {
                                    "type": "string"
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "maxItems": 6
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "risk",
                                  "why",
                                  "findings"
                                ]
                              },
                              "maxItems": 9
                            },
                            "would_change": {
                              "type": "string"
                            },
                            "asks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "ask": {
                                    "type": "string"
                                  },
                                  "tests": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "minItems": 1,
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "ask",
                                  "tests",
                                  "findings"
                                ]
                              },
                              "maxItems": 15
                            },
                            "not_assessed": {
                              "type": "string"
                            },
                            "names": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 100
                            }
                          },
                          "required": [
                            "bottom_line",
                            "cards",
                            "first_question",
                            "names"
                          ]
                        },
                        "pages": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "maxLength": 48,
                                    "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                  }
                                ]
                              },
                              "question": {
                                "type": "string",
                                "maxLength": 200
                              },
                              "name": {
                                "type": "string",
                                "maxLength": 60
                              },
                              "after": {
                                "type": "string",
                                "enum": [
                                  "company",
                                  "market",
                                  "financials",
                                  "customer",
                                  "competitive",
                                  "marketing",
                                  "news",
                                  "trends",
                                  "expert",
                                  "risks",
                                  "players",
                                  "profiles"
                                ]
                              },
                              "state": {
                                "type": "string",
                                "enum": [
                                  "empty",
                                  "written",
                                  "waits",
                                  "left_out"
                                ]
                              },
                              "headline": {
                                "type": "string"
                              },
                              "lede": {
                                "type": "string"
                              },
                              "read": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "exhibit": {
                                      "type": "string"
                                    },
                                    "figure": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "exhibit",
                                    "figure",
                                    "label"
                                  ]
                                },
                                "maxItems": 6
                              },
                              "questions": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "ask": {
                                      "type": "string"
                                    },
                                    "answer": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 3
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "ask",
                                    "answer",
                                    "cards"
                                  ]
                                },
                                "maxItems": 2
                              },
                              "exhibits": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "numbers": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "company": {
                                      "type": "string"
                                    },
                                    "params": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "anyOf": [
                                          {
                                            "type": "string"
                                          },
                                          {
                                            "type": "number"
                                          },
                                          {
                                            "type": "boolean"
                                          },
                                          {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    "show": {
                                      "type": "string",
                                      "enum": [
                                        "figures",
                                        "table",
                                        "bars",
                                        "share",
                                        "series",
                                        "timeline",
                                        "voices",
                                        "windows",
                                        "grid",
                                        "lanes",
                                        "lines",
                                        "squares",
                                        "strip"
                                      ]
                                    },
                                    "by": {
                                      "type": "string",
                                      "enum": [
                                        "none",
                                        "tie"
                                      ]
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "point": {
                                      "type": "string"
                                    },
                                    "caveat": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "numbers",
                                    "company",
                                    "params",
                                    "show",
                                    "title",
                                    "point",
                                    "caveat"
                                  ]
                                },
                                "maxItems": 12
                              },
                              "quotes": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "quote",
                                        "signal",
                                        "passage",
                                        "record"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "exhibit": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "player": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "id",
                                    "exhibit",
                                    "why"
                                  ]
                                },
                                "maxItems": 30
                              },
                              "uses": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "tag": {
                                      "type": "string"
                                    },
                                    "action": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "tag",
                                    "action",
                                    "line"
                                  ]
                                },
                                "maxItems": 4
                              },
                              "method": {
                                "type": "object",
                                "properties": {
                                  "read": {
                                    "type": "string"
                                  },
                                  "from": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "to": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "left_out": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "what": {
                                          "type": "string"
                                        },
                                        "why": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "what",
                                        "why"
                                      ]
                                    },
                                    "maxItems": 30
                                  }
                                },
                                "required": [
                                  "read",
                                  "from",
                                  "to",
                                  "left_out"
                                ]
                              },
                              "web": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "url": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "day": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "format": "date"
                                    },
                                    "day_from": {
                                      "type": "string",
                                      "enum": [
                                        "page",
                                        "none"
                                      ]
                                    },
                                    "read_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "figures": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "name": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "unit": {
                                            "type": "string",
                                            "enum": [
                                              "count",
                                              "stars",
                                              "share",
                                              "usd",
                                              "days",
                                              "number"
                                            ]
                                          },
                                          "says": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "name",
                                          "value",
                                          "unit",
                                          "says"
                                        ]
                                      },
                                      "maxItems": 8
                                    },
                                    "document": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "not_kept": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "url",
                                    "title",
                                    "day",
                                    "day_from",
                                    "read_at",
                                    "why"
                                  ]
                                },
                                "maxItems": 20
                              },
                              "names": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "maxItems": 100
                              },
                              "profiles": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "player": {
                                      "type": "string"
                                    },
                                    "copy": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          },
                                          "row": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 4
                                    }
                                  },
                                  "required": [
                                    "player",
                                    "copy",
                                    "cards"
                                  ]
                                },
                                "maxItems": 20
                              }
                            },
                            "required": [
                              "id",
                              "state",
                              "headline",
                              "lede",
                              "read",
                              "questions",
                              "exhibits",
                              "quotes",
                              "method",
                              "web",
                              "names"
                            ]
                          },
                          "maxItems": 15
                        },
                        "plan": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "consumer-product",
                                "franchise",
                                "b2b-manufacturer",
                                "casino",
                                "clinic-network",
                                "software",
                                "b2b-services",
                                "other"
                              ]
                            },
                            "pages": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "type": "string",
                                    "maxLength": 60
                                  },
                                  "after": {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  "in": {
                                    "type": "boolean"
                                  },
                                  "why": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "maxLength": 400
                                  }
                                },
                                "required": [
                                  "id",
                                  "in",
                                  "why"
                                ]
                              },
                              "maxItems": 15
                            }
                          },
                          "required": [
                            "kind",
                            "pages"
                          ]
                        }
                      },
                      "required": [
                        "version",
                        "company",
                        "title",
                        "playbook",
                        "overview",
                        "pages"
                      ]
                    },
                    "filled": {
                      "type": "object",
                      "properties": {
                        "version": {
                          "type": "number",
                          "enum": [
                            1
                          ]
                        },
                        "subject": {
                          "type": "string",
                          "enum": [
                            "company",
                            "market"
                          ]
                        },
                        "company": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "playbook": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "overview": {
                          "type": "object",
                          "properties": {
                            "bottom_line": {
                              "type": "string"
                            },
                            "story": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 8
                            },
                            "sections": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "text": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "page",
                                  "text"
                                ]
                              },
                              "maxItems": 15
                            },
                            "cards": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "exhibit": {
                                    "type": "string"
                                  },
                                  "figure": {
                                    "type": "string"
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "line": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "exhibit",
                                  "figure",
                                  "label",
                                  "line"
                                ]
                              },
                              "maxItems": 3
                            },
                            "first_question": {
                              "type": "string"
                            },
                            "case_for": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "case_against": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "findings": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "sure": {
                                    "type": "string",
                                    "enum": [
                                      "strong",
                                      "moderate",
                                      "thin"
                                    ]
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "pages": {
                                    "type": "array",
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "enum": [
                                            "company",
                                            "market",
                                            "financials",
                                            "customer",
                                            "competitive",
                                            "marketing",
                                            "news",
                                            "trends",
                                            "expert",
                                            "risks",
                                            "players",
                                            "profiles"
                                          ]
                                        },
                                        {
                                          "type": "string",
                                          "maxLength": 48,
                                          "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                        }
                                      ]
                                    },
                                    "minItems": 1,
                                    "maxItems": 4
                                  },
                                  "sentences": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "transcript": {
                                          "type": "string",
                                          "maxLength": 64
                                        },
                                        "turn": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "start": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "end": {
                                          "type": "integer",
                                          "minimum": 1
                                        }
                                      },
                                      "required": [
                                        "transcript",
                                        "turn",
                                        "start",
                                        "end"
                                      ]
                                    },
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "text",
                                  "sure",
                                  "why",
                                  "pages"
                                ]
                              },
                              "maxItems": 12
                            },
                            "first_tests": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 12
                              },
                              "maxItems": 6
                            },
                            "risks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "risk": {
                                    "type": "string"
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "maxItems": 6
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "risk",
                                  "why",
                                  "findings"
                                ]
                              },
                              "maxItems": 9
                            },
                            "would_change": {
                              "type": "string"
                            },
                            "asks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "ask": {
                                    "type": "string"
                                  },
                                  "tests": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "minItems": 1,
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "ask",
                                  "tests",
                                  "findings"
                                ]
                              },
                              "maxItems": 15
                            },
                            "not_assessed": {
                              "type": "string"
                            },
                            "names": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 100
                            }
                          },
                          "required": [
                            "bottom_line",
                            "cards",
                            "first_question",
                            "names"
                          ]
                        },
                        "pages": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "maxLength": 48,
                                    "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                  }
                                ]
                              },
                              "question": {
                                "type": "string",
                                "maxLength": 200
                              },
                              "name": {
                                "type": "string",
                                "maxLength": 60
                              },
                              "after": {
                                "type": "string",
                                "enum": [
                                  "company",
                                  "market",
                                  "financials",
                                  "customer",
                                  "competitive",
                                  "marketing",
                                  "news",
                                  "trends",
                                  "expert",
                                  "risks",
                                  "players",
                                  "profiles"
                                ]
                              },
                              "state": {
                                "type": "string",
                                "enum": [
                                  "empty",
                                  "written",
                                  "waits",
                                  "left_out"
                                ]
                              },
                              "headline": {
                                "type": "string"
                              },
                              "lede": {
                                "type": "string"
                              },
                              "read": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "exhibit": {
                                      "type": "string"
                                    },
                                    "figure": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "exhibit",
                                    "figure",
                                    "label"
                                  ]
                                },
                                "maxItems": 6
                              },
                              "questions": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "ask": {
                                      "type": "string"
                                    },
                                    "answer": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 3
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "ask",
                                    "answer",
                                    "cards"
                                  ]
                                },
                                "maxItems": 2
                              },
                              "exhibits": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "numbers": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "company": {
                                      "type": "string"
                                    },
                                    "params": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "anyOf": [
                                          {
                                            "type": "string"
                                          },
                                          {
                                            "type": "number"
                                          },
                                          {
                                            "type": "boolean"
                                          },
                                          {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    "show": {
                                      "type": "string",
                                      "enum": [
                                        "figures",
                                        "table",
                                        "bars",
                                        "share",
                                        "series",
                                        "timeline",
                                        "voices",
                                        "windows",
                                        "grid",
                                        "lanes",
                                        "lines",
                                        "squares",
                                        "strip"
                                      ]
                                    },
                                    "by": {
                                      "type": "string",
                                      "enum": [
                                        "none",
                                        "tie"
                                      ]
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "point": {
                                      "type": "string"
                                    },
                                    "caveat": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "numbers",
                                    "company",
                                    "params",
                                    "show",
                                    "title",
                                    "point",
                                    "caveat"
                                  ]
                                },
                                "maxItems": 12
                              },
                              "quotes": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "quote",
                                        "signal",
                                        "passage",
                                        "record"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "exhibit": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "player": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "id",
                                    "exhibit",
                                    "why"
                                  ]
                                },
                                "maxItems": 30
                              },
                              "uses": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "tag": {
                                      "type": "string"
                                    },
                                    "action": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "tag",
                                    "action",
                                    "line"
                                  ]
                                },
                                "maxItems": 4
                              },
                              "method": {
                                "type": "object",
                                "properties": {
                                  "read": {
                                    "type": "string"
                                  },
                                  "from": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "to": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "left_out": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "what": {
                                          "type": "string"
                                        },
                                        "why": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "what",
                                        "why"
                                      ]
                                    },
                                    "maxItems": 30
                                  }
                                },
                                "required": [
                                  "read",
                                  "from",
                                  "to",
                                  "left_out"
                                ]
                              },
                              "web": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "url": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "day": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "format": "date"
                                    },
                                    "day_from": {
                                      "type": "string",
                                      "enum": [
                                        "page",
                                        "none"
                                      ]
                                    },
                                    "read_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "figures": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "name": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "unit": {
                                            "type": "string",
                                            "enum": [
                                              "count",
                                              "stars",
                                              "share",
                                              "usd",
                                              "days",
                                              "number"
                                            ]
                                          },
                                          "says": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "name",
                                          "value",
                                          "unit",
                                          "says"
                                        ]
                                      },
                                      "maxItems": 8
                                    },
                                    "document": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "not_kept": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "url",
                                    "title",
                                    "day",
                                    "day_from",
                                    "read_at",
                                    "why"
                                  ]
                                },
                                "maxItems": 20
                              },
                              "names": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "maxItems": 100
                              },
                              "profiles": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "player": {
                                      "type": "string"
                                    },
                                    "copy": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          },
                                          "row": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 4
                                    }
                                  },
                                  "required": [
                                    "player",
                                    "copy",
                                    "cards"
                                  ]
                                },
                                "maxItems": 20
                              }
                            },
                            "required": [
                              "id",
                              "state",
                              "headline",
                              "lede",
                              "read",
                              "questions",
                              "exhibits",
                              "quotes",
                              "method",
                              "web",
                              "names"
                            ]
                          },
                          "maxItems": 15
                        },
                        "plan": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "consumer-product",
                                "franchise",
                                "b2b-manufacturer",
                                "casino",
                                "clinic-network",
                                "software",
                                "b2b-services",
                                "other"
                              ]
                            },
                            "pages": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "type": "string",
                                    "maxLength": 60
                                  },
                                  "after": {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  "in": {
                                    "type": "boolean"
                                  },
                                  "why": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "maxLength": 400
                                  }
                                },
                                "required": [
                                  "id",
                                  "in",
                                  "why"
                                ]
                              },
                              "maxItems": 15
                            }
                          },
                          "required": [
                            "kind",
                            "pages"
                          ]
                        }
                      },
                      "required": [
                        "version",
                        "company",
                        "title",
                        "playbook",
                        "overview",
                        "pages"
                      ]
                    },
                    "answers": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "asked_at": {
                            "type": "string"
                          },
                          "answer": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "numbers": {
                                "type": "string",
                                "enum": [
                                  "rating",
                                  "rating_by_link",
                                  "rating_rivals",
                                  "rating_windows",
                                  "complaints",
                                  "series",
                                  "timeline",
                                  "ads",
                                  "ads_weeks",
                                  "site",
                                  "site_changes",
                                  "figures",
                                  "profile",
                                  "risks",
                                  "market",
                                  "funding",
                                  "interest",
                                  "social",
                                  "videos",
                                  "rating_periods",
                                  "query",
                                  "players",
                                  "category"
                                ]
                              },
                              "company": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "market": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "params": {
                                "type": "object",
                                "additionalProperties": {}
                              },
                              "figures": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string",
                                      "maxLength": 60,
                                      "pattern": "^[a-z][a-z0-9_]*$"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "unit": {
                                      "type": "string",
                                      "enum": [
                                        "count",
                                        "stars",
                                        "share",
                                        "usd",
                                        "days",
                                        "number"
                                      ]
                                    },
                                    "company": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "n": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "small": {
                                      "type": "boolean"
                                    },
                                    "interval": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "properties": {
                                        "low": {
                                          "type": "number"
                                        },
                                        "high": {
                                          "type": "number"
                                        }
                                      },
                                      "required": [
                                        "low",
                                        "high"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label",
                                    "value",
                                    "unit",
                                    "company",
                                    "n",
                                    "small",
                                    "interval"
                                  ]
                                }
                              },
                              "columns": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string",
                                      "maxLength": 60,
                                      "pattern": "^[a-z][a-z0-9_]*$"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "unit": {
                                      "type": "string",
                                      "enum": [
                                        "count",
                                        "stars",
                                        "share",
                                        "usd",
                                        "days",
                                        "number"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label",
                                    "unit"
                                  ]
                                }
                              },
                              "word_columns": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string",
                                      "maxLength": 60,
                                      "pattern": "^[a-z][a-z0-9_]*$"
                                    },
                                    "label": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label"
                                  ]
                                }
                              },
                              "rows": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "company",
                                        "link",
                                        "star",
                                        "period",
                                        "topic",
                                        "event",
                                        "review"
                                      ]
                                    },
                                    "company": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "values": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "type": [
                                          "number",
                                          "null"
                                        ]
                                      }
                                    },
                                    "small": {
                                      "type": "boolean"
                                    },
                                    "day": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "source": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "category": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "was": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "values": {
                                            "type": "object",
                                            "additionalProperties": {
                                              "type": [
                                                "number",
                                                "null"
                                              ]
                                            }
                                          },
                                          "day": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "seen_from": {
                                            "type": "string"
                                          },
                                          "seen_to": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "values",
                                          "day",
                                          "seen_from",
                                          "seen_to"
                                        ]
                                      }
                                    },
                                    "words": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      }
                                    },
                                    "marks": {
                                      "type": "array",
                                      "items": {
                                        "type": "integer",
                                        "minimum": 0
                                      }
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "label",
                                    "kind",
                                    "company",
                                    "values",
                                    "small",
                                    "day",
                                    "source",
                                    "category",
                                    "url",
                                    "was"
                                  ]
                                }
                              },
                              "evidence": {
                                "type": "object",
                                "properties": {
                                  "items": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "kind": {
                                          "type": "string",
                                          "enum": [
                                            "signal",
                                            "record",
                                            "document",
                                            "quote",
                                            "snapshot"
                                          ]
                                        },
                                        "id": {
                                          "type": "string"
                                        },
                                        "source": {
                                          "type": "string"
                                        },
                                        "company": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "link": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "day": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "url": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "row": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "column": {
                                          "type": "string"
                                        },
                                        "rating": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "text": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "found_by": {
                                          "type": "string"
                                        },
                                        "facts": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "label": {
                                                "type": "string"
                                              },
                                              "line": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "concept": {
                                                "type": "string"
                                              },
                                              "axis": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "member": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "start_on": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "end_on": {
                                                "type": "string"
                                              },
                                              "value": {
                                                "type": "number"
                                              },
                                              "worked_from": {
                                                "type": [
                                                  "array",
                                                  "null"
                                                ],
                                                "items": {
                                                  "type": "object",
                                                  "properties": {
                                                    "label": {
                                                      "type": "string"
                                                    },
                                                    "line": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "concept": {
                                                      "type": "string"
                                                    },
                                                    "axis": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "member": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "start_on": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "end_on": {
                                                      "type": "string"
                                                    },
                                                    "value": {
                                                      "type": "number"
                                                    },
                                                    "document": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "url": {
                                                      "type": "string"
                                                    },
                                                    "form": {
                                                      "type": "string"
                                                    },
                                                    "filed_on": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "label",
                                                    "line",
                                                    "concept",
                                                    "axis",
                                                    "member",
                                                    "start_on",
                                                    "end_on",
                                                    "value",
                                                    "document",
                                                    "url",
                                                    "form",
                                                    "filed_on"
                                                  ]
                                                }
                                              }
                                            },
                                            "required": [
                                              "label",
                                              "line",
                                              "concept",
                                              "axis",
                                              "member",
                                              "start_on",
                                              "end_on",
                                              "value",
                                              "worked_from"
                                            ]
                                          }
                                        },
                                        "document": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "kind",
                                        "id",
                                        "source",
                                        "company",
                                        "link",
                                        "day",
                                        "url",
                                        "row",
                                        "rating",
                                        "text"
                                      ]
                                    },
                                    "maxItems": 200
                                  },
                                  "total": {
                                    "type": "integer"
                                  },
                                  "more": {
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "items",
                                  "total",
                                  "more"
                                ]
                              },
                              "basis": {
                                "type": "object",
                                "properties": {
                                  "sources": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "network": {
                                          "type": "string"
                                        },
                                        "read": {
                                          "type": "integer"
                                        },
                                        "from": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "to": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "total": {
                                          "type": [
                                            "integer",
                                            "null"
                                          ]
                                        },
                                        "rating": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "url": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "held": {
                                          "type": "integer"
                                        },
                                        "held_from": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "held_to": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "listings": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "company": {
                                                "type": "string"
                                              },
                                              "label": {
                                                "type": "string"
                                              },
                                              "link": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "read": {
                                                "type": "integer"
                                              },
                                              "from": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "to": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "total": {
                                                "type": [
                                                  "integer",
                                                  "null"
                                                ]
                                              },
                                              "rating": {
                                                "type": [
                                                  "number",
                                                  "null"
                                                ]
                                              },
                                              "url": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "held": {
                                                "type": "integer"
                                              },
                                              "held_from": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "held_to": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "reads_from": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "routes": {
                                                "type": "array",
                                                "items": {
                                                  "type": "object",
                                                  "properties": {
                                                    "route": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "found_by": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "n": {
                                                      "type": "integer"
                                                    },
                                                    "filter": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "route",
                                                    "found_by",
                                                    "n",
                                                    "filter"
                                                  ]
                                                }
                                              },
                                              "shop": {
                                                "type": "object",
                                                "properties": {
                                                  "store": {
                                                    "type": "string"
                                                  },
                                                  "name": {
                                                    "type": [
                                                      "string",
                                                      "null"
                                                    ]
                                                  },
                                                  "item_words": {
                                                    "type": "string"
                                                  },
                                                  "item": {
                                                    "type": "string"
                                                  },
                                                  "read_on": {
                                                    "type": [
                                                      "string",
                                                      "null"
                                                    ]
                                                  },
                                                  "figures_on": {
                                                    "type": [
                                                      "string",
                                                      "null"
                                                    ]
                                                  },
                                                  "price_usd": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "price_low_90d": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "price_high_90d": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "bought_past_month": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "sales_rank": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "sales_rank_best_90d": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "written_reviews": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  }
                                                },
                                                "required": [
                                                  "store",
                                                  "name",
                                                  "item_words",
                                                  "item",
                                                  "read_on",
                                                  "figures_on",
                                                  "price_usd",
                                                  "price_low_90d",
                                                  "price_high_90d",
                                                  "bought_past_month",
                                                  "sales_rank",
                                                  "sales_rank_best_90d",
                                                  "written_reviews"
                                                ]
                                              }
                                            },
                                            "required": [
                                              "company",
                                              "label",
                                              "link",
                                              "read",
                                              "from",
                                              "to",
                                              "total",
                                              "rating",
                                              "url"
                                            ]
                                          }
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "network"
                                      ]
                                    }
                                  },
                                  "independent": {
                                    "type": "integer"
                                  },
                                  "window": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "properties": {
                                      "from": {
                                        "type": "string"
                                      },
                                      "to": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "from",
                                      "to"
                                    ]
                                  },
                                  "compare": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "properties": {
                                      "from": {
                                        "type": "string"
                                      },
                                      "to": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "from",
                                      "to"
                                    ]
                                  },
                                  "method": {
                                    "type": "string"
                                  },
                                  "sample": {
                                    "type": "object",
                                    "properties": {
                                      "read": {
                                        "type": "integer"
                                      },
                                      "of": {
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "from": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "to": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "days": {
                                        "type": "integer"
                                      },
                                      "undated": {
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "read",
                                      "of",
                                      "from",
                                      "to",
                                      "days",
                                      "undated"
                                    ]
                                  },
                                  "breaks": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "sources": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "from": {
                                          "type": "string"
                                        },
                                        "to": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "approximate": {
                                          "type": "boolean"
                                        },
                                        "effect": {
                                          "type": "string",
                                          "enum": [
                                            "mark",
                                            "mask"
                                          ]
                                        },
                                        "what": {
                                          "type": "string"
                                        },
                                        "url": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "sources",
                                        "from",
                                        "to",
                                        "approximate",
                                        "effect",
                                        "what",
                                        "url"
                                      ]
                                    }
                                  },
                                  "periods": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "properties": {
                                      "has": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "lacks": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      }
                                    },
                                    "required": [
                                      "has",
                                      "lacks"
                                    ]
                                  },
                                  "left_out": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "what": {
                                          "type": "string"
                                        },
                                        "count": {
                                          "type": "integer"
                                        },
                                        "why": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "what",
                                        "count",
                                        "why"
                                      ]
                                    }
                                  },
                                  "caveats": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "required": [
                                  "sources",
                                  "independent",
                                  "window",
                                  "compare",
                                  "method",
                                  "sample",
                                  "breaks",
                                  "periods",
                                  "left_out",
                                  "caveats"
                                ]
                              },
                              "choices": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "options": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "value": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "params": {
                                            "type": "object",
                                            "additionalProperties": {
                                              "type": "string"
                                            }
                                          },
                                          "unset": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "required": [
                                          "value",
                                          "label",
                                          "params"
                                        ]
                                      }
                                    },
                                    "selected": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label",
                                    "options",
                                    "selected"
                                  ]
                                }
                              },
                              "computed_at": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "numbers",
                              "params",
                              "figures",
                              "columns",
                              "rows",
                              "evidence",
                              "basis",
                              "computed_at"
                            ]
                          },
                          "error": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "message": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "code",
                              "message"
                            ]
                          }
                        },
                        "required": [
                          "asked_at",
                          "answer",
                          "error"
                        ]
                      }
                    },
                    "cited": {
                      "type": "object",
                      "additionalProperties": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "quote",
                              "signal",
                              "passage",
                              "record"
                            ]
                          },
                          "id": {
                            "type": "string"
                          },
                          "text": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": "string"
                          },
                          "cite": {
                            "type": "string"
                          },
                          "rating": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "people": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "as": {
                                  "type": "string",
                                  "enum": [
                                    "reviewer",
                                    "writer",
                                    "author",
                                    "coauthor",
                                    "tagged",
                                    "named"
                                  ]
                                },
                                "name": {
                                  "type": "string"
                                },
                                "handle": {
                                  "type": "string"
                                },
                                "role": {
                                  "type": "string"
                                },
                                "picture": {
                                  "type": "object",
                                  "properties": {
                                    "from": {
                                      "type": "string"
                                    },
                                    "copy_url": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "from"
                                  ]
                                },
                                "profile": {
                                  "type": "string"
                                },
                                "location": {
                                  "type": "string"
                                },
                                "badges": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "street": {
                                  "type": "string"
                                },
                                "phone": {
                                  "type": "string"
                                },
                                "email": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "as"
                              ]
                            }
                          },
                          "speaker_confirmed": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "tie": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "tie": {
                                "type": "string",
                                "enum": [
                                  "staff",
                                  "former_staff",
                                  "rival",
                                  "customer",
                                  "partner",
                                  "adviser",
                                  "practitioner",
                                  "academic",
                                  "unknown"
                                ]
                              },
                              "rival": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "how": {
                                "type": "string",
                                "enum": [
                                  "role_on_day",
                                  "role_ended",
                                  "rival_role",
                                  "model",
                                  "unconfirmed",
                                  "nothing_read"
                                ]
                              },
                              "why": {
                                "type": "string"
                              },
                              "evidence": {
                                "type": "array",
                                "items": {
                                  "oneOf": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "from": {
                                          "type": "string",
                                          "enum": [
                                            "role"
                                          ]
                                        },
                                        "source": {
                                          "type": "string"
                                        },
                                        "source_kind": {
                                          "type": "string"
                                        },
                                        "title": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "company": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "first_on": {
                                          "type": "string"
                                        },
                                        "last_on": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from",
                                        "source",
                                        "source_kind",
                                        "title",
                                        "company",
                                        "first_on",
                                        "last_on"
                                      ]
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "from": {
                                          "type": "string",
                                          "enum": [
                                            "lineup"
                                          ]
                                        },
                                        "episode": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "role": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "company": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "day": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from",
                                        "episode",
                                        "role",
                                        "company",
                                        "day"
                                      ]
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "from": {
                                          "type": "string",
                                          "enum": [
                                            "words"
                                          ]
                                        },
                                        "where": {
                                          "type": "string",
                                          "enum": [
                                            "lineup",
                                            "introduction",
                                            "episode"
                                          ]
                                        },
                                        "words": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from",
                                        "where",
                                        "words"
                                      ]
                                    }
                                  ]
                                }
                              },
                              "model": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "decided_at": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "tie",
                              "rival",
                              "how",
                              "why",
                              "evidence",
                              "model",
                              "decided_at"
                            ]
                          }
                        },
                        "required": [
                          "kind",
                          "id",
                          "text",
                          "day",
                          "url",
                          "cite",
                          "rating",
                          "speaker_confirmed"
                        ]
                      }
                    },
                    "sentences": {
                      "type": "object",
                      "additionalProperties": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "transcript": {
                            "type": "string",
                            "maxLength": 64
                          },
                          "turn": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "start": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "end": {
                            "type": "integer",
                            "minimum": 1
                          },
                          "from": {
                            "type": "string",
                            "enum": [
                              "ours",
                              "api-ninjas"
                            ]
                          },
                          "text": {
                            "type": "string"
                          },
                          "speaker": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "role": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "role",
                              "company"
                            ]
                          },
                          "speaker_confirmed": {
                            "type": "boolean"
                          },
                          "chapter": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "title": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "title"
                            ]
                          },
                          "event": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "date": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "title",
                              "date"
                            ]
                          },
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "shown": {
                            "type": "string",
                            "enum": [
                              "passages",
                              "whole"
                            ]
                          }
                        },
                        "required": [
                          "transcript",
                          "turn",
                          "start",
                          "end",
                          "from",
                          "text",
                          "speaker",
                          "speaker_confirmed",
                          "chapter",
                          "event",
                          "company",
                          "shown"
                        ]
                      }
                    },
                    "check": {
                      "type": "object",
                      "properties": {
                        "passes": {
                          "type": "boolean"
                        },
                        "problems": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "where": {
                                "type": "string"
                              },
                              "problem": {
                                "type": "string"
                              },
                              "refused": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "where",
                              "problem",
                              "refused"
                            ]
                          }
                        },
                        "pending": {
                          "type": "boolean"
                        },
                        "running": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "passes",
                        "problems"
                      ]
                    },
                    "pages_needed": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "company",
                              "market",
                              "financials",
                              "customer",
                              "competitive",
                              "marketing",
                              "news",
                              "trends",
                              "expert",
                              "risks",
                              "players",
                              "profiles"
                            ]
                          },
                          {
                            "type": "string",
                            "maxLength": 48,
                            "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                          }
                        ]
                      }
                    },
                    "target_added": {
                      "type": "boolean"
                    },
                    "covers": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "company",
                              "market",
                              "financials",
                              "customer",
                              "competitive",
                              "marketing",
                              "news",
                              "trends",
                              "expert",
                              "risks",
                              "players",
                              "profiles"
                            ]
                          },
                          {
                            "type": "string",
                            "maxLength": 48,
                            "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "overview",
                              "plan"
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "required": [
                    "id",
                    "company",
                    "title",
                    "status",
                    "rev",
                    "problems",
                    "playbook",
                    "saved_by",
                    "created_at",
                    "updated_at",
                    "checked_at",
                    "pages",
                    "report",
                    "filled",
                    "answers",
                    "cited",
                    "check",
                    "pages_needed"
                  ]
                }
              },
              "text/markdown": {
                "example": "# Northwind Dental: diligence report\n\nA draft: the check refuses 1 thing. Version 1 of report dlr_01EXAMPLE00000000000000001, saved Nov 17, 2026 by an assistant, through a key.\nFigures asked Nov 17, 2026, 14:02 UTC. …\n\n## Overview\n\nMade up for this example: patients rate Northwind Dental 4.3, below its rival. …",
                "schema": {
                  "type": "string",
                  "description": "With format=md: the report as one Markdown document"
                }
              },
              "application/zip": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "description": "With format=zip: the report's files"
                }
              },
              "application/vnd.openxmlformats-officedocument.presentationml.presentation": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "description": "With format=pptx: the report's slides, or one page's with page"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Reports"
        ],
        "x-mint": {
          "content": "**MCP tool:** `get_report`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/diligence-reports/{id}/pages/{page}": {
      "put": {
        "operationId": "saveDiligenceReportPage",
        "summary": "Saves one page of a diligence report, its overview or its plan, over the version that was read",
        "description": "Saves one page of a report, the overview with `overview` as the page, or the plan of its pages with `plan` as the page, over the version you read (`rev`). A plan names the kind of company and says of each of the ten whether it's in, and why where it's out: saving it marks each page it leaves out as left out, and puts a page it brings back to empty. Copy cites a figure as `{exhibit.figure}`, never as a number typed in: each exhibit is a saved question to a number tool (`numbers`, `company`, `params`), asked again each time the report is read, and its figure takes the braces' place. Each web source on a page that names neither a kept `document` nor `not_kept` has its page kept as it's saved, a PDF or a filing on EDGAR too, as `POST /diligence-reports/{id}/web-pages` keeps one: the answer's source names the `document`, or says in `not_kept` why it couldn't be kept, such as a sign-in. A finding of the overview may name the sentences of a company's call it draws on, at most six (`sentences`): each the call's transcript (`tr_…`), the turn's number as `GET /transcripts/{id}` gives it, and the sentence's first character and the one after its last in that turn's text, a sentence or a run of whole sentences of one turn. A page is saved whenever it fits the shape, whatever the check says. The answer fills and checks what you saved and the overview, which `covers` names: their exhibits asked now, their figures in place in `filled`, and what the check finds on them and on the report's shape. The other pages stay as saved, figures in braces, so a save stays quick on a long report: `GET /diligence-reports/{id}` fills every page, and `POST /diligence-reports/{id}/check` checks every page and records how many things it refuses.\n\n**Before:** `GET /diligence-reports/{id}` for the current `rev` and the page as saved. Ask each exhibit’s number tool first, to see what its figures are.\n\n**Next:** Save the next page. When all five and the overview are written, `POST /diligence-reports/{id}/check`, which checks the whole report.\n\n**Limits:** A `rev` someone has saved over since is a `409` that names the version it's at now: read it again and change only what you meant to. A page holds at most 12 exhibits and 30 cited items. Keeping a page's web sources waits up to 25 seconds, side by side; one not kept by then, or one its site couldn't answer just now, is asked again on the next save. Saving makes a checked report a draft again. When the report can't be read back after the page is saved, as when PodData's database stays too busy for what it asked through waits of 2, 5, 10 and 20 seconds, the answer is still `200` with the version saved and `check.pending`: the page is kept, `filled` has its figures still in braces, and a read a minute later fills them and says what the check finds. A `503` with `Retry-After` comes before the save is kept, or may have kept it: read the report for its version before saving again.",
        "x-mcp-tool": "save_report_page",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X PUT 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/pages/customer' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"rev\":2,\"page\":{\"id\":\"customer\",\"state\":\"written\",\"headline\":\"Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}\",\"lede\":\"Across its three clinics, patients praise the care and complain about the wait.\",\"read\":[{\"exhibit\":\"customer-1\",\"figure\":\"reviews\",\"label\":\"Google reviews read\"}],\"questions\":[{\"id\":\"customer-q1\",\"ask\":\"Do patients rate it as well as its rivals?\",\"answer\":\"A little below: {customer-1.average} stars against {customer-1.rivals_average}.\",\"cards\":[{\"exhibit\":\"customer-1\",\"figure\":\"average\",\"label\":\"Northwind Dental\",\"line\":\"average stars on Google, the last year\"}]},{\"id\":\"customer-q2\",\"ask\":\"What do unhappy patients say?\",\"answer\":\"Mostly that they waited past their appointment.\",\"cards\":[]}],\"exhibits\":[{\"id\":\"customer-1\",\"numbers\":\"rating_rivals\",\"company\":\"northwind-dental\",\"params\":{\"source\":\"google-maps\",\"from\":\"2025-11-14\",\"to\":\"2026-11-14\"},\"show\":\"bars\",\"title\":\"Google rating, against its confirmed rival\",\"point\":\"Northwind trails Bluebird by three tenths of a star.\",\"caveat\":null}],\"quotes\":[{\"kind\":\"signal\",\"id\":\"sig_01JD9C5E6F7G00000000000000\",\"exhibit\":\"customer-1\",\"why\":\"A two-star review about the wait\"}],\"method\":{\"read\":\"Google reviews of its three confirmed clinics, and of its one confirmed rival’s two\",\"from\":\"2025-11-14\",\"to\":\"2026-11-14\",\"left_out\":[]},\"web\":[],\"names\":[\"Northwind Dental\",\"Bluebird Dental\",\"Google\"]}}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "company",
                    "market",
                    "financials",
                    "customer",
                    "competitive",
                    "marketing",
                    "news",
                    "trends",
                    "expert",
                    "risks",
                    "players",
                    "profiles",
                    "overview",
                    "plan"
                  ]
                },
                {
                  "type": "string",
                  "maxLength": 48,
                  "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                }
              ],
              "description": "One of the report's pages, a page of its own (`x-` and a slug), the overview, or the plan of its pages"
            },
            "required": true,
            "description": "One of the report's pages, a page of its own (`x-` and a slug), the overview, or the plan of its pages",
            "name": "page",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "rev": 2,
                    "page": {
                      "id": "customer",
                      "state": "written",
                      "headline": "Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}",
                      "lede": "Across its three clinics, patients praise the care and complain about the wait.",
                      "read": [
                        {
                          "exhibit": "customer-1",
                          "figure": "reviews",
                          "label": "Google reviews read"
                        }
                      ],
                      "questions": [
                        {
                          "id": "customer-q1",
                          "ask": "Do patients rate it as well as its rivals?",
                          "answer": "A little below: {customer-1.average} stars against {customer-1.rivals_average}.",
                          "cards": [
                            {
                              "exhibit": "customer-1",
                              "figure": "average",
                              "label": "Northwind Dental",
                              "line": "average stars on Google, the last year"
                            }
                          ]
                        },
                        {
                          "id": "customer-q2",
                          "ask": "What do unhappy patients say?",
                          "answer": "Mostly that they waited past their appointment.",
                          "cards": []
                        }
                      ],
                      "exhibits": [
                        {
                          "id": "customer-1",
                          "numbers": "rating_rivals",
                          "company": "northwind-dental",
                          "params": {
                            "source": "google-maps",
                            "from": "2025-11-14",
                            "to": "2026-11-14"
                          },
                          "show": "bars",
                          "title": "Google rating, against its confirmed rival",
                          "point": "Northwind trails Bluebird by three tenths of a star.",
                          "caveat": null
                        }
                      ],
                      "quotes": [
                        {
                          "kind": "signal",
                          "id": "sig_01JD9C5E6F7G00000000000000",
                          "exhibit": "customer-1",
                          "why": "A two-star review about the wait"
                        }
                      ],
                      "method": {
                        "read": "Google reviews of its three confirmed clinics, and of its one confirmed rival’s two",
                        "from": "2025-11-14",
                        "to": "2026-11-14",
                        "left_out": []
                      },
                      "web": [],
                      "names": [
                        "Northwind Dental",
                        "Bluebird Dental",
                        "Google"
                      ]
                    }
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "rev": {
                    "type": "integer",
                    "minimum": 1,
                    "description": "The version the change was made on, from the last read"
                  },
                  "page": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "company",
                              "market",
                              "financials",
                              "customer",
                              "competitive",
                              "marketing",
                              "news",
                              "trends",
                              "expert",
                              "risks",
                              "players",
                              "profiles"
                            ]
                          },
                          {
                            "type": "string",
                            "maxLength": 48,
                            "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                          }
                        ]
                      },
                      "question": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "name": {
                        "type": "string",
                        "maxLength": 60
                      },
                      "after": {
                        "type": "string",
                        "enum": [
                          "company",
                          "market",
                          "financials",
                          "customer",
                          "competitive",
                          "marketing",
                          "news",
                          "trends",
                          "expert",
                          "risks",
                          "players",
                          "profiles"
                        ]
                      },
                      "state": {
                        "type": "string",
                        "enum": [
                          "empty",
                          "written",
                          "waits",
                          "left_out"
                        ]
                      },
                      "headline": {
                        "type": "string"
                      },
                      "lede": {
                        "type": "string"
                      },
                      "read": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "exhibit": {
                              "type": "string"
                            },
                            "figure": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            },
                            "line": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "exhibit",
                            "figure",
                            "label"
                          ]
                        },
                        "maxItems": 6
                      },
                      "questions": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "ask": {
                              "type": "string"
                            },
                            "answer": {
                              "type": "string"
                            },
                            "cards": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "exhibit": {
                                    "type": "string"
                                  },
                                  "figure": {
                                    "type": "string"
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "line": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "exhibit",
                                  "figure",
                                  "label",
                                  "line"
                                ]
                              },
                              "maxItems": 3
                            }
                          },
                          "required": [
                            "id",
                            "ask",
                            "answer",
                            "cards"
                          ]
                        },
                        "maxItems": 2
                      },
                      "exhibits": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "numbers": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "company": {
                              "type": "string"
                            },
                            "params": {
                              "type": "object",
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  }
                                ]
                              }
                            },
                            "show": {
                              "type": "string",
                              "enum": [
                                "figures",
                                "table",
                                "bars",
                                "share",
                                "series",
                                "timeline",
                                "voices",
                                "windows",
                                "grid",
                                "lanes",
                                "lines",
                                "squares",
                                "strip"
                              ]
                            },
                            "by": {
                              "type": "string",
                              "enum": [
                                "none",
                                "tie"
                              ]
                            },
                            "title": {
                              "type": "string"
                            },
                            "point": {
                              "type": "string"
                            },
                            "caveat": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "numbers",
                            "company",
                            "params",
                            "show",
                            "title",
                            "point",
                            "caveat"
                          ]
                        },
                        "maxItems": 12
                      },
                      "quotes": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "quote",
                                "signal",
                                "passage",
                                "record"
                              ]
                            },
                            "id": {
                              "type": "string"
                            },
                            "exhibit": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "why": {
                              "type": "string"
                            },
                            "player": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "exhibit",
                            "why"
                          ]
                        },
                        "maxItems": 30
                      },
                      "uses": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "tag": {
                              "type": "string"
                            },
                            "action": {
                              "type": "string"
                            },
                            "line": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "tag",
                            "action",
                            "line"
                          ]
                        },
                        "maxItems": 4
                      },
                      "method": {
                        "type": "object",
                        "properties": {
                          "read": {
                            "type": "string"
                          },
                          "from": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "date"
                          },
                          "to": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "date"
                          },
                          "left_out": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "what": {
                                  "type": "string"
                                },
                                "why": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "what",
                                "why"
                              ]
                            },
                            "maxItems": 30
                          }
                        },
                        "required": [
                          "read",
                          "from",
                          "to",
                          "left_out"
                        ]
                      },
                      "web": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "url": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "day": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "format": "date"
                            },
                            "day_from": {
                              "type": "string",
                              "enum": [
                                "page",
                                "none"
                              ]
                            },
                            "read_at": {
                              "type": "string",
                              "format": "date-time"
                            },
                            "why": {
                              "type": "string"
                            },
                            "figures": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "number"
                                  },
                                  "unit": {
                                    "type": "string",
                                    "enum": [
                                      "count",
                                      "stars",
                                      "share",
                                      "usd",
                                      "days",
                                      "number"
                                    ]
                                  },
                                  "says": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "value",
                                  "unit",
                                  "says"
                                ]
                              },
                              "maxItems": 8
                            },
                            "document": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "not_kept": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "url",
                            "title",
                            "day",
                            "day_from",
                            "read_at",
                            "why"
                          ]
                        },
                        "maxItems": 20
                      },
                      "names": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "maxItems": 100
                      },
                      "profiles": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "player": {
                              "type": "string"
                            },
                            "copy": {
                              "type": "string"
                            },
                            "cards": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "exhibit": {
                                    "type": "string"
                                  },
                                  "figure": {
                                    "type": "string"
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "line": {
                                    "type": "string"
                                  },
                                  "row": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "exhibit",
                                  "figure",
                                  "label",
                                  "line"
                                ]
                              },
                              "maxItems": 4
                            }
                          },
                          "required": [
                            "player",
                            "copy",
                            "cards"
                          ]
                        },
                        "maxItems": 20
                      }
                    },
                    "required": [
                      "id",
                      "state",
                      "headline",
                      "lede",
                      "read",
                      "questions",
                      "exhibits",
                      "quotes",
                      "method",
                      "web",
                      "names"
                    ],
                    "description": "The page, for one of the pages"
                  },
                  "overview": {
                    "type": "object",
                    "properties": {
                      "bottom_line": {
                        "type": "string"
                      },
                      "story": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "maxItems": 8
                      },
                      "sections": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "page": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "company",
                                    "market",
                                    "financials",
                                    "customer",
                                    "competitive",
                                    "marketing",
                                    "news",
                                    "trends",
                                    "expert",
                                    "risks",
                                    "players",
                                    "profiles"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "maxLength": 48,
                                  "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                }
                              ]
                            },
                            "text": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "page",
                            "text"
                          ]
                        },
                        "maxItems": 15
                      },
                      "cards": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "exhibit": {
                              "type": "string"
                            },
                            "figure": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            },
                            "line": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "exhibit",
                            "figure",
                            "label",
                            "line"
                          ]
                        },
                        "maxItems": 3
                      },
                      "first_question": {
                        "type": "string"
                      },
                      "case_for": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "text": {
                              "type": "string"
                            },
                            "page": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "company",
                                    "market",
                                    "financials",
                                    "customer",
                                    "competitive",
                                    "marketing",
                                    "news",
                                    "trends",
                                    "expert",
                                    "risks",
                                    "players",
                                    "profiles"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "maxLength": 48,
                                  "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                }
                              ]
                            },
                            "cited": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "text",
                            "page"
                          ]
                        },
                        "maxItems": 4
                      },
                      "case_against": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "text": {
                              "type": "string"
                            },
                            "page": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "company",
                                    "market",
                                    "financials",
                                    "customer",
                                    "competitive",
                                    "marketing",
                                    "news",
                                    "trends",
                                    "expert",
                                    "risks",
                                    "players",
                                    "profiles"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "maxLength": 48,
                                  "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                }
                              ]
                            },
                            "cited": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "text",
                            "page"
                          ]
                        },
                        "maxItems": 4
                      },
                      "findings": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "text": {
                              "type": "string"
                            },
                            "sure": {
                              "type": "string",
                              "enum": [
                                "strong",
                                "moderate",
                                "thin"
                              ]
                            },
                            "why": {
                              "type": "string"
                            },
                            "pages": {
                              "type": "array",
                              "items": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "maxLength": 48,
                                    "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                  }
                                ]
                              },
                              "minItems": 1,
                              "maxItems": 4
                            },
                            "sentences": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "transcript": {
                                    "type": "string",
                                    "maxLength": 64
                                  },
                                  "turn": {
                                    "type": "integer",
                                    "minimum": 0
                                  },
                                  "start": {
                                    "type": "integer",
                                    "minimum": 0
                                  },
                                  "end": {
                                    "type": "integer",
                                    "minimum": 1
                                  }
                                },
                                "required": [
                                  "transcript",
                                  "turn",
                                  "start",
                                  "end"
                                ]
                              },
                              "maxItems": 6
                            }
                          },
                          "required": [
                            "text",
                            "sure",
                            "why",
                            "pages"
                          ]
                        },
                        "maxItems": 12
                      },
                      "first_tests": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 12
                        },
                        "maxItems": 6
                      },
                      "risks": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "risk": {
                              "type": "string"
                            },
                            "why": {
                              "type": "string"
                            },
                            "findings": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 12
                              },
                              "maxItems": 6
                            },
                            "page": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "company",
                                    "market",
                                    "financials",
                                    "customer",
                                    "competitive",
                                    "marketing",
                                    "news",
                                    "trends",
                                    "expert",
                                    "risks",
                                    "players",
                                    "profiles"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "maxLength": 48,
                                  "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "risk",
                            "why",
                            "findings"
                          ]
                        },
                        "maxItems": 9
                      },
                      "would_change": {
                        "type": "string"
                      },
                      "asks": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "ask": {
                              "type": "string"
                            },
                            "tests": {
                              "type": "string"
                            },
                            "findings": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 12
                              },
                              "minItems": 1,
                              "maxItems": 6
                            }
                          },
                          "required": [
                            "ask",
                            "tests",
                            "findings"
                          ]
                        },
                        "maxItems": 15
                      },
                      "not_assessed": {
                        "type": "string"
                      },
                      "names": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "maxItems": 100
                      }
                    },
                    "required": [
                      "bottom_line",
                      "cards",
                      "first_question",
                      "names"
                    ],
                    "description": "The overview, for overview"
                  },
                  "plan": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "consumer-product",
                          "franchise",
                          "b2b-manufacturer",
                          "casino",
                          "clinic-network",
                          "software",
                          "b2b-services",
                          "other"
                        ]
                      },
                      "pages": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "company",
                                    "market",
                                    "financials",
                                    "customer",
                                    "competitive",
                                    "marketing",
                                    "news",
                                    "trends",
                                    "expert",
                                    "risks",
                                    "players",
                                    "profiles"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "maxLength": 48,
                                  "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                }
                              ]
                            },
                            "name": {
                              "type": "string",
                              "maxLength": 60
                            },
                            "after": {
                              "type": "string",
                              "enum": [
                                "company",
                                "market",
                                "financials",
                                "customer",
                                "competitive",
                                "marketing",
                                "news",
                                "trends",
                                "expert",
                                "risks",
                                "players",
                                "profiles"
                              ]
                            },
                            "in": {
                              "type": "boolean"
                            },
                            "why": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "maxLength": 400
                            }
                          },
                          "required": [
                            "id",
                            "in",
                            "why"
                          ]
                        },
                        "maxItems": 15
                      }
                    },
                    "required": [
                      "kind",
                      "pages"
                    ],
                    "description": "The plan of the report's pages, for plan"
                  }
                },
                "required": [
                  "rev"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Saved, with what it saved and the overview read back filled and checked",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "dlr_01JD9K4M5N6P00000000000000",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "title": "Northwind Dental",
                      "status": "draft",
                      "rev": 3,
                      "problems": 5,
                      "playbook": "2",
                      "saved_by": "key",
                      "created_at": "2026-11-14T08:00:00.000Z",
                      "updated_at": "2026-11-14T09:05:00.000Z",
                      "checked_at": null,
                      "pages": [
                        {
                          "id": "company",
                          "state": "empty"
                        },
                        {
                          "id": "market",
                          "state": "empty"
                        },
                        {
                          "id": "financials",
                          "state": "empty"
                        },
                        {
                          "id": "customer",
                          "state": "written"
                        },
                        {
                          "id": "competitive",
                          "state": "empty"
                        },
                        {
                          "id": "marketing",
                          "state": "empty"
                        },
                        {
                          "id": "news",
                          "state": "empty"
                        },
                        {
                          "id": "trends",
                          "state": "empty"
                        },
                        {
                          "id": "expert",
                          "state": "empty"
                        },
                        {
                          "id": "risks",
                          "state": "empty"
                        }
                      ],
                      "checks": {
                        "running": null,
                        "last": {
                          "id": "dck_01JD9C6A1B2C00000000000000",
                          "rev": 3,
                          "state": "draft",
                          "asked_at": "2026-11-14T09:06:00.000Z",
                          "started_at": "2026-11-14T09:06:01.000Z",
                          "ended_at": "2026-11-14T09:06:40.000Z",
                          "refused": 5,
                          "ahead": null,
                          "why": null
                        }
                      },
                      "report": {
                        "version": 1,
                        "company": "northwind-dental",
                        "title": "Northwind Dental",
                        "playbook": "2",
                        "overview": {
                          "bottom_line": "",
                          "cards": [],
                          "first_question": "",
                          "case_for": [],
                          "case_against": [],
                          "names": []
                        },
                        "pages": [
                          {
                            "id": "company",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "market",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "financials",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "customer",
                            "state": "written",
                            "headline": "Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}",
                            "lede": "Across its three clinics, patients praise the care and complain about the wait.",
                            "read": [
                              {
                                "exhibit": "customer-1",
                                "figure": "reviews",
                                "label": "Google reviews read"
                              }
                            ],
                            "questions": [
                              {
                                "id": "customer-q1",
                                "ask": "Do patients rate it as well as its rivals?",
                                "answer": "A little below: {customer-1.average} stars against {customer-1.rivals_average}.",
                                "cards": [
                                  {
                                    "exhibit": "customer-1",
                                    "figure": "average",
                                    "label": "Northwind Dental",
                                    "line": "average stars on Google, the last year"
                                  }
                                ]
                              },
                              {
                                "id": "customer-q2",
                                "ask": "What do unhappy patients say?",
                                "answer": "Mostly that they waited past their appointment.",
                                "cards": []
                              }
                            ],
                            "exhibits": [
                              {
                                "id": "customer-1",
                                "numbers": "rating_rivals",
                                "company": "northwind-dental",
                                "params": {
                                  "source": "google-maps",
                                  "from": "2025-11-14",
                                  "to": "2026-11-14"
                                },
                                "show": "bars",
                                "title": "Google rating, against its confirmed rival",
                                "point": "Northwind trails Bluebird by three tenths of a star.",
                                "caveat": null
                              }
                            ],
                            "quotes": [
                              {
                                "kind": "signal",
                                "id": "sig_01JD9C5E6F7G00000000000000",
                                "exhibit": "customer-1",
                                "why": "A two-star review about the wait"
                              }
                            ],
                            "method": {
                              "read": "Google reviews of its three confirmed clinics, and of its one confirmed rival’s two",
                              "from": "2025-11-14",
                              "to": "2026-11-14",
                              "left_out": []
                            },
                            "web": [],
                            "names": [
                              "Northwind Dental",
                              "Bluebird Dental",
                              "Google"
                            ]
                          },
                          {
                            "id": "competitive",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "marketing",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "news",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "trends",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "expert",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "risks",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          }
                        ]
                      },
                      "filled": {
                        "version": 1,
                        "company": "northwind-dental",
                        "title": "Northwind Dental",
                        "playbook": "2",
                        "overview": {
                          "bottom_line": "",
                          "cards": [],
                          "first_question": "",
                          "case_for": [],
                          "case_against": [],
                          "names": []
                        },
                        "pages": [
                          {
                            "id": "company",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "market",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "financials",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "customer",
                            "state": "written",
                            "headline": "Patients rate Northwind 4.3 stars on Google, a little below its rival’s 4.6",
                            "lede": "Across its three clinics, patients praise the care and complain about the wait.",
                            "read": [
                              {
                                "exhibit": "customer-1",
                                "figure": "reviews",
                                "label": "Google reviews read"
                              }
                            ],
                            "questions": [
                              {
                                "id": "customer-q1",
                                "ask": "Do patients rate it as well as its rivals?",
                                "answer": "A little below: 4.3 stars against 4.6.",
                                "cards": [
                                  {
                                    "exhibit": "customer-1",
                                    "figure": "average",
                                    "label": "Northwind Dental",
                                    "line": "average stars on Google, the last year"
                                  }
                                ]
                              },
                              {
                                "id": "customer-q2",
                                "ask": "What do unhappy patients say?",
                                "answer": "Mostly that they waited past their appointment.",
                                "cards": []
                              }
                            ],
                            "exhibits": [
                              {
                                "id": "customer-1",
                                "numbers": "rating_rivals",
                                "company": "northwind-dental",
                                "params": {
                                  "source": "google-maps",
                                  "from": "2025-11-14",
                                  "to": "2026-11-14"
                                },
                                "show": "bars",
                                "title": "Google rating, against its confirmed rival",
                                "point": "Northwind trails Bluebird by three tenths of a star.",
                                "caveat": null
                              }
                            ],
                            "quotes": [
                              {
                                "kind": "signal",
                                "id": "sig_01JD9C5E6F7G00000000000000",
                                "exhibit": "customer-1",
                                "why": "A two-star review about the wait"
                              }
                            ],
                            "method": {
                              "read": "Google reviews of its three confirmed clinics, and of its one confirmed rival’s two",
                              "from": "2025-11-14",
                              "to": "2026-11-14",
                              "left_out": []
                            },
                            "web": [],
                            "names": [
                              "Northwind Dental",
                              "Bluebird Dental",
                              "Google"
                            ]
                          },
                          {
                            "id": "competitive",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "marketing",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "news",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "trends",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "expert",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "risks",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          }
                        ]
                      },
                      "answers": {
                        "customer-1": {
                          "asked_at": "2026-11-14T09:05:00.000Z",
                          "answer": {
                            "numbers": "rating_rivals",
                            "company": {
                              "id": "northwind-dental",
                              "name": "Northwind Dental"
                            },
                            "params": {
                              "source": "google-maps",
                              "from": "2025-11-14",
                              "to": "2026-11-14"
                            },
                            "figures": [
                              {
                                "name": "average",
                                "label": "Northwind Dental, average stars",
                                "value": 4.3,
                                "unit": "stars",
                                "company": "northwind-dental",
                                "n": 760,
                                "small": false,
                                "interval": {
                                  "low": 4.2,
                                  "high": 4.4
                                }
                              },
                              {
                                "name": "rivals_average",
                                "label": "Its rivals, average stars",
                                "value": 4.6,
                                "unit": "stars",
                                "company": null,
                                "n": 444,
                                "small": false,
                                "interval": {
                                  "low": 4.5,
                                  "high": 4.7
                                }
                              },
                              {
                                "name": "reviews",
                                "label": "Reviews read",
                                "value": 1204,
                                "unit": "count",
                                "company": null,
                                "n": 1204,
                                "small": false,
                                "interval": null
                              }
                            ],
                            "columns": [
                              {
                                "name": "average",
                                "label": "Average stars",
                                "unit": "stars"
                              },
                              {
                                "name": "reviews",
                                "label": "Reviews",
                                "unit": "count"
                              }
                            ],
                            "rows": [
                              {
                                "key": "northwind-dental",
                                "label": "Northwind Dental",
                                "kind": "company",
                                "company": "northwind-dental",
                                "values": {
                                  "average": 4.3,
                                  "reviews": 760
                                },
                                "small": false,
                                "day": null,
                                "source": "google-maps",
                                "category": null,
                                "url": null,
                                "was": null
                              },
                              {
                                "key": "bluebird-dental",
                                "label": "Bluebird Dental",
                                "kind": "company",
                                "company": "bluebird-dental",
                                "values": {
                                  "average": 4.6,
                                  "reviews": 444
                                },
                                "small": false,
                                "day": null,
                                "source": "google-maps",
                                "category": null,
                                "url": null,
                                "was": null
                              }
                            ],
                            "evidence": {
                              "items": [
                                {
                                  "kind": "signal",
                                  "id": "sig_01JD9C5E6F7G00000000000000",
                                  "source": "google-maps",
                                  "company": "northwind-dental",
                                  "link": "cln_01JD8X4K2N3R00000000000000",
                                  "day": "2026-11-09",
                                  "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_made_up_riverside",
                                  "row": "northwind-dental",
                                  "rating": 2,
                                  "text": null
                                }
                              ],
                              "total": 1204,
                              "more": 1203
                            },
                            "basis": {
                              "sources": [
                                {
                                  "id": "google-maps",
                                  "name": "Google Maps reviews and listings",
                                  "network": "google"
                                }
                              ],
                              "independent": 1,
                              "window": {
                                "from": "2025-11-14",
                                "to": "2026-11-14"
                              },
                              "compare": null,
                              "method": "The average of the stars of every review dated in the window, through each company’s confirmed places.",
                              "sample": {
                                "read": 1204,
                                "of": 1388,
                                "from": "2025-11-14",
                                "to": "2026-11-12",
                                "days": 363,
                                "undated": 0
                              },
                              "breaks": [],
                              "periods": null,
                              "left_out": [],
                              "caveats": []
                            },
                            "computed_at": "2026-11-14T09:05:00.000Z"
                          },
                          "error": null
                        }
                      },
                      "cited": {
                        "sig_01JD9C5E6F7G00000000000000": {
                          "kind": "signal",
                          "id": "sig_01JD9C5E6F7G00000000000000",
                          "text": "Waited forty minutes past my appointment and the front desk never said why.",
                          "day": "2026-11-09",
                          "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_made_up_riverside",
                          "cite": "Google Maps review",
                          "rating": 2,
                          "speaker_confirmed": null,
                          "tie": null
                        }
                      },
                      "check": {
                        "passes": false,
                        "problems": [
                          {
                            "where": "overview.bottom_line",
                            "problem": "has no bottom line",
                            "refused": true
                          }
                        ],
                        "running": false
                      },
                      "pages_needed": [
                        "company",
                        "market",
                        "financials",
                        "customer",
                        "competitive",
                        "marketing",
                        "news",
                        "trends",
                        "expert",
                        "risks"
                      ],
                      "covers": [
                        "customer",
                        "overview"
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "subject": {
                      "type": "string",
                      "enum": [
                        "company",
                        "market"
                      ]
                    },
                    "market": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "draft",
                        "checked"
                      ]
                    },
                    "rev": {
                      "type": "integer"
                    },
                    "problems": {
                      "type": "integer"
                    },
                    "playbook": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "saved_by": {
                      "type": "string",
                      "enum": [
                        "key",
                        "member",
                        "agent"
                      ]
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "updated_at": {
                      "type": "string"
                    },
                    "checked_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "company",
                                  "market",
                                  "financials",
                                  "customer",
                                  "competitive",
                                  "marketing",
                                  "news",
                                  "trends",
                                  "expert",
                                  "risks",
                                  "players",
                                  "profiles"
                                ]
                              },
                              {
                                "type": "string",
                                "maxLength": 48,
                                "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                              }
                            ]
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "empty",
                              "written",
                              "waits"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "state"
                        ]
                      }
                    },
                    "checks": {
                      "type": "object",
                      "properties": {
                        "running": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "rev": {
                              "type": "integer"
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "queued",
                                "running",
                                "checked",
                                "draft",
                                "saved_over",
                                "failed"
                              ]
                            },
                            "asked_at": {
                              "type": "string"
                            },
                            "started_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "ended_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "refused": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "ahead": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "why": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "waiting_for": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "rev",
                            "state",
                            "asked_at",
                            "started_at",
                            "ended_at",
                            "refused",
                            "ahead",
                            "why"
                          ]
                        },
                        "last": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "rev": {
                              "type": "integer"
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "queued",
                                "running",
                                "checked",
                                "draft",
                                "saved_over",
                                "failed"
                              ]
                            },
                            "asked_at": {
                              "type": "string"
                            },
                            "started_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "ended_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "refused": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "ahead": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "why": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "waiting_for": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "rev",
                            "state",
                            "asked_at",
                            "started_at",
                            "ended_at",
                            "refused",
                            "ahead",
                            "why"
                          ]
                        }
                      },
                      "required": [
                        "running",
                        "last"
                      ]
                    },
                    "report": {
                      "type": "object",
                      "properties": {
                        "version": {
                          "type": "number",
                          "enum": [
                            1
                          ]
                        },
                        "subject": {
                          "type": "string",
                          "enum": [
                            "company",
                            "market"
                          ]
                        },
                        "company": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "playbook": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "overview": {
                          "type": "object",
                          "properties": {
                            "bottom_line": {
                              "type": "string"
                            },
                            "story": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 8
                            },
                            "sections": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "text": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "page",
                                  "text"
                                ]
                              },
                              "maxItems": 15
                            },
                            "cards": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "exhibit": {
                                    "type": "string"
                                  },
                                  "figure": {
                                    "type": "string"
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "line": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "exhibit",
                                  "figure",
                                  "label",
                                  "line"
                                ]
                              },
                              "maxItems": 3
                            },
                            "first_question": {
                              "type": "string"
                            },
                            "case_for": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "case_against": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "findings": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "sure": {
                                    "type": "string",
                                    "enum": [
                                      "strong",
                                      "moderate",
                                      "thin"
                                    ]
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "pages": {
                                    "type": "array",
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "enum": [
                                            "company",
                                            "market",
                                            "financials",
                                            "customer",
                                            "competitive",
                                            "marketing",
                                            "news",
                                            "trends",
                                            "expert",
                                            "risks",
                                            "players",
                                            "profiles"
                                          ]
                                        },
                                        {
                                          "type": "string",
                                          "maxLength": 48,
                                          "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                        }
                                      ]
                                    },
                                    "minItems": 1,
                                    "maxItems": 4
                                  },
                                  "sentences": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "transcript": {
                                          "type": "string",
                                          "maxLength": 64
                                        },
                                        "turn": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "start": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "end": {
                                          "type": "integer",
                                          "minimum": 1
                                        }
                                      },
                                      "required": [
                                        "transcript",
                                        "turn",
                                        "start",
                                        "end"
                                      ]
                                    },
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "text",
                                  "sure",
                                  "why",
                                  "pages"
                                ]
                              },
                              "maxItems": 12
                            },
                            "first_tests": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 12
                              },
                              "maxItems": 6
                            },
                            "risks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "risk": {
                                    "type": "string"
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "maxItems": 6
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "risk",
                                  "why",
                                  "findings"
                                ]
                              },
                              "maxItems": 9
                            },
                            "would_change": {
                              "type": "string"
                            },
                            "asks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "ask": {
                                    "type": "string"
                                  },
                                  "tests": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "minItems": 1,
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "ask",
                                  "tests",
                                  "findings"
                                ]
                              },
                              "maxItems": 15
                            },
                            "not_assessed": {
                              "type": "string"
                            },
                            "names": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 100
                            }
                          },
                          "required": [
                            "bottom_line",
                            "cards",
                            "first_question",
                            "names"
                          ]
                        },
                        "pages": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "maxLength": 48,
                                    "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                  }
                                ]
                              },
                              "question": {
                                "type": "string",
                                "maxLength": 200
                              },
                              "name": {
                                "type": "string",
                                "maxLength": 60
                              },
                              "after": {
                                "type": "string",
                                "enum": [
                                  "company",
                                  "market",
                                  "financials",
                                  "customer",
                                  "competitive",
                                  "marketing",
                                  "news",
                                  "trends",
                                  "expert",
                                  "risks",
                                  "players",
                                  "profiles"
                                ]
                              },
                              "state": {
                                "type": "string",
                                "enum": [
                                  "empty",
                                  "written",
                                  "waits",
                                  "left_out"
                                ]
                              },
                              "headline": {
                                "type": "string"
                              },
                              "lede": {
                                "type": "string"
                              },
                              "read": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "exhibit": {
                                      "type": "string"
                                    },
                                    "figure": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "exhibit",
                                    "figure",
                                    "label"
                                  ]
                                },
                                "maxItems": 6
                              },
                              "questions": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "ask": {
                                      "type": "string"
                                    },
                                    "answer": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 3
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "ask",
                                    "answer",
                                    "cards"
                                  ]
                                },
                                "maxItems": 2
                              },
                              "exhibits": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "numbers": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "company": {
                                      "type": "string"
                                    },
                                    "params": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "anyOf": [
                                          {
                                            "type": "string"
                                          },
                                          {
                                            "type": "number"
                                          },
                                          {
                                            "type": "boolean"
                                          },
                                          {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    "show": {
                                      "type": "string",
                                      "enum": [
                                        "figures",
                                        "table",
                                        "bars",
                                        "share",
                                        "series",
                                        "timeline",
                                        "voices",
                                        "windows",
                                        "grid",
                                        "lanes",
                                        "lines",
                                        "squares",
                                        "strip"
                                      ]
                                    },
                                    "by": {
                                      "type": "string",
                                      "enum": [
                                        "none",
                                        "tie"
                                      ]
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "point": {
                                      "type": "string"
                                    },
                                    "caveat": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "numbers",
                                    "company",
                                    "params",
                                    "show",
                                    "title",
                                    "point",
                                    "caveat"
                                  ]
                                },
                                "maxItems": 12
                              },
                              "quotes": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "quote",
                                        "signal",
                                        "passage",
                                        "record"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "exhibit": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "player": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "id",
                                    "exhibit",
                                    "why"
                                  ]
                                },
                                "maxItems": 30
                              },
                              "uses": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "tag": {
                                      "type": "string"
                                    },
                                    "action": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "tag",
                                    "action",
                                    "line"
                                  ]
                                },
                                "maxItems": 4
                              },
                              "method": {
                                "type": "object",
                                "properties": {
                                  "read": {
                                    "type": "string"
                                  },
                                  "from": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "to": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "left_out": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "what": {
                                          "type": "string"
                                        },
                                        "why": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "what",
                                        "why"
                                      ]
                                    },
                                    "maxItems": 30
                                  }
                                },
                                "required": [
                                  "read",
                                  "from",
                                  "to",
                                  "left_out"
                                ]
                              },
                              "web": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "url": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "day": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "format": "date"
                                    },
                                    "day_from": {
                                      "type": "string",
                                      "enum": [
                                        "page",
                                        "none"
                                      ]
                                    },
                                    "read_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "figures": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "name": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "unit": {
                                            "type": "string",
                                            "enum": [
                                              "count",
                                              "stars",
                                              "share",
                                              "usd",
                                              "days",
                                              "number"
                                            ]
                                          },
                                          "says": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "name",
                                          "value",
                                          "unit",
                                          "says"
                                        ]
                                      },
                                      "maxItems": 8
                                    },
                                    "document": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "not_kept": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "url",
                                    "title",
                                    "day",
                                    "day_from",
                                    "read_at",
                                    "why"
                                  ]
                                },
                                "maxItems": 20
                              },
                              "names": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "maxItems": 100
                              },
                              "profiles": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "player": {
                                      "type": "string"
                                    },
                                    "copy": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          },
                                          "row": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 4
                                    }
                                  },
                                  "required": [
                                    "player",
                                    "copy",
                                    "cards"
                                  ]
                                },
                                "maxItems": 20
                              }
                            },
                            "required": [
                              "id",
                              "state",
                              "headline",
                              "lede",
                              "read",
                              "questions",
                              "exhibits",
                              "quotes",
                              "method",
                              "web",
                              "names"
                            ]
                          },
                          "maxItems": 15
                        },
                        "plan": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "consumer-product",
                                "franchise",
                                "b2b-manufacturer",
                                "casino",
                                "clinic-network",
                                "software",
                                "b2b-services",
                                "other"
                              ]
                            },
                            "pages": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "type": "string",
                                    "maxLength": 60
                                  },
                                  "after": {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  "in": {
                                    "type": "boolean"
                                  },
                                  "why": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "maxLength": 400
                                  }
                                },
                                "required": [
                                  "id",
                                  "in",
                                  "why"
                                ]
                              },
                              "maxItems": 15
                            }
                          },
                          "required": [
                            "kind",
                            "pages"
                          ]
                        }
                      },
                      "required": [
                        "version",
                        "company",
                        "title",
                        "playbook",
                        "overview",
                        "pages"
                      ]
                    },
                    "filled": {
                      "type": "object",
                      "properties": {
                        "version": {
                          "type": "number",
                          "enum": [
                            1
                          ]
                        },
                        "subject": {
                          "type": "string",
                          "enum": [
                            "company",
                            "market"
                          ]
                        },
                        "company": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "playbook": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "overview": {
                          "type": "object",
                          "properties": {
                            "bottom_line": {
                              "type": "string"
                            },
                            "story": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 8
                            },
                            "sections": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "text": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "page",
                                  "text"
                                ]
                              },
                              "maxItems": 15
                            },
                            "cards": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "exhibit": {
                                    "type": "string"
                                  },
                                  "figure": {
                                    "type": "string"
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "line": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "exhibit",
                                  "figure",
                                  "label",
                                  "line"
                                ]
                              },
                              "maxItems": 3
                            },
                            "first_question": {
                              "type": "string"
                            },
                            "case_for": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "case_against": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "findings": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "sure": {
                                    "type": "string",
                                    "enum": [
                                      "strong",
                                      "moderate",
                                      "thin"
                                    ]
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "pages": {
                                    "type": "array",
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "enum": [
                                            "company",
                                            "market",
                                            "financials",
                                            "customer",
                                            "competitive",
                                            "marketing",
                                            "news",
                                            "trends",
                                            "expert",
                                            "risks",
                                            "players",
                                            "profiles"
                                          ]
                                        },
                                        {
                                          "type": "string",
                                          "maxLength": 48,
                                          "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                        }
                                      ]
                                    },
                                    "minItems": 1,
                                    "maxItems": 4
                                  },
                                  "sentences": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "transcript": {
                                          "type": "string",
                                          "maxLength": 64
                                        },
                                        "turn": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "start": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "end": {
                                          "type": "integer",
                                          "minimum": 1
                                        }
                                      },
                                      "required": [
                                        "transcript",
                                        "turn",
                                        "start",
                                        "end"
                                      ]
                                    },
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "text",
                                  "sure",
                                  "why",
                                  "pages"
                                ]
                              },
                              "maxItems": 12
                            },
                            "first_tests": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 12
                              },
                              "maxItems": 6
                            },
                            "risks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "risk": {
                                    "type": "string"
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "maxItems": 6
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "risk",
                                  "why",
                                  "findings"
                                ]
                              },
                              "maxItems": 9
                            },
                            "would_change": {
                              "type": "string"
                            },
                            "asks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "ask": {
                                    "type": "string"
                                  },
                                  "tests": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "minItems": 1,
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "ask",
                                  "tests",
                                  "findings"
                                ]
                              },
                              "maxItems": 15
                            },
                            "not_assessed": {
                              "type": "string"
                            },
                            "names": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 100
                            }
                          },
                          "required": [
                            "bottom_line",
                            "cards",
                            "first_question",
                            "names"
                          ]
                        },
                        "pages": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "maxLength": 48,
                                    "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                  }
                                ]
                              },
                              "question": {
                                "type": "string",
                                "maxLength": 200
                              },
                              "name": {
                                "type": "string",
                                "maxLength": 60
                              },
                              "after": {
                                "type": "string",
                                "enum": [
                                  "company",
                                  "market",
                                  "financials",
                                  "customer",
                                  "competitive",
                                  "marketing",
                                  "news",
                                  "trends",
                                  "expert",
                                  "risks",
                                  "players",
                                  "profiles"
                                ]
                              },
                              "state": {
                                "type": "string",
                                "enum": [
                                  "empty",
                                  "written",
                                  "waits",
                                  "left_out"
                                ]
                              },
                              "headline": {
                                "type": "string"
                              },
                              "lede": {
                                "type": "string"
                              },
                              "read": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "exhibit": {
                                      "type": "string"
                                    },
                                    "figure": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "exhibit",
                                    "figure",
                                    "label"
                                  ]
                                },
                                "maxItems": 6
                              },
                              "questions": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "ask": {
                                      "type": "string"
                                    },
                                    "answer": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 3
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "ask",
                                    "answer",
                                    "cards"
                                  ]
                                },
                                "maxItems": 2
                              },
                              "exhibits": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "numbers": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "company": {
                                      "type": "string"
                                    },
                                    "params": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "anyOf": [
                                          {
                                            "type": "string"
                                          },
                                          {
                                            "type": "number"
                                          },
                                          {
                                            "type": "boolean"
                                          },
                                          {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    "show": {
                                      "type": "string",
                                      "enum": [
                                        "figures",
                                        "table",
                                        "bars",
                                        "share",
                                        "series",
                                        "timeline",
                                        "voices",
                                        "windows",
                                        "grid",
                                        "lanes",
                                        "lines",
                                        "squares",
                                        "strip"
                                      ]
                                    },
                                    "by": {
                                      "type": "string",
                                      "enum": [
                                        "none",
                                        "tie"
                                      ]
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "point": {
                                      "type": "string"
                                    },
                                    "caveat": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "numbers",
                                    "company",
                                    "params",
                                    "show",
                                    "title",
                                    "point",
                                    "caveat"
                                  ]
                                },
                                "maxItems": 12
                              },
                              "quotes": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "quote",
                                        "signal",
                                        "passage",
                                        "record"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "exhibit": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "player": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "id",
                                    "exhibit",
                                    "why"
                                  ]
                                },
                                "maxItems": 30
                              },
                              "uses": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "tag": {
                                      "type": "string"
                                    },
                                    "action": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "tag",
                                    "action",
                                    "line"
                                  ]
                                },
                                "maxItems": 4
                              },
                              "method": {
                                "type": "object",
                                "properties": {
                                  "read": {
                                    "type": "string"
                                  },
                                  "from": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "to": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "left_out": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "what": {
                                          "type": "string"
                                        },
                                        "why": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "what",
                                        "why"
                                      ]
                                    },
                                    "maxItems": 30
                                  }
                                },
                                "required": [
                                  "read",
                                  "from",
                                  "to",
                                  "left_out"
                                ]
                              },
                              "web": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "url": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "day": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "format": "date"
                                    },
                                    "day_from": {
                                      "type": "string",
                                      "enum": [
                                        "page",
                                        "none"
                                      ]
                                    },
                                    "read_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "figures": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "name": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "unit": {
                                            "type": "string",
                                            "enum": [
                                              "count",
                                              "stars",
                                              "share",
                                              "usd",
                                              "days",
                                              "number"
                                            ]
                                          },
                                          "says": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "name",
                                          "value",
                                          "unit",
                                          "says"
                                        ]
                                      },
                                      "maxItems": 8
                                    },
                                    "document": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "not_kept": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "url",
                                    "title",
                                    "day",
                                    "day_from",
                                    "read_at",
                                    "why"
                                  ]
                                },
                                "maxItems": 20
                              },
                              "names": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "maxItems": 100
                              },
                              "profiles": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "player": {
                                      "type": "string"
                                    },
                                    "copy": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          },
                                          "row": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 4
                                    }
                                  },
                                  "required": [
                                    "player",
                                    "copy",
                                    "cards"
                                  ]
                                },
                                "maxItems": 20
                              }
                            },
                            "required": [
                              "id",
                              "state",
                              "headline",
                              "lede",
                              "read",
                              "questions",
                              "exhibits",
                              "quotes",
                              "method",
                              "web",
                              "names"
                            ]
                          },
                          "maxItems": 15
                        },
                        "plan": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "consumer-product",
                                "franchise",
                                "b2b-manufacturer",
                                "casino",
                                "clinic-network",
                                "software",
                                "b2b-services",
                                "other"
                              ]
                            },
                            "pages": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "type": "string",
                                    "maxLength": 60
                                  },
                                  "after": {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  "in": {
                                    "type": "boolean"
                                  },
                                  "why": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "maxLength": 400
                                  }
                                },
                                "required": [
                                  "id",
                                  "in",
                                  "why"
                                ]
                              },
                              "maxItems": 15
                            }
                          },
                          "required": [
                            "kind",
                            "pages"
                          ]
                        }
                      },
                      "required": [
                        "version",
                        "company",
                        "title",
                        "playbook",
                        "overview",
                        "pages"
                      ]
                    },
                    "answers": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "asked_at": {
                            "type": "string"
                          },
                          "answer": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "numbers": {
                                "type": "string",
                                "enum": [
                                  "rating",
                                  "rating_by_link",
                                  "rating_rivals",
                                  "rating_windows",
                                  "complaints",
                                  "series",
                                  "timeline",
                                  "ads",
                                  "ads_weeks",
                                  "site",
                                  "site_changes",
                                  "figures",
                                  "profile",
                                  "risks",
                                  "market",
                                  "funding",
                                  "interest",
                                  "social",
                                  "videos",
                                  "rating_periods",
                                  "query",
                                  "players",
                                  "category"
                                ]
                              },
                              "company": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "market": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "params": {
                                "type": "object",
                                "additionalProperties": {}
                              },
                              "figures": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string",
                                      "maxLength": 60,
                                      "pattern": "^[a-z][a-z0-9_]*$"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "unit": {
                                      "type": "string",
                                      "enum": [
                                        "count",
                                        "stars",
                                        "share",
                                        "usd",
                                        "days",
                                        "number"
                                      ]
                                    },
                                    "company": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "n": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "small": {
                                      "type": "boolean"
                                    },
                                    "interval": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "properties": {
                                        "low": {
                                          "type": "number"
                                        },
                                        "high": {
                                          "type": "number"
                                        }
                                      },
                                      "required": [
                                        "low",
                                        "high"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label",
                                    "value",
                                    "unit",
                                    "company",
                                    "n",
                                    "small",
                                    "interval"
                                  ]
                                }
                              },
                              "columns": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string",
                                      "maxLength": 60,
                                      "pattern": "^[a-z][a-z0-9_]*$"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "unit": {
                                      "type": "string",
                                      "enum": [
                                        "count",
                                        "stars",
                                        "share",
                                        "usd",
                                        "days",
                                        "number"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label",
                                    "unit"
                                  ]
                                }
                              },
                              "word_columns": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string",
                                      "maxLength": 60,
                                      "pattern": "^[a-z][a-z0-9_]*$"
                                    },
                                    "label": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label"
                                  ]
                                }
                              },
                              "rows": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "company",
                                        "link",
                                        "star",
                                        "period",
                                        "topic",
                                        "event",
                                        "review"
                                      ]
                                    },
                                    "company": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "values": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "type": [
                                          "number",
                                          "null"
                                        ]
                                      }
                                    },
                                    "small": {
                                      "type": "boolean"
                                    },
                                    "day": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "source": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "category": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "was": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "values": {
                                            "type": "object",
                                            "additionalProperties": {
                                              "type": [
                                                "number",
                                                "null"
                                              ]
                                            }
                                          },
                                          "day": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "seen_from": {
                                            "type": "string"
                                          },
                                          "seen_to": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "values",
                                          "day",
                                          "seen_from",
                                          "seen_to"
                                        ]
                                      }
                                    },
                                    "words": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      }
                                    },
                                    "marks": {
                                      "type": "array",
                                      "items": {
                                        "type": "integer",
                                        "minimum": 0
                                      }
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "label",
                                    "kind",
                                    "company",
                                    "values",
                                    "small",
                                    "day",
                                    "source",
                                    "category",
                                    "url",
                                    "was"
                                  ]
                                }
                              },
                              "evidence": {
                                "type": "object",
                                "properties": {
                                  "items": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "kind": {
                                          "type": "string",
                                          "enum": [
                                            "signal",
                                            "record",
                                            "document",
                                            "quote",
                                            "snapshot"
                                          ]
                                        },
                                        "id": {
                                          "type": "string"
                                        },
                                        "source": {
                                          "type": "string"
                                        },
                                        "company": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "link": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "day": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "url": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "row": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "column": {
                                          "type": "string"
                                        },
                                        "rating": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "text": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "found_by": {
                                          "type": "string"
                                        },
                                        "facts": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "label": {
                                                "type": "string"
                                              },
                                              "line": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "concept": {
                                                "type": "string"
                                              },
                                              "axis": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "member": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "start_on": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "end_on": {
                                                "type": "string"
                                              },
                                              "value": {
                                                "type": "number"
                                              },
                                              "worked_from": {
                                                "type": [
                                                  "array",
                                                  "null"
                                                ],
                                                "items": {
                                                  "type": "object",
                                                  "properties": {
                                                    "label": {
                                                      "type": "string"
                                                    },
                                                    "line": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "concept": {
                                                      "type": "string"
                                                    },
                                                    "axis": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "member": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "start_on": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "end_on": {
                                                      "type": "string"
                                                    },
                                                    "value": {
                                                      "type": "number"
                                                    },
                                                    "document": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "url": {
                                                      "type": "string"
                                                    },
                                                    "form": {
                                                      "type": "string"
                                                    },
                                                    "filed_on": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "label",
                                                    "line",
                                                    "concept",
                                                    "axis",
                                                    "member",
                                                    "start_on",
                                                    "end_on",
                                                    "value",
                                                    "document",
                                                    "url",
                                                    "form",
                                                    "filed_on"
                                                  ]
                                                }
                                              }
                                            },
                                            "required": [
                                              "label",
                                              "line",
                                              "concept",
                                              "axis",
                                              "member",
                                              "start_on",
                                              "end_on",
                                              "value",
                                              "worked_from"
                                            ]
                                          }
                                        },
                                        "document": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "kind",
                                        "id",
                                        "source",
                                        "company",
                                        "link",
                                        "day",
                                        "url",
                                        "row",
                                        "rating",
                                        "text"
                                      ]
                                    },
                                    "maxItems": 200
                                  },
                                  "total": {
                                    "type": "integer"
                                  },
                                  "more": {
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "items",
                                  "total",
                                  "more"
                                ]
                              },
                              "basis": {
                                "type": "object",
                                "properties": {
                                  "sources": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "network": {
                                          "type": "string"
                                        },
                                        "read": {
                                          "type": "integer"
                                        },
                                        "from": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "to": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "total": {
                                          "type": [
                                            "integer",
                                            "null"
                                          ]
                                        },
                                        "rating": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "url": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "held": {
                                          "type": "integer"
                                        },
                                        "held_from": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "held_to": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "listings": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "company": {
                                                "type": "string"
                                              },
                                              "label": {
                                                "type": "string"
                                              },
                                              "link": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "read": {
                                                "type": "integer"
                                              },
                                              "from": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "to": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "total": {
                                                "type": [
                                                  "integer",
                                                  "null"
                                                ]
                                              },
                                              "rating": {
                                                "type": [
                                                  "number",
                                                  "null"
                                                ]
                                              },
                                              "url": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "held": {
                                                "type": "integer"
                                              },
                                              "held_from": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "held_to": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "reads_from": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "routes": {
                                                "type": "array",
                                                "items": {
                                                  "type": "object",
                                                  "properties": {
                                                    "route": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "found_by": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "n": {
                                                      "type": "integer"
                                                    },
                                                    "filter": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "route",
                                                    "found_by",
                                                    "n",
                                                    "filter"
                                                  ]
                                                }
                                              },
                                              "shop": {
                                                "type": "object",
                                                "properties": {
                                                  "store": {
                                                    "type": "string"
                                                  },
                                                  "name": {
                                                    "type": [
                                                      "string",
                                                      "null"
                                                    ]
                                                  },
                                                  "item_words": {
                                                    "type": "string"
                                                  },
                                                  "item": {
                                                    "type": "string"
                                                  },
                                                  "read_on": {
                                                    "type": [
                                                      "string",
                                                      "null"
                                                    ]
                                                  },
                                                  "figures_on": {
                                                    "type": [
                                                      "string",
                                                      "null"
                                                    ]
                                                  },
                                                  "price_usd": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "price_low_90d": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "price_high_90d": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "bought_past_month": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "sales_rank": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "sales_rank_best_90d": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "written_reviews": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  }
                                                },
                                                "required": [
                                                  "store",
                                                  "name",
                                                  "item_words",
                                                  "item",
                                                  "read_on",
                                                  "figures_on",
                                                  "price_usd",
                                                  "price_low_90d",
                                                  "price_high_90d",
                                                  "bought_past_month",
                                                  "sales_rank",
                                                  "sales_rank_best_90d",
                                                  "written_reviews"
                                                ]
                                              }
                                            },
                                            "required": [
                                              "company",
                                              "label",
                                              "link",
                                              "read",
                                              "from",
                                              "to",
                                              "total",
                                              "rating",
                                              "url"
                                            ]
                                          }
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "network"
                                      ]
                                    }
                                  },
                                  "independent": {
                                    "type": "integer"
                                  },
                                  "window": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "properties": {
                                      "from": {
                                        "type": "string"
                                      },
                                      "to": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "from",
                                      "to"
                                    ]
                                  },
                                  "compare": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "properties": {
                                      "from": {
                                        "type": "string"
                                      },
                                      "to": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "from",
                                      "to"
                                    ]
                                  },
                                  "method": {
                                    "type": "string"
                                  },
                                  "sample": {
                                    "type": "object",
                                    "properties": {
                                      "read": {
                                        "type": "integer"
                                      },
                                      "of": {
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "from": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "to": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "days": {
                                        "type": "integer"
                                      },
                                      "undated": {
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "read",
                                      "of",
                                      "from",
                                      "to",
                                      "days",
                                      "undated"
                                    ]
                                  },
                                  "breaks": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "sources": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "from": {
                                          "type": "string"
                                        },
                                        "to": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "approximate": {
                                          "type": "boolean"
                                        },
                                        "effect": {
                                          "type": "string",
                                          "enum": [
                                            "mark",
                                            "mask"
                                          ]
                                        },
                                        "what": {
                                          "type": "string"
                                        },
                                        "url": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "sources",
                                        "from",
                                        "to",
                                        "approximate",
                                        "effect",
                                        "what",
                                        "url"
                                      ]
                                    }
                                  },
                                  "periods": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "properties": {
                                      "has": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "lacks": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      }
                                    },
                                    "required": [
                                      "has",
                                      "lacks"
                                    ]
                                  },
                                  "left_out": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "what": {
                                          "type": "string"
                                        },
                                        "count": {
                                          "type": "integer"
                                        },
                                        "why": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "what",
                                        "count",
                                        "why"
                                      ]
                                    }
                                  },
                                  "caveats": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "required": [
                                  "sources",
                                  "independent",
                                  "window",
                                  "compare",
                                  "method",
                                  "sample",
                                  "breaks",
                                  "periods",
                                  "left_out",
                                  "caveats"
                                ]
                              },
                              "choices": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "options": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "value": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "params": {
                                            "type": "object",
                                            "additionalProperties": {
                                              "type": "string"
                                            }
                                          },
                                          "unset": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "required": [
                                          "value",
                                          "label",
                                          "params"
                                        ]
                                      }
                                    },
                                    "selected": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label",
                                    "options",
                                    "selected"
                                  ]
                                }
                              },
                              "computed_at": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "numbers",
                              "params",
                              "figures",
                              "columns",
                              "rows",
                              "evidence",
                              "basis",
                              "computed_at"
                            ]
                          },
                          "error": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "message": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "code",
                              "message"
                            ]
                          }
                        },
                        "required": [
                          "asked_at",
                          "answer",
                          "error"
                        ]
                      }
                    },
                    "cited": {
                      "type": "object",
                      "additionalProperties": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "quote",
                              "signal",
                              "passage",
                              "record"
                            ]
                          },
                          "id": {
                            "type": "string"
                          },
                          "text": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": "string"
                          },
                          "cite": {
                            "type": "string"
                          },
                          "rating": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "people": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "as": {
                                  "type": "string",
                                  "enum": [
                                    "reviewer",
                                    "writer",
                                    "author",
                                    "coauthor",
                                    "tagged",
                                    "named"
                                  ]
                                },
                                "name": {
                                  "type": "string"
                                },
                                "handle": {
                                  "type": "string"
                                },
                                "role": {
                                  "type": "string"
                                },
                                "picture": {
                                  "type": "object",
                                  "properties": {
                                    "from": {
                                      "type": "string"
                                    },
                                    "copy_url": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "from"
                                  ]
                                },
                                "profile": {
                                  "type": "string"
                                },
                                "location": {
                                  "type": "string"
                                },
                                "badges": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "street": {
                                  "type": "string"
                                },
                                "phone": {
                                  "type": "string"
                                },
                                "email": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "as"
                              ]
                            }
                          },
                          "speaker_confirmed": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "tie": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "tie": {
                                "type": "string",
                                "enum": [
                                  "staff",
                                  "former_staff",
                                  "rival",
                                  "customer",
                                  "partner",
                                  "adviser",
                                  "practitioner",
                                  "academic",
                                  "unknown"
                                ]
                              },
                              "rival": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "how": {
                                "type": "string",
                                "enum": [
                                  "role_on_day",
                                  "role_ended",
                                  "rival_role",
                                  "model",
                                  "unconfirmed",
                                  "nothing_read"
                                ]
                              },
                              "why": {
                                "type": "string"
                              },
                              "evidence": {
                                "type": "array",
                                "items": {
                                  "oneOf": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "from": {
                                          "type": "string",
                                          "enum": [
                                            "role"
                                          ]
                                        },
                                        "source": {
                                          "type": "string"
                                        },
                                        "source_kind": {
                                          "type": "string"
                                        },
                                        "title": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "company": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "first_on": {
                                          "type": "string"
                                        },
                                        "last_on": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from",
                                        "source",
                                        "source_kind",
                                        "title",
                                        "company",
                                        "first_on",
                                        "last_on"
                                      ]
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "from": {
                                          "type": "string",
                                          "enum": [
                                            "lineup"
                                          ]
                                        },
                                        "episode": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "role": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "company": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "day": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from",
                                        "episode",
                                        "role",
                                        "company",
                                        "day"
                                      ]
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "from": {
                                          "type": "string",
                                          "enum": [
                                            "words"
                                          ]
                                        },
                                        "where": {
                                          "type": "string",
                                          "enum": [
                                            "lineup",
                                            "introduction",
                                            "episode"
                                          ]
                                        },
                                        "words": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from",
                                        "where",
                                        "words"
                                      ]
                                    }
                                  ]
                                }
                              },
                              "model": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "decided_at": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "tie",
                              "rival",
                              "how",
                              "why",
                              "evidence",
                              "model",
                              "decided_at"
                            ]
                          }
                        },
                        "required": [
                          "kind",
                          "id",
                          "text",
                          "day",
                          "url",
                          "cite",
                          "rating",
                          "speaker_confirmed"
                        ]
                      }
                    },
                    "sentences": {
                      "type": "object",
                      "additionalProperties": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "transcript": {
                            "type": "string",
                            "maxLength": 64
                          },
                          "turn": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "start": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "end": {
                            "type": "integer",
                            "minimum": 1
                          },
                          "from": {
                            "type": "string",
                            "enum": [
                              "ours",
                              "api-ninjas"
                            ]
                          },
                          "text": {
                            "type": "string"
                          },
                          "speaker": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "role": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "role",
                              "company"
                            ]
                          },
                          "speaker_confirmed": {
                            "type": "boolean"
                          },
                          "chapter": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "title": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "title"
                            ]
                          },
                          "event": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "date": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "title",
                              "date"
                            ]
                          },
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "shown": {
                            "type": "string",
                            "enum": [
                              "passages",
                              "whole"
                            ]
                          }
                        },
                        "required": [
                          "transcript",
                          "turn",
                          "start",
                          "end",
                          "from",
                          "text",
                          "speaker",
                          "speaker_confirmed",
                          "chapter",
                          "event",
                          "company",
                          "shown"
                        ]
                      }
                    },
                    "check": {
                      "type": "object",
                      "properties": {
                        "passes": {
                          "type": "boolean"
                        },
                        "problems": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "where": {
                                "type": "string"
                              },
                              "problem": {
                                "type": "string"
                              },
                              "refused": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "where",
                              "problem",
                              "refused"
                            ]
                          }
                        },
                        "pending": {
                          "type": "boolean"
                        },
                        "running": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "passes",
                        "problems"
                      ]
                    },
                    "pages_needed": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "company",
                              "market",
                              "financials",
                              "customer",
                              "competitive",
                              "marketing",
                              "news",
                              "trends",
                              "expert",
                              "risks",
                              "players",
                              "profiles"
                            ]
                          },
                          {
                            "type": "string",
                            "maxLength": 48,
                            "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                          }
                        ]
                      }
                    },
                    "target_added": {
                      "type": "boolean"
                    },
                    "covers": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "company",
                              "market",
                              "financials",
                              "customer",
                              "competitive",
                              "marketing",
                              "news",
                              "trends",
                              "expert",
                              "risks",
                              "players",
                              "profiles"
                            ]
                          },
                          {
                            "type": "string",
                            "maxLength": 48,
                            "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "overview",
                              "plan"
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "required": [
                    "id",
                    "company",
                    "title",
                    "status",
                    "rev",
                    "problems",
                    "playbook",
                    "saved_by",
                    "created_at",
                    "updated_at",
                    "checked_at",
                    "pages",
                    "report",
                    "filled",
                    "answers",
                    "cited",
                    "check",
                    "pages_needed"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Reports"
        ],
        "x-mint": {
          "content": "**MCP tool:** `save_report_page`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/diligence-reports/{id}/check": {
      "post": {
        "operationId": "checkDiligenceReport",
        "summary": "Checks every page of a diligence report in the background, one check at a time, and marks it checked when nothing is refused",
        "description": "Checks every page of the report in the background, every exhibit asked, and records what it finds when it ends: how many things it refuses, as `problems`, and `checked` when it refuses nothing. The check refuses a figure no number tool gave, an exhibit with no evidence or whose evidence comes through a link no one confirmed, a company compared that isn't a confirmed rival, a page that doesn't say what was read and over which window, and a finding's sentence whose transcript the team can't read, whose turn the transcript doesn't have, or whose characters fall outside the turn or off a sentence's bounds. It answers at once with the report as saved, its figures still in braces, `check.running` true, and the check in `checks.running`: `queued` with how many checks go before it (`ahead`), or `running`. One check runs at a time across PodData, so two never slow each other, and asking again while one is open on this version joins it.\n\n**Before:** Its pages and overview are written, and saved: check after your last save.\n\n**Next:** Read the report with `GET /diligence-reports/{id}` in a minute or two. While `check.running` is true it hasn't ended; once it has, `checks.last` says how it ended, `status` and `problems` what it recorded, and `check.problems` each refusal and each piece of advice, and where it is. Fix each refusal with `PUT /diligence-reports/{id}/pages/{page}` and check again.\n\n**Limits:** A check takes a minute or a few, longer while others go before it. It asks each exhibit alone, a second apart, and waits out PodData's database while it's busy, longer each time, for up to about an hour, so it never refuses a figure because the database was busy. A save before it ends makes it end `saved_over`, recording nothing: check again after the save. One that waits three hours for its turn, or stays refused by the database for an hour, ends `failed`, recording nothing.",
        "x-mcp-tool": "check_report",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/check' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "202": {
            "description": "The report as saved, with its check queued or under way",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "dlr_01JD9K4M5N6P00000000000000",
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental"
                      },
                      "title": "Northwind Dental",
                      "status": "draft",
                      "rev": 3,
                      "problems": 5,
                      "playbook": "2",
                      "saved_by": "key",
                      "created_at": "2026-11-14T08:00:00.000Z",
                      "updated_at": "2026-11-14T09:05:00.000Z",
                      "checked_at": null,
                      "pages": [
                        {
                          "id": "company",
                          "state": "empty"
                        },
                        {
                          "id": "market",
                          "state": "empty"
                        },
                        {
                          "id": "financials",
                          "state": "empty"
                        },
                        {
                          "id": "customer",
                          "state": "written"
                        },
                        {
                          "id": "competitive",
                          "state": "empty"
                        },
                        {
                          "id": "marketing",
                          "state": "empty"
                        },
                        {
                          "id": "news",
                          "state": "empty"
                        },
                        {
                          "id": "trends",
                          "state": "empty"
                        },
                        {
                          "id": "expert",
                          "state": "empty"
                        },
                        {
                          "id": "risks",
                          "state": "empty"
                        }
                      ],
                      "checks": {
                        "running": {
                          "id": "dck_01JD9C7B2C3D00000000000000",
                          "rev": 3,
                          "state": "queued",
                          "asked_at": "2026-11-14T09:10:00.000Z",
                          "started_at": null,
                          "ended_at": null,
                          "refused": null,
                          "ahead": 1,
                          "why": null
                        },
                        "last": {
                          "id": "dck_01JD9C6A1B2C00000000000000",
                          "rev": 3,
                          "state": "draft",
                          "asked_at": "2026-11-14T09:06:00.000Z",
                          "started_at": "2026-11-14T09:06:01.000Z",
                          "ended_at": "2026-11-14T09:06:40.000Z",
                          "refused": 5,
                          "ahead": null,
                          "why": null
                        }
                      },
                      "report": {
                        "version": 1,
                        "company": "northwind-dental",
                        "title": "Northwind Dental",
                        "playbook": "2",
                        "overview": {
                          "bottom_line": "",
                          "cards": [],
                          "first_question": "",
                          "case_for": [],
                          "case_against": [],
                          "names": []
                        },
                        "pages": [
                          {
                            "id": "company",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "market",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "financials",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "customer",
                            "state": "written",
                            "headline": "Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}",
                            "lede": "Across its three clinics, patients praise the care and complain about the wait.",
                            "read": [
                              {
                                "exhibit": "customer-1",
                                "figure": "reviews",
                                "label": "Google reviews read"
                              }
                            ],
                            "questions": [
                              {
                                "id": "customer-q1",
                                "ask": "Do patients rate it as well as its rivals?",
                                "answer": "A little below: {customer-1.average} stars against {customer-1.rivals_average}.",
                                "cards": [
                                  {
                                    "exhibit": "customer-1",
                                    "figure": "average",
                                    "label": "Northwind Dental",
                                    "line": "average stars on Google, the last year"
                                  }
                                ]
                              },
                              {
                                "id": "customer-q2",
                                "ask": "What do unhappy patients say?",
                                "answer": "Mostly that they waited past their appointment.",
                                "cards": []
                              }
                            ],
                            "exhibits": [
                              {
                                "id": "customer-1",
                                "numbers": "rating_rivals",
                                "company": "northwind-dental",
                                "params": {
                                  "source": "google-maps",
                                  "from": "2025-11-14",
                                  "to": "2026-11-14"
                                },
                                "show": "bars",
                                "title": "Google rating, against its confirmed rival",
                                "point": "Northwind trails Bluebird by three tenths of a star.",
                                "caveat": null
                              }
                            ],
                            "quotes": [
                              {
                                "kind": "signal",
                                "id": "sig_01JD9C5E6F7G00000000000000",
                                "exhibit": "customer-1",
                                "why": "A two-star review about the wait"
                              }
                            ],
                            "method": {
                              "read": "Google reviews of its three confirmed clinics, and of its one confirmed rival’s two",
                              "from": "2025-11-14",
                              "to": "2026-11-14",
                              "left_out": []
                            },
                            "web": [],
                            "names": [
                              "Northwind Dental",
                              "Bluebird Dental",
                              "Google"
                            ]
                          },
                          {
                            "id": "competitive",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "marketing",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "news",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "trends",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "expert",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "risks",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          }
                        ]
                      },
                      "filled": {
                        "version": 1,
                        "company": "northwind-dental",
                        "title": "Northwind Dental",
                        "playbook": "2",
                        "overview": {
                          "bottom_line": "",
                          "cards": [],
                          "first_question": "",
                          "case_for": [],
                          "case_against": [],
                          "names": []
                        },
                        "pages": [
                          {
                            "id": "company",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "market",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "financials",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "customer",
                            "state": "written",
                            "headline": "Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}",
                            "lede": "Across its three clinics, patients praise the care and complain about the wait.",
                            "read": [
                              {
                                "exhibit": "customer-1",
                                "figure": "reviews",
                                "label": "Google reviews read"
                              }
                            ],
                            "questions": [
                              {
                                "id": "customer-q1",
                                "ask": "Do patients rate it as well as its rivals?",
                                "answer": "A little below: {customer-1.average} stars against {customer-1.rivals_average}.",
                                "cards": [
                                  {
                                    "exhibit": "customer-1",
                                    "figure": "average",
                                    "label": "Northwind Dental",
                                    "line": "average stars on Google, the last year"
                                  }
                                ]
                              },
                              {
                                "id": "customer-q2",
                                "ask": "What do unhappy patients say?",
                                "answer": "Mostly that they waited past their appointment.",
                                "cards": []
                              }
                            ],
                            "exhibits": [
                              {
                                "id": "customer-1",
                                "numbers": "rating_rivals",
                                "company": "northwind-dental",
                                "params": {
                                  "source": "google-maps",
                                  "from": "2025-11-14",
                                  "to": "2026-11-14"
                                },
                                "show": "bars",
                                "title": "Google rating, against its confirmed rival",
                                "point": "Northwind trails Bluebird by three tenths of a star.",
                                "caveat": null
                              }
                            ],
                            "quotes": [
                              {
                                "kind": "signal",
                                "id": "sig_01JD9C5E6F7G00000000000000",
                                "exhibit": "customer-1",
                                "why": "A two-star review about the wait"
                              }
                            ],
                            "method": {
                              "read": "Google reviews of its three confirmed clinics, and of its one confirmed rival’s two",
                              "from": "2025-11-14",
                              "to": "2026-11-14",
                              "left_out": []
                            },
                            "web": [],
                            "names": [
                              "Northwind Dental",
                              "Bluebird Dental",
                              "Google"
                            ]
                          },
                          {
                            "id": "competitive",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "marketing",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "news",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "trends",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "expert",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          },
                          {
                            "id": "risks",
                            "state": "empty",
                            "headline": "",
                            "lede": "",
                            "read": [],
                            "questions": [],
                            "exhibits": [],
                            "quotes": [],
                            "method": {
                              "read": "",
                              "from": null,
                              "to": null,
                              "left_out": []
                            },
                            "web": [],
                            "names": []
                          }
                        ]
                      },
                      "answers": {},
                      "cited": {},
                      "check": {
                        "passes": false,
                        "problems": [],
                        "running": true
                      },
                      "pages_needed": [
                        "company",
                        "market",
                        "financials",
                        "customer",
                        "competitive",
                        "marketing",
                        "news",
                        "trends",
                        "expert",
                        "risks"
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "subject": {
                      "type": "string",
                      "enum": [
                        "company",
                        "market"
                      ]
                    },
                    "market": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "draft",
                        "checked"
                      ]
                    },
                    "rev": {
                      "type": "integer"
                    },
                    "problems": {
                      "type": "integer"
                    },
                    "playbook": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "saved_by": {
                      "type": "string",
                      "enum": [
                        "key",
                        "member",
                        "agent"
                      ]
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "updated_at": {
                      "type": "string"
                    },
                    "checked_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "company",
                                  "market",
                                  "financials",
                                  "customer",
                                  "competitive",
                                  "marketing",
                                  "news",
                                  "trends",
                                  "expert",
                                  "risks",
                                  "players",
                                  "profiles"
                                ]
                              },
                              {
                                "type": "string",
                                "maxLength": 48,
                                "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                              }
                            ]
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "empty",
                              "written",
                              "waits"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "state"
                        ]
                      }
                    },
                    "checks": {
                      "type": "object",
                      "properties": {
                        "running": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "rev": {
                              "type": "integer"
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "queued",
                                "running",
                                "checked",
                                "draft",
                                "saved_over",
                                "failed"
                              ]
                            },
                            "asked_at": {
                              "type": "string"
                            },
                            "started_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "ended_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "refused": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "ahead": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "why": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "waiting_for": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "rev",
                            "state",
                            "asked_at",
                            "started_at",
                            "ended_at",
                            "refused",
                            "ahead",
                            "why"
                          ]
                        },
                        "last": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "rev": {
                              "type": "integer"
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "queued",
                                "running",
                                "checked",
                                "draft",
                                "saved_over",
                                "failed"
                              ]
                            },
                            "asked_at": {
                              "type": "string"
                            },
                            "started_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "ended_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "refused": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "ahead": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "why": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "waiting_for": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "rev",
                            "state",
                            "asked_at",
                            "started_at",
                            "ended_at",
                            "refused",
                            "ahead",
                            "why"
                          ]
                        }
                      },
                      "required": [
                        "running",
                        "last"
                      ]
                    },
                    "report": {
                      "type": "object",
                      "properties": {
                        "version": {
                          "type": "number",
                          "enum": [
                            1
                          ]
                        },
                        "subject": {
                          "type": "string",
                          "enum": [
                            "company",
                            "market"
                          ]
                        },
                        "company": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "playbook": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "overview": {
                          "type": "object",
                          "properties": {
                            "bottom_line": {
                              "type": "string"
                            },
                            "story": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 8
                            },
                            "sections": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "text": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "page",
                                  "text"
                                ]
                              },
                              "maxItems": 15
                            },
                            "cards": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "exhibit": {
                                    "type": "string"
                                  },
                                  "figure": {
                                    "type": "string"
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "line": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "exhibit",
                                  "figure",
                                  "label",
                                  "line"
                                ]
                              },
                              "maxItems": 3
                            },
                            "first_question": {
                              "type": "string"
                            },
                            "case_for": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "case_against": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "findings": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "sure": {
                                    "type": "string",
                                    "enum": [
                                      "strong",
                                      "moderate",
                                      "thin"
                                    ]
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "pages": {
                                    "type": "array",
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "enum": [
                                            "company",
                                            "market",
                                            "financials",
                                            "customer",
                                            "competitive",
                                            "marketing",
                                            "news",
                                            "trends",
                                            "expert",
                                            "risks",
                                            "players",
                                            "profiles"
                                          ]
                                        },
                                        {
                                          "type": "string",
                                          "maxLength": 48,
                                          "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                        }
                                      ]
                                    },
                                    "minItems": 1,
                                    "maxItems": 4
                                  },
                                  "sentences": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "transcript": {
                                          "type": "string",
                                          "maxLength": 64
                                        },
                                        "turn": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "start": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "end": {
                                          "type": "integer",
                                          "minimum": 1
                                        }
                                      },
                                      "required": [
                                        "transcript",
                                        "turn",
                                        "start",
                                        "end"
                                      ]
                                    },
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "text",
                                  "sure",
                                  "why",
                                  "pages"
                                ]
                              },
                              "maxItems": 12
                            },
                            "first_tests": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 12
                              },
                              "maxItems": 6
                            },
                            "risks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "risk": {
                                    "type": "string"
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "maxItems": 6
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "risk",
                                  "why",
                                  "findings"
                                ]
                              },
                              "maxItems": 9
                            },
                            "would_change": {
                              "type": "string"
                            },
                            "asks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "ask": {
                                    "type": "string"
                                  },
                                  "tests": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "minItems": 1,
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "ask",
                                  "tests",
                                  "findings"
                                ]
                              },
                              "maxItems": 15
                            },
                            "not_assessed": {
                              "type": "string"
                            },
                            "names": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 100
                            }
                          },
                          "required": [
                            "bottom_line",
                            "cards",
                            "first_question",
                            "names"
                          ]
                        },
                        "pages": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "maxLength": 48,
                                    "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                  }
                                ]
                              },
                              "question": {
                                "type": "string",
                                "maxLength": 200
                              },
                              "name": {
                                "type": "string",
                                "maxLength": 60
                              },
                              "after": {
                                "type": "string",
                                "enum": [
                                  "company",
                                  "market",
                                  "financials",
                                  "customer",
                                  "competitive",
                                  "marketing",
                                  "news",
                                  "trends",
                                  "expert",
                                  "risks",
                                  "players",
                                  "profiles"
                                ]
                              },
                              "state": {
                                "type": "string",
                                "enum": [
                                  "empty",
                                  "written",
                                  "waits",
                                  "left_out"
                                ]
                              },
                              "headline": {
                                "type": "string"
                              },
                              "lede": {
                                "type": "string"
                              },
                              "read": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "exhibit": {
                                      "type": "string"
                                    },
                                    "figure": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "exhibit",
                                    "figure",
                                    "label"
                                  ]
                                },
                                "maxItems": 6
                              },
                              "questions": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "ask": {
                                      "type": "string"
                                    },
                                    "answer": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 3
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "ask",
                                    "answer",
                                    "cards"
                                  ]
                                },
                                "maxItems": 2
                              },
                              "exhibits": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "numbers": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "company": {
                                      "type": "string"
                                    },
                                    "params": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "anyOf": [
                                          {
                                            "type": "string"
                                          },
                                          {
                                            "type": "number"
                                          },
                                          {
                                            "type": "boolean"
                                          },
                                          {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    "show": {
                                      "type": "string",
                                      "enum": [
                                        "figures",
                                        "table",
                                        "bars",
                                        "share",
                                        "series",
                                        "timeline",
                                        "voices",
                                        "windows",
                                        "grid",
                                        "lanes",
                                        "lines",
                                        "squares",
                                        "strip"
                                      ]
                                    },
                                    "by": {
                                      "type": "string",
                                      "enum": [
                                        "none",
                                        "tie"
                                      ]
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "point": {
                                      "type": "string"
                                    },
                                    "caveat": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "numbers",
                                    "company",
                                    "params",
                                    "show",
                                    "title",
                                    "point",
                                    "caveat"
                                  ]
                                },
                                "maxItems": 12
                              },
                              "quotes": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "quote",
                                        "signal",
                                        "passage",
                                        "record"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "exhibit": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "player": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "id",
                                    "exhibit",
                                    "why"
                                  ]
                                },
                                "maxItems": 30
                              },
                              "uses": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "tag": {
                                      "type": "string"
                                    },
                                    "action": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "tag",
                                    "action",
                                    "line"
                                  ]
                                },
                                "maxItems": 4
                              },
                              "method": {
                                "type": "object",
                                "properties": {
                                  "read": {
                                    "type": "string"
                                  },
                                  "from": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "to": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "left_out": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "what": {
                                          "type": "string"
                                        },
                                        "why": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "what",
                                        "why"
                                      ]
                                    },
                                    "maxItems": 30
                                  }
                                },
                                "required": [
                                  "read",
                                  "from",
                                  "to",
                                  "left_out"
                                ]
                              },
                              "web": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "url": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "day": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "format": "date"
                                    },
                                    "day_from": {
                                      "type": "string",
                                      "enum": [
                                        "page",
                                        "none"
                                      ]
                                    },
                                    "read_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "figures": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "name": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "unit": {
                                            "type": "string",
                                            "enum": [
                                              "count",
                                              "stars",
                                              "share",
                                              "usd",
                                              "days",
                                              "number"
                                            ]
                                          },
                                          "says": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "name",
                                          "value",
                                          "unit",
                                          "says"
                                        ]
                                      },
                                      "maxItems": 8
                                    },
                                    "document": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "not_kept": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "url",
                                    "title",
                                    "day",
                                    "day_from",
                                    "read_at",
                                    "why"
                                  ]
                                },
                                "maxItems": 20
                              },
                              "names": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "maxItems": 100
                              },
                              "profiles": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "player": {
                                      "type": "string"
                                    },
                                    "copy": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          },
                                          "row": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 4
                                    }
                                  },
                                  "required": [
                                    "player",
                                    "copy",
                                    "cards"
                                  ]
                                },
                                "maxItems": 20
                              }
                            },
                            "required": [
                              "id",
                              "state",
                              "headline",
                              "lede",
                              "read",
                              "questions",
                              "exhibits",
                              "quotes",
                              "method",
                              "web",
                              "names"
                            ]
                          },
                          "maxItems": 15
                        },
                        "plan": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "consumer-product",
                                "franchise",
                                "b2b-manufacturer",
                                "casino",
                                "clinic-network",
                                "software",
                                "b2b-services",
                                "other"
                              ]
                            },
                            "pages": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "type": "string",
                                    "maxLength": 60
                                  },
                                  "after": {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  "in": {
                                    "type": "boolean"
                                  },
                                  "why": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "maxLength": 400
                                  }
                                },
                                "required": [
                                  "id",
                                  "in",
                                  "why"
                                ]
                              },
                              "maxItems": 15
                            }
                          },
                          "required": [
                            "kind",
                            "pages"
                          ]
                        }
                      },
                      "required": [
                        "version",
                        "company",
                        "title",
                        "playbook",
                        "overview",
                        "pages"
                      ]
                    },
                    "filled": {
                      "type": "object",
                      "properties": {
                        "version": {
                          "type": "number",
                          "enum": [
                            1
                          ]
                        },
                        "subject": {
                          "type": "string",
                          "enum": [
                            "company",
                            "market"
                          ]
                        },
                        "company": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "playbook": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "overview": {
                          "type": "object",
                          "properties": {
                            "bottom_line": {
                              "type": "string"
                            },
                            "story": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 8
                            },
                            "sections": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "text": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "page",
                                  "text"
                                ]
                              },
                              "maxItems": 15
                            },
                            "cards": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "exhibit": {
                                    "type": "string"
                                  },
                                  "figure": {
                                    "type": "string"
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "line": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "exhibit",
                                  "figure",
                                  "label",
                                  "line"
                                ]
                              },
                              "maxItems": 3
                            },
                            "first_question": {
                              "type": "string"
                            },
                            "case_for": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "case_against": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "cited": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "text",
                                  "page"
                                ]
                              },
                              "maxItems": 4
                            },
                            "findings": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "text": {
                                    "type": "string"
                                  },
                                  "sure": {
                                    "type": "string",
                                    "enum": [
                                      "strong",
                                      "moderate",
                                      "thin"
                                    ]
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "pages": {
                                    "type": "array",
                                    "items": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "enum": [
                                            "company",
                                            "market",
                                            "financials",
                                            "customer",
                                            "competitive",
                                            "marketing",
                                            "news",
                                            "trends",
                                            "expert",
                                            "risks",
                                            "players",
                                            "profiles"
                                          ]
                                        },
                                        {
                                          "type": "string",
                                          "maxLength": 48,
                                          "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                        }
                                      ]
                                    },
                                    "minItems": 1,
                                    "maxItems": 4
                                  },
                                  "sentences": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "transcript": {
                                          "type": "string",
                                          "maxLength": 64
                                        },
                                        "turn": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "start": {
                                          "type": "integer",
                                          "minimum": 0
                                        },
                                        "end": {
                                          "type": "integer",
                                          "minimum": 1
                                        }
                                      },
                                      "required": [
                                        "transcript",
                                        "turn",
                                        "start",
                                        "end"
                                      ]
                                    },
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "text",
                                  "sure",
                                  "why",
                                  "pages"
                                ]
                              },
                              "maxItems": 12
                            },
                            "first_tests": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 12
                              },
                              "maxItems": 6
                            },
                            "risks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "risk": {
                                    "type": "string"
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "maxItems": 6
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "risk",
                                  "why",
                                  "findings"
                                ]
                              },
                              "maxItems": 9
                            },
                            "would_change": {
                              "type": "string"
                            },
                            "asks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "ask": {
                                    "type": "string"
                                  },
                                  "tests": {
                                    "type": "string"
                                  },
                                  "findings": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 12
                                    },
                                    "minItems": 1,
                                    "maxItems": 6
                                  }
                                },
                                "required": [
                                  "ask",
                                  "tests",
                                  "findings"
                                ]
                              },
                              "maxItems": 15
                            },
                            "not_assessed": {
                              "type": "string"
                            },
                            "names": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "maxItems": 100
                            }
                          },
                          "required": [
                            "bottom_line",
                            "cards",
                            "first_question",
                            "names"
                          ]
                        },
                        "pages": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "maxLength": 48,
                                    "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                  }
                                ]
                              },
                              "question": {
                                "type": "string",
                                "maxLength": 200
                              },
                              "name": {
                                "type": "string",
                                "maxLength": 60
                              },
                              "after": {
                                "type": "string",
                                "enum": [
                                  "company",
                                  "market",
                                  "financials",
                                  "customer",
                                  "competitive",
                                  "marketing",
                                  "news",
                                  "trends",
                                  "expert",
                                  "risks",
                                  "players",
                                  "profiles"
                                ]
                              },
                              "state": {
                                "type": "string",
                                "enum": [
                                  "empty",
                                  "written",
                                  "waits",
                                  "left_out"
                                ]
                              },
                              "headline": {
                                "type": "string"
                              },
                              "lede": {
                                "type": "string"
                              },
                              "read": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "exhibit": {
                                      "type": "string"
                                    },
                                    "figure": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "exhibit",
                                    "figure",
                                    "label"
                                  ]
                                },
                                "maxItems": 6
                              },
                              "questions": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "ask": {
                                      "type": "string"
                                    },
                                    "answer": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 3
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "ask",
                                    "answer",
                                    "cards"
                                  ]
                                },
                                "maxItems": 2
                              },
                              "exhibits": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "numbers": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "company": {
                                      "type": "string"
                                    },
                                    "params": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "anyOf": [
                                          {
                                            "type": "string"
                                          },
                                          {
                                            "type": "number"
                                          },
                                          {
                                            "type": "boolean"
                                          },
                                          {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    "show": {
                                      "type": "string",
                                      "enum": [
                                        "figures",
                                        "table",
                                        "bars",
                                        "share",
                                        "series",
                                        "timeline",
                                        "voices",
                                        "windows",
                                        "grid",
                                        "lanes",
                                        "lines",
                                        "squares",
                                        "strip"
                                      ]
                                    },
                                    "by": {
                                      "type": "string",
                                      "enum": [
                                        "none",
                                        "tie"
                                      ]
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "point": {
                                      "type": "string"
                                    },
                                    "caveat": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "numbers",
                                    "company",
                                    "params",
                                    "show",
                                    "title",
                                    "point",
                                    "caveat"
                                  ]
                                },
                                "maxItems": 12
                              },
                              "quotes": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "quote",
                                        "signal",
                                        "passage",
                                        "record"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "exhibit": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "player": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "id",
                                    "exhibit",
                                    "why"
                                  ]
                                },
                                "maxItems": 30
                              },
                              "uses": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "tag": {
                                      "type": "string"
                                    },
                                    "action": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "tag",
                                    "action",
                                    "line"
                                  ]
                                },
                                "maxItems": 4
                              },
                              "method": {
                                "type": "object",
                                "properties": {
                                  "read": {
                                    "type": "string"
                                  },
                                  "from": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "to": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "format": "date"
                                  },
                                  "left_out": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "what": {
                                          "type": "string"
                                        },
                                        "why": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "what",
                                        "why"
                                      ]
                                    },
                                    "maxItems": 30
                                  }
                                },
                                "required": [
                                  "read",
                                  "from",
                                  "to",
                                  "left_out"
                                ]
                              },
                              "web": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "url": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "day": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "format": "date"
                                    },
                                    "day_from": {
                                      "type": "string",
                                      "enum": [
                                        "page",
                                        "none"
                                      ]
                                    },
                                    "read_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "figures": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "name": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "unit": {
                                            "type": "string",
                                            "enum": [
                                              "count",
                                              "stars",
                                              "share",
                                              "usd",
                                              "days",
                                              "number"
                                            ]
                                          },
                                          "says": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "name",
                                          "value",
                                          "unit",
                                          "says"
                                        ]
                                      },
                                      "maxItems": 8
                                    },
                                    "document": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "not_kept": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "url",
                                    "title",
                                    "day",
                                    "day_from",
                                    "read_at",
                                    "why"
                                  ]
                                },
                                "maxItems": 20
                              },
                              "names": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "maxItems": 100
                              },
                              "profiles": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "player": {
                                      "type": "string"
                                    },
                                    "copy": {
                                      "type": "string"
                                    },
                                    "cards": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "exhibit": {
                                            "type": "string"
                                          },
                                          "figure": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": "string"
                                          },
                                          "row": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "exhibit",
                                          "figure",
                                          "label",
                                          "line"
                                        ]
                                      },
                                      "maxItems": 4
                                    }
                                  },
                                  "required": [
                                    "player",
                                    "copy",
                                    "cards"
                                  ]
                                },
                                "maxItems": 20
                              }
                            },
                            "required": [
                              "id",
                              "state",
                              "headline",
                              "lede",
                              "read",
                              "questions",
                              "exhibits",
                              "quotes",
                              "method",
                              "web",
                              "names"
                            ]
                          },
                          "maxItems": 15
                        },
                        "plan": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "consumer-product",
                                "franchise",
                                "b2b-manufacturer",
                                "casino",
                                "clinic-network",
                                "software",
                                "b2b-services",
                                "other"
                              ]
                            },
                            "pages": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "company",
                                          "market",
                                          "financials",
                                          "customer",
                                          "competitive",
                                          "marketing",
                                          "news",
                                          "trends",
                                          "expert",
                                          "risks",
                                          "players",
                                          "profiles"
                                        ]
                                      },
                                      {
                                        "type": "string",
                                        "maxLength": 48,
                                        "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "type": "string",
                                    "maxLength": 60
                                  },
                                  "after": {
                                    "type": "string",
                                    "enum": [
                                      "company",
                                      "market",
                                      "financials",
                                      "customer",
                                      "competitive",
                                      "marketing",
                                      "news",
                                      "trends",
                                      "expert",
                                      "risks",
                                      "players",
                                      "profiles"
                                    ]
                                  },
                                  "in": {
                                    "type": "boolean"
                                  },
                                  "why": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "maxLength": 400
                                  }
                                },
                                "required": [
                                  "id",
                                  "in",
                                  "why"
                                ]
                              },
                              "maxItems": 15
                            }
                          },
                          "required": [
                            "kind",
                            "pages"
                          ]
                        }
                      },
                      "required": [
                        "version",
                        "company",
                        "title",
                        "playbook",
                        "overview",
                        "pages"
                      ]
                    },
                    "answers": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "asked_at": {
                            "type": "string"
                          },
                          "answer": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "numbers": {
                                "type": "string",
                                "enum": [
                                  "rating",
                                  "rating_by_link",
                                  "rating_rivals",
                                  "rating_windows",
                                  "complaints",
                                  "series",
                                  "timeline",
                                  "ads",
                                  "ads_weeks",
                                  "site",
                                  "site_changes",
                                  "figures",
                                  "profile",
                                  "risks",
                                  "market",
                                  "funding",
                                  "interest",
                                  "social",
                                  "videos",
                                  "rating_periods",
                                  "query",
                                  "players",
                                  "category"
                                ]
                              },
                              "company": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "market": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "params": {
                                "type": "object",
                                "additionalProperties": {}
                              },
                              "figures": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string",
                                      "maxLength": 60,
                                      "pattern": "^[a-z][a-z0-9_]*$"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "unit": {
                                      "type": "string",
                                      "enum": [
                                        "count",
                                        "stars",
                                        "share",
                                        "usd",
                                        "days",
                                        "number"
                                      ]
                                    },
                                    "company": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "n": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "small": {
                                      "type": "boolean"
                                    },
                                    "interval": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "properties": {
                                        "low": {
                                          "type": "number"
                                        },
                                        "high": {
                                          "type": "number"
                                        }
                                      },
                                      "required": [
                                        "low",
                                        "high"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label",
                                    "value",
                                    "unit",
                                    "company",
                                    "n",
                                    "small",
                                    "interval"
                                  ]
                                }
                              },
                              "columns": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string",
                                      "maxLength": 60,
                                      "pattern": "^[a-z][a-z0-9_]*$"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "unit": {
                                      "type": "string",
                                      "enum": [
                                        "count",
                                        "stars",
                                        "share",
                                        "usd",
                                        "days",
                                        "number"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label",
                                    "unit"
                                  ]
                                }
                              },
                              "word_columns": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string",
                                      "maxLength": 60,
                                      "pattern": "^[a-z][a-z0-9_]*$"
                                    },
                                    "label": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label"
                                  ]
                                }
                              },
                              "rows": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "company",
                                        "link",
                                        "star",
                                        "period",
                                        "topic",
                                        "event",
                                        "review"
                                      ]
                                    },
                                    "company": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "values": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "type": [
                                          "number",
                                          "null"
                                        ]
                                      }
                                    },
                                    "small": {
                                      "type": "boolean"
                                    },
                                    "day": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "source": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "category": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "was": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "values": {
                                            "type": "object",
                                            "additionalProperties": {
                                              "type": [
                                                "number",
                                                "null"
                                              ]
                                            }
                                          },
                                          "day": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "seen_from": {
                                            "type": "string"
                                          },
                                          "seen_to": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "values",
                                          "day",
                                          "seen_from",
                                          "seen_to"
                                        ]
                                      }
                                    },
                                    "words": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      }
                                    },
                                    "marks": {
                                      "type": "array",
                                      "items": {
                                        "type": "integer",
                                        "minimum": 0
                                      }
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "label",
                                    "kind",
                                    "company",
                                    "values",
                                    "small",
                                    "day",
                                    "source",
                                    "category",
                                    "url",
                                    "was"
                                  ]
                                }
                              },
                              "evidence": {
                                "type": "object",
                                "properties": {
                                  "items": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "kind": {
                                          "type": "string",
                                          "enum": [
                                            "signal",
                                            "record",
                                            "document",
                                            "quote",
                                            "snapshot"
                                          ]
                                        },
                                        "id": {
                                          "type": "string"
                                        },
                                        "source": {
                                          "type": "string"
                                        },
                                        "company": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "link": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "day": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "url": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "row": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "column": {
                                          "type": "string"
                                        },
                                        "rating": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "text": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "found_by": {
                                          "type": "string"
                                        },
                                        "facts": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "label": {
                                                "type": "string"
                                              },
                                              "line": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "concept": {
                                                "type": "string"
                                              },
                                              "axis": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "member": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "start_on": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "end_on": {
                                                "type": "string"
                                              },
                                              "value": {
                                                "type": "number"
                                              },
                                              "worked_from": {
                                                "type": [
                                                  "array",
                                                  "null"
                                                ],
                                                "items": {
                                                  "type": "object",
                                                  "properties": {
                                                    "label": {
                                                      "type": "string"
                                                    },
                                                    "line": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "concept": {
                                                      "type": "string"
                                                    },
                                                    "axis": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "member": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "start_on": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "end_on": {
                                                      "type": "string"
                                                    },
                                                    "value": {
                                                      "type": "number"
                                                    },
                                                    "document": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "url": {
                                                      "type": "string"
                                                    },
                                                    "form": {
                                                      "type": "string"
                                                    },
                                                    "filed_on": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "label",
                                                    "line",
                                                    "concept",
                                                    "axis",
                                                    "member",
                                                    "start_on",
                                                    "end_on",
                                                    "value",
                                                    "document",
                                                    "url",
                                                    "form",
                                                    "filed_on"
                                                  ]
                                                }
                                              }
                                            },
                                            "required": [
                                              "label",
                                              "line",
                                              "concept",
                                              "axis",
                                              "member",
                                              "start_on",
                                              "end_on",
                                              "value",
                                              "worked_from"
                                            ]
                                          }
                                        },
                                        "document": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "kind",
                                        "id",
                                        "source",
                                        "company",
                                        "link",
                                        "day",
                                        "url",
                                        "row",
                                        "rating",
                                        "text"
                                      ]
                                    },
                                    "maxItems": 200
                                  },
                                  "total": {
                                    "type": "integer"
                                  },
                                  "more": {
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "items",
                                  "total",
                                  "more"
                                ]
                              },
                              "basis": {
                                "type": "object",
                                "properties": {
                                  "sources": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "network": {
                                          "type": "string"
                                        },
                                        "read": {
                                          "type": "integer"
                                        },
                                        "from": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "to": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "total": {
                                          "type": [
                                            "integer",
                                            "null"
                                          ]
                                        },
                                        "rating": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        },
                                        "url": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "held": {
                                          "type": "integer"
                                        },
                                        "held_from": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "held_to": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "listings": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "company": {
                                                "type": "string"
                                              },
                                              "label": {
                                                "type": "string"
                                              },
                                              "link": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "read": {
                                                "type": "integer"
                                              },
                                              "from": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "to": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "total": {
                                                "type": [
                                                  "integer",
                                                  "null"
                                                ]
                                              },
                                              "rating": {
                                                "type": [
                                                  "number",
                                                  "null"
                                                ]
                                              },
                                              "url": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "held": {
                                                "type": "integer"
                                              },
                                              "held_from": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "held_to": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "reads_from": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "routes": {
                                                "type": "array",
                                                "items": {
                                                  "type": "object",
                                                  "properties": {
                                                    "route": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "found_by": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "n": {
                                                      "type": "integer"
                                                    },
                                                    "filter": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "route",
                                                    "found_by",
                                                    "n",
                                                    "filter"
                                                  ]
                                                }
                                              },
                                              "shop": {
                                                "type": "object",
                                                "properties": {
                                                  "store": {
                                                    "type": "string"
                                                  },
                                                  "name": {
                                                    "type": [
                                                      "string",
                                                      "null"
                                                    ]
                                                  },
                                                  "item_words": {
                                                    "type": "string"
                                                  },
                                                  "item": {
                                                    "type": "string"
                                                  },
                                                  "read_on": {
                                                    "type": [
                                                      "string",
                                                      "null"
                                                    ]
                                                  },
                                                  "figures_on": {
                                                    "type": [
                                                      "string",
                                                      "null"
                                                    ]
                                                  },
                                                  "price_usd": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "price_low_90d": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "price_high_90d": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "bought_past_month": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "sales_rank": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "sales_rank_best_90d": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  },
                                                  "written_reviews": {
                                                    "type": [
                                                      "number",
                                                      "null"
                                                    ]
                                                  }
                                                },
                                                "required": [
                                                  "store",
                                                  "name",
                                                  "item_words",
                                                  "item",
                                                  "read_on",
                                                  "figures_on",
                                                  "price_usd",
                                                  "price_low_90d",
                                                  "price_high_90d",
                                                  "bought_past_month",
                                                  "sales_rank",
                                                  "sales_rank_best_90d",
                                                  "written_reviews"
                                                ]
                                              }
                                            },
                                            "required": [
                                              "company",
                                              "label",
                                              "link",
                                              "read",
                                              "from",
                                              "to",
                                              "total",
                                              "rating",
                                              "url"
                                            ]
                                          }
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "network"
                                      ]
                                    }
                                  },
                                  "independent": {
                                    "type": "integer"
                                  },
                                  "window": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "properties": {
                                      "from": {
                                        "type": "string"
                                      },
                                      "to": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "from",
                                      "to"
                                    ]
                                  },
                                  "compare": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "properties": {
                                      "from": {
                                        "type": "string"
                                      },
                                      "to": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "from",
                                      "to"
                                    ]
                                  },
                                  "method": {
                                    "type": "string"
                                  },
                                  "sample": {
                                    "type": "object",
                                    "properties": {
                                      "read": {
                                        "type": "integer"
                                      },
                                      "of": {
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "from": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "to": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "days": {
                                        "type": "integer"
                                      },
                                      "undated": {
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "read",
                                      "of",
                                      "from",
                                      "to",
                                      "days",
                                      "undated"
                                    ]
                                  },
                                  "breaks": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "sources": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "from": {
                                          "type": "string"
                                        },
                                        "to": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "approximate": {
                                          "type": "boolean"
                                        },
                                        "effect": {
                                          "type": "string",
                                          "enum": [
                                            "mark",
                                            "mask"
                                          ]
                                        },
                                        "what": {
                                          "type": "string"
                                        },
                                        "url": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "sources",
                                        "from",
                                        "to",
                                        "approximate",
                                        "effect",
                                        "what",
                                        "url"
                                      ]
                                    }
                                  },
                                  "periods": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "properties": {
                                      "has": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "lacks": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      }
                                    },
                                    "required": [
                                      "has",
                                      "lacks"
                                    ]
                                  },
                                  "left_out": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "what": {
                                          "type": "string"
                                        },
                                        "count": {
                                          "type": "integer"
                                        },
                                        "why": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "what",
                                        "count",
                                        "why"
                                      ]
                                    }
                                  },
                                  "caveats": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "required": [
                                  "sources",
                                  "independent",
                                  "window",
                                  "compare",
                                  "method",
                                  "sample",
                                  "breaks",
                                  "periods",
                                  "left_out",
                                  "caveats"
                                ]
                              },
                              "choices": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string"
                                    },
                                    "label": {
                                      "type": "string"
                                    },
                                    "options": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "value": {
                                            "type": "string"
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "params": {
                                            "type": "object",
                                            "additionalProperties": {
                                              "type": "string"
                                            }
                                          },
                                          "unset": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "required": [
                                          "value",
                                          "label",
                                          "params"
                                        ]
                                      }
                                    },
                                    "selected": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "label",
                                    "options",
                                    "selected"
                                  ]
                                }
                              },
                              "computed_at": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "numbers",
                              "params",
                              "figures",
                              "columns",
                              "rows",
                              "evidence",
                              "basis",
                              "computed_at"
                            ]
                          },
                          "error": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "message": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "code",
                              "message"
                            ]
                          }
                        },
                        "required": [
                          "asked_at",
                          "answer",
                          "error"
                        ]
                      }
                    },
                    "cited": {
                      "type": "object",
                      "additionalProperties": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "quote",
                              "signal",
                              "passage",
                              "record"
                            ]
                          },
                          "id": {
                            "type": "string"
                          },
                          "text": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": "string"
                          },
                          "cite": {
                            "type": "string"
                          },
                          "rating": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "people": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "as": {
                                  "type": "string",
                                  "enum": [
                                    "reviewer",
                                    "writer",
                                    "author",
                                    "coauthor",
                                    "tagged",
                                    "named"
                                  ]
                                },
                                "name": {
                                  "type": "string"
                                },
                                "handle": {
                                  "type": "string"
                                },
                                "role": {
                                  "type": "string"
                                },
                                "picture": {
                                  "type": "object",
                                  "properties": {
                                    "from": {
                                      "type": "string"
                                    },
                                    "copy_url": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "from"
                                  ]
                                },
                                "profile": {
                                  "type": "string"
                                },
                                "location": {
                                  "type": "string"
                                },
                                "badges": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "street": {
                                  "type": "string"
                                },
                                "phone": {
                                  "type": "string"
                                },
                                "email": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "as"
                              ]
                            }
                          },
                          "speaker_confirmed": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "tie": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "tie": {
                                "type": "string",
                                "enum": [
                                  "staff",
                                  "former_staff",
                                  "rival",
                                  "customer",
                                  "partner",
                                  "adviser",
                                  "practitioner",
                                  "academic",
                                  "unknown"
                                ]
                              },
                              "rival": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "how": {
                                "type": "string",
                                "enum": [
                                  "role_on_day",
                                  "role_ended",
                                  "rival_role",
                                  "model",
                                  "unconfirmed",
                                  "nothing_read"
                                ]
                              },
                              "why": {
                                "type": "string"
                              },
                              "evidence": {
                                "type": "array",
                                "items": {
                                  "oneOf": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "from": {
                                          "type": "string",
                                          "enum": [
                                            "role"
                                          ]
                                        },
                                        "source": {
                                          "type": "string"
                                        },
                                        "source_kind": {
                                          "type": "string"
                                        },
                                        "title": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "company": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "first_on": {
                                          "type": "string"
                                        },
                                        "last_on": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from",
                                        "source",
                                        "source_kind",
                                        "title",
                                        "company",
                                        "first_on",
                                        "last_on"
                                      ]
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "from": {
                                          "type": "string",
                                          "enum": [
                                            "lineup"
                                          ]
                                        },
                                        "episode": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "role": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "company": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "day": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from",
                                        "episode",
                                        "role",
                                        "company",
                                        "day"
                                      ]
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "from": {
                                          "type": "string",
                                          "enum": [
                                            "words"
                                          ]
                                        },
                                        "where": {
                                          "type": "string",
                                          "enum": [
                                            "lineup",
                                            "introduction",
                                            "episode"
                                          ]
                                        },
                                        "words": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from",
                                        "where",
                                        "words"
                                      ]
                                    }
                                  ]
                                }
                              },
                              "model": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "decided_at": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "tie",
                              "rival",
                              "how",
                              "why",
                              "evidence",
                              "model",
                              "decided_at"
                            ]
                          }
                        },
                        "required": [
                          "kind",
                          "id",
                          "text",
                          "day",
                          "url",
                          "cite",
                          "rating",
                          "speaker_confirmed"
                        ]
                      }
                    },
                    "sentences": {
                      "type": "object",
                      "additionalProperties": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "transcript": {
                            "type": "string",
                            "maxLength": 64
                          },
                          "turn": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "start": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "end": {
                            "type": "integer",
                            "minimum": 1
                          },
                          "from": {
                            "type": "string",
                            "enum": [
                              "ours",
                              "api-ninjas"
                            ]
                          },
                          "text": {
                            "type": "string"
                          },
                          "speaker": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "role": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "role",
                              "company"
                            ]
                          },
                          "speaker_confirmed": {
                            "type": "boolean"
                          },
                          "chapter": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "title": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "title"
                            ]
                          },
                          "event": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "date": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "title",
                              "date"
                            ]
                          },
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "shown": {
                            "type": "string",
                            "enum": [
                              "passages",
                              "whole"
                            ]
                          }
                        },
                        "required": [
                          "transcript",
                          "turn",
                          "start",
                          "end",
                          "from",
                          "text",
                          "speaker",
                          "speaker_confirmed",
                          "chapter",
                          "event",
                          "company",
                          "shown"
                        ]
                      }
                    },
                    "check": {
                      "type": "object",
                      "properties": {
                        "passes": {
                          "type": "boolean"
                        },
                        "problems": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "where": {
                                "type": "string"
                              },
                              "problem": {
                                "type": "string"
                              },
                              "refused": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "where",
                              "problem",
                              "refused"
                            ]
                          }
                        },
                        "pending": {
                          "type": "boolean"
                        },
                        "running": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "passes",
                        "problems"
                      ]
                    },
                    "pages_needed": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "company",
                              "market",
                              "financials",
                              "customer",
                              "competitive",
                              "marketing",
                              "news",
                              "trends",
                              "expert",
                              "risks",
                              "players",
                              "profiles"
                            ]
                          },
                          {
                            "type": "string",
                            "maxLength": 48,
                            "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                          }
                        ]
                      }
                    },
                    "target_added": {
                      "type": "boolean"
                    },
                    "covers": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "company",
                              "market",
                              "financials",
                              "customer",
                              "competitive",
                              "marketing",
                              "news",
                              "trends",
                              "expert",
                              "risks",
                              "players",
                              "profiles"
                            ]
                          },
                          {
                            "type": "string",
                            "maxLength": 48,
                            "pattern": "^x-[a-z0-9]+(?:-[a-z0-9]+)*$"
                          },
                          {
                            "type": "string",
                            "enum": [
                              "overview",
                              "plan"
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "required": [
                    "id",
                    "company",
                    "title",
                    "status",
                    "rev",
                    "problems",
                    "playbook",
                    "saved_by",
                    "created_at",
                    "updated_at",
                    "checked_at",
                    "pages",
                    "report",
                    "filled",
                    "answers",
                    "cited",
                    "check",
                    "pages_needed"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Reports"
        ],
        "x-mint": {
          "content": "**MCP tool:** `check_report`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/diligence-reports/{id}/appendix": {
      "get": {
        "operationId": "getDiligenceReportAppendix",
        "summary": "A diligence report's appendix: the data behind it, counted now",
        "description": "The data behind one of your team's diligence reports, counted now by PodData from what it read, never written by a model: what the report covers, for the block that opens it (`about`: each section it has written, with its question on a report written as one document; each confirmed rival, then its listed parent and comparables, with how many exhibits ask about each, `compared: false` where none does; what was read by family, with the rows held for the target and for every company and their first and last day; and the pages from the web: how many from how many sites, cited how often by section, and how many citations open a kept copy); how the report itself was prepared (`prepared`: who saved it last, as a kind, with the key or the run, its playbook and version, when it was made, saved and checked and whether as shared, and how its figures are filled, as counts: the exhibits and the number tools they ask, the figures quoted from the web, the pages from the web and how many are kept whole, and the quotes, reviews, passages and records cited); every page from the web its pages cite, in their order, with its site, day, figures and the document that keeps it (`web`); the companies it reads (the target, its confirmed rivals, its listed parent and comparables), how many links, sources and rows, and the target's read; the checks that tie each row to its company, each with its rule: links confirmed, review and profile rows whose address sits under the company's confirmed page, stories and threads whose words name their company (with each that doesn't, and what it is), videos naming it, and a read of the target's category's threads and videos counted apart, as people in its market who never name it, what's held beside each platform's own count and rating, and rows with their address; what to read with care: a known break at a source, rows another company's read found, a read holding fewer than the platform shows; each source with its counts by company, the fields its rows carry and two rows from its file, each with its words whole, the people it names (a review's reviewer, a post's author, a record's officers or parties, as the source shows them), the confirmed link its address sits under, as the profile check reads it, and its file in the target's folder as the zip names it, or why it's held back; every source that holds nothing for the target, with why; and when its links were confirmed.\n\n**Before:** The report, from `GET /diligence-reports` or `POST /diligence-reports`, on a target PodData has read: `GET /targets/{company}/coverage` says what has been.\n\n**Next:** Read a source's rows whole with `GET /companies/{id}/signals` and `GET /companies/{id}/records`, or download them with `GET /targets/{company}/folder?format=zip`.\n\n**Limits:** One `api` call. It's counted when asked, as a report's figures are, so two reads can differ while a read is going. A source's words whole, with the people each row names.",
        "x-mcp-tool": "get_report_appendix",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/appendix' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The report's appendix",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "report": {
                        "id": "dlr_01JD9K4M5N6P00000000000000",
                        "title": "Northwind Dental",
                        "status": "draft",
                        "rev": 3
                      },
                      "company": {
                        "id": "northwind-dental",
                        "name": "Northwind Dental",
                        "mark": null
                      },
                      "asked_at": "2026-11-14T09:10:00.000Z",
                      "companies": [
                        {
                          "id": "northwind-dental",
                          "name": "Northwind Dental",
                          "role": "target"
                        },
                        {
                          "id": "cedar-dental",
                          "name": "Cedar Dental",
                          "role": "rival"
                        }
                      ],
                      "opening": {
                        "links": 4,
                        "sources": 2,
                        "rows": 63,
                        "from": "2023-02-01",
                        "to": "2026-11-12",
                        "read": null,
                        "counted": {
                          "read": 2,
                          "due": 0,
                          "failed": 0,
                          "waiting": 1,
                          "off_here": 0,
                          "by_request": 0,
                          "not_read": 0,
                          "not_built": 0,
                          "not_applicable": 0
                        }
                      },
                      "checks": {
                        "links": {
                          "confirmed": 4,
                          "proposed": 0,
                          "struck": 1,
                          "rivals": {
                            "confirmed": 1,
                            "proposed": 2,
                            "struck": 0
                          }
                        },
                        "profiles": {
                          "ok": 60,
                          "failed": 0,
                          "unaddressed": 0,
                          "total": 60,
                          "sources": [
                            {
                              "source": "google-maps",
                              "ok": 60,
                              "failed": 0,
                              "unaddressed": 0,
                              "total": 60
                            }
                          ]
                        },
                        "stories": {
                          "named": 2,
                          "total": 3,
                          "unnamed": [
                            {
                              "company": "northwind-dental",
                              "source": "gdelt",
                              "kind": "story",
                              "id": "sig_01JD9P0000000000000000000A",
                              "day": "2026-08-02",
                              "url": "https://news.example.com/dental-roundup",
                              "words": "Ten dental groups to watch this year…",
                              "what": "past_cut"
                            }
                          ],
                          "market": 0
                        },
                        "videos": {
                          "named": 0,
                          "total": 0,
                          "channel": 0,
                          "market": 0
                        },
                        "platforms": [
                          {
                            "source": "google-maps",
                            "company": "northwind-dental",
                            "held": 41,
                            "total": 41,
                            "rating": 4.4
                          },
                          {
                            "source": "google-maps",
                            "company": "cedar-dental",
                            "held": 19,
                            "total": 52,
                            "rating": 4.1
                          }
                        ],
                        "addressed": {
                          "ok": 63,
                          "total": 63
                        }
                      },
                      "care": [
                        {
                          "kind": "capped",
                          "source": "google-maps",
                          "company": "cedar-dental",
                          "rows": 19,
                          "what": "The newest 19 of the 52 the platform shows.",
                          "from": null,
                          "to": null,
                          "url": null
                        }
                      ],
                      "sources": [
                        {
                          "source": "gdelt",
                          "kind": "story",
                          "shape": "signals",
                          "name": "GDELT DOC 2.0 news API",
                          "family": {
                            "id": "news",
                            "name": "News, wires and deals"
                          },
                          "needs": [
                            "domain"
                          ],
                          "from": "2025-03-04",
                          "to": "2026-08-02",
                          "method": "gdelt:doc-2.0",
                          "filter": "stories naming Northwind Dental",
                          "sort": "datedesc",
                          "fields": [
                            "signal_id",
                            "source",
                            "kind",
                            "day",
                            "rating",
                            "excerpt",
                            "url",
                            "read",
                            "sort",
                            "filter",
                            "method",
                            "platform_total",
                            "platform_rating"
                          ],
                          "counts": [
                            {
                              "company": "northwind-dental",
                              "rows": 3
                            }
                          ],
                          "rows": [
                            {
                              "company": "northwind-dental",
                              "id": "sig_01JD9P0000000000000000000A",
                              "day": "2026-08-02",
                              "rating": null,
                              "words": "Ten dental groups to watch this year…",
                              "cut": null,
                              "fields": {},
                              "people": [],
                              "url": "https://news.example.com/dental-roundup",
                              "under": null,
                              "file": {
                                "name": "target/signals/gdelt--story.csv",
                                "held": null
                              }
                            }
                          ]
                        },
                        {
                          "source": "google-maps",
                          "kind": "review",
                          "shape": "signals",
                          "name": "Google Maps reviews and listings",
                          "family": {
                            "id": "reviews",
                            "name": "Reviews"
                          },
                          "needs": [
                            "google_place"
                          ],
                          "from": "2023-02-01",
                          "to": "2026-11-12",
                          "method": "fixture",
                          "filter": null,
                          "sort": "newest",
                          "fields": [
                            "signal_id",
                            "source",
                            "kind",
                            "day",
                            "rating",
                            "excerpt",
                            "url",
                            "read",
                            "sort",
                            "filter",
                            "method",
                            "platform_total",
                            "platform_rating"
                          ],
                          "counts": [
                            {
                              "company": "northwind-dental",
                              "rows": 41
                            },
                            {
                              "company": "cedar-dental",
                              "rows": 19
                            }
                          ],
                          "rows": [
                            {
                              "company": "northwind-dental",
                              "id": "sig_01JD9P0000000000000000000B",
                              "day": "2026-11-12",
                              "rating": 5,
                              "words": "Booked the same week and the hygienist was kind.",
                              "cut": null,
                              "fields": {},
                              "people": [
                                {
                                  "as": "reviewer",
                                  "name": "Sam R.",
                                  "badges": [
                                    "Local Guide · 4 reviews"
                                  ]
                                }
                              ],
                              "url": "https://www.google.com/maps/reviews/example",
                              "under": null,
                              "file": {
                                "name": "target/signals/google-maps--review.csv",
                                "held": null
                              }
                            }
                          ]
                        }
                      ],
                      "not_held": [
                        {
                          "id": "yelp",
                          "name": "Yelp",
                          "family": {
                            "id": "reviews",
                            "name": "Reviews"
                          },
                          "stands": "waiting",
                          "why": "It reads against a confirmed yelp_business, and Northwind Dental has none confirmed."
                        }
                      ],
                      "gathered": {
                        "links_from": "2026-11-13T10:00:00.000Z",
                        "links_to": "2026-11-13T10:20:00.000Z",
                        "profiles_from": "2026-11-13T10:05:00.000Z",
                        "profiles_to": "2026-11-13T10:20:00.000Z"
                      },
                      "prepared": {
                        "saved_by": "key",
                        "key": "key_01JD9H6J7K8M00000000000000",
                        "run": null,
                        "playbook": "2",
                        "rev": 3,
                        "created_at": "2026-11-14T08:00:00.000Z",
                        "updated_at": "2026-11-14T09:05:00.000Z",
                        "checked_at": null,
                        "shared": false,
                        "figures": {
                          "exhibits": 1,
                          "tools": [
                            {
                              "name": "rating_rivals",
                              "exhibits": 1
                            }
                          ],
                          "web_figures": 0,
                          "web_pages": 0,
                          "web_kept": 0,
                          "cited": {
                            "quotes": 0,
                            "signals": 1,
                            "passages": 0,
                            "records": 0
                          }
                        }
                      },
                      "web": [],
                      "about": {
                        "sections": [
                          {
                            "id": "customer",
                            "name": "Customer analysis",
                            "question": null
                          }
                        ],
                        "rivals": [
                          {
                            "id": "cedar-dental",
                            "name": "Cedar Dental",
                            "role": "rival",
                            "exhibits": 1,
                            "compared": true
                          }
                        ],
                        "read": [
                          {
                            "family": {
                              "id": "news",
                              "name": "News, wires and deals"
                            },
                            "sources": [
                              "GDELT DOC 2.0 news API"
                            ],
                            "target": 3,
                            "all": 3,
                            "from": "2025-03-04",
                            "to": "2026-08-02"
                          },
                          {
                            "family": {
                              "id": "reviews",
                              "name": "Reviews"
                            },
                            "sources": [
                              "Google Maps reviews and listings"
                            ],
                            "target": 41,
                            "all": 60,
                            "from": "2023-02-01",
                            "to": "2026-11-12"
                          }
                        ],
                        "web": {
                          "pages": 0,
                          "sites": 0,
                          "cited": 0,
                          "by_section": [],
                          "kept": 0,
                          "figures": 0,
                          "from": null,
                          "to": null
                        }
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "report": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "rev": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "id",
                        "title",
                        "status",
                        "rev"
                      ]
                    },
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "mark": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "mark"
                      ]
                    },
                    "asked_at": {
                      "type": "string"
                    },
                    "companies": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "role": {
                            "type": "string",
                            "enum": [
                              "target",
                              "rival",
                              "parent",
                              "comparable",
                              "subsidiary",
                              "market",
                              "player"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "role"
                        ]
                      }
                    },
                    "opening": {
                      "type": "object",
                      "properties": {
                        "links": {
                          "type": "integer"
                        },
                        "sources": {
                          "type": "integer"
                        },
                        "rows": {
                          "type": "integer"
                        },
                        "from": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "to": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "read": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "asked_at": {
                              "type": "string"
                            },
                            "until": {
                              "type": "string"
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "going",
                                "done",
                                "held"
                              ]
                            },
                            "queued": {
                              "type": "integer"
                            },
                            "ran": {
                              "type": "integer"
                            },
                            "left": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "state": {
                                    "type": "string",
                                    "enum": [
                                      "going",
                                      "held"
                                    ]
                                  },
                                  "why": {
                                    "type": "string"
                                  },
                                  "opens": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "id",
                                  "name",
                                  "state",
                                  "why",
                                  "opens"
                                ]
                              }
                            },
                            "why": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "asked_at",
                            "until",
                            "state",
                            "queued",
                            "ran",
                            "left",
                            "why"
                          ]
                        },
                        "counted": {
                          "type": "object",
                          "properties": {
                            "read": {
                              "type": "integer"
                            },
                            "due": {
                              "type": "integer"
                            },
                            "failed": {
                              "type": "integer",
                              "description": "Sources whose latest run failed with no read before it that ended well; always given, optional for a count made before it"
                            },
                            "waiting": {
                              "type": "integer"
                            },
                            "off_here": {
                              "type": "integer"
                            },
                            "by_request": {
                              "type": "integer"
                            },
                            "not_read": {
                              "type": "integer"
                            },
                            "not_built": {
                              "type": "integer"
                            },
                            "not_applicable": {
                              "type": "integer",
                              "description": "Sources that can't hold a company of the kind the team's report names; always given, optional for a count made before it"
                            }
                          },
                          "required": [
                            "read",
                            "due",
                            "waiting",
                            "off_here",
                            "by_request",
                            "not_read",
                            "not_built"
                          ]
                        }
                      },
                      "required": [
                        "links",
                        "sources",
                        "rows",
                        "from",
                        "to",
                        "read",
                        "counted"
                      ]
                    },
                    "checks": {
                      "type": "object",
                      "properties": {
                        "links": {
                          "type": "object",
                          "properties": {
                            "confirmed": {
                              "type": "integer"
                            },
                            "proposed": {
                              "type": "integer"
                            },
                            "struck": {
                              "type": "integer"
                            },
                            "rivals": {
                              "type": "object",
                              "properties": {
                                "confirmed": {
                                  "type": "integer"
                                },
                                "proposed": {
                                  "type": "integer"
                                },
                                "struck": {
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "confirmed",
                                "proposed",
                                "struck"
                              ]
                            }
                          },
                          "required": [
                            "confirmed",
                            "proposed",
                            "struck",
                            "rivals"
                          ]
                        },
                        "profiles": {
                          "type": "object",
                          "properties": {
                            "ok": {
                              "type": "integer"
                            },
                            "failed": {
                              "type": "integer"
                            },
                            "unaddressed": {
                              "type": "integer"
                            },
                            "total": {
                              "type": "integer"
                            },
                            "sources": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "ok": {
                                    "type": "integer"
                                  },
                                  "failed": {
                                    "type": "integer"
                                  },
                                  "unaddressed": {
                                    "type": "integer"
                                  },
                                  "total": {
                                    "type": "integer"
                                  },
                                  "source": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "ok",
                                  "failed",
                                  "unaddressed",
                                  "total",
                                  "source"
                                ]
                              }
                            }
                          },
                          "required": [
                            "ok",
                            "failed",
                            "unaddressed",
                            "total",
                            "sources"
                          ]
                        },
                        "stories": {
                          "type": "object",
                          "properties": {
                            "named": {
                              "type": "integer"
                            },
                            "total": {
                              "type": "integer"
                            },
                            "unnamed": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "company": {
                                    "type": "string"
                                  },
                                  "source": {
                                    "type": "string"
                                  },
                                  "kind": {
                                    "type": "string"
                                  },
                                  "id": {
                                    "type": "string"
                                  },
                                  "day": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "url": {
                                    "type": "string"
                                  },
                                  "words": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "what": {
                                    "type": "string",
                                    "enum": [
                                      "list",
                                      "comments",
                                      "past_cut"
                                    ]
                                  }
                                },
                                "required": [
                                  "company",
                                  "source",
                                  "kind",
                                  "id",
                                  "day",
                                  "url",
                                  "words",
                                  "what"
                                ]
                              }
                            },
                            "market": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "named",
                            "total",
                            "unnamed",
                            "market"
                          ]
                        },
                        "videos": {
                          "type": "object",
                          "properties": {
                            "named": {
                              "type": "integer"
                            },
                            "total": {
                              "type": "integer"
                            },
                            "channel": {
                              "type": "integer"
                            },
                            "market": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "named",
                            "total",
                            "channel",
                            "market"
                          ]
                        },
                        "platforms": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": "string"
                              },
                              "held": {
                                "type": "integer"
                              },
                              "total": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "source",
                              "company",
                              "held",
                              "total",
                              "rating"
                            ]
                          }
                        },
                        "addressed": {
                          "type": "object",
                          "properties": {
                            "ok": {
                              "type": "integer"
                            },
                            "total": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "ok",
                            "total"
                          ]
                        }
                      },
                      "required": [
                        "links",
                        "profiles",
                        "stories",
                        "videos",
                        "platforms",
                        "addressed"
                      ]
                    },
                    "care": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "break",
                              "through_rival",
                              "capped"
                            ]
                          },
                          "source": {
                            "type": "string"
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "rows": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "what": {
                            "type": "string"
                          },
                          "from": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "to": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "kind",
                          "source",
                          "company",
                          "rows",
                          "what",
                          "from",
                          "to",
                          "url"
                        ]
                      }
                    },
                    "sources": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "source": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "shape": {
                            "type": "string",
                            "enum": [
                              "records",
                              "signals",
                              "pages"
                            ]
                          },
                          "name": {
                            "type": "string"
                          },
                          "family": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "needs": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "string"
                            }
                          },
                          "from": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "to": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "method": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "filter": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "sort": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "fields": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "counts": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "company": {
                                  "type": "string"
                                },
                                "rows": {
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "company",
                                "rows"
                              ]
                            }
                          },
                          "rows": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "company": {
                                  "type": "string"
                                },
                                "id": {
                                  "type": "string"
                                },
                                "day": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "rating": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "words": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "cut": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "fields": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                },
                                "people": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "as": {
                                        "type": "string",
                                        "enum": [
                                          "reviewer",
                                          "writer",
                                          "author",
                                          "coauthor",
                                          "tagged",
                                          "named"
                                        ]
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "handle": {
                                        "type": "string"
                                      },
                                      "role": {
                                        "type": "string"
                                      },
                                      "picture": {
                                        "type": "object",
                                        "properties": {
                                          "from": {
                                            "type": "string"
                                          },
                                          "copy_url": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "from"
                                        ]
                                      },
                                      "profile": {
                                        "type": "string"
                                      },
                                      "location": {
                                        "type": "string"
                                      },
                                      "badges": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "street": {
                                        "type": "string"
                                      },
                                      "phone": {
                                        "type": "string"
                                      },
                                      "email": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "as"
                                    ]
                                  }
                                },
                                "url": {
                                  "type": "string"
                                },
                                "under": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "string"
                                    },
                                    "confirmed_at": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "value",
                                    "confirmed_at"
                                  ]
                                },
                                "file": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "held": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "held"
                                  ]
                                }
                              },
                              "required": [
                                "company",
                                "id",
                                "day",
                                "rating",
                                "words",
                                "cut",
                                "fields",
                                "url",
                                "under",
                                "file"
                              ]
                            }
                          }
                        },
                        "required": [
                          "source",
                          "kind",
                          "shape",
                          "name",
                          "family",
                          "needs",
                          "from",
                          "to",
                          "method",
                          "filter",
                          "sort",
                          "fields",
                          "counts",
                          "rows"
                        ]
                      }
                    },
                    "not_held": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "family": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "stands": {
                            "type": "string",
                            "enum": [
                              "read",
                              "due",
                              "failed",
                              "waiting",
                              "off_here",
                              "by_request",
                              "not_read",
                              "not_built",
                              "not_applicable"
                            ]
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "family",
                          "stands",
                          "why"
                        ]
                      }
                    },
                    "gathered": {
                      "type": "object",
                      "properties": {
                        "links_from": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "links_to": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "profiles_from": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "profiles_to": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "links_from",
                        "links_to",
                        "profiles_from",
                        "profiles_to"
                      ]
                    },
                    "prepared": {
                      "type": "object",
                      "properties": {
                        "saved_by": {
                          "type": "string",
                          "enum": [
                            "key",
                            "member",
                            "agent"
                          ]
                        },
                        "key": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "run": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "playbook": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "rev": {
                          "type": "integer"
                        },
                        "created_at": {
                          "type": "string"
                        },
                        "updated_at": {
                          "type": "string"
                        },
                        "checked_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shared": {
                          "type": "boolean"
                        },
                        "figures": {
                          "type": "object",
                          "properties": {
                            "exhibits": {
                              "type": "integer"
                            },
                            "tools": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "exhibits": {
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "name",
                                  "exhibits"
                                ]
                              }
                            },
                            "web_figures": {
                              "type": "integer"
                            },
                            "web_pages": {
                              "type": "integer"
                            },
                            "web_kept": {
                              "type": "integer"
                            },
                            "cited": {
                              "type": "object",
                              "properties": {
                                "quotes": {
                                  "type": "integer"
                                },
                                "signals": {
                                  "type": "integer"
                                },
                                "passages": {
                                  "type": "integer"
                                },
                                "records": {
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "quotes",
                                "signals",
                                "passages",
                                "records"
                              ]
                            }
                          },
                          "required": [
                            "exhibits",
                            "tools",
                            "web_figures",
                            "web_pages",
                            "web_kept",
                            "cited"
                          ]
                        }
                      },
                      "required": [
                        "saved_by",
                        "key",
                        "run",
                        "playbook",
                        "rev",
                        "created_at",
                        "updated_at",
                        "checked_at",
                        "shared",
                        "figures"
                      ]
                    },
                    "web": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "page": {
                            "type": "string"
                          },
                          "id": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "title": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "site": {
                            "type": "string"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "day_from": {
                            "type": "string",
                            "enum": [
                              "page",
                              "none"
                            ]
                          },
                          "read_at": {
                            "type": "string"
                          },
                          "figures": {
                            "type": "integer"
                          },
                          "document": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "page",
                          "id",
                          "title",
                          "url",
                          "site",
                          "day",
                          "day_from",
                          "read_at",
                          "figures",
                          "document"
                        ]
                      }
                    },
                    "about": {
                      "type": "object",
                      "properties": {
                        "sections": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "question": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "question"
                            ]
                          }
                        },
                        "rivals": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "role": {
                                "type": "string",
                                "enum": [
                                  "rival",
                                  "parent",
                                  "comparable",
                                  "subsidiary",
                                  "player"
                                ]
                              },
                              "exhibits": {
                                "type": "integer"
                              },
                              "compared": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "role",
                              "exhibits",
                              "compared"
                            ]
                          }
                        },
                        "read": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "family": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name"
                                    ]
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sources": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "target": {
                                "type": "integer"
                              },
                              "all": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "family",
                              "sources",
                              "target",
                              "all",
                              "from",
                              "to"
                            ]
                          }
                        },
                        "web": {
                          "type": "object",
                          "properties": {
                            "pages": {
                              "type": "integer"
                            },
                            "sites": {
                              "type": "integer"
                            },
                            "cited": {
                              "type": "integer"
                            },
                            "by_section": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "cited": {
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name",
                                  "cited"
                                ]
                              }
                            },
                            "kept": {
                              "type": "integer"
                            },
                            "figures": {
                              "type": "integer"
                            },
                            "from": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "pages",
                            "sites",
                            "cited",
                            "by_section",
                            "kept",
                            "figures",
                            "from",
                            "to"
                          ]
                        }
                      },
                      "required": [
                        "sections",
                        "rivals",
                        "read",
                        "web"
                      ]
                    }
                  },
                  "required": [
                    "report",
                    "company",
                    "asked_at",
                    "companies",
                    "opening",
                    "checks",
                    "care",
                    "sources",
                    "not_held",
                    "gathered",
                    "prepared",
                    "web",
                    "about"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Reports"
        ],
        "x-mint": {
          "content": "**MCP tool:** `get_report_appendix`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/diligence-reports/{id}/evidence/{exhibit}": {
      "get": {
        "operationId": "getDiligenceReportEvidence",
        "summary": "An exhibit's evidence, each item whole: a page at a time",
        "description": "What stands behind one exhibit of one of your team's diligence reports, each item whole, in the order the exhibit lists it: a review, a post or an ad as `signal`, with its title and each of its answers whole (`fields`) and who wrote it as its platform shows them (`people`); a record as `record`, with its fields; a quote as `quote`, with its speaker and the second it was said; a passage of a filing as `passage`, with its words and its page. A filing at its figures, a page and a platform's own count are whole in `item` already. `row` narrows it to the items behind one row, as the report's evidence tabs do. The exhibit's number tool is asked now, as a read of the report asks it, so the items are those it lists at that moment.\n\n**Before:** The report's id and an exhibit's id, from `GET /diligence-reports/{id}`: each exhibit that names a number tool lists its evidence in `answers[exhibit].answer.evidence`, without the words.\n\n**Next:** A filing opens at its figures with `GET /documents/{id}/pages`, and a passage in its whole document with `GET /passages/{id}/source`. What a record's or a review's source sent is `GET /raw/{id}`, where `raw` names it.\n\n**Limits:** One `api` call a page, at most 50 items, 20 unless asked. A signal or a record under a company your team can't see is null beside its item. For a key, a passage counts against its document's 20 a day, as `GET /passages/{id}/source` counts it, and one past that is null. The exhibit's `evidence.more` aren't listed here either: ask its number tool for those. An exhibit the report doesn't have, or one with no figures, is a `404`.",
        "x-mcp-tool": "get_report_evidence",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/evidence/customer-1' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The exhibit's id, as the report names it"
            },
            "required": true,
            "description": "The exhibit's id, as the report names it",
            "name": "exhibit",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200,
              "description": "Only the items that stand behind this row, by its key"
            },
            "required": false,
            "description": "Only the items that stand behind this row, by its key",
            "name": "row",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of the exhibit's evidence, whole",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "item": {
                            "kind": "signal",
                            "id": "sig_01JD9C5E6F7G00000000000000",
                            "source": "google-maps",
                            "company": "northwind-dental",
                            "link": "cln_01JD8X4K2N3R00000000000000",
                            "day": "2026-11-09",
                            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_made_up_riverside",
                            "row": "northwind-dental",
                            "rating": 2,
                            "text": null
                          },
                          "signal": {
                            "id": "sig_01JD9C5E6F7G00000000000000",
                            "source": "google-maps",
                            "kind": "review",
                            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_made_up_riverside",
                            "day": "2026-11-09",
                            "rating": 2,
                            "counts": {
                              "replied": 0
                            },
                            "excerpt": "Waited forty minutes past my appointment and the front desk never said why.",
                            "text": "Waited forty minutes past my appointment and the front desk never said why. The cleaning itself was fine and the hygienist was kind.",
                            "cut": null,
                            "fields": {
                              "title": "Long wait, kind hygienist",
                              "review": "Waited forty minutes past my appointment and the front desk never said why. The cleaning itself was fine and the hygienist was kind.",
                              "reviewer": {
                                "name": "Jordan P.",
                                "profile": "https://www.google.com/maps/contrib/100000000000000000001",
                                "badges": [
                                  "Local Guide · 23 reviews"
                                ]
                              }
                            },
                            "people": [
                              {
                                "as": "reviewer",
                                "name": "Jordan P.",
                                "profile": "https://www.google.com/maps/contrib/100000000000000000001",
                                "badges": [
                                  "Local Guide · 23 reviews"
                                ]
                              }
                            ],
                            "codes": null,
                            "document": null,
                            "raw": null,
                            "raws": [],
                            "media": null,
                            "pull": {
                              "captured_at": "2026-11-14T06:12:00.000Z",
                              "sort": "newest",
                              "filter": null,
                              "method": "vendor",
                              "total": 412,
                              "rating": 4.3,
                              "histogram": null,
                              "scores": null,
                              "alternatives": null
                            }
                          },
                          "record": null,
                          "quote": null,
                          "passage": null
                        }
                      ],
                      "total": 19,
                      "next": "ZXZpZGVuY2UfMjAfc2lnXzAxSkQ5QzVFNkY3RzAwMDAwMDAwMDAwMDAw"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "item": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "signal",
                                  "record",
                                  "document",
                                  "quote",
                                  "snapshot"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "company": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "row": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "column": {
                                "type": "string"
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              },
                              "facts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "line": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "concept": {
                                      "type": "string"
                                    },
                                    "axis": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "member": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "start_on": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "end_on": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    },
                                    "worked_from": {
                                      "type": [
                                        "array",
                                        "null"
                                      ],
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "label": {
                                            "type": "string"
                                          },
                                          "line": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "concept": {
                                            "type": "string"
                                          },
                                          "axis": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "member": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "start_on": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "end_on": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "form": {
                                            "type": "string"
                                          },
                                          "filed_on": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "label",
                                          "line",
                                          "concept",
                                          "axis",
                                          "member",
                                          "start_on",
                                          "end_on",
                                          "value",
                                          "document",
                                          "url",
                                          "form",
                                          "filed_on"
                                        ]
                                      }
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "line",
                                    "concept",
                                    "axis",
                                    "member",
                                    "start_on",
                                    "end_on",
                                    "value",
                                    "worked_from"
                                  ]
                                }
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "source",
                              "company",
                              "link",
                              "day",
                              "url",
                              "row",
                              "rating",
                              "text"
                            ]
                          },
                          "signal": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "kind": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "rating": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "counts": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {
                                  "type": "number"
                                }
                              },
                              "excerpt": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "cut": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "fields": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {}
                              },
                              "people": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "as": {
                                      "type": "string",
                                      "enum": [
                                        "reviewer",
                                        "writer",
                                        "author",
                                        "coauthor",
                                        "tagged",
                                        "named"
                                      ]
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "handle": {
                                      "type": "string"
                                    },
                                    "role": {
                                      "type": "string"
                                    },
                                    "picture": {
                                      "type": "object",
                                      "properties": {
                                        "from": {
                                          "type": "string"
                                        },
                                        "copy_url": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from"
                                      ]
                                    },
                                    "profile": {
                                      "type": "string"
                                    },
                                    "location": {
                                      "type": "string"
                                    },
                                    "badges": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      }
                                    },
                                    "street": {
                                      "type": "string"
                                    },
                                    "phone": {
                                      "type": "string"
                                    },
                                    "email": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "as"
                                  ]
                                }
                              },
                              "codes": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {}
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "raw": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "raws": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "media": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "image": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "video": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "poster": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "preview": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "image",
                                  "video",
                                  "poster",
                                  "preview"
                                ]
                              },
                              "pull": {
                                "type": "object",
                                "properties": {
                                  "captured_at": {
                                    "type": "string"
                                  },
                                  "sort": {
                                    "type": "string"
                                  },
                                  "filter": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "method": {
                                    "type": "string"
                                  },
                                  "total": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  },
                                  "rating": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  },
                                  "histogram": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "additionalProperties": {
                                      "type": "number"
                                    }
                                  },
                                  "scores": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "additionalProperties": {
                                      "type": "number"
                                    }
                                  },
                                  "alternatives": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "properties": {
                                      "page": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "products": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "name": {
                                              "type": "string"
                                            },
                                            "id": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "page": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "rating": {
                                              "type": [
                                                "number",
                                                "null"
                                              ]
                                            },
                                            "reviews": {
                                              "type": [
                                                "number",
                                                "null"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "name",
                                            "id",
                                            "page",
                                            "rating",
                                            "reviews"
                                          ]
                                        }
                                      }
                                    },
                                    "required": [
                                      "page",
                                      "products"
                                    ]
                                  }
                                },
                                "required": [
                                  "captured_at",
                                  "sort",
                                  "filter",
                                  "method",
                                  "total",
                                  "rating",
                                  "histogram",
                                  "scores",
                                  "alternatives"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "source",
                              "kind",
                              "url",
                              "day",
                              "rating",
                              "counts",
                              "excerpt",
                              "text",
                              "cut",
                              "fields",
                              "codes",
                              "document",
                              "raw",
                              "raws",
                              "media",
                              "pull"
                            ]
                          },
                          "record": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "kind": {
                                "type": "string"
                              },
                              "day": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "title": {
                                "type": "string"
                              },
                              "fields": {
                                "type": "object",
                                "additionalProperties": {}
                              },
                              "people": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "as": {
                                      "type": "string",
                                      "enum": [
                                        "reviewer",
                                        "writer",
                                        "author",
                                        "coauthor",
                                        "tagged",
                                        "named"
                                      ]
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "handle": {
                                      "type": "string"
                                    },
                                    "role": {
                                      "type": "string"
                                    },
                                    "picture": {
                                      "type": "object",
                                      "properties": {
                                        "from": {
                                          "type": "string"
                                        },
                                        "copy_url": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from"
                                      ]
                                    },
                                    "profile": {
                                      "type": "string"
                                    },
                                    "location": {
                                      "type": "string"
                                    },
                                    "badges": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      }
                                    },
                                    "street": {
                                      "type": "string"
                                    },
                                    "phone": {
                                      "type": "string"
                                    },
                                    "email": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "as"
                                  ]
                                }
                              },
                              "text": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "type": "string"
                              },
                              "revisions": {
                                "type": "integer"
                              },
                              "link": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "read": {
                                "type": "string"
                              },
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "raw": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "raws": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "id",
                              "source",
                              "kind",
                              "day",
                              "title",
                              "fields",
                              "text",
                              "url",
                              "revisions",
                              "link",
                              "read",
                              "document",
                              "raw",
                              "raws"
                            ]
                          },
                          "quote": {
                            "anyOf": [
                              {
                                "$ref": "#/components/schemas/Quote"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "passage": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "text": {
                                "type": "string"
                              },
                              "page": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "text",
                              "page"
                            ]
                          }
                        },
                        "required": [
                          "item",
                          "signal",
                          "record",
                          "quote",
                          "passage"
                        ]
                      }
                    },
                    "total": {
                      "type": "integer"
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "total",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Reports"
        ],
        "x-mint": {
          "content": "**MCP tool:** `get_report_evidence`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/diligence-reports/{id}/rows": {
      "get": {
        "operationId": "listDiligenceReportRows",
        "summary": "The rows behind a count in a report: a page at a time, newest first",
        "description": "The rows behind any count in one of your team's diligence reports, newest first: what About this report counts by kind of source, for the target and in all, and what the appendix counts by source and company. They're the rows the report's folder holds, as `GET /targets/{company}/folder` counts its files: each company's records, its signals but a series, and its own site's pages, for the target, the rivals coverage counts and its listed parent and comparables. `company`, `family`, `source` and `kind` narrow it as a count does, and `total` says how many it holds in all, so it matches the count. Each row is as the appendix shows one: its company, day, rating, words whole, fields as a file writes them, the people it names, its address, the confirmed link it sits under where a profile ties its source, and its file in the folder, with its `source`, `kind` and `shape`.\n\n**Before:** The report's id, from `GET /diligence-reports`. The counts, and the ids of its companies, families and sources, are in `GET /diligence-reports/{id}/appendix`: `about.read` by family, `sources[].counts` by source and company.\n\n**Next:** A row opens whole with `GET /signals/{id}` or `GET /records/{id}`, and a site's page with `GET /documents/{id}/pages`. Download a source's rows as a file with `GET /targets/{company}/folder`.\n\n**Limits:** One `api` call a page, at most 100 rows, 50 unless asked. A company that isn't one of the report's is a `404`. A row PodData took in after `until` isn't listed, and nor is a series: the folder counts neither.",
        "x-mcp-tool": "list_report_rows",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/rows?family=reviews&company=northwind-dental' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 80,
              "description": "Only this company's rows, by id: one of the report's companies, as its appendix lists them"
            },
            "required": false,
            "description": "Only this company's rows, by id: one of the report's companies, as its appendix lists them",
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 40,
              "description": "Only this kind of source, by its family id, as About this report counts them: `filings`, `retail`, `shows`… `other` for a source the catalog has no family for"
            },
            "required": false,
            "description": "Only this kind of source, by its family id, as About this report counts them: `filings`, `retail`, `shows`… `other` for a source the catalog has no family for",
            "name": "family",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 80,
              "description": "Only this source, by its catalog id"
            },
            "required": false,
            "description": "Only this source, by its catalog id",
            "name": "source",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 40,
              "description": "Only this kind of row: `review`, `video`, `mention`, `page`…"
            },
            "required": false,
            "description": "Only this kind of row: `review`, `video`, `mention`, `page`…",
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 40,
              "description": "Only the rows PodData held by then, an ISO time: pass the appendix's `asked_at` to list the rows its counts hold"
            },
            "required": false,
            "description": "Only the rows PodData held by then, an ISO time: pass the appendix's `asked_at` to list the rows its counts hold",
            "name": "until",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 400
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            },
            "required": false,
            "name": "limit",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of the rows behind the count",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "company": "northwind-dental",
                          "id": "sig_01JD9C5E6F7G00000000000000",
                          "day": "2026-11-09",
                          "rating": 2,
                          "words": "Waited forty minutes past my appointment and the front desk never said why. The cleaning itself was fine and the hygienist was kind.",
                          "cut": null,
                          "fields": {
                            "replied": "0"
                          },
                          "people": [
                            {
                              "as": "reviewer",
                              "name": "Jordan P.",
                              "profile": "https://www.google.com/maps/contrib/100000000000000000001",
                              "badges": [
                                "Local Guide · 23 reviews"
                              ]
                            }
                          ],
                          "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_made_up_riverside",
                          "under": {
                            "kind": "google_maps_place",
                            "value": "ChIJ_made_up_riverside",
                            "confirmed_at": "2026-11-13T18:02:00.000Z"
                          },
                          "file": {
                            "name": "target/signals/google-maps--review.csv",
                            "held": null
                          },
                          "source": "google-maps",
                          "kind": "review",
                          "shape": "signals"
                        }
                      ],
                      "total": 412,
                      "next": "cm93cx8yMDI2LTExLTA5H3NpZ18wMUpEOUM1RTZGN0cwMDAwMDAwMDAwMDAwMA"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "company": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          },
                          "day": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "rating": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "words": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "cut": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "fields": {
                            "type": "object",
                            "additionalProperties": {
                              "type": "string"
                            }
                          },
                          "people": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "as": {
                                  "type": "string",
                                  "enum": [
                                    "reviewer",
                                    "writer",
                                    "author",
                                    "coauthor",
                                    "tagged",
                                    "named"
                                  ]
                                },
                                "name": {
                                  "type": "string"
                                },
                                "handle": {
                                  "type": "string"
                                },
                                "role": {
                                  "type": "string"
                                },
                                "picture": {
                                  "type": "object",
                                  "properties": {
                                    "from": {
                                      "type": "string"
                                    },
                                    "copy_url": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "from"
                                  ]
                                },
                                "profile": {
                                  "type": "string"
                                },
                                "location": {
                                  "type": "string"
                                },
                                "badges": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "street": {
                                  "type": "string"
                                },
                                "phone": {
                                  "type": "string"
                                },
                                "email": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "as"
                              ]
                            }
                          },
                          "url": {
                            "type": "string"
                          },
                          "under": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "kind": {
                                "type": "string"
                              },
                              "value": {
                                "type": "string"
                              },
                              "confirmed_at": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "value",
                              "confirmed_at"
                            ]
                          },
                          "file": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "held": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "name",
                              "held"
                            ]
                          },
                          "source": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "shape": {
                            "type": "string",
                            "enum": [
                              "records",
                              "signals",
                              "pages"
                            ]
                          }
                        },
                        "required": [
                          "company",
                          "id",
                          "day",
                          "rating",
                          "words",
                          "cut",
                          "fields",
                          "url",
                          "under",
                          "file",
                          "source",
                          "kind",
                          "shape"
                        ]
                      }
                    },
                    "total": {
                      "type": "integer"
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "total",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Reports"
        ],
        "x-mint": {
          "content": "**MCP tool:** `list_report_rows`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/diligence-reports/{id}/web-pages": {
      "post": {
        "operationId": "keepDiligenceWebPage",
        "summary": "Keeps a page from the open web whole under a report's company, for one of its web sources to name, or says why it can't",
        "description": "Keeps one page from the open web whole under the report's company, so it opens beside the report: name the answer's `document` as `document` on the page's web source, and a reader who clicks its figure or its title reads the page's words in the pane, in the workspace and on a private link, with the original a link at its foot. PodData reads the page at its own address, its robots.txt first, and keeps its HTML as read and a Markdown copy. An address that serves a PDF, plain text or a CSV is kept as that file, up to 40 MB, and the viewer opens a PDF page by page. A page held already, under this company, a rival of it or a public one, is named without asking its site again (`held`). A page whose site refuses PodData (403, LinkedIn's 999, a rate limit, a redirect to another site) or doesn't answer is read through Firecrawl, then Exa, and only then kept as the Internet Archive's latest capture, whose address is the answer's `url`; `route` says how the page was read, `own` for PodData's own read. Where nothing is kept, `document` is null and `why` says why: it sent PodData to sign in or subscribe, it isn't free (on any route), it has too few words, or no route got it, each route's answer in turn. That web source keeps `document` null, and its figure opens the page's address in a new tab.\n\n**Before:** The report is your team's, from `POST /diligence-reports`, and the open web is on here. The address is the page's own, as your search found it, not a search result's.\n\n**Next:** Save the page that cites it with `PUT /diligence-reports/{id}/pages/{page}`, its web source naming `document`, then `POST /diligence-reports/{id}/check`. Where `route` isn't `own`, read the kept words with `GET /documents/{id}/pages` before the save: the check refuses a figure whose words the kept page doesn't hold. A kept page's words are split for the viewer minutes later, and a kept file's are read by the documents job within minutes too.\n\n**Limits:** One page a call: ask for several side by side. A call takes a few seconds, up to about 30 for a site that asks for one request in ten, and up to about a minute for a page that goes on past a refusal to Firecrawl, Exa and the Internet Archive. Firecrawl and Exa are paid under the company-site reader's daily cap, and only where that reader is on. A page its robots.txt closes, or on a site whose terms bar collecting its pages by script, is kept all the same, on Rushabh's call of Nov 25, 2026, and the terms kept with it say so; the target's own site's terms, or a confirmed rival's, aren't read.",
        "x-mcp-tool": "keep_web_page",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/web-pages' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"url\":\"https://northwind-dental.example/pricing\"}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "url": "https://northwind-dental.example/pricing"
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2048,
                    "description": "The page's address, as the web search gave it"
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The document that holds the page whole, or why nothing was kept",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "url": "https://northwind-dental.example/pricing",
                      "document": "doc_01JD8X4K2P7S0000000000WEB1",
                      "title": "Pricing | Northwind Dental",
                      "held": false,
                      "route": "own",
                      "why": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "document": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "title": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "held": {
                      "type": "boolean"
                    },
                    "route": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "why": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "url",
                    "document",
                    "title",
                    "held",
                    "route",
                    "why"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Reports"
        ],
        "x-mint": {
          "content": "**MCP tool:** `keep_web_page`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/diligence-reports/{id}/links": {
      "get": {
        "operationId": "listDiligenceReportLinks",
        "summary": "A report's private links, newest first: who made each, when it expires and how often it's been opened, never its address",
        "description": "A report's private links, newest first: each with who it's for, who made it (a person on your team, or one of its keys, by id and name), when it was made, when it expires or was turned off, how often it's been opened and when last, and whether it opens the report now. Each says whether its readers may ask the report questions in a chat (`chat`), and how many chats and messages they've had and what the answers cost, in all and today, UTC (`chats`), never what was asked, which your team reads in the workspace. Beside the links, `chat` says whether readers can ask on any link here at all (while it's false, no link's own `chat` lets them), and `chat_day_cap_usd` the most each link's readers may spend in a UTC day, on your team's account. Never a link's address, which comes back only from the call that makes it.\n\n**Before:** One of your team’s reports, from `GET /diligence-reports`.\n\n**Next:** Make one with `POST /diligence-reports/{id}/links`, turn its chat on or off with `PATCH /diligence-reports/{id}/links/{link}`, or turn it off with `POST /diligence-reports/{id}/links/{link}/off`.\n\n**Limits:** Every link at once.",
        "x-mcp-tool": "list_report_links",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/links' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The report's links",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "id": "drl_01JD9P1Q2R3S00000000000000",
                          "label": "Investment committee",
                          "expires_at": "2026-12-26T15:04:05.000Z",
                          "turned_off_at": null,
                          "created_at": "2026-11-26T15:04:05.000Z",
                          "opens": 3,
                          "last_opened_at": "2026-11-27T09:12:00.000Z",
                          "works": true,
                          "made_by": {
                            "kind": "key",
                            "id": "key_01JD9P1Q2R3S00000000000000",
                            "name": "Diligence scripts"
                          },
                          "chat": true,
                          "chats": {
                            "conversations": 2,
                            "messages": 7,
                            "usd": 0.0214,
                            "today_usd": 0.0062
                          }
                        }
                      ],
                      "chat": true,
                      "chat_day_cap_usd": 2
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "label": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "expires_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "turned_off_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "created_at": {
                            "type": "string"
                          },
                          "opens": {
                            "type": "integer"
                          },
                          "last_opened_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "works": {
                            "type": "boolean"
                          },
                          "made_by": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "person",
                                  "key"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "name"
                            ]
                          },
                          "chat": {
                            "type": "boolean"
                          },
                          "chats": {
                            "type": "object",
                            "properties": {
                              "conversations": {
                                "type": "integer"
                              },
                              "messages": {
                                "type": "integer"
                              },
                              "usd": {
                                "type": "number"
                              },
                              "today_usd": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "conversations",
                              "messages",
                              "usd"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "label",
                          "expires_at",
                          "turned_off_at",
                          "created_at",
                          "opens",
                          "last_opened_at",
                          "works",
                          "made_by",
                          "chat",
                          "chats"
                        ]
                      }
                    },
                    "chat": {
                      "type": "boolean"
                    },
                    "chat_day_cap_usd": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "data",
                    "chat",
                    "chat_day_cap_usd"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Reports"
        ],
        "x-mint": {
          "content": "**MCP tool:** `list_report_links`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      },
      "post": {
        "operationId": "makeDiligenceReportLink",
        "summary": "Makes a private link to a checked report that holds nothing read through a team’s own licence. Its address comes back this once",
        "description": "Makes a private link to a checked report, for someone outside the team to read it at app.poddata.ai without an account: `days`, 7, 30 or 90, or null for a link that never expires, `label`, who it's for, and `chat`, false for a link whose readers may not ask the report questions in a chat on its right, which they may unless you say so. What they ask is answered on your team's account, and your team reads it in the workspace. Its address comes back this once and is never shown again: anyone who holds it reads the report until it expires or is turned off, so keep it out of logs and files and hand it only to the person it's for. The link records who made it, you or your key. A report holding a figure read through your team's own licence can't be shared until it's taken out.\n\n**Before:** The report is checked: `POST /diligence-reports/{id}/check` marks it so when nothing is refused.\n\n**Next:** Send the address to the person it’s for. `GET /diligence-reports/{id}/links` shows how often it’s opened, and `POST /diligence-reports/{id}/links/{link}/off` stops it.\n\n**Limits:** A report that isn’t checked is a `409`, and so is one that holds a figure read through your team’s own licence.",
        "x-mcp-tool": "make_report_link",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/links' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"days\":30,\"label\":\"Investment committee\"}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "days": 30,
                    "label": "Investment committee"
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "days": {
                    "anyOf": [
                      {
                        "type": "number",
                        "enum": [
                          7
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          30
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          90
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "How many days it works: 7, 30 or 90, or null for never. 30 if left out"
                  },
                  "label": {
                    "type": "string",
                    "maxLength": 120,
                    "description": "Who it's for, as you'd write it"
                  },
                  "chat": {
                    "type": "boolean",
                    "description": "Whether its readers may ask the report questions in a chat on the right of the link. On if left out"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Made: its address, shown this once",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "link": {
                        "id": "drl_01JD9P1Q2R3S00000000000000",
                        "label": "Investment committee",
                        "expires_at": "2026-12-26T15:04:05.000Z",
                        "turned_off_at": null,
                        "created_at": "2026-11-26T15:04:05.000Z",
                        "opens": 0,
                        "last_opened_at": null,
                        "works": true,
                        "made_by": {
                          "kind": "key",
                          "id": "key_01JD9P1Q2R3S00000000000000",
                          "name": "Diligence scripts"
                        },
                        "chat": true,
                        "chats": {
                          "conversations": 0,
                          "messages": 0,
                          "usd": 0,
                          "today_usd": 0
                        }
                      },
                      "url": "https://app.poddata.ai/r/q8Lw2mXz7Tn4Hc1Vb9Rk3Ps6Yd0Fg5Ja2Ue8Wo1Ni7"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "link": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "label": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "expires_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "turned_off_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "created_at": {
                          "type": "string"
                        },
                        "opens": {
                          "type": "integer"
                        },
                        "last_opened_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "works": {
                          "type": "boolean"
                        },
                        "made_by": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "person",
                                "key"
                              ]
                            },
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "name"
                          ]
                        },
                        "chat": {
                          "type": "boolean"
                        },
                        "chats": {
                          "type": "object",
                          "properties": {
                            "conversations": {
                              "type": "integer"
                            },
                            "messages": {
                              "type": "integer"
                            },
                            "usd": {
                              "type": "number"
                            },
                            "today_usd": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "conversations",
                            "messages",
                            "usd"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "label",
                        "expires_at",
                        "turned_off_at",
                        "created_at",
                        "opens",
                        "last_opened_at",
                        "works",
                        "made_by",
                        "chat",
                        "chats"
                      ]
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "required": [
                    "link",
                    "url"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Reports"
        ],
        "x-mint": {
          "content": "**MCP tool:** `make_report_link`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/diligence-reports/{id}/links/{link}": {
      "patch": {
        "operationId": "changeDiligenceReportLink",
        "summary": "Changes a private link: whether its readers may ask the report questions in a chat",
        "description": "Turns a private link's chat on or off (`chat`): whether its readers may ask the report questions in a chat on the right of the link, answered on your team's account. Off, its chat answers nothing and a turn going ends, and what was asked stays for your team to read in the workspace. On again, its readers ask again. The link itself still opens the report either way.\n\n**Before:** The link’s id, `drl_…`, from `GET /diligence-reports/{id}/links`.\n\n**Next:** `GET /diligence-reports/{id}/links` shows each link’s switch and what its readers have asked.\n\n**Limits:** A link this report doesn’t have is a `404`. A link turned off or expired keeps its switch, which changes nothing while the link opens nothing.",
        "x-mcp-tool": "change_report_link",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X PATCH 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/links/drl_01JD9P1Q2R3S00000000000000' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"chat\":false}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "link",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "chat": false
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "chat": {
                    "type": "boolean",
                    "description": "Whether its readers may ask the report questions in a chat on the right of the link"
                  }
                },
                "required": [
                  "chat"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The link, changed",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "drl_01JD9P1Q2R3S00000000000000",
                      "label": "Investment committee",
                      "expires_at": "2026-12-26T15:04:05.000Z",
                      "turned_off_at": null,
                      "created_at": "2026-11-26T15:04:05.000Z",
                      "opens": 0,
                      "last_opened_at": null,
                      "works": true,
                      "made_by": {
                        "kind": "key",
                        "id": "key_01JD9P1Q2R3S00000000000000",
                        "name": "Diligence scripts"
                      },
                      "chat": false,
                      "chats": {
                        "conversations": 0,
                        "messages": 0,
                        "usd": 0,
                        "today_usd": 0
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "expires_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "turned_off_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "opens": {
                      "type": "integer"
                    },
                    "last_opened_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "works": {
                      "type": "boolean"
                    },
                    "made_by": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "person",
                            "key"
                          ]
                        },
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "name"
                      ]
                    },
                    "chat": {
                      "type": "boolean"
                    },
                    "chats": {
                      "type": "object",
                      "properties": {
                        "conversations": {
                          "type": "integer"
                        },
                        "messages": {
                          "type": "integer"
                        },
                        "usd": {
                          "type": "number"
                        },
                        "today_usd": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "conversations",
                        "messages",
                        "usd"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "label",
                    "expires_at",
                    "turned_off_at",
                    "created_at",
                    "opens",
                    "last_opened_at",
                    "works",
                    "made_by",
                    "chat",
                    "chats"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Reports"
        ],
        "x-mint": {
          "content": "**MCP tool:** `change_report_link`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/diligence-reports/{id}/links/{link}/off": {
      "post": {
        "operationId": "turnOffDiligenceReportLink",
        "summary": "Turns a private link off for good, at once",
        "description": "Turns a private link off for good, at once: its address opens nothing from then on, whoever made it. It can’t be turned on again. The answer is the report’s links, with that one off.\n\n**Before:** The link’s id, `drl_…`, from `GET /diligence-reports/{id}/links`.\n\n**Next:** Make a new one with `POST /diligence-reports/{id}/links` if it’s still to be shared.\n\n**Limits:** A link this report doesn’t have is a `404`. Turning off one already off changes nothing.",
        "x-mcp-tool": "turn_off_report_link",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/links/drl_01JD9P1Q2R3S00000000000000/off' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "link",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The report's links, with that one off",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "id": "drl_01JD9P1Q2R3S00000000000000",
                          "label": "Investment committee",
                          "expires_at": "2026-12-26T15:04:05.000Z",
                          "turned_off_at": "2026-11-28T10:00:00.000Z",
                          "created_at": "2026-11-26T15:04:05.000Z",
                          "opens": 0,
                          "last_opened_at": null,
                          "works": false,
                          "made_by": {
                            "kind": "key",
                            "id": "key_01JD9P1Q2R3S00000000000000",
                            "name": "Diligence scripts"
                          },
                          "chat": true,
                          "chats": {
                            "conversations": 0,
                            "messages": 0,
                            "usd": 0,
                            "today_usd": 0
                          }
                        }
                      ],
                      "chat": true,
                      "chat_day_cap_usd": 2
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "label": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "expires_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "turned_off_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "created_at": {
                            "type": "string"
                          },
                          "opens": {
                            "type": "integer"
                          },
                          "last_opened_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "works": {
                            "type": "boolean"
                          },
                          "made_by": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "person",
                                  "key"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "id",
                              "name"
                            ]
                          },
                          "chat": {
                            "type": "boolean"
                          },
                          "chats": {
                            "type": "object",
                            "properties": {
                              "conversations": {
                                "type": "integer"
                              },
                              "messages": {
                                "type": "integer"
                              },
                              "usd": {
                                "type": "number"
                              },
                              "today_usd": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "conversations",
                              "messages",
                              "usd"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "label",
                          "expires_at",
                          "turned_off_at",
                          "created_at",
                          "opens",
                          "last_opened_at",
                          "works",
                          "made_by",
                          "chat",
                          "chats"
                        ]
                      }
                    },
                    "chat": {
                      "type": "boolean"
                    },
                    "chat_day_cap_usd": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "data",
                    "chat",
                    "chat_day_cap_usd"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Reports"
        ],
        "x-mint": {
          "content": "**MCP tool:** `turn_off_report_link`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/markets": {
      "post": {
        "operationId": "addMarket",
        "summary": "Adds a market to the team's: its name, and what it is in words",
        "description": "Adds a market your team studies, such as Intelligent Document Processing: a whole category rather than one company, read through its main players. Give its `name`, and with it, or later with `PUT /markets/{market}`, what it is: `sells` and `buyers` in a line each, `names` (each with the page that uses it) and `buyer_groups`, as a target's category is set; and its `links`, an industry code (`naics`) or a Reddit community (`reddit_subreddit`), each with its page. When it has names, the readers that read a category's names (Google Trends, Reddit, YouTube, the category's size and podcasts on its market) are asked to read them, and `read` says which. `201` with the market, or `200` with the one your team holds by that name already.\n\n**Before:** Nothing. A market is your team's own: another team that adds the same name gets a market of its own, and nothing tells either of the other.\n\n**Next:** Propose its main players, each with the page that shows it's one. `GET /markets/{market}` reads it back with its players counted.\n\n**Limits:** `sells`, `buyers` and `names` come together or not at all. A link of any other kind is a `400`: a market has players, not accounts. Asking its readers counts as one of the day's reads, none on Free and Pro, 10 on Pilot, and no limit on Enterprise. Enterprise and Pilot only; on another plan a `403` with the code `plan`. Saving writes a line in your team's audit log.",
        "x-mcp-tool": "add_market",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/markets' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"name\":\"Intelligent Document Processing\",\"sells\":\"Software that reads documents and returns their fields, by API or in an app\",\"buyers\":\"Lenders, insurers and operations teams that handle documents at volume\",\"names\":[{\"name\":\"Intelligent Document Processing\",\"url\":\"https://reviews.example/categories/intelligent-document-processing\"},{\"name\":\"Document AI\",\"url\":\"https://analyst.example/document-ai\"}],\"buyer_groups\":[\"Lenders\",\"Insurers\"],\"links\":[{\"kind\":\"naics\",\"value\":\"513210\",\"evidence\":\"https://www.census.gov/naics/?input=513210\"}]}'"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "name": "Intelligent Document Processing",
                    "sells": "Software that reads documents and returns their fields, by API or in an app",
                    "buyers": "Lenders, insurers and operations teams that handle documents at volume",
                    "names": [
                      {
                        "name": "Intelligent Document Processing",
                        "url": "https://reviews.example/categories/intelligent-document-processing"
                      },
                      {
                        "name": "Document AI",
                        "url": "https://analyst.example/document-ai"
                      }
                    ],
                    "buyer_groups": [
                      "Lenders",
                      "Insurers"
                    ],
                    "links": [
                      {
                        "kind": "naics",
                        "value": "513210",
                        "evidence": "https://www.census.gov/naics/?input=513210"
                      }
                    ]
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 120,
                    "description": "The market's name: Intelligent Document Processing"
                  },
                  "sells": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 300,
                    "description": "What's sold, in a line: software that reads documents and returns their fields"
                  },
                  "buyers": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 300,
                    "description": "To whom, in a line: lenders, insurers and operations teams that handle documents at volume"
                  },
                  "names": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 2,
                          "maxLength": 80
                        },
                        "url": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^https?:\\/\\/\\S+$",
                          "description": "The page that calls it this: a vendor's site, a review site's category, an analyst's"
                        }
                      },
                      "required": [
                        "name",
                        "url"
                      ],
                      "additionalProperties": false
                    },
                    "minItems": 1,
                    "maxItems": 8,
                    "description": "The names the market goes by, each with the page that uses it"
                  },
                  "buyer_groups": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 2,
                      "maxLength": 60
                    },
                    "maxItems": 12,
                    "description": "Who buys it, such as lenders or insurers"
                  },
                  "links": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 40,
                          "description": "`naics`, an industry code, or `reddit_subreddit`, a Reddit community. A market holds no other kind"
                        },
                        "value": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200,
                          "description": "As the kind writes it: 518210, or documentAI for r/documentAI"
                        },
                        "evidence": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^https?:\\/\\/\\S+$",
                          "description": "The page that shows it belongs to the market: the Census Bureau’s definition of the code, the community’s own page"
                        }
                      },
                      "required": [
                        "kind",
                        "value",
                        "evidence"
                      ],
                      "additionalProperties": false
                    },
                    "maxItems": 20,
                    "description": "The market's industry codes and Reddit communities, each with its page"
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The team holds a market of that name already: as it stands",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "definition": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "sells": {
                          "type": "string"
                        },
                        "buyers": {
                          "type": "string"
                        },
                        "names": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "url"
                            ]
                          }
                        },
                        "buyer_groups": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "set_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "sells",
                        "buyers",
                        "names",
                        "buyer_groups",
                        "set_at"
                      ]
                    },
                    "links": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "naics",
                              "reddit_subreddit"
                            ]
                          },
                          "value": {
                            "type": "string"
                          },
                          "evidence": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "kind",
                          "value",
                          "evidence"
                        ]
                      }
                    },
                    "players": {
                      "type": "object",
                      "properties": {
                        "confirmed": {
                          "type": "number"
                        },
                        "proposed": {
                          "type": "number"
                        },
                        "struck": {
                          "type": "number"
                        },
                        "cap": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "confirmed",
                        "proposed",
                        "struck",
                        "cap"
                      ]
                    },
                    "reports": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "draft",
                              "checked"
                            ]
                          },
                          "updated_at": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "title",
                          "status",
                          "updated_at"
                        ]
                      }
                    },
                    "added_at": {
                      "type": "string"
                    },
                    "read": {
                      "type": "object",
                      "properties": {
                        "asked_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "until": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "again": {
                          "type": "boolean"
                        },
                        "queued": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          }
                        },
                        "waiting": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "needs": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "needs"
                            ]
                          }
                        },
                        "why": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "asked_at",
                        "until",
                        "again",
                        "queued",
                        "waiting",
                        "why"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "definition",
                    "links",
                    "players",
                    "reports",
                    "added_at",
                    "read"
                  ]
                }
              }
            }
          },
          "201": {
            "description": "Added",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P",
                      "name": "Intelligent Document Processing",
                      "definition": {
                        "sells": "Software that reads documents and returns their fields, by API or in an app",
                        "buyers": "Lenders, insurers and operations teams that handle documents at volume",
                        "names": [
                          {
                            "name": "Intelligent Document Processing",
                            "url": "https://reviews.example/categories/intelligent-document-processing"
                          },
                          {
                            "name": "Document AI",
                            "url": "https://analyst.example/document-ai"
                          }
                        ],
                        "buyer_groups": [
                          "Lenders",
                          "Insurers"
                        ],
                        "set_at": "2026-11-26T15:00:00.000Z"
                      },
                      "links": [
                        {
                          "id": "cln_01JD3X7Q2W8E5R4T6Y9V0K1M2Q",
                          "kind": "naics",
                          "value": "513210",
                          "evidence": "https://www.census.gov/naics/?input=513210"
                        }
                      ],
                      "players": {
                        "confirmed": 0,
                        "proposed": 0,
                        "struck": 0,
                        "cap": 20
                      },
                      "reports": [],
                      "added_at": "2026-11-26T15:00:00.000Z",
                      "read": {
                        "asked_at": "2026-11-26T15:00:00.000Z",
                        "until": "2026-11-27T15:00:00.000Z",
                        "again": false,
                        "queued": [
                          {
                            "id": "google-trends",
                            "name": "Google Trends"
                          }
                        ],
                        "waiting": [
                          {
                            "id": "reddit",
                            "name": "Reddit",
                            "needs": [
                              "search_term",
                              "reddit_subreddit"
                            ]
                          }
                        ],
                        "why": null
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "definition": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "sells": {
                          "type": "string"
                        },
                        "buyers": {
                          "type": "string"
                        },
                        "names": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "url"
                            ]
                          }
                        },
                        "buyer_groups": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "set_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "sells",
                        "buyers",
                        "names",
                        "buyer_groups",
                        "set_at"
                      ]
                    },
                    "links": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "naics",
                              "reddit_subreddit"
                            ]
                          },
                          "value": {
                            "type": "string"
                          },
                          "evidence": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "kind",
                          "value",
                          "evidence"
                        ]
                      }
                    },
                    "players": {
                      "type": "object",
                      "properties": {
                        "confirmed": {
                          "type": "number"
                        },
                        "proposed": {
                          "type": "number"
                        },
                        "struck": {
                          "type": "number"
                        },
                        "cap": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "confirmed",
                        "proposed",
                        "struck",
                        "cap"
                      ]
                    },
                    "reports": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "draft",
                              "checked"
                            ]
                          },
                          "updated_at": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "title",
                          "status",
                          "updated_at"
                        ]
                      }
                    },
                    "added_at": {
                      "type": "string"
                    },
                    "read": {
                      "type": "object",
                      "properties": {
                        "asked_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "until": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "again": {
                          "type": "boolean"
                        },
                        "queued": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          }
                        },
                        "waiting": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "needs": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "needs"
                            ]
                          }
                        },
                        "why": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "asked_at",
                        "until",
                        "again",
                        "queued",
                        "waiting",
                        "why"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "definition",
                    "links",
                    "players",
                    "reports",
                    "added_at",
                    "read"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Markets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `add_market`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      },
      "get": {
        "operationId": "listMarkets",
        "summary": "The team's markets, newest first",
        "description": "Your team's markets, newest first, each with what it is in words, its industry codes and Reddit communities, how many players it has confirmed, proposed and struck, and your reports on it. Only your team's: no other team's market is ever shown or counted.\n\n**Before:** Nothing: a team with no markets gets an empty list.\n\n**Next:** Add one with `POST /markets`. `GET /markets/{market}` reads one.\n\n**Limits:** Every market at once, no pages. Enterprise and Pilot only; on another plan a `403` with the code `plan`.",
        "x-mcp-tool": "list_markets",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/markets' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "responses": {
          "200": {
            "description": "The team's markets",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "id": "mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P",
                          "name": "Intelligent Document Processing",
                          "definition": {
                            "sells": "Software that reads documents and returns their fields, by API or in an app",
                            "buyers": "Lenders, insurers and operations teams that handle documents at volume",
                            "names": [
                              {
                                "name": "Intelligent Document Processing",
                                "url": "https://reviews.example/categories/intelligent-document-processing"
                              },
                              {
                                "name": "Document AI",
                                "url": "https://analyst.example/document-ai"
                              }
                            ],
                            "buyer_groups": [
                              "Lenders",
                              "Insurers"
                            ],
                            "set_at": "2026-11-26T15:00:00.000Z"
                          },
                          "links": [
                            {
                              "id": "cln_01JD3X7Q2W8E5R4T6Y9V0K1M2Q",
                              "kind": "naics",
                              "value": "513210",
                              "evidence": "https://www.census.gov/naics/?input=513210"
                            }
                          ],
                          "players": {
                            "confirmed": 3,
                            "proposed": 2,
                            "struck": 1,
                            "cap": 20
                          },
                          "reports": [],
                          "added_at": "2026-11-26T15:00:00.000Z"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "definition": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "sells": {
                                "type": "string"
                              },
                              "buyers": {
                                "type": "string"
                              },
                              "names": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string"
                                    },
                                    "url": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "url"
                                  ]
                                }
                              },
                              "buyer_groups": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "set_at": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sells",
                              "buyers",
                              "names",
                              "buyer_groups",
                              "set_at"
                            ]
                          },
                          "links": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "naics",
                                    "reddit_subreddit"
                                  ]
                                },
                                "value": {
                                  "type": "string"
                                },
                                "evidence": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "value",
                                "evidence"
                              ]
                            }
                          },
                          "players": {
                            "type": "object",
                            "properties": {
                              "confirmed": {
                                "type": "number"
                              },
                              "proposed": {
                                "type": "number"
                              },
                              "struck": {
                                "type": "number"
                              },
                              "cap": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "confirmed",
                              "proposed",
                              "struck",
                              "cap"
                            ]
                          },
                          "reports": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "draft",
                                    "checked"
                                  ]
                                },
                                "updated_at": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "title",
                                "status",
                                "updated_at"
                              ]
                            }
                          },
                          "added_at": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "definition",
                          "links",
                          "players",
                          "reports",
                          "added_at"
                        ]
                      }
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Markets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `list_markets`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/markets/{market}": {
      "get": {
        "operationId": "getMarket",
        "summary": "One of the team’s markets: what it is, its links, its players counted by state, and its reports",
        "description": "Reads one of your team's markets: what it is in words (what's sold, to whom, the names it goes by with their pages, its buyer groups), its industry codes and Reddit communities, how many players it has confirmed, proposed and struck against the most it may confirm (`cap`), and your reports on it, newest first.\n\n**Before:** The market is one of your team's: `GET /markets` lists them.\n\n**Next:** `PUT /markets/{market}` changes what it is.\n\n**Limits:** A market that isn't your team's is a `404`, the same as one that doesn't exist. Enterprise and Pilot only; on another plan a `403` with the code `plan`.",
        "x-mcp-tool": "get_market",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/markets/mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The market's id, from GET /markets or POST /markets: mkt_…"
            },
            "required": true,
            "description": "The market's id, from GET /markets or POST /markets: mkt_…",
            "name": "market",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The market",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P",
                      "name": "Intelligent Document Processing",
                      "definition": {
                        "sells": "Software that reads documents and returns their fields, by API or in an app",
                        "buyers": "Lenders, insurers and operations teams that handle documents at volume",
                        "names": [
                          {
                            "name": "Intelligent Document Processing",
                            "url": "https://reviews.example/categories/intelligent-document-processing"
                          },
                          {
                            "name": "Document AI",
                            "url": "https://analyst.example/document-ai"
                          }
                        ],
                        "buyer_groups": [
                          "Lenders",
                          "Insurers"
                        ],
                        "set_at": "2026-11-26T15:00:00.000Z"
                      },
                      "links": [
                        {
                          "id": "cln_01JD3X7Q2W8E5R4T6Y9V0K1M2Q",
                          "kind": "naics",
                          "value": "513210",
                          "evidence": "https://www.census.gov/naics/?input=513210"
                        }
                      ],
                      "players": {
                        "confirmed": 3,
                        "proposed": 2,
                        "struck": 1,
                        "cap": 20
                      },
                      "reports": [],
                      "added_at": "2026-11-26T15:00:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "definition": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "sells": {
                          "type": "string"
                        },
                        "buyers": {
                          "type": "string"
                        },
                        "names": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "url"
                            ]
                          }
                        },
                        "buyer_groups": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "set_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "sells",
                        "buyers",
                        "names",
                        "buyer_groups",
                        "set_at"
                      ]
                    },
                    "links": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "naics",
                              "reddit_subreddit"
                            ]
                          },
                          "value": {
                            "type": "string"
                          },
                          "evidence": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "kind",
                          "value",
                          "evidence"
                        ]
                      }
                    },
                    "players": {
                      "type": "object",
                      "properties": {
                        "confirmed": {
                          "type": "number"
                        },
                        "proposed": {
                          "type": "number"
                        },
                        "struck": {
                          "type": "number"
                        },
                        "cap": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "confirmed",
                        "proposed",
                        "struck",
                        "cap"
                      ]
                    },
                    "reports": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "draft",
                              "checked"
                            ]
                          },
                          "updated_at": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "title",
                          "status",
                          "updated_at"
                        ]
                      }
                    },
                    "added_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "definition",
                    "links",
                    "players",
                    "reports",
                    "added_at"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Markets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `get_market`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      },
      "put": {
        "operationId": "setMarket",
        "summary": "Sets one of the team’s markets whole: its name and what it is in words, and its links when given",
        "description": "Sets one of your team's markets whole, replacing what was there: its `name`, `sells` and `buyers` in a line each, `names` (each with the page that uses it) and `buyer_groups`. With `links`, its industry codes and Reddit communities are replaced too, each with its page, and one left out is struck; without, they stay as they are. When its names change (one added, changed, dropped or moved), the readers that read a category's names are asked to read them now, as setting a target's category asks them, and `read` says which were asked and which wait on a link; a read of theirs from before doesn't stand.\n\n**Before:** The market is one of your team's. Set it from vendors' own pages, a review site's category and an analyst's words, never from an industry code alone.\n\n**Next:** `GET /markets/{market}` reads it back. A market report written after reads it.\n\n**Limits:** A name another of your team's markets has is a `409`. A link of any kind but `naics` and `reddit_subreddit` is a `400`: a market has players, not accounts. Asking its readers counts as one of the day's reads, none on Free and Pro, 10 on Pilot, and no limit on Enterprise; past them, the market is set all the same and `read` says why nothing was asked. Saving writes a line in your team's audit log.",
        "x-mcp-tool": "set_market",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X PUT 'https://api.poddata.ai/v1/markets/mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"name\":\"Intelligent Document Processing\",\"sells\":\"Software that reads documents and returns their fields, by API or in an app\",\"buyers\":\"Lenders, insurers and operations teams that handle documents at volume\",\"names\":[{\"name\":\"Intelligent Document Processing\",\"url\":\"https://reviews.example/categories/intelligent-document-processing\"},{\"name\":\"Document AI\",\"url\":\"https://analyst.example/document-ai\"}],\"buyer_groups\":[\"Lenders\",\"Insurers\"]}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The market's id, from GET /markets or POST /markets: mkt_…"
            },
            "required": true,
            "description": "The market's id, from GET /markets or POST /markets: mkt_…",
            "name": "market",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "name": "Intelligent Document Processing",
                    "sells": "Software that reads documents and returns their fields, by API or in an app",
                    "buyers": "Lenders, insurers and operations teams that handle documents at volume",
                    "names": [
                      {
                        "name": "Intelligent Document Processing",
                        "url": "https://reviews.example/categories/intelligent-document-processing"
                      },
                      {
                        "name": "Document AI",
                        "url": "https://analyst.example/document-ai"
                      }
                    ],
                    "buyer_groups": [
                      "Lenders",
                      "Insurers"
                    ]
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 120,
                    "description": "The market's name: Intelligent Document Processing"
                  },
                  "sells": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 300,
                    "description": "What's sold, in a line: software that reads documents and returns their fields"
                  },
                  "buyers": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 300,
                    "description": "To whom, in a line: lenders, insurers and operations teams that handle documents at volume"
                  },
                  "names": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 2,
                          "maxLength": 80
                        },
                        "url": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^https?:\\/\\/\\S+$",
                          "description": "The page that calls it this: a vendor's site, a review site's category, an analyst's"
                        }
                      },
                      "required": [
                        "name",
                        "url"
                      ],
                      "additionalProperties": false
                    },
                    "minItems": 1,
                    "maxItems": 8,
                    "description": "The names the market goes by, each with the page that uses it"
                  },
                  "buyer_groups": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 2,
                      "maxLength": 60
                    },
                    "maxItems": 12,
                    "description": "Who buys it, such as lenders or insurers"
                  },
                  "links": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 40,
                          "description": "`naics`, an industry code, or `reddit_subreddit`, a Reddit community. A market holds no other kind"
                        },
                        "value": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200,
                          "description": "As the kind writes it: 518210, or documentAI for r/documentAI"
                        },
                        "evidence": {
                          "type": "string",
                          "maxLength": 2000,
                          "pattern": "^https?:\\/\\/\\S+$",
                          "description": "The page that shows it belongs to the market: the Census Bureau’s definition of the code, the community’s own page"
                        }
                      },
                      "required": [
                        "kind",
                        "value",
                        "evidence"
                      ],
                      "additionalProperties": false
                    },
                    "maxItems": 20,
                    "description": "The market's industry codes and Reddit communities, each with its page"
                  }
                },
                "required": [
                  "name",
                  "sells",
                  "buyers",
                  "names",
                  "buyer_groups"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The market as set now, and what its names asked of the readers that read them",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P",
                      "name": "Intelligent Document Processing",
                      "definition": {
                        "sells": "Software that reads documents and returns their fields, by API or in an app",
                        "buyers": "Lenders, insurers and operations teams that handle documents at volume",
                        "names": [
                          {
                            "name": "Intelligent Document Processing",
                            "url": "https://reviews.example/categories/intelligent-document-processing"
                          },
                          {
                            "name": "Document AI",
                            "url": "https://analyst.example/document-ai"
                          }
                        ],
                        "buyer_groups": [
                          "Lenders",
                          "Insurers"
                        ],
                        "set_at": "2026-11-26T15:00:00.000Z"
                      },
                      "links": [
                        {
                          "id": "cln_01JD3X7Q2W8E5R4T6Y9V0K1M2Q",
                          "kind": "naics",
                          "value": "513210",
                          "evidence": "https://www.census.gov/naics/?input=513210"
                        }
                      ],
                      "players": {
                        "confirmed": 3,
                        "proposed": 2,
                        "struck": 1,
                        "cap": 20
                      },
                      "reports": [],
                      "added_at": "2026-11-26T15:00:00.000Z",
                      "read": {
                        "asked_at": "2026-11-26T15:00:00.000Z",
                        "until": "2026-11-27T15:00:00.000Z",
                        "again": false,
                        "queued": [
                          {
                            "id": "google-trends",
                            "name": "Google Trends"
                          }
                        ],
                        "waiting": [
                          {
                            "id": "reddit",
                            "name": "Reddit",
                            "needs": [
                              "search_term",
                              "reddit_subreddit"
                            ]
                          }
                        ],
                        "why": null
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "definition": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "sells": {
                          "type": "string"
                        },
                        "buyers": {
                          "type": "string"
                        },
                        "names": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "url"
                            ]
                          }
                        },
                        "buyer_groups": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "set_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "sells",
                        "buyers",
                        "names",
                        "buyer_groups",
                        "set_at"
                      ]
                    },
                    "links": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "naics",
                              "reddit_subreddit"
                            ]
                          },
                          "value": {
                            "type": "string"
                          },
                          "evidence": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "kind",
                          "value",
                          "evidence"
                        ]
                      }
                    },
                    "players": {
                      "type": "object",
                      "properties": {
                        "confirmed": {
                          "type": "number"
                        },
                        "proposed": {
                          "type": "number"
                        },
                        "struck": {
                          "type": "number"
                        },
                        "cap": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "confirmed",
                        "proposed",
                        "struck",
                        "cap"
                      ]
                    },
                    "reports": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "draft",
                              "checked"
                            ]
                          },
                          "updated_at": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "title",
                          "status",
                          "updated_at"
                        ]
                      }
                    },
                    "added_at": {
                      "type": "string"
                    },
                    "read": {
                      "type": "object",
                      "properties": {
                        "asked_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "until": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "again": {
                          "type": "boolean"
                        },
                        "queued": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          }
                        },
                        "waiting": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "needs": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "needs"
                            ]
                          }
                        },
                        "why": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "asked_at",
                        "until",
                        "again",
                        "queued",
                        "waiting",
                        "why"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "definition",
                    "links",
                    "players",
                    "reports",
                    "added_at",
                    "read"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Markets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `set_market`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      },
      "delete": {
        "operationId": "removeMarket",
        "summary": "Takes a market off the team’s",
        "description": "Takes a market off your team's. What PodData read about its players stays, since that isn't your team's. Your team can't read the market, its players' list or your reports on it once it's off, and it can't be put back: adding the same name again makes a new market.\n\n**Before:** An assistant asks the person first, and says which reports go with it.\n\n**Next:** Nothing: `GET /markets` lists the markets left.\n\n**Limits:** A market that isn't your team's is a `404`. Removing writes a line in your team's audit log.",
        "x-mcp-tool": "remove_market",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X DELETE 'https://api.poddata.ai/v1/markets/mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The market's id, from GET /markets or POST /markets: mkt_…"
            },
            "required": true,
            "description": "The market's id, from GET /markets or POST /markets: mkt_…",
            "name": "market",
            "in": "path"
          }
        ],
        "responses": {
          "204": {
            "description": "Removed"
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Markets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `remove_market`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/markets/{market}/players": {
      "get": {
        "operationId": "listMarketPlayers",
        "summary": "A market's players, confirmed first, each with why, its page, who found it and who decided",
        "description": "One of your team's markets' players, confirmed first, then proposed, then struck: each with its state, why it's one (or why it was struck), the page that shows it, who found it (a member, PodData's team, or PodData's research such as `find_players`) and who decided, and who decides next (`waits_for`). `confirmed` counts the confirmed ones against `cap`, the most a market may have. A struck player is in no comparison.\n\n**Before:** The market is one of your team's.\n\n**Next:** Show each one still proposed and its page to a person: on their yes, `POST /markets/{market}/players/{company}/confirm`. Strike a wrong one with `/strike`.\n\n**Limits:** Every player at once, no pages. A company held only as another team's target is never listed or counted.",
        "x-mcp-tool": "market_players",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/markets/mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P/players' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The market's id, from GET /markets or POST /markets: mkt_…"
            },
            "required": true,
            "description": "The market's id, from GET /markets or POST /markets: mkt_…",
            "name": "market",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The market's players",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "player": {
                            "id": "ledgerline",
                            "name": "Ledgerline"
                          },
                          "state": "confirmed",
                          "why": "Sells an API that reads invoices and bank statements to lenders",
                          "evidence": "https://reviews.example/categories/intelligent-document-processing",
                          "found_by": {
                            "kind": "member",
                            "email": "ana@lakeside-capital.example",
                            "how": null
                          },
                          "decided_by": {
                            "kind": "member",
                            "email": "ana@lakeside-capital.example",
                            "how": null
                          },
                          "decided_at": "2026-11-26T15:10:00.000Z",
                          "waits_for": null
                        }
                      ],
                      "confirmed": 1,
                      "cap": 20
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "player": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "proposed",
                              "confirmed",
                              "struck"
                            ]
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "evidence": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "found_by": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "member",
                                  "poddata",
                                  "taken",
                                  "research"
                                ]
                              },
                              "email": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "how": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "email",
                              "how"
                            ]
                          },
                          "decided_by": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "member",
                                  "poddata",
                                  "taken",
                                  "research"
                                ]
                              },
                              "email": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "how": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "kind",
                              "email",
                              "how"
                            ]
                          },
                          "decided_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "waits_for": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "enum": [
                              "team",
                              "poddata",
                              null
                            ]
                          }
                        },
                        "required": [
                          "player",
                          "state",
                          "why",
                          "evidence",
                          "found_by",
                          "decided_by",
                          "decided_at",
                          "waits_for"
                        ]
                      }
                    },
                    "confirmed": {
                      "type": "number"
                    },
                    "cap": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "data",
                    "confirmed",
                    "cap"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Markets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `market_players`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      },
      "post": {
        "operationId": "proposeMarketPlayer",
        "summary": "Proposes a player for one of the team’s markets, with the page that shows it’s one, for a person to confirm",
        "description": "Proposes a player for one of your team's markets: `company`, any company `/companies/{id}` takes, your own targets included; or `name` with its own `domain`, or with its `site` for a product under a wider company's domain (Google's Document AI at cloud.google.com/document-ai), for a company PodData doesn't hold, which PodData then holds with that domain or site. Add `why` and `evidence`, the page that shows it's one. `201` with it proposed, or `200` with it as it stands: one still proposed takes the `why` and the page you give where it has none, and `filled` says which.\n\n**Before:** The market is one of your team's. A player is never taken on its name alone.\n\n**Next:** Show the person the player and its page: on their yes, `POST /markets/{market}/players/{company}/confirm`. Then confirm its own links at `/companies/{id}/links`, so it can be read.\n\n**Limits:** A domain or site confirmed for a company your team can't see is a `409` that names no company. Proposing writes a line in your team's audit log.",
        "x-mcp-tool": "propose_player",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/markets/mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P/players' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"name\":\"Ledgerline\",\"domain\":\"ledgerline.example\",\"why\":\"Sells an API that reads invoices and bank statements to lenders\",\"evidence\":\"https://reviews.example/categories/intelligent-document-processing\"}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The market's id, from GET /markets or POST /markets: mkt_…"
            },
            "required": true,
            "description": "The market's id, from GET /markets or POST /markets: mkt_…",
            "name": "market",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "name": "Ledgerline",
                    "domain": "ledgerline.example",
                    "why": "Sells an API that reads invoices and bank statements to lenders",
                    "evidence": "https://reviews.example/categories/intelligent-document-processing"
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "company": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64,
                    "description": "A company any /companies/{id} takes"
                  },
                  "name": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 120,
                    "description": "Or, for a company PodData doesn't hold, its name"
                  },
                  "domain": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 253,
                    "description": "With its own domain"
                  },
                  "site": {
                    "type": "string",
                    "minLength": 5,
                    "maxLength": 300,
                    "description": "Or its own site under a wider company's domain, a host and a path: cloud.google.com/document-ai"
                  },
                  "why": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 500,
                    "description": "What makes it a player, in a sentence"
                  },
                  "evidence": {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 2000,
                    "description": "The page that shows it's one: a review site's category, an analyst's list, its own product page"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Already a player, proposed, confirmed or struck: as it stands",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "player": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "why": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "found_by": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "member",
                            "poddata",
                            "taken",
                            "research"
                          ]
                        },
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "how": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "email",
                        "how"
                      ]
                    },
                    "decided_by": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "member",
                            "poddata",
                            "taken",
                            "research"
                          ]
                        },
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "how": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "email",
                        "how"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    },
                    "filled": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "why",
                          "evidence"
                        ]
                      }
                    }
                  },
                  "required": [
                    "player",
                    "state",
                    "why",
                    "evidence",
                    "found_by",
                    "decided_by",
                    "decided_at",
                    "waits_for",
                    "filled"
                  ]
                }
              }
            }
          },
          "201": {
            "description": "Proposed",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "player": {
                        "id": "ledgerline",
                        "name": "Ledgerline"
                      },
                      "state": "proposed",
                      "why": "Sells an API that reads invoices and bank statements to lenders",
                      "evidence": "https://reviews.example/categories/intelligent-document-processing",
                      "found_by": {
                        "kind": "member",
                        "email": "ana@lakeside-capital.example",
                        "how": null
                      },
                      "decided_by": null,
                      "decided_at": null,
                      "waits_for": "team",
                      "filled": []
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "player": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "why": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "found_by": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "member",
                            "poddata",
                            "taken",
                            "research"
                          ]
                        },
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "how": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "email",
                        "how"
                      ]
                    },
                    "decided_by": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "member",
                            "poddata",
                            "taken",
                            "research"
                          ]
                        },
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "how": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "email",
                        "how"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    },
                    "filled": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "why",
                          "evidence"
                        ]
                      }
                    }
                  },
                  "required": [
                    "player",
                    "state",
                    "why",
                    "evidence",
                    "found_by",
                    "decided_by",
                    "decided_at",
                    "waits_for",
                    "filled"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Markets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `propose_player`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/markets/{market}/players/{company}/confirm": {
      "post": {
        "operationId": "confirmMarketPlayer",
        "summary": "Confirms a market's player, with the page that shows it's one",
        "description": "Confirms one of a market's players, so it's read with the market and the number tools count it in the field. It needs the page that shows it's one: the one it was proposed with, or `evidence` now. `200` with it confirmed.\n\n**Before:** A person has seen the player and its page, and said yes. An assistant never confirms one on its own.\n\n**Next:** Confirm its own links at `/companies/{id}/links` so it can be read. `GET /markets/{market}/players` lists the rest.\n\n**Limits:** A market has at most 20 confirmed players: one more is a `409` that says to strike one first. A player with no page, given or held, is a `400`. A company that isn't proposed for the market is a `404`.",
        "x-mcp-tool": "confirm_player",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/markets/mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P/players/ledgerline/confirm' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The market's id, from GET /markets or POST /markets: mkt_…"
            },
            "required": true,
            "description": "The market's id, from GET /markets or POST /markets: mkt_…",
            "name": "market",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The player's company id"
            },
            "required": true,
            "description": "The player's company id",
            "name": "company",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "evidence": {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 2000,
                    "description": "The page that shows it's one, where it was proposed with none"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Confirmed, or confirmed already",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "player": {
                        "id": "ledgerline",
                        "name": "Ledgerline"
                      },
                      "state": "confirmed",
                      "why": "Sells an API that reads invoices and bank statements to lenders",
                      "evidence": "https://reviews.example/categories/intelligent-document-processing",
                      "found_by": {
                        "kind": "member",
                        "email": "ana@lakeside-capital.example",
                        "how": null
                      },
                      "decided_by": {
                        "kind": "member",
                        "email": "ana@lakeside-capital.example",
                        "how": null
                      },
                      "decided_at": "2026-11-26T15:10:00.000Z",
                      "waits_for": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "player": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "why": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "found_by": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "member",
                            "poddata",
                            "taken",
                            "research"
                          ]
                        },
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "how": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "email",
                        "how"
                      ]
                    },
                    "decided_by": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "member",
                            "poddata",
                            "taken",
                            "research"
                          ]
                        },
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "how": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "email",
                        "how"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    }
                  },
                  "required": [
                    "player",
                    "state",
                    "why",
                    "evidence",
                    "found_by",
                    "decided_by",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "202": {
            "description": "Left as it was, waiting for PodData's team, where PodData's own team decides",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "player": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "why": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "found_by": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "member",
                            "poddata",
                            "taken",
                            "research"
                          ]
                        },
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "how": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "email",
                        "how"
                      ]
                    },
                    "decided_by": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "member",
                            "poddata",
                            "taken",
                            "research"
                          ]
                        },
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "how": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "email",
                        "how"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    }
                  },
                  "required": [
                    "player",
                    "state",
                    "why",
                    "evidence",
                    "found_by",
                    "decided_by",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Markets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `confirm_player`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/markets/{market}/players/{company}/strike": {
      "post": {
        "operationId": "strikeMarketPlayer",
        "summary": "Strikes a market's player, with why",
        "description": "Strikes one of a market's players, with `why`: it sells something else, to other buyers, or it's too small to be a main player. It's in no comparison from then on, and a later find doesn't propose it again. `200` with it struck.\n\n**Before:** A person has said no to it.\n\n**Next:** Nothing. `GET /markets/{market}/players` lists the rest.\n\n**Limits:** A company that isn't proposed for the market is a `404`. Striking writes a line in your team's audit log.",
        "x-mcp-tool": "strike_player",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/markets/mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P/players/harbor-scan/strike' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"why\":\"Scanners, not software that reads documents\"}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The market's id, from GET /markets or POST /markets: mkt_…"
            },
            "required": true,
            "description": "The market's id, from GET /markets or POST /markets: mkt_…",
            "name": "market",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The player's company id"
            },
            "required": true,
            "description": "The player's company id",
            "name": "company",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "why": "Scanners, not software that reads documents"
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "why": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 500,
                    "description": "Why it was struck, in a sentence"
                  }
                },
                "required": [
                  "why"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Struck, or struck already",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "player": {
                        "id": "harbor-scan",
                        "name": "Harbor Scan"
                      },
                      "state": "struck",
                      "why": "Scanners, not software that reads documents",
                      "evidence": "https://reviews.example/categories/intelligent-document-processing",
                      "found_by": {
                        "kind": "member",
                        "email": "ana@lakeside-capital.example",
                        "how": null
                      },
                      "decided_by": {
                        "kind": "member",
                        "email": "ana@lakeside-capital.example",
                        "how": null
                      },
                      "decided_at": "2026-11-26T15:10:00.000Z",
                      "waits_for": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "player": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "why": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "found_by": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "member",
                            "poddata",
                            "taken",
                            "research"
                          ]
                        },
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "how": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "email",
                        "how"
                      ]
                    },
                    "decided_by": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "member",
                            "poddata",
                            "taken",
                            "research"
                          ]
                        },
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "how": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "email",
                        "how"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    }
                  },
                  "required": [
                    "player",
                    "state",
                    "why",
                    "evidence",
                    "found_by",
                    "decided_by",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "202": {
            "description": "Left as it was, waiting for PodData's team, where PodData's own team decides",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "player": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "proposed",
                        "confirmed",
                        "struck"
                      ]
                    },
                    "why": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "evidence": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "found_by": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "member",
                            "poddata",
                            "taken",
                            "research"
                          ]
                        },
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "how": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "email",
                        "how"
                      ]
                    },
                    "decided_by": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "member",
                            "poddata",
                            "taken",
                            "research"
                          ]
                        },
                        "email": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "how": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "email",
                        "how"
                      ]
                    },
                    "decided_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "waits_for": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "team",
                        "poddata",
                        null
                      ]
                    }
                  },
                  "required": [
                    "player",
                    "state",
                    "why",
                    "evidence",
                    "found_by",
                    "decided_by",
                    "decided_at",
                    "waits_for"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Markets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `strike_player`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/markets/{market}/definition/find": {
      "post": {
        "operationId": "findMarketDefinition",
        "summary": "Proposes what one of the team's markets is, from the pages that use its name: what's sold, to whom, the names it goes by and its buyer groups, each with its page. Saves nothing",
        "description": "Proposes what one of your markets is, read from the pages that use its name, for a person to correct: what's sold (`sells`) and to whom (`buyers`), each a line with the words of a page that show it; the names it goes by (`names`), its own first, each with the words of a page that writes it; and its buyer groups (`buyer_groups`), each with the words of a page that names them. PodData reads the pages you give (`pages`) and, where the open web is on here, two web searches for the name: one of the open web, one kept to the review sites and analysts. Only a page that uses the name is read, a passage around where it does; one you give is read whether or not it does. One model reads them as data and says what they say; a part is kept only where its words are on a page read, and a name only where a page read writes it, so each name's page uses it. What it said that isn't kept comes back in `left_out` with why. `definition` is the same in the shape `PUT /markets/{market}` takes, or null where what's sold, to whom or a name is missing, and `why` then says what. Nothing is saved.\n\n**Before:** The market is one of your team's (`POST /markets`). It may have a definition already: this reads the pages that use its names too, and replaces nothing.\n\n**Next:** Show a person each part with its page and let them correct it. Keep it with `PUT /markets/{market}`, giving `definition` as they corrected it, with the market's `name`; then `POST /markets/{market}/players/find` finds its main players against it.\n\n**Limits:** At most 5 pages given, and 10 pages read an ask. Each ask makes at most two web searches on Exa, about $0.004 each, whose credits PodData's readers share: an answer of 402 from Exa, out of credits, stops every search, and `stopped` says so. One model call, about a tenth of a cent, under the day's spending cap: past it, `stopped` says when to ask again (`until`, the next midnight UTC). `cost` says what the ask spent. As many asks a day as a plan finds rivals, counted on their own, none on Free and Pro, 3 on Pilot, and no limit on Enterprise; past it, a `403` with the code `plan`. Enterprise and Pilot only.",
        "x-mcp-tool": "find_market_definition",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/markets/mkt_01JCQ9IDP0000000000000000A/definition/find' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "market",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {}
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "pages": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000,
                      "pattern": "^https?:\\/\\/\\S+$"
                    },
                    "minItems": 1,
                    "maxItems": 5,
                    "description": "Pages that use the market's name, each read from its own site, such as a review site's category or an analyst's page. At most 5"
                  },
                  "from": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "pages",
                        "web"
                      ]
                    },
                    "minItems": 1,
                    "description": "Where to look: pages, the ones given, and web, the open web. Both if left out"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "What the pages that use its name say it is, each part with its page, for a person to correct and keep",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "market": {
                        "id": "mkt_01JCQ9IDP0000000000000000A",
                        "name": "Intelligent document processing"
                      },
                      "proposed": {
                        "sells": {
                          "line": "Software that reads documents such as invoices and claims and turns them into structured data.",
                          "shows": {
                            "words": "reads documents such as invoices, claims and bank statements and turns them into structured data",
                            "page": "https://reviews.example/categories/intelligent-document-processing"
                          }
                        },
                        "buyers": {
                          "line": "Accounts payable teams, lenders and insurers that handle documents at volume.",
                          "shows": {
                            "words": "used by accounts payable teams, lenders and insurers to cut manual data entry",
                            "page": "https://reviews.example/categories/intelligent-document-processing"
                          }
                        },
                        "names": [
                          {
                            "name": "Intelligent document processing",
                            "shows": {
                              "words": "Intelligent document processing (IDP) software reads documents such as invoices",
                              "page": "https://reviews.example/categories/intelligent-document-processing"
                            }
                          },
                          {
                            "name": "IDP",
                            "shows": {
                              "words": "Intelligent document processing (IDP) software reads documents such as invoices",
                              "page": "https://reviews.example/categories/intelligent-document-processing"
                            }
                          },
                          {
                            "name": "Document AI",
                            "shows": {
                              "words": "a platform for lenders and insurers. Our document AI reads loan files and claims.",
                              "page": "https://docuflow.example/"
                            }
                          }
                        ],
                        "buyer_groups": [
                          {
                            "group": "Accounts payable teams",
                            "shows": {
                              "words": "used by accounts payable teams",
                              "page": "https://reviews.example/categories/intelligent-document-processing"
                            }
                          },
                          {
                            "group": "Lenders",
                            "shows": {
                              "words": "for lenders and insurers",
                              "page": "https://docuflow.example/"
                            }
                          }
                        ]
                      },
                      "definition": {
                        "sells": "Software that reads documents such as invoices and claims and turns them into structured data.",
                        "buyers": "Accounts payable teams, lenders and insurers that handle documents at volume.",
                        "names": [
                          {
                            "name": "Intelligent document processing",
                            "url": "https://reviews.example/categories/intelligent-document-processing"
                          },
                          {
                            "name": "IDP",
                            "url": "https://reviews.example/categories/intelligent-document-processing"
                          },
                          {
                            "name": "Document AI",
                            "url": "https://docuflow.example/"
                          }
                        ],
                        "buyer_groups": [
                          "Accounts payable teams",
                          "Lenders"
                        ]
                      },
                      "left_out": [
                        {
                          "part": "name",
                          "said": "Robotic process automation",
                          "why": "No page read uses it."
                        }
                      ],
                      "pages": [
                        {
                          "url": "https://reviews.example/categories/intelligent-document-processing",
                          "title": "Best Intelligent Document Processing Software",
                          "kind": "review_site",
                          "from": "web",
                          "used": true,
                          "why": null
                        },
                        {
                          "url": "https://analyst.example/glossary/intelligent-document-processing",
                          "title": "Intelligent document processing, defined",
                          "kind": "analyst",
                          "from": "web",
                          "used": true,
                          "why": null
                        },
                        {
                          "url": "https://docuflow.example/",
                          "title": "Docuflow",
                          "kind": "other",
                          "from": "web",
                          "used": true,
                          "why": null
                        },
                        {
                          "url": "https://shredders.example/",
                          "title": "Paper shredding",
                          "kind": "other",
                          "from": "web",
                          "used": false,
                          "why": "It doesn't use the name Intelligent document processing."
                        }
                      ],
                      "sources": [
                        {
                          "from": "pages",
                          "looked": false,
                          "found": 0,
                          "why": "No pages were given."
                        },
                        {
                          "from": "web",
                          "looked": true,
                          "found": 3,
                          "why": null
                        }
                      ],
                      "why": null,
                      "stopped": null,
                      "cost": {
                        "usd": 0.0085,
                        "model_calls": 1,
                        "searches": 2,
                        "pages": 0
                      },
                      "asked_today": 1,
                      "limit": 3
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "proposed": {
                      "type": "object",
                      "properties": {
                        "sells": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "line": {
                              "type": "string"
                            },
                            "shows": {
                              "type": "object",
                              "properties": {
                                "words": {
                                  "type": "string"
                                },
                                "page": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "words",
                                "page"
                              ]
                            }
                          },
                          "required": [
                            "line",
                            "shows"
                          ]
                        },
                        "buyers": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "line": {
                              "type": "string"
                            },
                            "shows": {
                              "type": "object",
                              "properties": {
                                "words": {
                                  "type": "string"
                                },
                                "page": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "words",
                                "page"
                              ]
                            }
                          },
                          "required": [
                            "line",
                            "shows"
                          ]
                        },
                        "names": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "shows": {
                                "type": "object",
                                "properties": {
                                  "words": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "words",
                                  "page"
                                ]
                              }
                            },
                            "required": [
                              "name",
                              "shows"
                            ]
                          }
                        },
                        "buyer_groups": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "group": {
                                "type": "string"
                              },
                              "shows": {
                                "type": "object",
                                "properties": {
                                  "words": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "words",
                                  "page"
                                ]
                              }
                            },
                            "required": [
                              "group",
                              "shows"
                            ]
                          }
                        }
                      },
                      "required": [
                        "sells",
                        "buyers",
                        "names",
                        "buyer_groups"
                      ]
                    },
                    "definition": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "sells": {
                          "type": "string"
                        },
                        "buyers": {
                          "type": "string"
                        },
                        "names": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "url"
                            ]
                          }
                        },
                        "buyer_groups": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sells",
                        "buyers",
                        "names",
                        "buyer_groups"
                      ]
                    },
                    "left_out": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "part": {
                            "type": "string",
                            "enum": [
                              "sells",
                              "buyers",
                              "name",
                              "buyer_group"
                            ]
                          },
                          "said": {
                            "type": "string"
                          },
                          "why": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "part",
                          "said",
                          "why"
                        ]
                      }
                    },
                    "pages": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string"
                          },
                          "title": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "review_site",
                              "analyst",
                              "other"
                            ]
                          },
                          "from": {
                            "type": "string",
                            "enum": [
                              "pages",
                              "web"
                            ]
                          },
                          "used": {
                            "type": "boolean"
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "url",
                          "title",
                          "kind",
                          "from",
                          "used",
                          "why"
                        ]
                      }
                    },
                    "sources": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "from": {
                            "type": "string",
                            "enum": [
                              "pages",
                              "web"
                            ]
                          },
                          "looked": {
                            "type": "boolean"
                          },
                          "found": {
                            "type": "integer"
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "from",
                          "looked",
                          "found",
                          "why"
                        ]
                      }
                    },
                    "why": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "stopped": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "why": {
                          "type": "string"
                        },
                        "until": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "why",
                        "until"
                      ]
                    },
                    "cost": {
                      "type": "object",
                      "properties": {
                        "usd": {
                          "type": "number"
                        },
                        "model_calls": {
                          "type": "integer"
                        },
                        "searches": {
                          "type": "integer"
                        },
                        "pages": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "usd",
                        "model_calls",
                        "searches",
                        "pages"
                      ]
                    },
                    "asked_today": {
                      "type": "integer"
                    },
                    "limit": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "market",
                    "proposed",
                    "definition",
                    "left_out",
                    "pages",
                    "sources",
                    "why",
                    "stopped",
                    "cost",
                    "asked_today",
                    "limit"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Markets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `find_market_definition`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/markets/{market}/players/find": {
      "post": {
        "operationId": "findMarketPlayers",
        "summary": "Finds one of the team's markets' main players: candidates tested against what the market sells, from their own sites, only the players proposed",
        "description": "Finds one of your markets' main players. PodData gathers candidates from your `list`, from the products a review site lists as alternatives beside a confirmed player's listing, from the vendors PodData holds in an analyst's report that places a confirmed player or names the market, from a confirmed player's confirmed rivals, and from the open web where that's on here; `sources` says where it looked and why not where it didn't. It tests them in the order of how many independent places name each, then the reviews PodData holds of it (`order`), reads each one's own site, and has two models of different families say, blind to each other, whether it sells what the market sells to its buyers: `player`, `adjacent` (it sells something near it), `supplier`, `buyer`, `reseller`, `same_name` or `unclear`, with the market's buyer groups it serves and the words of its page that show it. Only a player both agree on comes back in `proposed`; every other candidate comes back in `left_out` with its verdict and why. A player with a `sign`, a place no model is that names it (a review site's list, an analyst's, a confirmed player's rivals), is taken at once, its `state` `confirmed`; one only the reads support, or past the market's most, stays `proposed` for a person. A product of a much wider company, such as Google's Document AI, is proposed at its own page (`site`), never its parent's domain.\n\n**Before:** The market is one of your team's (`POST /markets`), with its definition set: what it sells and to whom (`PUT /markets/{market}`). A market with no definition is a `400` that asks for it.\n\n**Next:** Show a person what was taken and what stayed proposed, each with its page and why. They confirm a proposed player with `POST /markets/{market}/players/{company}/confirm`, and strike a wrong one, taken or proposed, with `POST /markets/{market}/players/{company}/strike`. Then `POST /markets/{market}/read` reads every confirmed player.\n\n**Limits:** At most 30 candidates tested an ask, two model calls each, in the order of how many places name them; the rest come back in `not_tested`. A market holds at most 20 confirmed players: past them a player stays proposed. A model call past today's spending cap isn't made: `stopped` then says so, with when to ask again (`until`, the next midnight UTC) and how many weren't tested. Each ask is one of the day's asks to find rivals or players, none on Free and Pro, 3 on Pilot, and no limit on Enterprise; past it, a `403` with the code `plan`. `cost` says what the ask spent. A player confirmed or struck already isn't tested again. Enterprise and Pilot only.",
        "x-mcp-tool": "find_players",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/markets/mkt_01JCQ9IDP0000000000000000A/players/find' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"list\":[{\"name\":\"Docuflow\",\"domain\":\"docuflow.example\"},{\"name\":\"Ledgerpoint\",\"domain\":\"ledgerpoint.example\"}]}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "market",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "list": [
                      {
                        "name": "Docuflow",
                        "domain": "docuflow.example"
                      },
                      {
                        "name": "Ledgerpoint",
                        "domain": "ledgerpoint.example"
                      }
                    ]
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "list": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 2,
                          "maxLength": 120
                        },
                        "domain": {
                          "type": "string",
                          "minLength": 3,
                          "maxLength": 253
                        },
                        "site": {
                          "type": "string",
                          "minLength": 5,
                          "maxLength": 300,
                          "description": "A product's own page under a wider company's domain, as a host and a path: cloud.google.com/document-ai"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    "maxItems": 60,
                    "description": "Candidates the caller gives, each a name and, where known, its own domain, or a product's own page. At most 30 are tested an ask"
                  },
                  "from": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "list",
                        "review_sites",
                        "analysts",
                        "rivals",
                        "news",
                        "web"
                      ]
                    },
                    "minItems": 1,
                    "description": "Where to look: list, review_sites, analysts, rivals, news and web. All of them if left out"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "What it found: the players taken or proposed, and every other candidate left out with why",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "market": {
                        "id": "mkt_01JCQ9IDP0000000000000000A",
                        "name": "Intelligent document processing"
                      },
                      "definition": {
                        "sells": "Software that reads documents such as invoices, forms and statements and turns them into structured data.",
                        "buyers": "Operations and finance teams at lenders, insurers and logistics firms.",
                        "names": [
                          "Intelligent document processing",
                          "Document AI"
                        ],
                        "buyer_groups": [
                          "Lenders",
                          "Insurers",
                          "Logistics firms"
                        ]
                      },
                      "order": "Tested in the order of how many independent places name each (the caller's list, each review site, the analysts, a confirmed player's rivals, the open web), then by the reviews PodData holds of it; at most 30 an ask.",
                      "stopped": null,
                      "proposed": [
                        {
                          "name": "Docuflow",
                          "domain": "docuflow.example",
                          "site": null,
                          "found": [
                            {
                              "from": "list",
                              "source": null,
                              "why": "On the list the caller gave",
                              "url": null
                            },
                            {
                              "from": "review_sites",
                              "source": "gartner-peer-insights",
                              "why": "Listed by Gartner Peer Insights as an alternative to Formwise's formwise, read 2026-11-20",
                              "url": "https://www.gartner.com/reviews/product/docuflow"
                            }
                          ],
                          "places": 2,
                          "reviews": 140,
                          "verdict": "player",
                          "sells": "Document processing software",
                          "to": "Lenders and insurers",
                          "groups": [
                            "Lenders",
                            "Insurers"
                          ],
                          "shows": {
                            "words": "turns invoices, bank statements and claims into structured data",
                            "page": "https://docuflow.example/"
                          },
                          "reads": [
                            {
                              "model": "first model",
                              "verdict": "player",
                              "why": "It sells document processing to lenders and insurers."
                            },
                            {
                              "model": "second model",
                              "verdict": "player",
                              "why": "Document data extraction for financial firms."
                            }
                          ],
                          "sign": {
                            "from": "review_sites",
                            "source": "gartner-peer-insights",
                            "why": "Listed by Gartner Peer Insights as an alternative to Formwise's formwise, read 2026-11-20",
                            "url": "https://www.gartner.com/reviews/product/docuflow"
                          },
                          "why": "It sells document processing to lenders and insurers.",
                          "player": {
                            "id": "docuflow",
                            "name": "Docuflow"
                          },
                          "state": "confirmed",
                          "added": true
                        }
                      ],
                      "left_out": [
                        {
                          "name": "Ledgerpoint",
                          "domain": "ledgerpoint.example",
                          "site": null,
                          "found": [
                            {
                              "from": "list",
                              "source": null,
                              "why": "On the list the caller gave",
                              "url": null
                            }
                          ],
                          "places": 1,
                          "reviews": 0,
                          "verdict": "reseller",
                          "sells": "Implementation of document processing platforms",
                          "to": "Finance teams",
                          "groups": [],
                          "shows": {
                            "words": "an implementation partner for the leading document processing platforms",
                            "page": "https://ledgerpoint.example/"
                          },
                          "reads": [
                            {
                              "model": "first model",
                              "verdict": "reseller",
                              "why": "It deploys other companies’ platforms."
                            },
                            {
                              "model": "second model",
                              "verdict": "reseller",
                              "why": "A partner that integrates others’ products."
                            }
                          ],
                          "sign": null,
                          "why": "It deploys other companies’ platforms, so it resells them rather than selling its own."
                        }
                      ],
                      "decided": [
                        {
                          "player": {
                            "id": "formwise",
                            "name": "Formwise"
                          },
                          "state": "confirmed"
                        }
                      ],
                      "not_tested": [],
                      "sources": [
                        {
                          "from": "list",
                          "looked": true,
                          "found": 2,
                          "why": null
                        },
                        {
                          "from": "review_sites",
                          "looked": true,
                          "found": 0,
                          "why": null
                        },
                        {
                          "from": "analysts",
                          "looked": false,
                          "found": 0,
                          "why": "PodData holds no analyst report that places a vendor in a named market yet."
                        },
                        {
                          "from": "rivals",
                          "looked": true,
                          "found": 0,
                          "why": null
                        },
                        {
                          "from": "news",
                          "looked": false,
                          "found": 0,
                          "why": "PodData keeps no story that lists a market's players yet: the wires reader leaves out a story that only lists companies."
                        },
                        {
                          "from": "web",
                          "looked": false,
                          "found": 0,
                          "why": "Not asked for."
                        }
                      ],
                      "players": {
                        "confirmed": 2,
                        "limit": 20
                      },
                      "cost": {
                        "usd": 0.006,
                        "model_calls": 4,
                        "searches": 0,
                        "pages": 6
                      },
                      "asked_today": 1,
                      "limit": 3
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "definition": {
                      "type": "object",
                      "properties": {
                        "sells": {
                          "type": "string"
                        },
                        "buyers": {
                          "type": "string"
                        },
                        "names": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "buyer_groups": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "sells",
                        "buyers",
                        "names",
                        "buyer_groups"
                      ]
                    },
                    "order": {
                      "type": "string"
                    },
                    "stopped": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "why": {
                          "type": "string"
                        },
                        "until": {
                          "type": "string"
                        },
                        "untested": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "why",
                        "until",
                        "untested"
                      ]
                    },
                    "proposed": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "domain": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "site": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "found": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "from": {
                                  "type": "string",
                                  "enum": [
                                    "list",
                                    "review_sites",
                                    "analysts",
                                    "rivals",
                                    "news",
                                    "web"
                                  ]
                                },
                                "source": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "why": {
                                  "type": "string"
                                },
                                "url": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "from",
                                "source",
                                "why",
                                "url"
                              ]
                            }
                          },
                          "places": {
                            "type": "integer"
                          },
                          "reviews": {
                            "type": "integer"
                          },
                          "verdict": {
                            "type": "string",
                            "enum": [
                              "player",
                              "adjacent",
                              "supplier",
                              "buyer",
                              "reseller",
                              "same_name",
                              "unclear"
                            ]
                          },
                          "sells": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "to": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "groups": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "shows": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "words": {
                                "type": "string"
                              },
                              "page": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "words",
                              "page"
                            ]
                          },
                          "reads": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "model": {
                                  "type": "string"
                                },
                                "verdict": {
                                  "type": "string",
                                  "enum": [
                                    "player",
                                    "adjacent",
                                    "supplier",
                                    "buyer",
                                    "reseller",
                                    "same_name",
                                    "unclear"
                                  ]
                                },
                                "why": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "model",
                                "verdict",
                                "why"
                              ]
                            }
                          },
                          "sign": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "from": {
                                "type": "string",
                                "enum": [
                                  "list",
                                  "review_sites",
                                  "analysts",
                                  "rivals",
                                  "news",
                                  "web"
                                ]
                              },
                              "source": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "why": {
                                "type": "string"
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "from",
                              "source",
                              "why",
                              "url"
                            ]
                          },
                          "why": {
                            "type": "string"
                          },
                          "player": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "proposed",
                              "confirmed",
                              "struck"
                            ]
                          },
                          "added": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "name",
                          "domain",
                          "site",
                          "found",
                          "places",
                          "reviews",
                          "verdict",
                          "sells",
                          "to",
                          "groups",
                          "shows",
                          "reads",
                          "sign",
                          "why",
                          "player",
                          "state",
                          "added"
                        ]
                      }
                    },
                    "left_out": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "domain": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "site": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "found": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "from": {
                                  "type": "string",
                                  "enum": [
                                    "list",
                                    "review_sites",
                                    "analysts",
                                    "rivals",
                                    "news",
                                    "web"
                                  ]
                                },
                                "source": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "why": {
                                  "type": "string"
                                },
                                "url": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "from",
                                "source",
                                "why",
                                "url"
                              ]
                            }
                          },
                          "places": {
                            "type": "integer"
                          },
                          "reviews": {
                            "type": "integer"
                          },
                          "verdict": {
                            "type": "string",
                            "enum": [
                              "player",
                              "adjacent",
                              "supplier",
                              "buyer",
                              "reseller",
                              "same_name",
                              "unclear"
                            ]
                          },
                          "sells": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "to": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "groups": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "shows": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "words": {
                                "type": "string"
                              },
                              "page": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "words",
                              "page"
                            ]
                          },
                          "reads": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "model": {
                                  "type": "string"
                                },
                                "verdict": {
                                  "type": "string",
                                  "enum": [
                                    "player",
                                    "adjacent",
                                    "supplier",
                                    "buyer",
                                    "reseller",
                                    "same_name",
                                    "unclear"
                                  ]
                                },
                                "why": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "model",
                                "verdict",
                                "why"
                              ]
                            }
                          },
                          "sign": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "from": {
                                "type": "string",
                                "enum": [
                                  "list",
                                  "review_sites",
                                  "analysts",
                                  "rivals",
                                  "news",
                                  "web"
                                ]
                              },
                              "source": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "why": {
                                "type": "string"
                              },
                              "url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "from",
                              "source",
                              "why",
                              "url"
                            ]
                          },
                          "why": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "domain",
                          "site",
                          "found",
                          "places",
                          "reviews",
                          "verdict",
                          "sells",
                          "to",
                          "groups",
                          "shows",
                          "reads",
                          "sign",
                          "why"
                        ]
                      }
                    },
                    "decided": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "player": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "confirmed",
                              "struck"
                            ]
                          }
                        },
                        "required": [
                          "player",
                          "state"
                        ]
                      }
                    },
                    "not_tested": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "domain": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "site": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "found": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "from": {
                                  "type": "string",
                                  "enum": [
                                    "list",
                                    "review_sites",
                                    "analysts",
                                    "rivals",
                                    "news",
                                    "web"
                                  ]
                                },
                                "source": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "why": {
                                  "type": "string"
                                },
                                "url": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "from",
                                "source",
                                "why",
                                "url"
                              ]
                            }
                          },
                          "places": {
                            "type": "integer"
                          },
                          "why": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "domain",
                          "site",
                          "found",
                          "places",
                          "why"
                        ]
                      }
                    },
                    "sources": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "from": {
                            "type": "string",
                            "enum": [
                              "list",
                              "review_sites",
                              "analysts",
                              "rivals",
                              "news",
                              "web"
                            ]
                          },
                          "looked": {
                            "type": "boolean"
                          },
                          "found": {
                            "type": "integer"
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "from",
                          "looked",
                          "found",
                          "why"
                        ]
                      }
                    },
                    "players": {
                      "type": "object",
                      "properties": {
                        "confirmed": {
                          "type": "integer"
                        },
                        "limit": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "confirmed",
                        "limit"
                      ]
                    },
                    "cost": {
                      "type": "object",
                      "properties": {
                        "usd": {
                          "type": "number"
                        },
                        "model_calls": {
                          "type": "integer"
                        },
                        "searches": {
                          "type": "integer"
                        },
                        "pages": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "usd",
                        "model_calls",
                        "searches",
                        "pages"
                      ]
                    },
                    "asked_today": {
                      "type": "integer"
                    },
                    "limit": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "market",
                    "definition",
                    "order",
                    "stopped",
                    "proposed",
                    "left_out",
                    "decided",
                    "not_tested",
                    "sources",
                    "players",
                    "cost",
                    "asked_today",
                    "limit"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Markets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `find_players`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/markets/{market}/links/find": {
      "post": {
        "operationId": "findMarketLinks",
        "summary": "Finds each of one of the team's markets' confirmed players' own links and review profiles, as a target's are, a few players an ask",
        "description": "Reads each of your market's confirmed players' own site whole and finds its review profiles, as `POST /targets/{company}/find` and `POST /targets/{company}/profiles/find` do for a target, never kept to a rival's overlap. It reads the players that have none of their links found yet, in name order, 3 an ask, and carries on from where the last ask stopped: `left` says how many are still to read. Each player read is a row in `players`: what was taken with the page that shows it (its accounts, its listings and its profiles), what stayed proposed for a person, and what was left out and why, such as an account confirmed for another company or a profile that names another. `waiting` lists every link of the market's confirmed players still proposed, in one list, for a person.\n\n**Before:** The market is one of your team's (`POST /markets`), with players a person confirmed (`POST /markets/{market}/players/{company}/confirm`) or `find_players` took. A player's profiles are held against its confirmed domain: a player held at a product's own page under a wider company's domain has its site read, and its row says why its profiles weren't.\n\n**Next:** Show a person what was taken, and each link in `waiting` with its page: on their yes, `POST /companies/{id}/links/{link}/confirm`; a wrong one, `POST /companies/{id}/links/{link}/strike` with why. Ask again while `left` is above 0. Then `POST /markets/{market}/read` reads every confirmed player through its links.\n\n**Limits:** 3 players an ask. Each player's profiles are web searches inside web search's day cap, as `find_profiles`' are; `cost` says what the ask spent. A player whose links were found by an earlier ask, or who holds an account or profile already, isn't read again. Enterprise and Pilot only.",
        "x-mcp-tool": "find_market_links",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/markets/mkt_01JCQ9IDP0000000000000000A/links/find' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "market",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "A row a player read: what was taken with its page, what stayed proposed and what was left out; how many are left; and every link of the market's players still proposed",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "market": {
                        "id": "mkt_01JCQ9IDP0000000000000000A",
                        "name": "Intelligent document processing"
                      },
                      "players": [
                        {
                          "player": {
                            "id": "docuflow",
                            "name": "Docuflow"
                          },
                          "site": {
                            "domain": "docuflow.example",
                            "read": true,
                            "why": null,
                            "pages": 4
                          },
                          "taken": [
                            {
                              "id": "cln_01JCQ9DFLI0000000000000A",
                              "kind": "linkedin",
                              "value": "docuflow",
                              "page": "https://docuflow.example/"
                            },
                            {
                              "id": "cln_01JCQ9DFG20000000000000A",
                              "kind": "g2_product",
                              "value": "docuflow",
                              "page": "https://www.g2.com/products/docuflow/reviews"
                            }
                          ],
                          "proposed": [],
                          "left_out": [
                            {
                              "kind": "capterra_product",
                              "value": "201234",
                              "page": "https://www.capterra.com/p/201234/Docuflow/",
                              "why": "Its page gives docuflow.io as its website, not the company’s confirmed domain"
                            }
                          ],
                          "why": null
                        }
                      ],
                      "left": 2,
                      "waiting": [],
                      "cost": {
                        "usd": 0.028,
                        "searches": 7
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "players": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "player": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "site": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "domain": {
                                "type": "string"
                              },
                              "read": {
                                "type": "boolean"
                              },
                              "why": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "pages": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "domain",
                              "read",
                              "why",
                              "pages"
                            ]
                          },
                          "taken": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "kind": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                },
                                "page": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "value",
                                "page"
                              ]
                            }
                          },
                          "proposed": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "kind": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                },
                                "page": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "value",
                                "page"
                              ]
                            }
                          },
                          "left_out": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                },
                                "page": {
                                  "type": "string"
                                },
                                "why": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "value",
                                "page",
                                "why"
                              ]
                            }
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "player",
                          "site",
                          "taken",
                          "proposed",
                          "left_out",
                          "why"
                        ]
                      }
                    },
                    "left": {
                      "type": "integer"
                    },
                    "waiting": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "player": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "id": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "page": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "player",
                          "id",
                          "kind",
                          "value",
                          "page"
                        ]
                      }
                    },
                    "cost": {
                      "type": "object",
                      "properties": {
                        "usd": {
                          "type": "number"
                        },
                        "searches": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "usd",
                        "searches"
                      ]
                    }
                  },
                  "required": [
                    "market",
                    "players",
                    "left",
                    "waiting",
                    "cost"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Markets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `find_market_links`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/markets/{market}/read": {
      "post": {
        "operationId": "readMarketNow",
        "summary": "Asks PodData to read one of the team's markets now: its names, and each confirmed player as a target is read, saying first what it will cost by source",
        "description": "Asks PodData to read one of your markets now, rather than on each source's own cadence. Its own read (`own`) is its names, asked of the readers of a category's names: Google Trends, YouTube, the category's sizes and podcasts on its market, and Reddit in the communities you confirmed for it. Then each confirmed player (`players`) is asked as a target is read: its own site deeper, its own posts back two years, its hiring by role and state, its reviews, ads, news, funding and the rest, from every reader that reads through one of its confirmed links. A rival's four answers about a target aren't asked for a market's players. `expected` says, before anything is spent, what each source queued is expected to spend on the read, today's spend and its cap for the day, and whether the read fits: a read the cap holds back stays due, and the read's coverage says what's still due. A reader that read a company in the last day, with nothing new to read since, isn't read again (`stands`); with `{\"force\": true}` it is, under every cap. `202` with what was queued; `200` when nothing could be.\n\n**Before:** The market is one of your team's, with its names set (`PUT /markets/{market}`) and players a person confirmed or `find_players` took. Each player's links are found with `POST /markets/{market}/links/find`: a reader reads only through links a person or a test confirmed.\n\n**Next:** Read back what was read with the market's coverage, and its folder, once the readers have run: most within the quarter hour, a long read over a day or two where a source's cap holds it back.\n\n**Limits:** The market and each player are each one of the day's reads, none on Free and Pro, 10 on Pilot, and no limit on Enterprise; past it, a player isn't asked and its row says why, and the market's own read past it is a `403` with the code `plan`. At most 20 confirmed players a market. Every source's cap for the day holds whatever the read would spend. Enterprise and Pilot only.",
        "x-mcp-tool": "read_market",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/markets/mkt_01JCQ9IDP0000000000000000A/read' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "market",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "force": {
                    "type": "boolean",
                    "description": "Read again what was read in the last day, under every cap"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Nothing could be asked: what waits, and why",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "market": {
                        "id": "mkt_01JCQ9IDP0000000000000000A",
                        "name": "Intelligent document processing"
                      },
                      "forced": false,
                      "own": {
                        "asked_at": "2026-11-26T22:00:00.000Z",
                        "until": "2026-11-27T22:00:00.000Z",
                        "again": false,
                        "queued": [
                          {
                            "id": "google-trends",
                            "name": "Google Trends",
                            "links": 2
                          }
                        ],
                        "waiting": [
                          {
                            "id": "reddit",
                            "name": "Reddit",
                            "needs": [
                              "reddit_subreddit"
                            ]
                          }
                        ],
                        "stands": [],
                        "why": null
                      },
                      "players": [
                        {
                          "company": {
                            "id": "docuflow",
                            "name": "Docuflow"
                          },
                          "asked_at": "2026-11-26T22:00:00.000Z",
                          "until": "2026-11-27T22:00:00.000Z",
                          "again": false,
                          "queued": [
                            {
                              "id": "company-site",
                              "name": "The company's own site",
                              "links": 1
                            },
                            {
                              "id": "job-postings",
                              "name": "Job postings (TheirStack)",
                              "links": 1
                            },
                            {
                              "id": "g2",
                              "name": "G2",
                              "links": 1
                            }
                          ],
                          "waiting": [
                            {
                              "id": "instagram",
                              "name": "Instagram",
                              "needs": [
                                "instagram"
                              ]
                            }
                          ],
                          "stands": [],
                          "why": null
                        }
                      ],
                      "expected": [
                        {
                          "id": "google-trends",
                          "name": "Google Trends",
                          "companies": 1,
                          "calls": 3,
                          "usd_a_call": 0.011,
                          "usd": 0.033,
                          "spent_today_usd": 0.11,
                          "cap_usd": 0.5,
                          "fits": true,
                          "how": "three requests a company, as its entry says. Three requests a read …"
                        },
                        {
                          "id": "job-postings",
                          "name": "Job postings (TheirStack)",
                          "companies": 1,
                          "calls": 35,
                          "usd_a_call": 0.0327,
                          "usd": 1.1445,
                          "spent_today_usd": 2.4,
                          "cap_usd": 10,
                          "fits": true,
                          "how": "35 credits a company, a target's read by role and state, as its entry says. A credit on TheirStack's $49 plan …"
                        }
                      ],
                      "asked_today": 2,
                      "limit": 10
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "forced": {
                      "type": "boolean"
                    },
                    "own": {
                      "type": "object",
                      "properties": {
                        "asked_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "until": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "again": {
                          "type": "boolean"
                        },
                        "queued": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "links": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "links"
                            ]
                          }
                        },
                        "waiting": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "needs": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "needs"
                            ]
                          }
                        },
                        "stands": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "read_at": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "read_at"
                            ]
                          }
                        },
                        "why": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "asked_at",
                        "until",
                        "again",
                        "queued",
                        "waiting",
                        "stands",
                        "why"
                      ]
                    },
                    "players": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "asked_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "until": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "again": {
                            "type": "boolean"
                          },
                          "queued": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "links": {
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "links"
                              ]
                            }
                          },
                          "waiting": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "needs": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "needs"
                              ]
                            }
                          },
                          "stands": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "read_at": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "read_at"
                              ]
                            }
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          }
                        },
                        "required": [
                          "asked_at",
                          "until",
                          "again",
                          "queued",
                          "waiting",
                          "stands",
                          "why",
                          "company"
                        ]
                      }
                    },
                    "expected": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "companies": {
                            "type": "integer"
                          },
                          "calls": {
                            "type": "integer"
                          },
                          "usd_a_call": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "usd": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "spent_today_usd": {
                            "type": "number"
                          },
                          "cap_usd": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "fits": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "how": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "companies",
                          "calls",
                          "usd_a_call",
                          "usd",
                          "spent_today_usd",
                          "cap_usd",
                          "fits",
                          "how"
                        ]
                      }
                    },
                    "asked_today": {
                      "type": "integer"
                    },
                    "limit": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "market",
                    "forced",
                    "own",
                    "players",
                    "expected",
                    "asked_today",
                    "limit"
                  ]
                }
              }
            }
          },
          "202": {
            "description": "What was queued for the market and each player, what waits, and the read's expected cost by source against each cap",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "forced": {
                      "type": "boolean"
                    },
                    "own": {
                      "type": "object",
                      "properties": {
                        "asked_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "until": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "again": {
                          "type": "boolean"
                        },
                        "queued": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "links": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "links"
                            ]
                          }
                        },
                        "waiting": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "needs": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "needs"
                            ]
                          }
                        },
                        "stands": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "read_at": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "read_at"
                            ]
                          }
                        },
                        "why": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "asked_at",
                        "until",
                        "again",
                        "queued",
                        "waiting",
                        "stands",
                        "why"
                      ]
                    },
                    "players": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "asked_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "until": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "again": {
                            "type": "boolean"
                          },
                          "queued": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "links": {
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "links"
                              ]
                            }
                          },
                          "waiting": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "needs": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "needs"
                              ]
                            }
                          },
                          "stands": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "read_at": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "read_at"
                              ]
                            }
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          }
                        },
                        "required": [
                          "asked_at",
                          "until",
                          "again",
                          "queued",
                          "waiting",
                          "stands",
                          "why",
                          "company"
                        ]
                      }
                    },
                    "expected": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "companies": {
                            "type": "integer"
                          },
                          "calls": {
                            "type": "integer"
                          },
                          "usd_a_call": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "usd": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "spent_today_usd": {
                            "type": "number"
                          },
                          "cap_usd": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "fits": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "how": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "companies",
                          "calls",
                          "usd_a_call",
                          "usd",
                          "spent_today_usd",
                          "cap_usd",
                          "fits",
                          "how"
                        ]
                      }
                    },
                    "asked_today": {
                      "type": "integer"
                    },
                    "limit": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "market",
                    "forced",
                    "own",
                    "players",
                    "expected",
                    "asked_today",
                    "limit"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Markets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `read_market`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/markets/{market}/coverage": {
      "get": {
        "operationId": "getMarketCoverage",
        "summary": "What has been read for a market's players, source by source: a row a source, a column a player, and a line for each",
        "description": "Says, for one of your team's markets, what PodData has read for its confirmed players, source by source. `own` is the market's own sources, the readers of a category's names, each as `target_coverage` states it. `sources` is a grid: a row a source that reads companies by their links, a cell a player, with how it stands, what it holds and its first and last day, and whether a day's cap held it back; each row's line says for how many players it's read and holds something, and which wait on a link, are due, were held back by a cap or failed. `players` is a line a player, how many sources hold something for it, so a thin one shows before a report leans on it, and the read now your team last asked for of it. `left_out` counts the catalog's other sources, none of which reads a player here, with why. `words` says it all in sentences a market report's method is written from.\n\n**Before:** The market is one of your team's, with its players confirmed (`GET /markets/{market}/players`).\n\n**Next:** Confirm a waiting player's links at `/companies/{id}/links` so it can be read. A report's method quotes `words`.\n\n**Limits:** The confirmed players the team may see, at most 20. A market that isn't your team's is a `404`. Nothing here says another team looks at a player.",
        "x-mcp-tool": "market_coverage",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/markets/mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P/coverage' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The market's id, from GET /markets or POST /markets: mkt_…"
            },
            "required": true,
            "description": "The market's id, from GET /markets or POST /markets: mkt_…",
            "name": "market",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 40,
              "description": "Only this family's sources, such as reviews"
            },
            "required": false,
            "description": "Only this family's sources, such as reviews",
            "name": "family",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The first day the known breaks are read from; three years before `to` if left out"
            },
            "required": false,
            "description": "The first day the known breaks are read from; three years before `to` if left out",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The last day; today if left out"
            },
            "required": false,
            "description": "The last day; today if left out",
            "name": "to",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "What has been read for the market's players",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "market": {
                        "id": "mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P",
                        "name": "Intelligent Document Processing"
                      },
                      "window": {
                        "from": "2023-11-26",
                        "to": "2026-11-26"
                      },
                      "own": [],
                      "read": null,
                      "players": [
                        {
                          "company": {
                            "id": "ledgerline",
                            "name": "Ledgerline"
                          },
                          "links": {
                            "confirmed": 4,
                            "proposed": 0
                          },
                          "holding": 1,
                          "read_by": 1,
                          "read": null,
                          "words": "Ledgerline: something held from 1 of 1 source, read by 1."
                        },
                        {
                          "company": {
                            "id": "paperless-pike",
                            "name": "Paperless Pike"
                          },
                          "links": {
                            "confirmed": 1,
                            "proposed": 1
                          },
                          "holding": 0,
                          "read_by": 0,
                          "read": null,
                          "words": "Paperless Pike: something held from 0 of 1 source, read by 0. Thin: fewer than half the best-held player's 1 source, so a figure that leans on it says so."
                        }
                      ],
                      "sources": [
                        {
                          "id": "g2",
                          "name": "G2",
                          "family": {
                            "id": "reviews",
                            "name": "Reviews"
                          },
                          "route": "Public page",
                          "cadence": "Weekly",
                          "needs": [
                            "g2_product"
                          ],
                          "players": [
                            {
                              "player": "ledgerline",
                              "stands": "read",
                              "holds": {
                                "records": 0,
                                "signals": 412,
                                "documents": 0,
                                "from": "2021-03-02",
                                "to": "2026-11-20"
                              },
                              "why": null,
                              "capped": false
                            },
                            {
                              "player": "paperless-pike",
                              "stands": "waiting",
                              "holds": {
                                "records": 0,
                                "signals": 0,
                                "documents": 0,
                                "from": null,
                                "to": null
                              },
                              "why": "It reads against a confirmed G2 product, and Paperless Pike has none confirmed: 1 proposed, waiting for a person's yes.",
                              "capped": false
                            }
                          ],
                          "read": 1,
                          "holding": 1,
                          "of": 2,
                          "waiting": [
                            "paperless-pike"
                          ],
                          "due": [],
                          "capped": [],
                          "failed": [],
                          "holds": {
                            "records": 0,
                            "signals": 412,
                            "documents": 0,
                            "from": "2021-03-02",
                            "to": "2026-11-20"
                          },
                          "words": "G2: read for 1 of 2 players, something held for 1. Waiting on a link: Paperless Pike."
                        }
                      ],
                      "left_out": {
                        "count": 1,
                        "sources": [
                          {
                            "id": "usaspending",
                            "name": "USAspending.gov",
                            "stands": "off_here",
                            "why": "Its reader is built, but it isn't switched on here."
                          }
                        ]
                      },
                      "words": [
                        "Intelligent Document Processing's 2 confirmed players: Ledgerline and Paperless Pike.",
                        "Reviews for 1 of 2 players, from G2.",
                        "Thin, beside the best-held player's 1 source: Paperless Pike (0).",
                        "1 source in the catalog is left out: none is read through a player's links here."
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "window": {
                      "type": "object",
                      "properties": {
                        "from": {
                          "type": "string"
                        },
                        "to": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "from",
                        "to"
                      ]
                    },
                    "own": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "family": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "route": {
                            "type": "string"
                          },
                          "cadence": {
                            "type": "string"
                          },
                          "stands": {
                            "type": "string",
                            "enum": [
                              "read",
                              "due",
                              "failed",
                              "waiting",
                              "off_here",
                              "by_request",
                              "not_read",
                              "not_built",
                              "not_applicable"
                            ]
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "needs": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "string"
                            }
                          },
                          "links": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "confirmed": {
                                "type": "integer"
                              },
                              "proposed": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "confirmed",
                              "proposed"
                            ]
                          },
                          "holds": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "records": {
                                "type": "integer"
                              },
                              "signals": {
                                "type": "integer"
                              },
                              "documents": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "records",
                              "signals",
                              "documents",
                              "from",
                              "to"
                            ]
                          },
                          "last_ok": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "last_run": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "at": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "running",
                                  "ok",
                                  "failed",
                                  "capped"
                                ]
                              }
                            },
                            "required": [
                              "at",
                              "status"
                            ]
                          },
                          "capped_until": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "When the cap its latest run stopped at lifts, the next midnight UTC (or Pacific, for YouTube); null where its latest run met no cap. Always given, optional for an answer kept before it"
                          },
                          "pull": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "captured_at": {
                                "type": "string"
                              },
                              "sort": {
                                "type": "string"
                              },
                              "filter": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "method": {
                                "type": "string"
                              },
                              "total": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "items": {
                                "type": "integer"
                              },
                              "held": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "captured_at",
                              "sort",
                              "filter",
                              "method",
                              "total",
                              "items",
                              "held"
                            ]
                          },
                          "breaks": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "sources": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "from": {
                                  "type": "string"
                                },
                                "to": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "approximate": {
                                  "type": "boolean"
                                },
                                "effect": {
                                  "type": "string",
                                  "enum": [
                                    "mark",
                                    "mask"
                                  ]
                                },
                                "what": {
                                  "type": "string"
                                },
                                "url": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "sources",
                                "from",
                                "to",
                                "approximate",
                                "effect",
                                "what",
                                "url"
                              ]
                            }
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "family",
                          "route",
                          "cadence",
                          "stands",
                          "why",
                          "needs",
                          "links",
                          "holds",
                          "last_ok",
                          "last_run",
                          "pull",
                          "breaks"
                        ]
                      }
                    },
                    "read": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "asked_at": {
                          "type": "string"
                        },
                        "until": {
                          "type": "string"
                        },
                        "state": {
                          "type": "string",
                          "enum": [
                            "going",
                            "done",
                            "held"
                          ]
                        },
                        "queued": {
                          "type": "integer"
                        },
                        "ran": {
                          "type": "integer"
                        },
                        "left": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "state": {
                                "type": "string",
                                "enum": [
                                  "going",
                                  "held"
                                ]
                              },
                              "why": {
                                "type": "string"
                              },
                              "opens": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "state",
                              "why",
                              "opens"
                            ]
                          }
                        },
                        "why": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "asked_at",
                        "until",
                        "state",
                        "queued",
                        "ran",
                        "left",
                        "why"
                      ]
                    },
                    "players": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "links": {
                            "type": "object",
                            "properties": {
                              "confirmed": {
                                "type": "integer"
                              },
                              "proposed": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "confirmed",
                              "proposed"
                            ]
                          },
                          "holding": {
                            "type": "integer"
                          },
                          "read_by": {
                            "type": "integer"
                          },
                          "read": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "asked_at": {
                                "type": "string"
                              },
                              "until": {
                                "type": "string"
                              },
                              "state": {
                                "type": "string",
                                "enum": [
                                  "going",
                                  "done",
                                  "held"
                                ]
                              },
                              "queued": {
                                "type": "integer"
                              },
                              "ran": {
                                "type": "integer"
                              },
                              "left": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "state": {
                                      "type": "string",
                                      "enum": [
                                        "going",
                                        "held"
                                      ]
                                    },
                                    "why": {
                                      "type": "string"
                                    },
                                    "opens": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "state",
                                    "why",
                                    "opens"
                                  ]
                                }
                              },
                              "why": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "asked_at",
                              "until",
                              "state",
                              "queued",
                              "ran",
                              "left",
                              "why"
                            ]
                          },
                          "words": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "company",
                          "links",
                          "holding",
                          "read_by",
                          "read",
                          "words"
                        ]
                      }
                    },
                    "sources": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "family": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "route": {
                            "type": "string"
                          },
                          "cadence": {
                            "type": "string"
                          },
                          "needs": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "string"
                            }
                          },
                          "players": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "player": {
                                  "type": "string"
                                },
                                "stands": {
                                  "type": "string",
                                  "enum": [
                                    "read",
                                    "due",
                                    "failed",
                                    "waiting",
                                    "off_here",
                                    "by_request",
                                    "not_read",
                                    "not_built",
                                    "not_applicable"
                                  ]
                                },
                                "holds": {
                                  "type": "object",
                                  "properties": {
                                    "records": {
                                      "type": "integer"
                                    },
                                    "signals": {
                                      "type": "integer"
                                    },
                                    "documents": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "records",
                                    "signals",
                                    "documents",
                                    "from",
                                    "to"
                                  ]
                                },
                                "why": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "capped": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "player",
                                "stands",
                                "holds",
                                "why",
                                "capped"
                              ]
                            }
                          },
                          "read": {
                            "type": "integer"
                          },
                          "holding": {
                            "type": "integer"
                          },
                          "of": {
                            "type": "integer"
                          },
                          "waiting": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "due": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "capped": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "failed": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "holds": {
                            "type": "object",
                            "properties": {
                              "records": {
                                "type": "integer"
                              },
                              "signals": {
                                "type": "integer"
                              },
                              "documents": {
                                "type": "integer"
                              },
                              "from": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "to": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "records",
                              "signals",
                              "documents",
                              "from",
                              "to"
                            ]
                          },
                          "words": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "family",
                          "route",
                          "cadence",
                          "needs",
                          "players",
                          "read",
                          "holding",
                          "of",
                          "waiting",
                          "due",
                          "capped",
                          "failed",
                          "holds",
                          "words"
                        ]
                      }
                    },
                    "left_out": {
                      "type": "object",
                      "properties": {
                        "count": {
                          "type": "integer"
                        },
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "stands": {
                                "type": "string",
                                "enum": [
                                  "read",
                                  "due",
                                  "failed",
                                  "waiting",
                                  "off_here",
                                  "by_request",
                                  "not_read",
                                  "not_built",
                                  "not_applicable"
                                ]
                              },
                              "why": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "stands",
                              "why"
                            ]
                          }
                        }
                      },
                      "required": [
                        "count",
                        "sources"
                      ]
                    },
                    "words": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "required": [
                    "market",
                    "window",
                    "own",
                    "read",
                    "players",
                    "sources",
                    "left_out",
                    "words"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Markets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `market_coverage`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/markets/{market}/folder": {
      "get": {
        "operationId": "getMarketFolder",
        "summary": "Everything PodData holds for one of the team's markets: its own part, a part a confirmed player, each file by its address",
        "description": "Lists everything PodData holds for one of your team's markets, as a target's folder does for a target. `parts` is the market's own part (what its category readers keep, each source with coverage's word for it), then a part a confirmed player, holding for each what a target's own part holds: source by source, its records and signals by kind with their count, first and last day, CSV file and JSON rows, its site's pages, its documents and the raw responses its readers kept. Beside them: the quotes and episodes its names found, its definition, its coverage (the grid, at its address, and its sentences) and your reports on it. Each address is a /v1 route your key reads; nothing is copied, and a document's original comes only from `GET /documents/{id}`.\n\n**Before:** The market is one of your team's, with its players confirmed (`GET /markets/{market}/players`).\n\n**Next:** Fetch each file by its address, or run the skill's puller with `--market <market>`, which writes `market/` and `players/<id>/` to a folder. A market report is written from it.\n\n**Limits:** The confirmed players the team may see, at most 20. No zip yet: the puller fetches each file. A market that isn't your team's is a `404`.",
        "x-mcp-tool": "market_folder",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/markets/mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P/folder' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The market's id, from GET /markets or POST /markets: mkt_…"
            },
            "required": true,
            "description": "The market's id, from GET /markets or POST /markets: mkt_…",
            "name": "market",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The market's folder",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "market": {
                        "id": "mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P",
                        "name": "Intelligent Document Processing"
                      },
                      "asked_at": "2026-11-26T16:00:00.000Z",
                      "window": {
                        "from": "2023-11-26",
                        "to": "2026-11-26"
                      },
                      "parts": [
                        {
                          "role": "market",
                          "company": {
                            "id": "mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P",
                            "name": "Intelligent Document Processing"
                          },
                          "sources": [],
                          "documents": {
                            "count": 0,
                            "file": "/v1/documents?company=mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P&format=csv",
                            "rows": "/v1/documents?company=mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P"
                          }
                        },
                        {
                          "role": "player",
                          "company": {
                            "id": "ledgerline",
                            "name": "Ledgerline"
                          },
                          "sources": [
                            {
                              "id": "g2",
                              "name": "G2",
                              "family": {
                                "id": "reviews",
                                "name": "Reviews"
                              },
                              "stands": null,
                              "why": null,
                              "last_ok": null,
                              "records": [],
                              "signals": [
                                {
                                  "kind": "review",
                                  "count": 412,
                                  "from": "2021-03-02",
                                  "to": "2026-11-20",
                                  "file": "/v1/companies/ledgerline/signals?source=g2&kind=review&format=csv",
                                  "rows": "/v1/companies/ledgerline/signals?source=g2&kind=review",
                                  "held": null
                                }
                              ],
                              "documents": {
                                "count": 0,
                                "from": null,
                                "to": null
                              },
                              "pages": null,
                              "raw": null
                            }
                          ],
                          "documents": {
                            "count": 0,
                            "file": "/v1/documents?company=ledgerline&format=csv",
                            "rows": "/v1/documents?company=ledgerline"
                          }
                        }
                      ],
                      "quotes": {
                        "market": null
                      },
                      "definition": {
                        "set_at": "2026-11-26T15:00:00.000Z",
                        "rows": "/v1/markets/mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P"
                      },
                      "coverage": {
                        "rows": "/v1/markets/mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P/coverage",
                        "players": 1,
                        "sources": 1,
                        "words": [
                          "Intelligent Document Processing's 1 confirmed player: Ledgerline.",
                          "Reviews for 1 of 1 player, from G2."
                        ]
                      },
                      "reports": []
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "market": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "asked_at": {
                      "type": "string"
                    },
                    "window": {
                      "type": "object",
                      "properties": {
                        "from": {
                          "type": "string"
                        },
                        "to": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "from",
                        "to"
                      ]
                    },
                    "parts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "role": {
                            "type": "string",
                            "enum": [
                              "target",
                              "rival",
                              "parent",
                              "comparable",
                              "subsidiary",
                              "market",
                              "player"
                            ]
                          },
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ]
                          },
                          "sources": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "family": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "stands": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "enum": [
                                    "read",
                                    "due",
                                    "failed",
                                    "waiting",
                                    "off_here",
                                    "by_request",
                                    "not_read",
                                    "not_built",
                                    "not_applicable",
                                    null
                                  ]
                                },
                                "why": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "last_ok": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "records": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "kind": {
                                        "type": "string"
                                      },
                                      "count": {
                                        "type": "integer"
                                      },
                                      "from": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "to": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "file": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "rows": {
                                        "type": "string"
                                      },
                                      "held": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "count",
                                      "from",
                                      "to",
                                      "file",
                                      "rows",
                                      "held"
                                    ]
                                  }
                                },
                                "signals": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "kind": {
                                        "type": "string"
                                      },
                                      "count": {
                                        "type": "integer"
                                      },
                                      "from": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "to": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "file": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "rows": {
                                        "type": "string"
                                      },
                                      "held": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "count",
                                      "from",
                                      "to",
                                      "file",
                                      "rows",
                                      "held"
                                    ]
                                  }
                                },
                                "documents": {
                                  "type": "object",
                                  "properties": {
                                    "count": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "count",
                                    "from",
                                    "to"
                                  ]
                                },
                                "pages": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "count": {
                                      "type": "integer"
                                    },
                                    "from": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "to": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "file": {
                                      "type": "string"
                                    },
                                    "rows": {
                                      "type": "string"
                                    },
                                    "why": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "count",
                                    "from",
                                    "to",
                                    "file",
                                    "rows",
                                    "why"
                                  ]
                                },
                                "raw": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "count": {
                                      "type": "integer"
                                    },
                                    "bytes": {
                                      "type": "integer"
                                    },
                                    "items": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "id": {
                                            "type": "string"
                                          },
                                          "row": {
                                            "type": "string"
                                          },
                                          "bytes": {
                                            "type": "integer"
                                          },
                                          "media_type": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "fetched_at": {
                                            "type": "string"
                                          },
                                          "rows": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "id",
                                          "row",
                                          "bytes",
                                          "media_type",
                                          "fetched_at",
                                          "rows"
                                        ]
                                      }
                                    },
                                    "held": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "count",
                                    "bytes",
                                    "items",
                                    "held"
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "family",
                                "stands",
                                "why",
                                "last_ok",
                                "records",
                                "signals",
                                "documents",
                                "pages",
                                "raw"
                              ]
                            }
                          },
                          "documents": {
                            "type": "object",
                            "properties": {
                              "count": {
                                "type": "integer"
                              },
                              "file": {
                                "type": "string"
                              },
                              "rows": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "count",
                              "file",
                              "rows"
                            ]
                          }
                        },
                        "required": [
                          "role",
                          "company",
                          "sources",
                          "documents"
                        ]
                      }
                    },
                    "quotes": {
                      "type": "object",
                      "properties": {
                        "market": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "file": {
                              "type": "string"
                            },
                            "rows": {
                              "type": "string"
                            },
                            "episodes": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "file",
                            "rows",
                            "episodes"
                          ]
                        }
                      },
                      "required": [
                        "market"
                      ]
                    },
                    "definition": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "set_at": {
                          "type": "string"
                        },
                        "rows": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "set_at",
                        "rows"
                      ]
                    },
                    "coverage": {
                      "type": "object",
                      "properties": {
                        "rows": {
                          "type": "string"
                        },
                        "players": {
                          "type": "integer"
                        },
                        "sources": {
                          "type": "integer"
                        },
                        "words": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "rows",
                        "players",
                        "sources",
                        "words"
                      ]
                    },
                    "reports": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "updated_at": {
                            "type": "string"
                          },
                          "rows": {
                            "type": "string"
                          },
                          "file": {
                            "type": "string"
                          },
                          "runs": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "kind": {
                                  "type": "string"
                                },
                                "status": {
                                  "type": "string"
                                },
                                "created_at": {
                                  "type": "string"
                                },
                                "ended_at": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "usd": {
                                  "type": "number"
                                },
                                "rows": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "status",
                                "created_at",
                                "ended_at",
                                "usd",
                                "rows"
                              ]
                            }
                          }
                        },
                        "required": [
                          "id",
                          "title",
                          "status",
                          "updated_at",
                          "rows",
                          "file",
                          "runs"
                        ]
                      }
                    }
                  },
                  "required": [
                    "market",
                    "asked_at",
                    "window",
                    "parts",
                    "quotes",
                    "definition",
                    "coverage",
                    "reports"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Markets"
        ],
        "x-mint": {
          "content": "**MCP tool:** `market_folder`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/diligence-reports/{id}/runs": {
      "post": {
        "operationId": "startDiligenceRun",
        "summary": "Starts PodData's agent on a report: a first draft, or with a message, a change that leaves the rest",
        "description": "Has PodData's own agent write one of your reports, in the background. With no `message`, where the target's read isn't done, it starts with intake: one agent finds the company's links, rivals, listed parent and comparables and proposes them, PodData takes each its rules allow, and the run asks for the read and waits for it, which can take hours. A source held by a day's cap or a provider's credits isn't waited for: each page it would feed says so in its method, and once it has read, the run starts an update that rewrites only those pages. Then an agent for each page still `empty`, then one for the overview, each reading PodData's records through the tools an assistant has, then the report's check and a review of the whole report by a model of another family, each claim against its figure; a checker fixes what either refuses. On a new report that's every page; after a run that ended `capped`, the pages it left. A page that's written or waits on a source is left as it is, and with nothing left the run only checks the report. With `message`, one agent makes that change and leaves the rest. `202` with the run, `started_by` naming your key.\n\n**Before:** The report, from `POST /diligence-reports`, on one of your targets. For a change, PodData has read it: `GET /targets/{company}/coverage` says when the read is done.\n\n**Next:** Read the run with `GET /diligence-runs/{id}` every minute or so until its status is `done`, `stopped`, `capped`, `refused` or `failed`, then the report with `GET /diligence-reports/{id}`. One that ended `capped` says which pages are still empty: start another run with no message to write them.\n\n**Limits:** PodData pays for its turns, up to the run's `cap_usd`, $5, so ask the person first. One run of a report at a time: a second while one is going is a `409` naming it. A link or rival still proposed holds nothing up: nothing is read through it, and a page's method names it. A change doesn't start while the read of the target or a confirmed rival is open: no read asked, a read going, or a link or rival decided after its read. That's a `409` naming each gap and what fills it. A source held by a day's cap, by a failure's wait or by an ask that lapsed doesn't hold a change up, as it doesn't hold up a first draft. Runs a key or an assistant starts a UTC day: none on Free and Pro, 3 on Pilot, and 10 on Enterprise; past them a `429` with `Retry-After` at midnight UTC, and on a plan that starts none a `403`. A run started in the workspace isn't counted.",
        "x-mcp-tool": "start_report_run",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/runs' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{}'"
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The report's id, dlr_…"
            },
            "required": true,
            "description": "The report's id, dlr_…",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {}
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "message": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000,
                    "description": "What to change, in a sentence or two. Left out, the run writes a first draft"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Started: it runs in the background. Read it with GET /v1/diligence-runs/{id}",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "drn_01JD9M7Q8R9S00000000000000",
                      "report": "dlr_01JD9K4M5N6P00000000000000",
                      "company": "northwind-dental",
                      "kind": "write",
                      "message": null,
                      "status": "queued",
                      "why": null,
                      "model": "claude-sonnet-5-5",
                      "playbook": "2",
                      "usd": 0,
                      "cap_usd": 5,
                      "check_usd": 0.23,
                      "turns": 0,
                      "agents": [],
                      "refusals": null,
                      "intake": {
                        "ran": true,
                        "taken": [
                          {
                            "what": "rival",
                            "company": "Northwind Dental",
                            "value": "Bluebird Dental",
                            "page": "https://bluebird-dental.example/",
                            "why": null
                          }
                        ],
                        "proposed": [
                          {
                            "what": "link",
                            "company": "Northwind Dental",
                            "value": "instagram northwinddental",
                            "page": null,
                            "why": "No page shows it's the company's, so a person decides it."
                          }
                        ],
                        "reads": [
                          {
                            "at": "2026-11-14T10:02:00.000Z",
                            "readers": 3,
                            "rivals": 1,
                            "refused": null
                          }
                        ],
                        "note": null
                      },
                      "sheet": {
                        "at": "2026-11-14T10:04:00.000Z",
                        "round": 1,
                        "back": [],
                        "pages": [
                          {
                            "page": "customer",
                            "call": "thin",
                            "answers": 1,
                            "of": 8,
                            "exhibits": [
                              {
                                "title": "How each company rates",
                                "answers": true,
                                "tool": "rating_rivals",
                                "params": {
                                  "source": "google-maps"
                                },
                                "why": null,
                                "waits_on": [],
                                "rivals": [
                                  {
                                    "company": {
                                      "id": "bluebird-dental",
                                      "name": "Bluebird Dental"
                                    },
                                    "answers": true
                                  }
                                ],
                                "sample": {
                                  "read": 24,
                                  "of": 24,
                                  "from": "2025-12-02",
                                  "to": "2026-11-10"
                                },
                                "small": true,
                                "window": {
                                  "from": "2025-11-15",
                                  "to": "2026-11-14"
                                },
                                "sources": [
                                  {
                                    "id": "google-maps",
                                    "name": "Google Maps reviews and listings"
                                  }
                                ],
                                "caveats": [
                                  "Under 30 reviews: read with the count and its interval."
                                ],
                                "breaks": []
                              }
                            ]
                          }
                        ]
                      },
                      "started_by": {
                        "via": "key",
                        "key": "key_01JD9H6J7K8M00000000000000"
                      },
                      "created_at": "2026-11-14T10:00:00.000Z",
                      "updated_at": "2026-11-14T10:00:00.000Z",
                      "ended_at": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "drn_…"
                    },
                    "report": {
                      "type": "string"
                    },
                    "company": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "write",
                        "change",
                        "update"
                      ],
                      "description": "A first draft, a person's change, or an update its run started once a reader it went without had run"
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "What a person asked for, on a change"
                    },
                    "updates": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "On an update, the run whose held readers it takes up, drn_…; null otherwise"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "queued",
                        "running",
                        "waiting",
                        "checking",
                        "done",
                        "stopped",
                        "capped",
                        "refused",
                        "failed"
                      ]
                    },
                    "why": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Why it waits or ended, in a sentence"
                    },
                    "model": {
                      "type": "string"
                    },
                    "playbook": {
                      "type": "string",
                      "description": "The playbook's version"
                    },
                    "usd": {
                      "type": "number",
                      "description": "What its turns have cost so far, in dollars"
                    },
                    "cap_usd": {
                      "type": "number",
                      "description": "What it may spend, in dollars: the cap on a run"
                    },
                    "check_usd": {
                      "type": "number",
                      "description": "What its checking has cost of usd, in dollars: its checker agents' turns and its review's calls. Missing from an answer before Nov 20, 2026"
                    },
                    "turns": {
                      "type": "integer"
                    },
                    "agents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "description": "intake, intake-again, plan, a page (customer) and its reader (customer-read), the analyst, the writer, overview, titles, change, a round's checker of a page or the overview (check-1-customer, check-1-overview), and of the whole report (check-1)"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "running",
                              "waiting",
                              "done",
                              "capped",
                              "refused",
                              "cut_off",
                              "stopped"
                            ]
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "turns": {
                            "type": "integer"
                          },
                          "usd": {
                            "type": "number"
                          },
                          "trace": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "turn": {
                                  "type": "integer"
                                },
                                "at": {
                                  "type": "string"
                                },
                                "model": {
                                  "type": "string"
                                },
                                "usd": {
                                  "type": "number"
                                },
                                "stop": {
                                  "type": "string",
                                  "description": "tool_use, end_turn, max_tokens, refusal, unreadable, …"
                                },
                                "tokens": {
                                  "type": "object",
                                  "properties": {
                                    "input": {
                                      "type": "integer"
                                    },
                                    "cache_write": {
                                      "type": "integer"
                                    },
                                    "cache_read": {
                                      "type": "integer"
                                    },
                                    "output": {
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "input",
                                    "cache_write",
                                    "cache_read",
                                    "output"
                                  ]
                                },
                                "tools": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "ok": {
                                        "type": "boolean"
                                      },
                                      "chars": {
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "name",
                                      "ok",
                                      "chars"
                                    ]
                                  }
                                },
                                "cleared": {
                                  "type": "object",
                                  "properties": {
                                    "tool_uses": {
                                      "type": "integer"
                                    },
                                    "tokens": {
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "tool_uses",
                                    "tokens"
                                  ],
                                  "description": "What the server's context editing cleared from this turn's prompt: every tool use and input token cleared. Missing where nothing was; a count above the turn before's means the clearing moved before this turn"
                                },
                                "cache": {
                                  "type": "object",
                                  "properties": {
                                    "broke": {
                                      "type": "string",
                                      "enum": [
                                        "cleared",
                                        "lapsed",
                                        "shortened",
                                        "other"
                                      ],
                                      "description": "cleared: the clearing moved; lapsed: it came after the five minutes the cache keeps a prompt; shortened: a run waking from the day's cap shortened its conversation; other: anything else"
                                    },
                                    "minutes": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "broke",
                                    "minutes"
                                  ],
                                  "description": "Where this turn read less from the prompt cache than the turn before's whole prompt: why, as far as the loop can tell, and how many minutes after the turn before it was sent. Missing where the cache held"
                                },
                                "host": {
                                  "type": "string",
                                  "description": "Who served the turn, as OpenRouter names the host: Amazon Bedrock, Google Vertex. Missing where the provider doesn’t say"
                                },
                                "tries": {
                                  "type": "integer",
                                  "description": "How many times the call went before it was answered, where it took more than one: a host that failed it, or answered it with no call"
                                }
                              },
                              "required": [
                                "turn",
                                "at",
                                "model",
                                "usd",
                                "stop",
                                "tokens",
                                "tools"
                              ]
                            }
                          }
                        },
                        "required": [
                          "name",
                          "status",
                          "why",
                          "turns",
                          "usd"
                        ]
                      }
                    },
                    "refusals": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "string"
                      },
                      "description": "What the check last refused, each in a sentence"
                    },
                    "intake": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "ran": {
                          "type": "boolean",
                          "description": "False when the target had no read to wait for, so the run went straight on"
                        },
                        "taken": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string",
                                "enum": [
                                  "link",
                                  "rival",
                                  "parent",
                                  "comparable"
                                ]
                              },
                              "company": {
                                "type": "string",
                                "description": "The company it belongs to, by name"
                              },
                              "value": {
                                "type": "string",
                                "description": "The link's kind and value, or the rival's, parent's or comparable's name"
                              },
                              "page": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The page that shows it, where it has one"
                              },
                              "why": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Why it stayed proposed, in a sentence; null for one taken"
                              }
                            },
                            "required": [
                              "what",
                              "company",
                              "value",
                              "page",
                              "why"
                            ]
                          },
                          "description": "What the server took during this run"
                        },
                        "proposed": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string",
                                "enum": [
                                  "link",
                                  "rival",
                                  "parent",
                                  "comparable"
                                ]
                              },
                              "company": {
                                "type": "string",
                                "description": "The company it belongs to, by name"
                              },
                              "value": {
                                "type": "string",
                                "description": "The link's kind and value, or the rival's, parent's or comparable's name"
                              },
                              "page": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The page that shows it, where it has one"
                              },
                              "why": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Why it stayed proposed, in a sentence; null for one taken"
                              }
                            },
                            "required": [
                              "what",
                              "company",
                              "value",
                              "page",
                              "why"
                            ]
                          },
                          "description": "What stayed proposed: it holds nothing up, nothing is read through it, and a page's method names it"
                        },
                        "reads": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "at": {
                                "type": "string"
                              },
                              "readers": {
                                "type": "integer",
                                "description": "The target's readers queued"
                              },
                              "rivals": {
                                "type": "integer",
                                "description": "The rivals read with it"
                              },
                              "refused": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Why the plan's reads a day refused it, to be asked again after midnight UTC"
                              }
                            },
                            "required": [
                              "at",
                              "readers",
                              "rivals",
                              "refused"
                            ]
                          }
                        },
                        "note": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "What the run went on without, in a sentence, such as a day's rival finds spent"
                        },
                        "held": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "source": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "companies": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                },
                                "description": "The target or confirmed rivals it was held for"
                              },
                              "opens": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When it opens again for the first of them, the next midnight UTC; null once its ask lapsed, or for one still going when the read's time was spent"
                              },
                              "pages": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The pages this run wrote whose exhibits would use it: what an update counts and reads again"
                              },
                              "late": {
                                "type": "boolean",
                                "description": "True for a reader still going when the read's time was spent, which the run wrote without; missing for one a cap held"
                              }
                            },
                            "required": [
                              "source",
                              "companies",
                              "opens",
                              "pages"
                            ]
                          },
                          "description": "The readers held when the run wrote, which it didn't wait for. On an update, those still held. Missing on a run before Nov 19, 2026"
                        },
                        "waited": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "source": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "minutes": {
                                "type": "number",
                                "description": "How long the run waited while this reader was still to run, from its first look"
                              },
                              "ended": {
                                "type": "string",
                                "enum": [
                                  "read",
                                  "held",
                                  "late"
                                ],
                                "description": "read: it ran; held: a cap held it, and the run wrote without it; late: it was still going when the read's time was spent"
                              }
                            },
                            "required": [
                              "source",
                              "minutes",
                              "ended"
                            ]
                          },
                          "description": "What the run waited for before it wrote, by reader, so a slow one shows. Missing on a run before Nov 20, 2026"
                        }
                      },
                      "required": [
                        "ran",
                        "taken",
                        "proposed",
                        "reads",
                        "note"
                      ],
                      "description": "What its intake took, what stayed proposed and the reads it asked for. Null on a change, and until intake has settled the company"
                    },
                    "sheet": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "at": {
                          "type": "string",
                          "description": "When it was counted"
                        },
                        "round": {
                          "type": "integer",
                          "description": "1, or 2 when the count was made again after the run went back to intake"
                        },
                        "back": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "page": {
                                "type": "string"
                              },
                              "links": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "page",
                              "links"
                            ]
                          },
                          "description": "The pages that sent the run back to intake. Always empty on round 2: a run goes back once"
                        },
                        "pages": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "page": {
                                "type": "string"
                              },
                              "call": {
                                "type": "string",
                                "enum": [
                                  "full",
                                  "thin",
                                  "waits",
                                  "left_out"
                                ]
                              },
                              "answers": {
                                "type": "integer",
                                "description": "How many of its shape's exhibits answer"
                              },
                              "of": {
                                "type": "integer",
                                "description": "How many exhibits its shape names"
                              },
                              "exhibits": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "title": {
                                      "type": "string",
                                      "description": "The question the exhibit answers, in the shape's words"
                                    },
                                    "answers": {
                                      "type": "boolean",
                                      "description": "Whether its number tool answers for the target"
                                    },
                                    "tool": {
                                      "type": "string",
                                      "description": "The number tool that answered, or the first one asked"
                                    },
                                    "params": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "anyOf": [
                                          {
                                            "type": "string"
                                          },
                                          {
                                            "type": "number"
                                          }
                                        ]
                                      },
                                      "description": "The arguments the count asked it with"
                                    },
                                    "why": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "Why it doesn't answer, in a sentence; null when it does"
                                    },
                                    "waits_on": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      },
                                      "description": "The kinds of link a reader waits on before it can answer"
                                    },
                                    "rivals": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "company": {
                                            "type": "object",
                                            "properties": {
                                              "id": {
                                                "type": "string"
                                              },
                                              "name": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "id",
                                              "name"
                                            ]
                                          },
                                          "answers": {
                                            "type": "boolean"
                                          }
                                        },
                                        "required": [
                                          "company",
                                          "answers"
                                        ]
                                      },
                                      "description": "Whether it answers for each confirmed rival"
                                    },
                                    "sample": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "properties": {
                                        "read": {
                                          "type": "integer"
                                        },
                                        "of": {
                                          "type": [
                                            "integer",
                                            "null"
                                          ]
                                        },
                                        "from": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "to": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "read",
                                        "of",
                                        "from",
                                        "to"
                                      ],
                                      "description": "How much the answer rests on: what was read, what the platform says it holds, and the first and last day"
                                    },
                                    "small": {
                                      "type": "boolean",
                                      "description": "A figure of the target's rests on fewer than 30, so it's cited with its count and interval"
                                    },
                                    "window": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "properties": {
                                        "from": {
                                          "type": "string"
                                        },
                                        "to": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from",
                                        "to"
                                      ]
                                    },
                                    "sources": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "id": {
                                            "type": "string"
                                          },
                                          "name": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "id",
                                          "name"
                                        ]
                                      }
                                    },
                                    "caveats": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      }
                                    },
                                    "breaks": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "what": {
                                            "type": "string"
                                          },
                                          "from": {
                                            "type": "string"
                                          },
                                          "to": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "effect": {
                                            "type": "string",
                                            "enum": [
                                              "mark",
                                              "mask"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "what",
                                          "from",
                                          "to",
                                          "effect"
                                        ]
                                      },
                                      "description": "Known breaks at its sources inside the window"
                                    },
                                    "stands": {
                                      "type": "string",
                                      "enum": [
                                        "press",
                                        "reviewers",
                                        "rivals"
                                      ],
                                      "description": "The second kind of source it stands on, where its own hold nothing for the target: press, stories and releases about it; reviewers, its reviewers' words; rivals, the rivals' half of an exhibit that sets the target beside them, the target's row reading ask the company. Missing where it stands on its own"
                                    },
                                    "held": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "id": {
                                            "type": "string"
                                          },
                                          "name": {
                                            "type": "string"
                                          },
                                          "opens": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "id",
                                          "name",
                                          "opens"
                                        ]
                                      },
                                      "description": "The held sources it would use: one its answer names or its number tool reads, or, for a tool that says nothing of what it reads, one that reads through a kind of link it reads through. Missing where none is held"
                                    }
                                  },
                                  "required": [
                                    "title",
                                    "answers",
                                    "tool",
                                    "params",
                                    "why",
                                    "waits_on",
                                    "rivals",
                                    "sample",
                                    "small",
                                    "window",
                                    "sources",
                                    "caveats",
                                    "breaks"
                                  ]
                                },
                                "description": "Empty on a page left out, which nothing is asked for"
                              }
                            },
                            "required": [
                              "page",
                              "call",
                              "answers",
                              "of",
                              "exhibits"
                            ]
                          }
                        }
                      },
                      "required": [
                        "at",
                        "round",
                        "back",
                        "pages"
                      ],
                      "description": "What the run counted before it wrote any page: a call for each page and each exhibit's sample, window, sources and caveats. On one run only, left out of a list. Null on a change, and until it's counted"
                    },
                    "review": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "model": {
                          "type": "string",
                          "description": "The model that reviewed the report: of another family than the one that wrote its pages"
                        },
                        "usd": {
                          "type": "number",
                          "description": "What its calls cost this run, in dollars: part of the run's usd"
                        },
                        "rounds": {
                          "type": "integer"
                        },
                        "calls": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "key": {
                                "type": "string",
                                "description": "page-<id>, overview, across or story"
                              },
                              "round": {
                                "type": "integer"
                              },
                              "read": {
                                "type": "boolean",
                                "description": "False when nothing it reads changed since it was last read, so it cost nothing this round"
                              },
                              "usd": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "key",
                              "round",
                              "read",
                              "usd"
                            ]
                          }
                        },
                        "problems": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "where": {
                                "type": "string",
                                "description": "Where in the report, as the check names it: pages.3.questions.0.answer"
                              },
                              "problem": {
                                "type": "string"
                              },
                              "refused": {
                                "type": "boolean",
                                "description": "An accuracy problem refuses, and the run ends done only without one; a story or a gap problem is advice"
                              },
                              "kind": {
                                "type": "string",
                                "description": "quantity, rank, cause, claim, groups, title, caveat, unsupported, contradiction, two_values, said_two_ways, said_again, argument, headline, case_against, questions or gap"
                              }
                            },
                            "required": [
                              "where",
                              "problem",
                              "refused",
                              "kind"
                            ]
                          },
                          "description": "What its last round found"
                        },
                        "first": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "where": {
                                "type": "string",
                                "description": "Where in the report, as the check names it: pages.3.questions.0.answer"
                              },
                              "problem": {
                                "type": "string"
                              },
                              "refused": {
                                "type": "boolean",
                                "description": "An accuracy problem refuses, and the run ends done only without one; a story or a gap problem is advice"
                              },
                              "kind": {
                                "type": "string",
                                "description": "quantity, rank, cause, claim, groups, title, caveat, unsupported, contradiction, two_values, said_two_ways, said_again, argument, headline, case_against, questions or gap"
                              }
                            },
                            "required": [
                              "where",
                              "problem",
                              "refused",
                              "kind"
                            ]
                          },
                          "description": "What its first round found, before any fix. Missing on a run reviewed before Nov 19, 2026"
                        }
                      },
                      "required": [
                        "model",
                        "usd",
                        "rounds",
                        "calls",
                        "problems"
                      ],
                      "description": "What the review of the whole report found, its model and its cost. On one run only, left out of a list. Null until the run's first check"
                    },
                    "ledger": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "questions": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "findings": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "f1, f2…: a finding saved again by its id replaces it"
                              },
                              "question": {
                                "type": "string",
                                "description": "The question it answers, in the words the analyst was given"
                              },
                              "claim": {
                                "type": "string",
                                "description": "What it found, its figures in braces from the exhibits it names"
                              },
                              "exhibits": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "numbers": {
                                      "type": "string"
                                    },
                                    "company": {
                                      "type": "string"
                                    },
                                    "params": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "anyOf": [
                                          {
                                            "type": "string"
                                          },
                                          {
                                            "type": "number"
                                          },
                                          {
                                            "type": "boolean"
                                          },
                                          {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    "show": {
                                      "type": "string",
                                      "enum": [
                                        "figures",
                                        "table",
                                        "bars",
                                        "share",
                                        "series",
                                        "timeline",
                                        "windows",
                                        "grid",
                                        "lanes",
                                        "lines",
                                        "squares",
                                        "strip"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "numbers",
                                    "company",
                                    "params",
                                    "show"
                                  ]
                                },
                                "description": "The saved asks behind it, each as a page would save it: one, or two set side by side"
                              },
                              "sure": {
                                "type": "string",
                                "enum": [
                                  "strong",
                                  "moderate",
                                  "thin"
                                ],
                                "description": "How sure: strong, moderate or thin"
                              },
                              "why": {
                                "type": "string",
                                "description": "Why that sure: the sample, whose word it is, how many sources agree"
                              },
                              "limits": {
                                "type": "string",
                                "description": "What it doesn't show"
                              },
                              "bears_on": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The other findings it bears on, by id"
                              },
                              "pages": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The pages of the report it feeds"
                              },
                              "quotes": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "quote",
                                        "signal",
                                        "passage",
                                        "record"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "id"
                                  ]
                                }
                              },
                              "web": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "web-1, web-2…: the id a figure it states is cited by, as {web-1.price}"
                                    },
                                    "url": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "day": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "document": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "The document that keeps the page whole, as web_research names it"
                                    },
                                    "figures": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "name": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "unit": {
                                            "type": "string",
                                            "enum": [
                                              "count",
                                              "stars",
                                              "share",
                                              "usd",
                                              "days",
                                              "number"
                                            ]
                                          },
                                          "says": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "name",
                                          "value",
                                          "unit",
                                          "says"
                                        ]
                                      },
                                      "description": "The figures the page states, each with the page's own words, which a writer may cite"
                                    }
                                  },
                                  "required": [
                                    "url",
                                    "title",
                                    "day"
                                  ]
                                },
                                "description": "Pages from the open web it rests on, each marked from the web with its own day"
                              },
                              "names": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "What the check reads as one word: companies, brands, places, sources"
                              }
                            },
                            "required": [
                              "id",
                              "question",
                              "claim",
                              "exhibits",
                              "sure",
                              "why",
                              "limits",
                              "bears_on",
                              "pages",
                              "quotes",
                              "web",
                              "names"
                            ]
                          }
                        }
                      },
                      "required": [
                        "questions",
                        "findings"
                      ],
                      "description": "What the run's analyst found, question by question: each finding with the saved asks behind it, how sure, what it doesn't show and the pages it feeds. On one run only, left out of a list. Null on a run with no analyst"
                    },
                    "started_by": {
                      "type": "object",
                      "properties": {
                        "via": {
                          "type": "string",
                          "enum": [
                            "workspace",
                            "key",
                            "assistant"
                          ],
                          "description": "Where it was started: the workspace, an API key, or an assistant signed in as a person"
                        },
                        "key": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "The key's id, key_…, for a run a key started; null otherwise"
                        }
                      },
                      "required": [
                        "via",
                        "key"
                      ],
                      "description": "Who started it. A key or an assistant counts toward the plan's runs a day; the workspace doesn't"
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "updated_at": {
                      "type": "string"
                    },
                    "ended_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "report",
                    "company",
                    "kind",
                    "message",
                    "status",
                    "why",
                    "model",
                    "playbook",
                    "usd",
                    "cap_usd",
                    "turns",
                    "agents",
                    "refusals",
                    "started_by",
                    "created_at",
                    "updated_at",
                    "ended_at"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Report runs"
        ],
        "x-mint": {
          "content": "**MCP tool:** `start_report_run`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      },
      "get": {
        "operationId": "listDiligenceRuns",
        "summary": "A report's runs by PodData's agent, newest first: each one's status, cost and agents",
        "description": "A report's runs by PodData's own agent, newest first: each one's kind (`write`, a first draft; `change`, with the person's `message`; or `update`, which a run started once a source it went without had read, naming that run in `updates`), its status and why, what it has cost against its cap, its turns, and each agent's part, one a page, the overview and the checkers. While a run goes, its status is `queued`, `running`, `waiting` or `checking`; it ends `done`, `stopped`, `capped`, `refused` or `failed`.\n\n**Before:** The report is one of your team’s, and a run was started on it: `POST /diligence-reports/{id}/runs`, or from the workspace.\n\n**Next:** `GET /diligence-runs/{id}` for one run with each agent’s turns. When a run is `done`, `GET /diligence-reports/{id}` reads what it wrote.\n\n**Limits:** The 20 newest runs.",
        "x-mcp-tool": "list_report_runs",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/runs' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The report's id, dlr_…"
            },
            "required": true,
            "description": "The report's id, dlr_…",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The report's runs, at most 20",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "id": "drn_01JD9M7Q8R9S00000000000000",
                          "report": "dlr_01JD9K4M5N6P00000000000000",
                          "company": "northwind-dental",
                          "kind": "write",
                          "message": null,
                          "status": "done",
                          "why": null,
                          "model": "claude-sonnet-5-5",
                          "playbook": "2",
                          "usd": 3.42,
                          "cap_usd": 5,
                          "check_usd": 0.23,
                          "turns": 61,
                          "agents": [
                            {
                              "name": "customer",
                              "status": "done",
                              "why": null,
                              "turns": 12,
                              "usd": 0.71
                            },
                            {
                              "name": "competitive",
                              "status": "done",
                              "why": null,
                              "turns": 14,
                              "usd": 0.83
                            },
                            {
                              "name": "news",
                              "status": "done",
                              "why": null,
                              "turns": 9,
                              "usd": 0.48
                            },
                            {
                              "name": "trends",
                              "status": "done",
                              "why": null,
                              "turns": 8,
                              "usd": 0.44
                            },
                            {
                              "name": "expert",
                              "status": "done",
                              "why": null,
                              "turns": 10,
                              "usd": 0.52
                            },
                            {
                              "name": "overview",
                              "status": "done",
                              "why": null,
                              "turns": 4,
                              "usd": 0.21
                            },
                            {
                              "name": "check-1",
                              "status": "done",
                              "why": null,
                              "turns": 4,
                              "usd": 0.23
                            }
                          ],
                          "refusals": [],
                          "intake": {
                            "ran": true,
                            "taken": [
                              {
                                "what": "rival",
                                "company": "Northwind Dental",
                                "value": "Bluebird Dental",
                                "page": "https://bluebird-dental.example/",
                                "why": null
                              }
                            ],
                            "proposed": [
                              {
                                "what": "link",
                                "company": "Northwind Dental",
                                "value": "instagram northwinddental",
                                "page": null,
                                "why": "No page shows it's the company's, so a person decides it."
                              }
                            ],
                            "reads": [
                              {
                                "at": "2026-11-14T10:02:00.000Z",
                                "readers": 3,
                                "rivals": 1,
                                "refused": null
                              }
                            ],
                            "note": null
                          },
                          "sheet": {
                            "at": "2026-11-14T10:04:00.000Z",
                            "round": 1,
                            "back": [],
                            "pages": [
                              {
                                "page": "customer",
                                "call": "thin",
                                "answers": 1,
                                "of": 8,
                                "exhibits": [
                                  {
                                    "title": "How each company rates",
                                    "answers": true,
                                    "tool": "rating_rivals",
                                    "params": {
                                      "source": "google-maps"
                                    },
                                    "why": null,
                                    "waits_on": [],
                                    "rivals": [
                                      {
                                        "company": {
                                          "id": "bluebird-dental",
                                          "name": "Bluebird Dental"
                                        },
                                        "answers": true
                                      }
                                    ],
                                    "sample": {
                                      "read": 24,
                                      "of": 24,
                                      "from": "2025-12-02",
                                      "to": "2026-11-10"
                                    },
                                    "small": true,
                                    "window": {
                                      "from": "2025-11-15",
                                      "to": "2026-11-14"
                                    },
                                    "sources": [
                                      {
                                        "id": "google-maps",
                                        "name": "Google Maps reviews and listings"
                                      }
                                    ],
                                    "caveats": [
                                      "Under 30 reviews: read with the count and its interval."
                                    ],
                                    "breaks": []
                                  }
                                ]
                              }
                            ]
                          },
                          "started_by": {
                            "via": "key",
                            "key": "key_01JD9H6J7K8M00000000000000"
                          },
                          "created_at": "2026-11-14T10:00:00.000Z",
                          "updated_at": "2026-11-14T10:19:00.000Z",
                          "ended_at": "2026-11-14T10:19:00.000Z"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "drn_…"
                          },
                          "report": {
                            "type": "string"
                          },
                          "company": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "write",
                              "change",
                              "update"
                            ],
                            "description": "A first draft, a person's change, or an update its run started once a reader it went without had run"
                          },
                          "message": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "What a person asked for, on a change"
                          },
                          "updates": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "On an update, the run whose held readers it takes up, drn_…; null otherwise"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "queued",
                              "running",
                              "waiting",
                              "checking",
                              "done",
                              "stopped",
                              "capped",
                              "refused",
                              "failed"
                            ]
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "Why it waits or ended, in a sentence"
                          },
                          "model": {
                            "type": "string"
                          },
                          "playbook": {
                            "type": "string",
                            "description": "The playbook's version"
                          },
                          "usd": {
                            "type": "number",
                            "description": "What its turns have cost so far, in dollars"
                          },
                          "cap_usd": {
                            "type": "number",
                            "description": "What it may spend, in dollars: the cap on a run"
                          },
                          "check_usd": {
                            "type": "number",
                            "description": "What its checking has cost of usd, in dollars: its checker agents' turns and its review's calls. Missing from an answer before Nov 20, 2026"
                          },
                          "turns": {
                            "type": "integer"
                          },
                          "agents": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "name": {
                                  "type": "string",
                                  "description": "intake, intake-again, plan, a page (customer) and its reader (customer-read), the analyst, the writer, overview, titles, change, a round's checker of a page or the overview (check-1-customer, check-1-overview), and of the whole report (check-1)"
                                },
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "running",
                                    "waiting",
                                    "done",
                                    "capped",
                                    "refused",
                                    "cut_off",
                                    "stopped"
                                  ]
                                },
                                "why": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "turns": {
                                  "type": "integer"
                                },
                                "usd": {
                                  "type": "number"
                                },
                                "trace": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "turn": {
                                        "type": "integer"
                                      },
                                      "at": {
                                        "type": "string"
                                      },
                                      "model": {
                                        "type": "string"
                                      },
                                      "usd": {
                                        "type": "number"
                                      },
                                      "stop": {
                                        "type": "string",
                                        "description": "tool_use, end_turn, max_tokens, refusal, unreadable, …"
                                      },
                                      "tokens": {
                                        "type": "object",
                                        "properties": {
                                          "input": {
                                            "type": "integer"
                                          },
                                          "cache_write": {
                                            "type": "integer"
                                          },
                                          "cache_read": {
                                            "type": "integer"
                                          },
                                          "output": {
                                            "type": "integer"
                                          }
                                        },
                                        "required": [
                                          "input",
                                          "cache_write",
                                          "cache_read",
                                          "output"
                                        ]
                                      },
                                      "tools": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "name": {
                                              "type": "string"
                                            },
                                            "ok": {
                                              "type": "boolean"
                                            },
                                            "chars": {
                                              "type": "integer"
                                            }
                                          },
                                          "required": [
                                            "name",
                                            "ok",
                                            "chars"
                                          ]
                                        }
                                      },
                                      "cleared": {
                                        "type": "object",
                                        "properties": {
                                          "tool_uses": {
                                            "type": "integer"
                                          },
                                          "tokens": {
                                            "type": "integer"
                                          }
                                        },
                                        "required": [
                                          "tool_uses",
                                          "tokens"
                                        ],
                                        "description": "What the server's context editing cleared from this turn's prompt: every tool use and input token cleared. Missing where nothing was; a count above the turn before's means the clearing moved before this turn"
                                      },
                                      "cache": {
                                        "type": "object",
                                        "properties": {
                                          "broke": {
                                            "type": "string",
                                            "enum": [
                                              "cleared",
                                              "lapsed",
                                              "shortened",
                                              "other"
                                            ],
                                            "description": "cleared: the clearing moved; lapsed: it came after the five minutes the cache keeps a prompt; shortened: a run waking from the day's cap shortened its conversation; other: anything else"
                                          },
                                          "minutes": {
                                            "type": "number"
                                          }
                                        },
                                        "required": [
                                          "broke",
                                          "minutes"
                                        ],
                                        "description": "Where this turn read less from the prompt cache than the turn before's whole prompt: why, as far as the loop can tell, and how many minutes after the turn before it was sent. Missing where the cache held"
                                      },
                                      "host": {
                                        "type": "string",
                                        "description": "Who served the turn, as OpenRouter names the host: Amazon Bedrock, Google Vertex. Missing where the provider doesn’t say"
                                      },
                                      "tries": {
                                        "type": "integer",
                                        "description": "How many times the call went before it was answered, where it took more than one: a host that failed it, or answered it with no call"
                                      }
                                    },
                                    "required": [
                                      "turn",
                                      "at",
                                      "model",
                                      "usd",
                                      "stop",
                                      "tokens",
                                      "tools"
                                    ]
                                  }
                                }
                              },
                              "required": [
                                "name",
                                "status",
                                "why",
                                "turns",
                                "usd"
                              ]
                            }
                          },
                          "refusals": {
                            "type": [
                              "array",
                              "null"
                            ],
                            "items": {
                              "type": "string"
                            },
                            "description": "What the check last refused, each in a sentence"
                          },
                          "intake": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "ran": {
                                "type": "boolean",
                                "description": "False when the target had no read to wait for, so the run went straight on"
                              },
                              "taken": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "what": {
                                      "type": "string",
                                      "enum": [
                                        "link",
                                        "rival",
                                        "parent",
                                        "comparable"
                                      ]
                                    },
                                    "company": {
                                      "type": "string",
                                      "description": "The company it belongs to, by name"
                                    },
                                    "value": {
                                      "type": "string",
                                      "description": "The link's kind and value, or the rival's, parent's or comparable's name"
                                    },
                                    "page": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "The page that shows it, where it has one"
                                    },
                                    "why": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "Why it stayed proposed, in a sentence; null for one taken"
                                    }
                                  },
                                  "required": [
                                    "what",
                                    "company",
                                    "value",
                                    "page",
                                    "why"
                                  ]
                                },
                                "description": "What the server took during this run"
                              },
                              "proposed": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "what": {
                                      "type": "string",
                                      "enum": [
                                        "link",
                                        "rival",
                                        "parent",
                                        "comparable"
                                      ]
                                    },
                                    "company": {
                                      "type": "string",
                                      "description": "The company it belongs to, by name"
                                    },
                                    "value": {
                                      "type": "string",
                                      "description": "The link's kind and value, or the rival's, parent's or comparable's name"
                                    },
                                    "page": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "The page that shows it, where it has one"
                                    },
                                    "why": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "Why it stayed proposed, in a sentence; null for one taken"
                                    }
                                  },
                                  "required": [
                                    "what",
                                    "company",
                                    "value",
                                    "page",
                                    "why"
                                  ]
                                },
                                "description": "What stayed proposed: it holds nothing up, nothing is read through it, and a page's method names it"
                              },
                              "reads": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "at": {
                                      "type": "string"
                                    },
                                    "readers": {
                                      "type": "integer",
                                      "description": "The target's readers queued"
                                    },
                                    "rivals": {
                                      "type": "integer",
                                      "description": "The rivals read with it"
                                    },
                                    "refused": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "Why the plan's reads a day refused it, to be asked again after midnight UTC"
                                    }
                                  },
                                  "required": [
                                    "at",
                                    "readers",
                                    "rivals",
                                    "refused"
                                  ]
                                }
                              },
                              "note": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "What the run went on without, in a sentence, such as a day's rival finds spent"
                              },
                              "held": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "source": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name"
                                      ]
                                    },
                                    "companies": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "id": {
                                            "type": "string"
                                          },
                                          "name": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "id",
                                          "name"
                                        ]
                                      },
                                      "description": "The target or confirmed rivals it was held for"
                                    },
                                    "opens": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "When it opens again for the first of them, the next midnight UTC; null once its ask lapsed, or for one still going when the read's time was spent"
                                    },
                                    "pages": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      },
                                      "description": "The pages this run wrote whose exhibits would use it: what an update counts and reads again"
                                    },
                                    "late": {
                                      "type": "boolean",
                                      "description": "True for a reader still going when the read's time was spent, which the run wrote without; missing for one a cap held"
                                    }
                                  },
                                  "required": [
                                    "source",
                                    "companies",
                                    "opens",
                                    "pages"
                                  ]
                                },
                                "description": "The readers held when the run wrote, which it didn't wait for. On an update, those still held. Missing on a run before Nov 19, 2026"
                              },
                              "waited": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "source": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name"
                                      ]
                                    },
                                    "minutes": {
                                      "type": "number",
                                      "description": "How long the run waited while this reader was still to run, from its first look"
                                    },
                                    "ended": {
                                      "type": "string",
                                      "enum": [
                                        "read",
                                        "held",
                                        "late"
                                      ],
                                      "description": "read: it ran; held: a cap held it, and the run wrote without it; late: it was still going when the read's time was spent"
                                    }
                                  },
                                  "required": [
                                    "source",
                                    "minutes",
                                    "ended"
                                  ]
                                },
                                "description": "What the run waited for before it wrote, by reader, so a slow one shows. Missing on a run before Nov 20, 2026"
                              }
                            },
                            "required": [
                              "ran",
                              "taken",
                              "proposed",
                              "reads",
                              "note"
                            ],
                            "description": "What its intake took, what stayed proposed and the reads it asked for. Null on a change, and until intake has settled the company"
                          },
                          "sheet": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "at": {
                                "type": "string",
                                "description": "When it was counted"
                              },
                              "round": {
                                "type": "integer",
                                "description": "1, or 2 when the count was made again after the run went back to intake"
                              },
                              "back": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "page": {
                                      "type": "string"
                                    },
                                    "links": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  "required": [
                                    "page",
                                    "links"
                                  ]
                                },
                                "description": "The pages that sent the run back to intake. Always empty on round 2: a run goes back once"
                              },
                              "pages": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "page": {
                                      "type": "string"
                                    },
                                    "call": {
                                      "type": "string",
                                      "enum": [
                                        "full",
                                        "thin",
                                        "waits",
                                        "left_out"
                                      ]
                                    },
                                    "answers": {
                                      "type": "integer",
                                      "description": "How many of its shape's exhibits answer"
                                    },
                                    "of": {
                                      "type": "integer",
                                      "description": "How many exhibits its shape names"
                                    },
                                    "exhibits": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "title": {
                                            "type": "string",
                                            "description": "The question the exhibit answers, in the shape's words"
                                          },
                                          "answers": {
                                            "type": "boolean",
                                            "description": "Whether its number tool answers for the target"
                                          },
                                          "tool": {
                                            "type": "string",
                                            "description": "The number tool that answered, or the first one asked"
                                          },
                                          "params": {
                                            "type": "object",
                                            "additionalProperties": {
                                              "anyOf": [
                                                {
                                                  "type": "string"
                                                },
                                                {
                                                  "type": "number"
                                                }
                                              ]
                                            },
                                            "description": "The arguments the count asked it with"
                                          },
                                          "why": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "description": "Why it doesn't answer, in a sentence; null when it does"
                                          },
                                          "waits_on": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            },
                                            "description": "The kinds of link a reader waits on before it can answer"
                                          },
                                          "rivals": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "company": {
                                                  "type": "object",
                                                  "properties": {
                                                    "id": {
                                                      "type": "string"
                                                    },
                                                    "name": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "id",
                                                    "name"
                                                  ]
                                                },
                                                "answers": {
                                                  "type": "boolean"
                                                }
                                              },
                                              "required": [
                                                "company",
                                                "answers"
                                              ]
                                            },
                                            "description": "Whether it answers for each confirmed rival"
                                          },
                                          "sample": {
                                            "type": [
                                              "object",
                                              "null"
                                            ],
                                            "properties": {
                                              "read": {
                                                "type": "integer"
                                              },
                                              "of": {
                                                "type": [
                                                  "integer",
                                                  "null"
                                                ]
                                              },
                                              "from": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              },
                                              "to": {
                                                "type": [
                                                  "string",
                                                  "null"
                                                ]
                                              }
                                            },
                                            "required": [
                                              "read",
                                              "of",
                                              "from",
                                              "to"
                                            ],
                                            "description": "How much the answer rests on: what was read, what the platform says it holds, and the first and last day"
                                          },
                                          "small": {
                                            "type": "boolean",
                                            "description": "A figure of the target's rests on fewer than 30, so it's cited with its count and interval"
                                          },
                                          "window": {
                                            "type": [
                                              "object",
                                              "null"
                                            ],
                                            "properties": {
                                              "from": {
                                                "type": "string"
                                              },
                                              "to": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "from",
                                              "to"
                                            ]
                                          },
                                          "sources": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "id",
                                                "name"
                                              ]
                                            }
                                          },
                                          "caveats": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          },
                                          "breaks": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "what": {
                                                  "type": "string"
                                                },
                                                "from": {
                                                  "type": "string"
                                                },
                                                "to": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ]
                                                },
                                                "effect": {
                                                  "type": "string",
                                                  "enum": [
                                                    "mark",
                                                    "mask"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "what",
                                                "from",
                                                "to",
                                                "effect"
                                              ]
                                            },
                                            "description": "Known breaks at its sources inside the window"
                                          },
                                          "stands": {
                                            "type": "string",
                                            "enum": [
                                              "press",
                                              "reviewers",
                                              "rivals"
                                            ],
                                            "description": "The second kind of source it stands on, where its own hold nothing for the target: press, stories and releases about it; reviewers, its reviewers' words; rivals, the rivals' half of an exhibit that sets the target beside them, the target's row reading ask the company. Missing where it stands on its own"
                                          },
                                          "held": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "opens": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "id",
                                                "name",
                                                "opens"
                                              ]
                                            },
                                            "description": "The held sources it would use: one its answer names or its number tool reads, or, for a tool that says nothing of what it reads, one that reads through a kind of link it reads through. Missing where none is held"
                                          }
                                        },
                                        "required": [
                                          "title",
                                          "answers",
                                          "tool",
                                          "params",
                                          "why",
                                          "waits_on",
                                          "rivals",
                                          "sample",
                                          "small",
                                          "window",
                                          "sources",
                                          "caveats",
                                          "breaks"
                                        ]
                                      },
                                      "description": "Empty on a page left out, which nothing is asked for"
                                    }
                                  },
                                  "required": [
                                    "page",
                                    "call",
                                    "answers",
                                    "of",
                                    "exhibits"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "at",
                              "round",
                              "back",
                              "pages"
                            ],
                            "description": "What the run counted before it wrote any page: a call for each page and each exhibit's sample, window, sources and caveats. On one run only, left out of a list. Null on a change, and until it's counted"
                          },
                          "review": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "model": {
                                "type": "string",
                                "description": "The model that reviewed the report: of another family than the one that wrote its pages"
                              },
                              "usd": {
                                "type": "number",
                                "description": "What its calls cost this run, in dollars: part of the run's usd"
                              },
                              "rounds": {
                                "type": "integer"
                              },
                              "calls": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "type": "string",
                                      "description": "page-<id>, overview, across or story"
                                    },
                                    "round": {
                                      "type": "integer"
                                    },
                                    "read": {
                                      "type": "boolean",
                                      "description": "False when nothing it reads changed since it was last read, so it cost nothing this round"
                                    },
                                    "usd": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "round",
                                    "read",
                                    "usd"
                                  ]
                                }
                              },
                              "problems": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "where": {
                                      "type": "string",
                                      "description": "Where in the report, as the check names it: pages.3.questions.0.answer"
                                    },
                                    "problem": {
                                      "type": "string"
                                    },
                                    "refused": {
                                      "type": "boolean",
                                      "description": "An accuracy problem refuses, and the run ends done only without one; a story or a gap problem is advice"
                                    },
                                    "kind": {
                                      "type": "string",
                                      "description": "quantity, rank, cause, claim, groups, title, caveat, unsupported, contradiction, two_values, said_two_ways, said_again, argument, headline, case_against, questions or gap"
                                    }
                                  },
                                  "required": [
                                    "where",
                                    "problem",
                                    "refused",
                                    "kind"
                                  ]
                                },
                                "description": "What its last round found"
                              },
                              "first": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "where": {
                                      "type": "string",
                                      "description": "Where in the report, as the check names it: pages.3.questions.0.answer"
                                    },
                                    "problem": {
                                      "type": "string"
                                    },
                                    "refused": {
                                      "type": "boolean",
                                      "description": "An accuracy problem refuses, and the run ends done only without one; a story or a gap problem is advice"
                                    },
                                    "kind": {
                                      "type": "string",
                                      "description": "quantity, rank, cause, claim, groups, title, caveat, unsupported, contradiction, two_values, said_two_ways, said_again, argument, headline, case_against, questions or gap"
                                    }
                                  },
                                  "required": [
                                    "where",
                                    "problem",
                                    "refused",
                                    "kind"
                                  ]
                                },
                                "description": "What its first round found, before any fix. Missing on a run reviewed before Nov 19, 2026"
                              }
                            },
                            "required": [
                              "model",
                              "usd",
                              "rounds",
                              "calls",
                              "problems"
                            ],
                            "description": "What the review of the whole report found, its model and its cost. On one run only, left out of a list. Null until the run's first check"
                          },
                          "ledger": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "questions": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "findings": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "f1, f2…: a finding saved again by its id replaces it"
                                    },
                                    "question": {
                                      "type": "string",
                                      "description": "The question it answers, in the words the analyst was given"
                                    },
                                    "claim": {
                                      "type": "string",
                                      "description": "What it found, its figures in braces from the exhibits it names"
                                    },
                                    "exhibits": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "id": {
                                            "type": "string"
                                          },
                                          "numbers": {
                                            "type": "string"
                                          },
                                          "company": {
                                            "type": "string"
                                          },
                                          "params": {
                                            "type": "object",
                                            "additionalProperties": {
                                              "anyOf": [
                                                {
                                                  "type": "string"
                                                },
                                                {
                                                  "type": "number"
                                                },
                                                {
                                                  "type": "boolean"
                                                },
                                                {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "string"
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          "show": {
                                            "type": "string",
                                            "enum": [
                                              "figures",
                                              "table",
                                              "bars",
                                              "share",
                                              "series",
                                              "timeline",
                                              "windows",
                                              "grid",
                                              "lanes",
                                              "lines",
                                              "squares",
                                              "strip"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "id",
                                          "numbers",
                                          "company",
                                          "params",
                                          "show"
                                        ]
                                      },
                                      "description": "The saved asks behind it, each as a page would save it: one, or two set side by side"
                                    },
                                    "sure": {
                                      "type": "string",
                                      "enum": [
                                        "strong",
                                        "moderate",
                                        "thin"
                                      ],
                                      "description": "How sure: strong, moderate or thin"
                                    },
                                    "why": {
                                      "type": "string",
                                      "description": "Why that sure: the sample, whose word it is, how many sources agree"
                                    },
                                    "limits": {
                                      "type": "string",
                                      "description": "What it doesn't show"
                                    },
                                    "bears_on": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      },
                                      "description": "The other findings it bears on, by id"
                                    },
                                    "pages": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      },
                                      "description": "The pages of the report it feeds"
                                    },
                                    "quotes": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "enum": [
                                              "quote",
                                              "signal",
                                              "passage",
                                              "record"
                                            ]
                                          },
                                          "id": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "kind",
                                          "id"
                                        ]
                                      }
                                    },
                                    "web": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "id": {
                                            "type": "string",
                                            "description": "web-1, web-2…: the id a figure it states is cited by, as {web-1.price}"
                                          },
                                          "url": {
                                            "type": "string"
                                          },
                                          "title": {
                                            "type": "string"
                                          },
                                          "day": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "document": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "description": "The document that keeps the page whole, as web_research names it"
                                          },
                                          "figures": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "name": {
                                                  "type": "string"
                                                },
                                                "value": {
                                                  "type": "number"
                                                },
                                                "unit": {
                                                  "type": "string",
                                                  "enum": [
                                                    "count",
                                                    "stars",
                                                    "share",
                                                    "usd",
                                                    "days",
                                                    "number"
                                                  ]
                                                },
                                                "says": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "name",
                                                "value",
                                                "unit",
                                                "says"
                                              ]
                                            },
                                            "description": "The figures the page states, each with the page's own words, which a writer may cite"
                                          }
                                        },
                                        "required": [
                                          "url",
                                          "title",
                                          "day"
                                        ]
                                      },
                                      "description": "Pages from the open web it rests on, each marked from the web with its own day"
                                    },
                                    "names": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      },
                                      "description": "What the check reads as one word: companies, brands, places, sources"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "question",
                                    "claim",
                                    "exhibits",
                                    "sure",
                                    "why",
                                    "limits",
                                    "bears_on",
                                    "pages",
                                    "quotes",
                                    "web",
                                    "names"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "questions",
                              "findings"
                            ],
                            "description": "What the run's analyst found, question by question: each finding with the saved asks behind it, how sure, what it doesn't show and the pages it feeds. On one run only, left out of a list. Null on a run with no analyst"
                          },
                          "started_by": {
                            "type": "object",
                            "properties": {
                              "via": {
                                "type": "string",
                                "enum": [
                                  "workspace",
                                  "key",
                                  "assistant"
                                ],
                                "description": "Where it was started: the workspace, an API key, or an assistant signed in as a person"
                              },
                              "key": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The key's id, key_…, for a run a key started; null otherwise"
                              }
                            },
                            "required": [
                              "via",
                              "key"
                            ],
                            "description": "Who started it. A key or an assistant counts toward the plan's runs a day; the workspace doesn't"
                          },
                          "created_at": {
                            "type": "string"
                          },
                          "updated_at": {
                            "type": "string"
                          },
                          "ended_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "report",
                          "company",
                          "kind",
                          "message",
                          "status",
                          "why",
                          "model",
                          "playbook",
                          "usd",
                          "cap_usd",
                          "turns",
                          "agents",
                          "refusals",
                          "started_by",
                          "created_at",
                          "updated_at",
                          "ended_at"
                        ]
                      }
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Report runs"
        ],
        "x-mint": {
          "content": "**MCP tool:** `list_report_runs`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/diligence-runs/{id}": {
      "get": {
        "operationId": "getDiligenceRun",
        "summary": "One run of PodData's agent: where it stands, what it cost, and each agent's turns and tool calls",
        "description": "One run of PodData's agent: where it stands, what it cost against its cap, the check's last refusals, the `sheet` it counted before writing any page, with each page's call (`full`, `thin`, `waits` or `left_out`) and what each exhibit can stand on, the `review` of the whole report by a model of another family, with what it found, each refusal or advice where it is, its model and its cost, and each agent's trace, a turn at a time: its model, cost, tokens, why it stopped, and each tool it called with whether it answered and how long its answer was. Where one analyst worked the record, its `ledger`: the report's questions, and each finding with the exhibits behind it, how sure and why, what it doesn't show and the pages it feeds. No source's words are in a run.\n\n**Before:** Its id, from a report’s runs.\n\n**Next:** Read it again, a minute or so apart, until it ends. When it’s `done`, `GET /diligence-reports/{id}` reads the report; when it’s `capped`, it stopped at its cap with pages left to write.\n\n**Limits:** One a call. Another team's run is a `404`.",
        "x-mcp-tool": "get_report_run",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/diligence-runs/drn_01JD9M7Q8R9S00000000000000' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The run's id, drn_…"
            },
            "required": true,
            "description": "The run's id, drn_…",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The run, with each agent's trace",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "id": "drn_01JD9M7Q8R9S00000000000000",
                      "report": "dlr_01JD9K4M5N6P00000000000000",
                      "company": "northwind-dental",
                      "kind": "write",
                      "message": null,
                      "status": "done",
                      "why": null,
                      "model": "claude-sonnet-5-5",
                      "playbook": "2",
                      "usd": 3.42,
                      "cap_usd": 5,
                      "check_usd": 0.23,
                      "turns": 61,
                      "agents": [
                        {
                          "name": "customer",
                          "status": "done",
                          "why": null,
                          "turns": 12,
                          "usd": 0.71,
                          "trace": [
                            {
                              "turn": 1,
                              "at": "2026-11-14T10:00:20.000Z",
                              "model": "claude-sonnet-5-5",
                              "usd": 0.06,
                              "stop": "tool_use",
                              "tokens": {
                                "input": 18240,
                                "cache_write": 9120,
                                "cache_read": 0,
                                "output": 412
                              },
                              "tools": [
                                {
                                  "name": "numbers_rating_rivals",
                                  "ok": true,
                                  "chars": 6214
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "name": "competitive",
                          "status": "done",
                          "why": null,
                          "turns": 14,
                          "usd": 0.83
                        },
                        {
                          "name": "news",
                          "status": "done",
                          "why": null,
                          "turns": 9,
                          "usd": 0.48
                        },
                        {
                          "name": "trends",
                          "status": "done",
                          "why": null,
                          "turns": 8,
                          "usd": 0.44
                        },
                        {
                          "name": "expert",
                          "status": "done",
                          "why": null,
                          "turns": 10,
                          "usd": 0.52
                        },
                        {
                          "name": "overview",
                          "status": "done",
                          "why": null,
                          "turns": 4,
                          "usd": 0.21
                        },
                        {
                          "name": "check-1",
                          "status": "done",
                          "why": null,
                          "turns": 4,
                          "usd": 0.23
                        }
                      ],
                      "refusals": [],
                      "intake": {
                        "ran": true,
                        "taken": [
                          {
                            "what": "rival",
                            "company": "Northwind Dental",
                            "value": "Bluebird Dental",
                            "page": "https://bluebird-dental.example/",
                            "why": null
                          }
                        ],
                        "proposed": [
                          {
                            "what": "link",
                            "company": "Northwind Dental",
                            "value": "instagram northwinddental",
                            "page": null,
                            "why": "No page shows it's the company's, so a person decides it."
                          }
                        ],
                        "reads": [
                          {
                            "at": "2026-11-14T10:02:00.000Z",
                            "readers": 3,
                            "rivals": 1,
                            "refused": null
                          }
                        ],
                        "note": null
                      },
                      "sheet": {
                        "at": "2026-11-14T10:04:00.000Z",
                        "round": 1,
                        "back": [],
                        "pages": [
                          {
                            "page": "customer",
                            "call": "thin",
                            "answers": 1,
                            "of": 8,
                            "exhibits": [
                              {
                                "title": "How each company rates",
                                "answers": true,
                                "tool": "rating_rivals",
                                "params": {
                                  "source": "google-maps"
                                },
                                "why": null,
                                "waits_on": [],
                                "rivals": [
                                  {
                                    "company": {
                                      "id": "bluebird-dental",
                                      "name": "Bluebird Dental"
                                    },
                                    "answers": true
                                  }
                                ],
                                "sample": {
                                  "read": 24,
                                  "of": 24,
                                  "from": "2025-12-02",
                                  "to": "2026-11-10"
                                },
                                "small": true,
                                "window": {
                                  "from": "2025-11-15",
                                  "to": "2026-11-14"
                                },
                                "sources": [
                                  {
                                    "id": "google-maps",
                                    "name": "Google Maps reviews and listings"
                                  }
                                ],
                                "caveats": [
                                  "Under 30 reviews: read with the count and its interval."
                                ],
                                "breaks": []
                              }
                            ]
                          }
                        ]
                      },
                      "started_by": {
                        "via": "key",
                        "key": "key_01JD9H6J7K8M00000000000000"
                      },
                      "created_at": "2026-11-14T10:00:00.000Z",
                      "updated_at": "2026-11-14T10:19:00.000Z",
                      "ended_at": "2026-11-14T10:19:00.000Z"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "drn_…"
                    },
                    "report": {
                      "type": "string"
                    },
                    "company": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "write",
                        "change",
                        "update"
                      ],
                      "description": "A first draft, a person's change, or an update its run started once a reader it went without had run"
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "What a person asked for, on a change"
                    },
                    "updates": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "On an update, the run whose held readers it takes up, drn_…; null otherwise"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "queued",
                        "running",
                        "waiting",
                        "checking",
                        "done",
                        "stopped",
                        "capped",
                        "refused",
                        "failed"
                      ]
                    },
                    "why": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Why it waits or ended, in a sentence"
                    },
                    "model": {
                      "type": "string"
                    },
                    "playbook": {
                      "type": "string",
                      "description": "The playbook's version"
                    },
                    "usd": {
                      "type": "number",
                      "description": "What its turns have cost so far, in dollars"
                    },
                    "cap_usd": {
                      "type": "number",
                      "description": "What it may spend, in dollars: the cap on a run"
                    },
                    "check_usd": {
                      "type": "number",
                      "description": "What its checking has cost of usd, in dollars: its checker agents' turns and its review's calls. Missing from an answer before Nov 20, 2026"
                    },
                    "turns": {
                      "type": "integer"
                    },
                    "agents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "description": "intake, intake-again, plan, a page (customer) and its reader (customer-read), the analyst, the writer, overview, titles, change, a round's checker of a page or the overview (check-1-customer, check-1-overview), and of the whole report (check-1)"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "running",
                              "waiting",
                              "done",
                              "capped",
                              "refused",
                              "cut_off",
                              "stopped"
                            ]
                          },
                          "why": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "turns": {
                            "type": "integer"
                          },
                          "usd": {
                            "type": "number"
                          },
                          "trace": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "turn": {
                                  "type": "integer"
                                },
                                "at": {
                                  "type": "string"
                                },
                                "model": {
                                  "type": "string"
                                },
                                "usd": {
                                  "type": "number"
                                },
                                "stop": {
                                  "type": "string",
                                  "description": "tool_use, end_turn, max_tokens, refusal, unreadable, …"
                                },
                                "tokens": {
                                  "type": "object",
                                  "properties": {
                                    "input": {
                                      "type": "integer"
                                    },
                                    "cache_write": {
                                      "type": "integer"
                                    },
                                    "cache_read": {
                                      "type": "integer"
                                    },
                                    "output": {
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "input",
                                    "cache_write",
                                    "cache_read",
                                    "output"
                                  ]
                                },
                                "tools": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "ok": {
                                        "type": "boolean"
                                      },
                                      "chars": {
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "name",
                                      "ok",
                                      "chars"
                                    ]
                                  }
                                },
                                "cleared": {
                                  "type": "object",
                                  "properties": {
                                    "tool_uses": {
                                      "type": "integer"
                                    },
                                    "tokens": {
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "tool_uses",
                                    "tokens"
                                  ],
                                  "description": "What the server's context editing cleared from this turn's prompt: every tool use and input token cleared. Missing where nothing was; a count above the turn before's means the clearing moved before this turn"
                                },
                                "cache": {
                                  "type": "object",
                                  "properties": {
                                    "broke": {
                                      "type": "string",
                                      "enum": [
                                        "cleared",
                                        "lapsed",
                                        "shortened",
                                        "other"
                                      ],
                                      "description": "cleared: the clearing moved; lapsed: it came after the five minutes the cache keeps a prompt; shortened: a run waking from the day's cap shortened its conversation; other: anything else"
                                    },
                                    "minutes": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "broke",
                                    "minutes"
                                  ],
                                  "description": "Where this turn read less from the prompt cache than the turn before's whole prompt: why, as far as the loop can tell, and how many minutes after the turn before it was sent. Missing where the cache held"
                                },
                                "host": {
                                  "type": "string",
                                  "description": "Who served the turn, as OpenRouter names the host: Amazon Bedrock, Google Vertex. Missing where the provider doesn’t say"
                                },
                                "tries": {
                                  "type": "integer",
                                  "description": "How many times the call went before it was answered, where it took more than one: a host that failed it, or answered it with no call"
                                }
                              },
                              "required": [
                                "turn",
                                "at",
                                "model",
                                "usd",
                                "stop",
                                "tokens",
                                "tools"
                              ]
                            }
                          }
                        },
                        "required": [
                          "name",
                          "status",
                          "why",
                          "turns",
                          "usd"
                        ]
                      }
                    },
                    "refusals": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "string"
                      },
                      "description": "What the check last refused, each in a sentence"
                    },
                    "intake": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "ran": {
                          "type": "boolean",
                          "description": "False when the target had no read to wait for, so the run went straight on"
                        },
                        "taken": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string",
                                "enum": [
                                  "link",
                                  "rival",
                                  "parent",
                                  "comparable"
                                ]
                              },
                              "company": {
                                "type": "string",
                                "description": "The company it belongs to, by name"
                              },
                              "value": {
                                "type": "string",
                                "description": "The link's kind and value, or the rival's, parent's or comparable's name"
                              },
                              "page": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The page that shows it, where it has one"
                              },
                              "why": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Why it stayed proposed, in a sentence; null for one taken"
                              }
                            },
                            "required": [
                              "what",
                              "company",
                              "value",
                              "page",
                              "why"
                            ]
                          },
                          "description": "What the server took during this run"
                        },
                        "proposed": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "what": {
                                "type": "string",
                                "enum": [
                                  "link",
                                  "rival",
                                  "parent",
                                  "comparable"
                                ]
                              },
                              "company": {
                                "type": "string",
                                "description": "The company it belongs to, by name"
                              },
                              "value": {
                                "type": "string",
                                "description": "The link's kind and value, or the rival's, parent's or comparable's name"
                              },
                              "page": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The page that shows it, where it has one"
                              },
                              "why": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Why it stayed proposed, in a sentence; null for one taken"
                              }
                            },
                            "required": [
                              "what",
                              "company",
                              "value",
                              "page",
                              "why"
                            ]
                          },
                          "description": "What stayed proposed: it holds nothing up, nothing is read through it, and a page's method names it"
                        },
                        "reads": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "at": {
                                "type": "string"
                              },
                              "readers": {
                                "type": "integer",
                                "description": "The target's readers queued"
                              },
                              "rivals": {
                                "type": "integer",
                                "description": "The rivals read with it"
                              },
                              "refused": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Why the plan's reads a day refused it, to be asked again after midnight UTC"
                              }
                            },
                            "required": [
                              "at",
                              "readers",
                              "rivals",
                              "refused"
                            ]
                          }
                        },
                        "note": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "What the run went on without, in a sentence, such as a day's rival finds spent"
                        },
                        "held": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "source": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "companies": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                },
                                "description": "The target or confirmed rivals it was held for"
                              },
                              "opens": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When it opens again for the first of them, the next midnight UTC; null once its ask lapsed, or for one still going when the read's time was spent"
                              },
                              "pages": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The pages this run wrote whose exhibits would use it: what an update counts and reads again"
                              },
                              "late": {
                                "type": "boolean",
                                "description": "True for a reader still going when the read's time was spent, which the run wrote without; missing for one a cap held"
                              }
                            },
                            "required": [
                              "source",
                              "companies",
                              "opens",
                              "pages"
                            ]
                          },
                          "description": "The readers held when the run wrote, which it didn't wait for. On an update, those still held. Missing on a run before Nov 19, 2026"
                        },
                        "waited": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "source": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "minutes": {
                                "type": "number",
                                "description": "How long the run waited while this reader was still to run, from its first look"
                              },
                              "ended": {
                                "type": "string",
                                "enum": [
                                  "read",
                                  "held",
                                  "late"
                                ],
                                "description": "read: it ran; held: a cap held it, and the run wrote without it; late: it was still going when the read's time was spent"
                              }
                            },
                            "required": [
                              "source",
                              "minutes",
                              "ended"
                            ]
                          },
                          "description": "What the run waited for before it wrote, by reader, so a slow one shows. Missing on a run before Nov 20, 2026"
                        }
                      },
                      "required": [
                        "ran",
                        "taken",
                        "proposed",
                        "reads",
                        "note"
                      ],
                      "description": "What its intake took, what stayed proposed and the reads it asked for. Null on a change, and until intake has settled the company"
                    },
                    "sheet": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "at": {
                          "type": "string",
                          "description": "When it was counted"
                        },
                        "round": {
                          "type": "integer",
                          "description": "1, or 2 when the count was made again after the run went back to intake"
                        },
                        "back": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "page": {
                                "type": "string"
                              },
                              "links": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "page",
                              "links"
                            ]
                          },
                          "description": "The pages that sent the run back to intake. Always empty on round 2: a run goes back once"
                        },
                        "pages": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "page": {
                                "type": "string"
                              },
                              "call": {
                                "type": "string",
                                "enum": [
                                  "full",
                                  "thin",
                                  "waits",
                                  "left_out"
                                ]
                              },
                              "answers": {
                                "type": "integer",
                                "description": "How many of its shape's exhibits answer"
                              },
                              "of": {
                                "type": "integer",
                                "description": "How many exhibits its shape names"
                              },
                              "exhibits": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "title": {
                                      "type": "string",
                                      "description": "The question the exhibit answers, in the shape's words"
                                    },
                                    "answers": {
                                      "type": "boolean",
                                      "description": "Whether its number tool answers for the target"
                                    },
                                    "tool": {
                                      "type": "string",
                                      "description": "The number tool that answered, or the first one asked"
                                    },
                                    "params": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "anyOf": [
                                          {
                                            "type": "string"
                                          },
                                          {
                                            "type": "number"
                                          }
                                        ]
                                      },
                                      "description": "The arguments the count asked it with"
                                    },
                                    "why": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "Why it doesn't answer, in a sentence; null when it does"
                                    },
                                    "waits_on": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      },
                                      "description": "The kinds of link a reader waits on before it can answer"
                                    },
                                    "rivals": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "company": {
                                            "type": "object",
                                            "properties": {
                                              "id": {
                                                "type": "string"
                                              },
                                              "name": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "id",
                                              "name"
                                            ]
                                          },
                                          "answers": {
                                            "type": "boolean"
                                          }
                                        },
                                        "required": [
                                          "company",
                                          "answers"
                                        ]
                                      },
                                      "description": "Whether it answers for each confirmed rival"
                                    },
                                    "sample": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "properties": {
                                        "read": {
                                          "type": "integer"
                                        },
                                        "of": {
                                          "type": [
                                            "integer",
                                            "null"
                                          ]
                                        },
                                        "from": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "to": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "read",
                                        "of",
                                        "from",
                                        "to"
                                      ],
                                      "description": "How much the answer rests on: what was read, what the platform says it holds, and the first and last day"
                                    },
                                    "small": {
                                      "type": "boolean",
                                      "description": "A figure of the target's rests on fewer than 30, so it's cited with its count and interval"
                                    },
                                    "window": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "properties": {
                                        "from": {
                                          "type": "string"
                                        },
                                        "to": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "from",
                                        "to"
                                      ]
                                    },
                                    "sources": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "id": {
                                            "type": "string"
                                          },
                                          "name": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "id",
                                          "name"
                                        ]
                                      }
                                    },
                                    "caveats": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      }
                                    },
                                    "breaks": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "what": {
                                            "type": "string"
                                          },
                                          "from": {
                                            "type": "string"
                                          },
                                          "to": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "effect": {
                                            "type": "string",
                                            "enum": [
                                              "mark",
                                              "mask"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "what",
                                          "from",
                                          "to",
                                          "effect"
                                        ]
                                      },
                                      "description": "Known breaks at its sources inside the window"
                                    },
                                    "stands": {
                                      "type": "string",
                                      "enum": [
                                        "press",
                                        "reviewers",
                                        "rivals"
                                      ],
                                      "description": "The second kind of source it stands on, where its own hold nothing for the target: press, stories and releases about it; reviewers, its reviewers' words; rivals, the rivals' half of an exhibit that sets the target beside them, the target's row reading ask the company. Missing where it stands on its own"
                                    },
                                    "held": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "id": {
                                            "type": "string"
                                          },
                                          "name": {
                                            "type": "string"
                                          },
                                          "opens": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "id",
                                          "name",
                                          "opens"
                                        ]
                                      },
                                      "description": "The held sources it would use: one its answer names or its number tool reads, or, for a tool that says nothing of what it reads, one that reads through a kind of link it reads through. Missing where none is held"
                                    }
                                  },
                                  "required": [
                                    "title",
                                    "answers",
                                    "tool",
                                    "params",
                                    "why",
                                    "waits_on",
                                    "rivals",
                                    "sample",
                                    "small",
                                    "window",
                                    "sources",
                                    "caveats",
                                    "breaks"
                                  ]
                                },
                                "description": "Empty on a page left out, which nothing is asked for"
                              }
                            },
                            "required": [
                              "page",
                              "call",
                              "answers",
                              "of",
                              "exhibits"
                            ]
                          }
                        }
                      },
                      "required": [
                        "at",
                        "round",
                        "back",
                        "pages"
                      ],
                      "description": "What the run counted before it wrote any page: a call for each page and each exhibit's sample, window, sources and caveats. On one run only, left out of a list. Null on a change, and until it's counted"
                    },
                    "review": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "model": {
                          "type": "string",
                          "description": "The model that reviewed the report: of another family than the one that wrote its pages"
                        },
                        "usd": {
                          "type": "number",
                          "description": "What its calls cost this run, in dollars: part of the run's usd"
                        },
                        "rounds": {
                          "type": "integer"
                        },
                        "calls": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "key": {
                                "type": "string",
                                "description": "page-<id>, overview, across or story"
                              },
                              "round": {
                                "type": "integer"
                              },
                              "read": {
                                "type": "boolean",
                                "description": "False when nothing it reads changed since it was last read, so it cost nothing this round"
                              },
                              "usd": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "key",
                              "round",
                              "read",
                              "usd"
                            ]
                          }
                        },
                        "problems": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "where": {
                                "type": "string",
                                "description": "Where in the report, as the check names it: pages.3.questions.0.answer"
                              },
                              "problem": {
                                "type": "string"
                              },
                              "refused": {
                                "type": "boolean",
                                "description": "An accuracy problem refuses, and the run ends done only without one; a story or a gap problem is advice"
                              },
                              "kind": {
                                "type": "string",
                                "description": "quantity, rank, cause, claim, groups, title, caveat, unsupported, contradiction, two_values, said_two_ways, said_again, argument, headline, case_against, questions or gap"
                              }
                            },
                            "required": [
                              "where",
                              "problem",
                              "refused",
                              "kind"
                            ]
                          },
                          "description": "What its last round found"
                        },
                        "first": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "where": {
                                "type": "string",
                                "description": "Where in the report, as the check names it: pages.3.questions.0.answer"
                              },
                              "problem": {
                                "type": "string"
                              },
                              "refused": {
                                "type": "boolean",
                                "description": "An accuracy problem refuses, and the run ends done only without one; a story or a gap problem is advice"
                              },
                              "kind": {
                                "type": "string",
                                "description": "quantity, rank, cause, claim, groups, title, caveat, unsupported, contradiction, two_values, said_two_ways, said_again, argument, headline, case_against, questions or gap"
                              }
                            },
                            "required": [
                              "where",
                              "problem",
                              "refused",
                              "kind"
                            ]
                          },
                          "description": "What its first round found, before any fix. Missing on a run reviewed before Nov 19, 2026"
                        }
                      },
                      "required": [
                        "model",
                        "usd",
                        "rounds",
                        "calls",
                        "problems"
                      ],
                      "description": "What the review of the whole report found, its model and its cost. On one run only, left out of a list. Null until the run's first check"
                    },
                    "ledger": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "questions": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "findings": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "f1, f2…: a finding saved again by its id replaces it"
                              },
                              "question": {
                                "type": "string",
                                "description": "The question it answers, in the words the analyst was given"
                              },
                              "claim": {
                                "type": "string",
                                "description": "What it found, its figures in braces from the exhibits it names"
                              },
                              "exhibits": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "numbers": {
                                      "type": "string"
                                    },
                                    "company": {
                                      "type": "string"
                                    },
                                    "params": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "anyOf": [
                                          {
                                            "type": "string"
                                          },
                                          {
                                            "type": "number"
                                          },
                                          {
                                            "type": "boolean"
                                          },
                                          {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        ]
                                      }
                                    },
                                    "show": {
                                      "type": "string",
                                      "enum": [
                                        "figures",
                                        "table",
                                        "bars",
                                        "share",
                                        "series",
                                        "timeline",
                                        "windows",
                                        "grid",
                                        "lanes",
                                        "lines",
                                        "squares",
                                        "strip"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "numbers",
                                    "company",
                                    "params",
                                    "show"
                                  ]
                                },
                                "description": "The saved asks behind it, each as a page would save it: one, or two set side by side"
                              },
                              "sure": {
                                "type": "string",
                                "enum": [
                                  "strong",
                                  "moderate",
                                  "thin"
                                ],
                                "description": "How sure: strong, moderate or thin"
                              },
                              "why": {
                                "type": "string",
                                "description": "Why that sure: the sample, whose word it is, how many sources agree"
                              },
                              "limits": {
                                "type": "string",
                                "description": "What it doesn't show"
                              },
                              "bears_on": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The other findings it bears on, by id"
                              },
                              "pages": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The pages of the report it feeds"
                              },
                              "quotes": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "quote",
                                        "signal",
                                        "passage",
                                        "record"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "id"
                                  ]
                                }
                              },
                              "web": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "web-1, web-2…: the id a figure it states is cited by, as {web-1.price}"
                                    },
                                    "url": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "day": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "document": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "The document that keeps the page whole, as web_research names it"
                                    },
                                    "figures": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "name": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          },
                                          "unit": {
                                            "type": "string",
                                            "enum": [
                                              "count",
                                              "stars",
                                              "share",
                                              "usd",
                                              "days",
                                              "number"
                                            ]
                                          },
                                          "says": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "name",
                                          "value",
                                          "unit",
                                          "says"
                                        ]
                                      },
                                      "description": "The figures the page states, each with the page's own words, which a writer may cite"
                                    }
                                  },
                                  "required": [
                                    "url",
                                    "title",
                                    "day"
                                  ]
                                },
                                "description": "Pages from the open web it rests on, each marked from the web with its own day"
                              },
                              "names": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "What the check reads as one word: companies, brands, places, sources"
                              }
                            },
                            "required": [
                              "id",
                              "question",
                              "claim",
                              "exhibits",
                              "sure",
                              "why",
                              "limits",
                              "bears_on",
                              "pages",
                              "quotes",
                              "web",
                              "names"
                            ]
                          }
                        }
                      },
                      "required": [
                        "questions",
                        "findings"
                      ],
                      "description": "What the run's analyst found, question by question: each finding with the saved asks behind it, how sure, what it doesn't show and the pages it feeds. On one run only, left out of a list. Null on a run with no analyst"
                    },
                    "started_by": {
                      "type": "object",
                      "properties": {
                        "via": {
                          "type": "string",
                          "enum": [
                            "workspace",
                            "key",
                            "assistant"
                          ],
                          "description": "Where it was started: the workspace, an API key, or an assistant signed in as a person"
                        },
                        "key": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "The key's id, key_…, for a run a key started; null otherwise"
                        }
                      },
                      "required": [
                        "via",
                        "key"
                      ],
                      "description": "Who started it. A key or an assistant counts toward the plan's runs a day; the workspace doesn't"
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "updated_at": {
                      "type": "string"
                    },
                    "ended_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "report",
                    "company",
                    "kind",
                    "message",
                    "status",
                    "why",
                    "model",
                    "playbook",
                    "usd",
                    "cap_usd",
                    "turns",
                    "agents",
                    "refusals",
                    "started_by",
                    "created_at",
                    "updated_at",
                    "ended_at"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Report runs"
        ],
        "x-mint": {
          "content": "**MCP tool:** `get_report_run`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/watched-filers": {
      "get": {
        "operationId": "listWatchedFilers",
        "summary": "The filers the team watches for their officers and directors, newest first",
        "description": "The companies your team watches for their officers and directors, newest first. Each has its company, when it was named, and its `people`: `reading` until PodData has read its last year of Forms 3, 4 and 5 for its officers and its directors, then `read` with `read_at`, or `not_read_here` where SEC's filings aren't read for people in this environment; and how many officers and directors its filings name.\n\n**Before:** Name filers with `POST /watched-filers` first.\n\n**Next:** Read each one's people with `GET /companies/{id}/officers`, or every one's at once with `GET /watched-filers/people`.\n\n**Limits:** `limit` is 100 unless given, at most 500, with `cursor` from `next` for the page after.",
        "x-mcp-tool": "list_watched_filers",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/watched-filers?limit=1' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The team's watched filers, each with where its people stand",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "company": {
                            "id": "northwind-dental",
                            "name": "NORTHWIND DENTAL HOLDINGS INC",
                            "ticker": "NWDL",
                            "cik": "0009999901"
                          },
                          "added_at": "2026-11-28T15:04:00.000Z",
                          "people": {
                            "state": "read",
                            "read_at": "2026-11-28T16:12:00.000Z",
                            "officers": 6,
                            "directors": 8
                          }
                        }
                      ],
                      "next": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "ticker": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "cik": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "ticker",
                              "cik"
                            ]
                          },
                          "added_at": {
                            "type": "string"
                          },
                          "people": {
                            "type": "object",
                            "properties": {
                              "state": {
                                "type": "string",
                                "enum": [
                                  "reading",
                                  "read",
                                  "not_read_here"
                                ]
                              },
                              "read_at": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "officers": {
                                "type": "integer"
                              },
                              "directors": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "state",
                              "read_at",
                              "officers",
                              "directors"
                            ]
                          }
                        },
                        "required": [
                          "company",
                          "added_at",
                          "people"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Officers and directors"
        ],
        "x-mint": {
          "content": "**MCP tool:** `list_watched_filers`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      },
      "post": {
        "operationId": "watchFilers",
        "summary": "Names up to 500 filers for the team to watch, by ticker or SEC number, for their officers and directors",
        "description": "Names companies that file with the SEC for your team to watch, by ticker or SEC number, up to 500 a call, so PodData reads their officers and directors from their Forms 3, 4 and 5. Each is looked up in SEC's own list: the company PodData holds for it, or a new one held for the teams that watch it. The answer lists each found, once, in the order given, `added` or `already`; `not_found` those SEC's list doesn't hold, so one wrong ticker doesn't refuse the call; and `left`, those past your plan's limit.\n\n**Before:** Nothing: a filer watched already is answered `already` and costs nothing.\n\n**Next:** `GET /watched-filers` says where each one's people stand. A filer PodData hadn't read is read first, within hours; then `GET /watched-filers/people` gives them all.\n\n**Limits:** A team watches at most 10 on Free, 300 on Pro, and 1,000 on Pilot and Enterprise; past it, the call adds those that fit, in the order given, and `left` says how many it didn't. It isn't a target: it reads no filing's text and isn't counted toward the plan's filers a day.",
        "x-mcp-tool": "watch_filers",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X POST 'https://api.poddata.ai/v1/watched-filers' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"filers\":[\"NWDL\",\"9999902\",\"NOPE\"]}'"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "examples": {
                "made-up": {
                  "summary": "Made up: no team’s data",
                  "value": {
                    "filers": [
                      "NWDL",
                      "9999902",
                      "NOPE"
                    ]
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "filers": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 20
                    },
                    "minItems": 1,
                    "maxItems": 500,
                    "description": "Each a ticker, HIMS or NYSE:HIMS, or an SEC number with or without its leading zeros"
                  }
                },
                "required": [
                  "filers"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Each filer found, once, in the order given, added or watched already; those not found; and those past the limit",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "filer": "NWDL",
                          "company": {
                            "id": "northwind-dental",
                            "name": "NORTHWIND DENTAL HOLDINGS INC",
                            "ticker": "NWDL",
                            "cik": "0009999901"
                          },
                          "state": "added"
                        },
                        {
                          "filer": "9999902",
                          "company": {
                            "id": "acme-quarries",
                            "name": "Acme Quarries",
                            "ticker": "ACMQ",
                            "cik": "0009999902"
                          },
                          "state": "already"
                        }
                      ],
                      "not_found": [
                        "NOPE"
                      ],
                      "left": null,
                      "watched": 2,
                      "limit": 1000
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "filer": {
                            "type": "string"
                          },
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "ticker": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "cik": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "ticker",
                              "cik"
                            ]
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "added",
                              "already"
                            ]
                          }
                        },
                        "required": [
                          "filer",
                          "company",
                          "state"
                        ]
                      }
                    },
                    "not_found": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "left": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "count": {
                          "type": "integer"
                        },
                        "why": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "count",
                        "why"
                      ]
                    },
                    "watched": {
                      "type": "integer"
                    },
                    "limit": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "not_found",
                    "left",
                    "watched",
                    "limit"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Officers and directors"
        ],
        "x-mint": {
          "content": "**MCP tool:** `watch_filers`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/watched-filers/{filer}": {
      "delete": {
        "operationId": "unwatchFiler",
        "summary": "Stops the team watching a filer",
        "description": "Stops your team watching a filer, named by its ticker, its SEC number or PodData's id for it. Its officers and directors stay read, since they aren't your team's.\n\n**Before:** An assistant asks the person first.\n\n**Next:** Nothing: `GET /watched-filers` lists the ones left.\n\n**Limits:** A filer your team doesn't watch is a `404`.",
        "x-mcp-tool": "unwatch_filer",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl -X DELETE 'https://api.poddata.ai/v1/watched-filers/NWDL' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64,
              "description": "One the team watches: by its ticker, its SEC number or PodData's id for it"
            },
            "required": true,
            "description": "One the team watches: by its ticker, its SEC number or PodData's id for it",
            "name": "filer",
            "in": "path"
          }
        ],
        "responses": {
          "204": {
            "description": "Stopped"
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Officers and directors"
        ],
        "x-mint": {
          "content": "**MCP tool:** `unwatch_filer`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/companies/{id}/officers": {
      "get": {
        "operationId": "listCompanyOfficers",
        "summary": "A company's officers and directors from its SEC filings, each with their PodData id, title and first and last filing",
        "description": "A company's officers and directors, as its own Forms 3, 4 and 5 on EDGAR name them, the latest filing first. Each row is one role: `person`, PodData's id for them, the same at every company; `name`; `as`, `officer` or `director`; `title`, as filed, or `Director`; `first_filed` and `last_filed`, the first and latest filing's days that say so; `filing_url`, the latest of those filings, and `first_filing_url`, the first; and `updated_at`. Someone who is both an officer and a director is two rows. Beside the rows, `people` says where reading them stands, so a company not read yet is never just an empty list.\n\n**Before:** Look the company up by name with `GET /companies?q=`, or pass its ticker or SEC number. To have a filer PodData doesn't read yet read, name it with `POST /watched-filers`.\n\n**Next:** Call again with `updated_after` set to the time of your last call for only what changed since. A person's id opens them in `GET /people/{id}`.\n\n**Limits:** `limit` is 100 unless given, at most 500, with `cursor` from `next`. A company your team can't see is a `404`.",
        "x-mcp-tool": "company_officers",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/northwind-dental/officers?limit=2' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "Our id, a ticker (HIMS or NYSE:HIMS) or an SEC number"
            },
            "required": true,
            "description": "Our id, a ticker (HIMS or NYSE:HIMS) or an SEC number",
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "officer",
                "director"
              ],
              "description": "Only officers, or only directors"
            },
            "required": false,
            "description": "Only officers, or only directors",
            "name": "as",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "Only the roles made or changed after this time: pass the time of your last call"
            },
            "required": false,
            "description": "Only the roles made or changed after this time: pass the time of your last call",
            "name": "updated_after",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Each role its filings give, last_filed newest first, and where reading them stands",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "company": {
                        "id": "northwind-dental",
                        "name": "NORTHWIND DENTAL HOLDINGS INC",
                        "ticker": "NWDL",
                        "cik": "0009999901"
                      },
                      "people": {
                        "state": "read",
                        "read_at": "2026-11-28T16:12:00.000Z",
                        "officers": 1,
                        "directors": 1
                      },
                      "data": [
                        {
                          "person": "per_01M8EXAMPLE0000000000000A",
                          "name": "Dana Molar",
                          "as": "director",
                          "title": "Director",
                          "first_filed": "2026-02-03",
                          "last_filed": "2026-11-20",
                          "filing_url": "https://www.sec.gov/Archives/edgar/data/9999901/000999990126000044/0009999901-26-000044-index.htm",
                          "first_filing_url": "https://www.sec.gov/Archives/edgar/data/9999901/000999990126000003/0009999901-26-000003-index.htm",
                          "updated_at": "2026-11-21T14:37:02.000Z"
                        },
                        {
                          "person": "per_01M8EXAMPLE0000000000000A",
                          "name": "Dana Molar",
                          "as": "officer",
                          "title": "Chief Executive Officer",
                          "first_filed": "2026-02-03",
                          "last_filed": "2026-11-20",
                          "filing_url": "https://www.sec.gov/Archives/edgar/data/9999901/000999990126000044/0009999901-26-000044-index.htm",
                          "first_filing_url": "https://www.sec.gov/Archives/edgar/data/9999901/000999990126000003/0009999901-26-000003-index.htm",
                          "updated_at": "2026-11-21T14:37:02.000Z"
                        }
                      ],
                      "next": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "ticker": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cik": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "ticker",
                        "cik"
                      ]
                    },
                    "people": {
                      "type": "object",
                      "properties": {
                        "state": {
                          "type": "string",
                          "enum": [
                            "reading",
                            "read",
                            "not_read_here",
                            "not_a_filer"
                          ]
                        },
                        "read_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "officers": {
                          "type": "integer"
                        },
                        "directors": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "state",
                        "read_at",
                        "officers",
                        "directors"
                      ]
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "person": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "as": {
                            "type": "string",
                            "enum": [
                              "officer",
                              "director"
                            ]
                          },
                          "title": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "first_filed": {
                            "type": "string",
                            "format": "date"
                          },
                          "last_filed": {
                            "type": "string",
                            "format": "date"
                          },
                          "filing_url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "first_filing_url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "updated_at": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "person",
                          "name",
                          "as",
                          "title",
                          "first_filed",
                          "last_filed",
                          "filing_url",
                          "first_filing_url",
                          "updated_at"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "company",
                    "people",
                    "data",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Officers and directors"
        ],
        "x-mint": {
          "content": "**MCP tool:** `company_officers`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/watched-filers/people": {
      "get": {
        "operationId": "listWatchedFilersPeople",
        "summary": "The officers and directors of every filer the team watches, by company, since updated_after",
        "description": "The officers and directors of every filer your team watches, at once: the rows `GET /companies/{id}/officers` gives, each with its `company`, by company and then the latest filing first. `not_read` lists the watched filers whose people aren't read yet, each with its state.\n\n**Before:** Name the filers with `POST /watched-filers` first.\n\n**Next:** Call once a day with `updated_after` set to the time of your last call, and page with `cursor` until `next` is null: that picks up every new person, title and filing across all of them.\n\n**Limits:** `limit` is 100 unless given, at most 500, with `cursor` from `next`.",
        "x-mcp-tool": "watched_filers_people",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/watched-filers/people?updated_after=2026-11-27T00:00:00Z&limit=1' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "enum": [
                "officer",
                "director"
              ],
              "description": "Only officers, or only directors"
            },
            "required": false,
            "description": "Only officers, or only directors",
            "name": "as",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "Only the roles made or changed after this time: pass the time of your last call"
            },
            "required": false,
            "description": "Only the roles made or changed after this time: pass the time of your last call",
            "name": "updated_after",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Each role at a watched filer, by company and then last_filed newest first, and the watched filers not read yet",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "data": [
                        {
                          "person": "per_01M8EXAMPLE0000000000000A",
                          "name": "Dana Molar",
                          "as": "director",
                          "title": "Director",
                          "first_filed": "2026-02-03",
                          "last_filed": "2026-11-20",
                          "filing_url": "https://www.sec.gov/Archives/edgar/data/9999901/000999990126000044/0009999901-26-000044-index.htm",
                          "first_filing_url": "https://www.sec.gov/Archives/edgar/data/9999901/000999990126000003/0009999901-26-000003-index.htm",
                          "updated_at": "2026-11-27T14:37:02.000Z",
                          "company": {
                            "id": "northwind-dental",
                            "name": "NORTHWIND DENTAL HOLDINGS INC",
                            "ticker": "NWDL",
                            "cik": "0009999901"
                          }
                        }
                      ],
                      "not_read": [
                        {
                          "company": {
                            "id": "acme-quarries",
                            "name": "Acme Quarries",
                            "ticker": "ACMQ",
                            "cik": "0009999902"
                          },
                          "state": "reading"
                        }
                      ],
                      "next": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "person": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "as": {
                            "type": "string",
                            "enum": [
                              "officer",
                              "director"
                            ]
                          },
                          "title": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "first_filed": {
                            "type": "string",
                            "format": "date"
                          },
                          "last_filed": {
                            "type": "string",
                            "format": "date"
                          },
                          "filing_url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "first_filing_url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "updated_at": {
                            "type": "string"
                          },
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "ticker": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "cik": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "ticker",
                              "cik"
                            ]
                          }
                        },
                        "required": [
                          "person",
                          "name",
                          "as",
                          "title",
                          "first_filed",
                          "last_filed",
                          "filing_url",
                          "first_filing_url",
                          "updated_at",
                          "company"
                        ]
                      }
                    },
                    "not_read": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "company": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "ticker": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "cik": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "ticker",
                              "cik"
                            ]
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "reading",
                              "not_read_here"
                            ]
                          }
                        },
                        "required": [
                          "company",
                          "state"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "not_read",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Officers and directors"
        ],
        "x-mint": {
          "content": "**MCP tool:** `watched_filers_people`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/quotes": {
      "get": {
        "operationId": "listQuotes",
        "summary": "Quotes, newest episode first; with q, best match first; with since, newest to PodData first",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 300,
              "description": "Matched by meaning: best match first, and the cursor pages on in that order. Words in quotation marks match exactly, whole and in order, in any case: only quotes that say them are answered, and a phrase alone lists them newest episode first. Not with since"
            },
            "required": false,
            "description": "Matched by meaning: best match first, and the cursor pages on in that order. Words in quotation marks match exactly, whole and in order, in any case: only quotes that say them are answered, and a phrase alone lists them newest episode first. Not with since",
            "name": "q",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120
            },
            "required": false,
            "name": "person",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "The speaker's company: by our id (microsoft) or name, any case, the company the quote gives its speaker on the day (speaker.company), or the directory's company for the speaker"
            },
            "required": false,
            "description": "The speaker's company: by our id (microsoft) or name, any case, the company the quote gives its speaker on the day (speaker.company), or the directory's company for the speaker",
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120
            },
            "required": false,
            "name": "show",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "A company or person the quote names, by id (openai, sam-altman) or by name"
            },
            "required": false,
            "description": "A company or person the quote names, by id (openai, sam-altman) or by name",
            "name": "named",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "One of the team's targets, by id: quotes from the podcast episodes its category's names found, voices on its market whose words needn't name it, each with `market` saying the name that found its episode. Never what named= finds. A company the team doesn't target is a 409"
            },
            "required": false,
            "description": "One of the team's targets, by id: quotes from the podcast episodes its category's names found, voices on its market whose words needn't name it, each with `market` saying the name that found its episode. Never what named= finds. A company the team doesn't target is a 409",
            "name": "market",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 12,
              "description": "A ticker: quotes said by people at a company listed under it, or naming one, or one it owns"
            },
            "required": false,
            "description": "A ticker: quotes said by people at a company listed under it, or naming one, or one it owns",
            "name": "ticker",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "forecast",
                "commitment",
                "admission",
                "figure",
                "none"
              ],
              "description": "Only quotes making this kind of claim"
            },
            "required": false,
            "description": "Only quotes making this kind of claim",
            "name": "claim",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "default": true,
              "description": "true: only quotes whose speaker is confirmed. false: unconfirmed speakers too, marked so"
            },
            "required": false,
            "description": "true: only quotes whose speaker is confirmed. false: unconfirmed speakers too, marked so",
            "name": "confirmed",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "include",
                "exclude",
                "only"
              ],
              "default": "include",
              "description": "Quotes from companies' own official events: include them (the default), leave them out, or only them"
            },
            "required": false,
            "description": "Quotes from companies' own official events: include them (the default), leave them out, or only them",
            "name": "events",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "A team's list (lst_…): quotes said by someone on it or by someone at a company on it. Another team's list, or a deleted one, is a 404"
            },
            "required": false,
            "description": "A team's list (lst_…): quotes said by someone on it or by someone at a company on it. Another team's list, or a deleted one, is a 404",
            "name": "list",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "founder",
                "ceo",
                "executive",
                "director",
                "researcher",
                "investor",
                "official",
                "central_banker",
                "head_of_state",
                "host",
                "reporter"
              ],
              "description": "The speaker's kind, in the words GET /people uses. A quote whose speaker isn't in the directory has none"
            },
            "required": false,
            "description": "The speaker's kind, in the words GET /people uses. A quote whose speaker isn't in the directory has none",
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "A cursor from an earlier answer; returns only what is new since then"
            },
            "required": false,
            "description": "A cursor from an earlier answer; returns only what is new since then",
            "name": "since",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the list as a file, each row one quote, at most 1,000 rows (api.md › A list as a file). json: a page, the default"
            },
            "required": false,
            "description": "csv: the list as a file, each row one quote, at most 1,000 rows (api.md › A list as a file). json: a page, the default",
            "name": "format",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of quotes, or with format=csv the list as a file",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuotePage"
                }
              },
              "text/csv": {
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the list as a file, each row one quote (api.md › A list as a file)"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Quotes"
        ]
      }
    },
    "/quotes/{id}": {
      "get": {
        "operationId": "getQuote",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "One quote",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Quote"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Quotes"
        ]
      }
    },
    "/quotes/{id}/source": {
      "get": {
        "operationId": "getQuoteSource",
        "summary": "A quote's source: what to play and from which second, the episode or the event, who spoke when, and the other quotes",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The quote's source",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Source"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Quotes"
        ]
      }
    },
    "/quotes/{id}/earlier": {
      "get": {
        "operationId": "getEarlierQuotes",
        "summary": "What the same speaker said on the same topic before: up to five quotes, oldest first, or none when nothing is close enough",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The speaker's earlier quotes on the same topic, oldest first",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Quote"
                      },
                      "maxItems": 5
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Quotes"
        ]
      }
    },
    "/search/counts": {
      "get": {
        "operationId": "searchCounts",
        "summary": "How many quotes, passages, people, shows and companies one search finds, each counted as its own list",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 120
            },
            "required": false,
            "name": "person",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "The speaker's company: by our id (microsoft) or name, any case, the company the quote gives its speaker on the day (speaker.company), or the directory's company for the speaker"
            },
            "required": false,
            "description": "The speaker's company: by our id (microsoft) or name, any case, the company the quote gives its speaker on the day (speaker.company), or the directory's company for the speaker",
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120
            },
            "required": false,
            "name": "show",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "A company or person the quote names, by id (openai, sam-altman) or by name"
            },
            "required": false,
            "description": "A company or person the quote names, by id (openai, sam-altman) or by name",
            "name": "named",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 12,
              "description": "A ticker: quotes said by people at a company listed under it, or naming one, or one it owns"
            },
            "required": false,
            "description": "A ticker: quotes said by people at a company listed under it, or naming one, or one it owns",
            "name": "ticker",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "forecast",
                "commitment",
                "admission",
                "figure",
                "none"
              ],
              "description": "Only quotes making this kind of claim"
            },
            "required": false,
            "description": "Only quotes making this kind of claim",
            "name": "claim",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "founder",
                "ceo",
                "executive",
                "director",
                "researcher",
                "investor",
                "official",
                "central_banker",
                "head_of_state",
                "host",
                "reporter"
              ],
              "description": "The speaker's kind, in the words GET /people uses. A quote whose speaker isn't in the directory has none"
            },
            "required": false,
            "description": "The speaker's kind, in the words GET /people uses. A quote whose speaker isn't in the directory has none",
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "default": true,
              "description": "true: only quotes whose speaker is confirmed. false: unconfirmed speakers too, marked so"
            },
            "required": false,
            "description": "true: only quotes whose speaker is confirmed. false: unconfirmed speakers too, marked so",
            "name": "confirmed",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "include",
                "exclude",
                "only"
              ],
              "default": "include",
              "description": "Quotes from companies' own official events: include them (the default), leave them out, or only them"
            },
            "required": false,
            "description": "Quotes from companies' own official events: include them (the default), leave them out, or only them",
            "name": "events",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "A team's list (lst_…): quotes said by someone on it or by someone at a company on it. Another team's list, or a deleted one, is a 404"
            },
            "required": false,
            "description": "A team's list (lst_…): quotes said by someone on it or by someone at a company on it. Another team's list, or a deleted one, is a 404",
            "name": "list",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 300,
              "description": "The box's words, as GET /quotes takes them: words in quotation marks match exactly, the rest by meaning"
            },
            "required": true,
            "description": "The box's words, as GET /quotes takes them: words in quotation marks match exactly, the rest by meaning",
            "name": "q",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "For the companies count: true, only companies on a stock exchange; false, only those that are not"
            },
            "required": false,
            "description": "For the companies count: true, only companies on a stock exchange; false, only those that are not",
            "name": "listed",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The five counts, and the passages by place",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "q": {
                      "type": "string"
                    },
                    "quotes": {
                      "type": "object",
                      "properties": {
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "How many its own list holds; null when it could not be counted (see waiting)"
                        },
                        "more": {
                          "type": "boolean",
                          "description": "Its list stopped counting there: a search by meaning ranks the index’s nearest, passages are a search’s 50 best"
                        }
                      },
                      "required": [
                        "count",
                        "more"
                      ]
                    },
                    "passages": {
                      "type": "object",
                      "properties": {
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "How many its own list holds; null when it could not be counted (see waiting)"
                        },
                        "more": {
                          "type": "boolean",
                          "description": "Its list stopped counting there: a search by meaning ranks the index’s nearest, passages are a search’s 50 best"
                        }
                      },
                      "required": [
                        "count",
                        "more"
                      ]
                    },
                    "in": {
                      "type": "object",
                      "properties": {
                        "documents": {
                          "type": "object",
                          "properties": {
                            "count": {
                              "type": [
                                "integer",
                                "null"
                              ],
                              "description": "How many its own list holds; null when it could not be counted (see waiting)"
                            },
                            "more": {
                              "type": "boolean",
                              "description": "Its list stopped counting there: a search by meaning ranks the index’s nearest, passages are a search’s 50 best"
                            },
                            "searchable": {
                              "type": "boolean",
                              "description": "Whether this place holds anything to search here: one of its documents is in the index. Call transcripts are false until GET /passages searches them (#453)"
                            }
                          },
                          "required": [
                            "count",
                            "more",
                            "searchable"
                          ]
                        },
                        "slides": {
                          "type": "object",
                          "properties": {
                            "count": {
                              "type": [
                                "integer",
                                "null"
                              ],
                              "description": "How many its own list holds; null when it could not be counted (see waiting)"
                            },
                            "more": {
                              "type": "boolean",
                              "description": "Its list stopped counting there: a search by meaning ranks the index’s nearest, passages are a search’s 50 best"
                            },
                            "searchable": {
                              "type": "boolean",
                              "description": "Whether this place holds anything to search here: one of its documents is in the index. Call transcripts are false until GET /passages searches them (#453)"
                            }
                          },
                          "required": [
                            "count",
                            "more",
                            "searchable"
                          ]
                        },
                        "transcripts": {
                          "type": "object",
                          "properties": {
                            "count": {
                              "type": [
                                "integer",
                                "null"
                              ],
                              "description": "How many its own list holds; null when it could not be counted (see waiting)"
                            },
                            "more": {
                              "type": "boolean",
                              "description": "Its list stopped counting there: a search by meaning ranks the index’s nearest, passages are a search’s 50 best"
                            },
                            "searchable": {
                              "type": "boolean",
                              "description": "Whether this place holds anything to search here: one of its documents is in the index. Call transcripts are false until GET /passages searches them (#453)"
                            }
                          },
                          "required": [
                            "count",
                            "more",
                            "searchable"
                          ]
                        },
                        "articles": {
                          "type": "object",
                          "properties": {
                            "count": {
                              "type": [
                                "integer",
                                "null"
                              ],
                              "description": "How many its own list holds; null when it could not be counted (see waiting)"
                            },
                            "more": {
                              "type": "boolean",
                              "description": "Its list stopped counting there: a search by meaning ranks the index’s nearest, passages are a search’s 50 best"
                            },
                            "searchable": {
                              "type": "boolean",
                              "description": "Whether this place holds anything to search here: one of its documents is in the index. Call transcripts are false until GET /passages searches them (#453)"
                            }
                          },
                          "required": [
                            "count",
                            "more",
                            "searchable"
                          ]
                        }
                      },
                      "required": [
                        "documents",
                        "slides",
                        "transcripts",
                        "articles"
                      ],
                      "description": "Each place GET /passages looks, counted as GET /passages?in=<place> lists it: documents (filings and releases), slides (decks), transcripts (call transcripts) and articles (news). passages stays filings, releases and decks together, as GET /passages lists by default"
                    },
                    "people": {
                      "type": "object",
                      "properties": {
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "How many its own list holds; null when it could not be counted (see waiting)"
                        },
                        "more": {
                          "type": "boolean",
                          "description": "Its list stopped counting there: a search by meaning ranks the index’s nearest, passages are a search’s 50 best"
                        }
                      },
                      "required": [
                        "count",
                        "more"
                      ]
                    },
                    "shows": {
                      "type": "object",
                      "properties": {
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "How many its own list holds; null when it could not be counted (see waiting)"
                        },
                        "more": {
                          "type": "boolean",
                          "description": "Its list stopped counting there: a search by meaning ranks the index’s nearest, passages are a search’s 50 best"
                        }
                      },
                      "required": [
                        "count",
                        "more"
                      ]
                    },
                    "companies": {
                      "type": "object",
                      "properties": {
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "How many its own list holds; null when it could not be counted (see waiting)"
                        },
                        "more": {
                          "type": "boolean",
                          "description": "Its list stopped counting there: a search by meaning ranks the index’s nearest, passages are a search’s 50 best"
                        }
                      },
                      "required": [
                        "count",
                        "more"
                      ]
                    },
                    "waiting": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Why a count is null: on Free, past the day’s model cap, quotes by meaning wait until midnight UTC"
                    }
                  },
                  "required": [
                    "q",
                    "quotes",
                    "passages",
                    "in",
                    "people",
                    "shows",
                    "companies",
                    "waiting"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Quotes"
        ]
      }
    },
    "/search/places": {
      "get": {
        "operationId": "searchPlaces",
        "summary": "Which places GET /passages can search here: filings, decks, call transcripts and news. Runs no search",
        "responses": {
          "200": {
            "description": "Each place, and whether it holds anything to search here",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "in": {
                      "type": "object",
                      "properties": {
                        "documents": {
                          "type": "object",
                          "properties": {
                            "searchable": {
                              "type": "boolean",
                              "description": "Whether this place holds anything to search here: one of its documents is in the index. Call transcripts are false until GET /passages searches them (#453)"
                            }
                          },
                          "required": [
                            "searchable"
                          ]
                        },
                        "slides": {
                          "type": "object",
                          "properties": {
                            "searchable": {
                              "type": "boolean",
                              "description": "Whether this place holds anything to search here: one of its documents is in the index. Call transcripts are false until GET /passages searches them (#453)"
                            }
                          },
                          "required": [
                            "searchable"
                          ]
                        },
                        "transcripts": {
                          "type": "object",
                          "properties": {
                            "searchable": {
                              "type": "boolean",
                              "description": "Whether this place holds anything to search here: one of its documents is in the index. Call transcripts are false until GET /passages searches them (#453)"
                            }
                          },
                          "required": [
                            "searchable"
                          ]
                        },
                        "articles": {
                          "type": "object",
                          "properties": {
                            "searchable": {
                              "type": "boolean",
                              "description": "Whether this place holds anything to search here: one of its documents is in the index. Call transcripts are false until GET /passages searches them (#453)"
                            }
                          },
                          "required": [
                            "searchable"
                          ]
                        }
                      },
                      "required": [
                        "documents",
                        "slides",
                        "transcripts",
                        "articles"
                      ],
                      "description": "Each place GET /passages looks: documents (filings and releases), slides (decks), transcripts (call transcripts) and articles (news), and whether it holds anything to search here, as GET /search/counts says it"
                    }
                  },
                  "required": [
                    "in"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Quotes"
        ]
      }
    },
    "/people": {
      "get": {
        "operationId": "listPeople",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "Part of a name or an alias, any case"
            },
            "required": false,
            "description": "Part of a name or an alias, any case",
            "name": "q",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/PersonKind"
            },
            "required": false,
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120
            },
            "required": false,
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "name",
                "quotes",
                "latest"
              ],
              "default": "name",
              "description": "name: A to Z (the default). quotes: the most quoted first. latest: the newest quote first, people with none last. Each pages with its own cursor"
            },
            "required": false,
            "description": "name: A to Z (the default). quotes: the most quoted first. latest: the newest quote first, people with none last. Each pages with its own cursor",
            "name": "sort",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 512
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of people",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PersonPage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "People"
        ]
      }
    },
    "/people/{id}": {
      "get": {
        "operationId": "getPerson",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 120
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "One person with their latest quotes",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Person"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "People"
        ]
      }
    },
    "/directory": {
      "get": {
        "operationId": "findInDirectory",
        "summary": "People, companies and shows by the start of a name",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 60,
              "description": "The start of a name, another name or a ticker, any case: sat, micro, msft. At least two letters; a leading @ is ignored"
            },
            "required": true,
            "description": "The start of a name, another name or a ticker, any case: sat, micro, msft. At least two letters; a leading @ is ignored",
            "name": "q",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 8,
              "description": "How many, 1 to 8; 8 if left out"
            },
            "required": false,
            "description": "How many, 1 to 8; 8 if left out",
            "name": "limit",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Up to eight matches, best first",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectoryMatches"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "People"
        ]
      }
    },
    "/lookups": {
      "post": {
        "operationId": "createLookup",
        "summary": "Look a person up: every public appearance, free sources first",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 120,
                    "description": "Their whole name, at least two words: \"Satya Nadella\""
                  },
                  "company": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 120,
                    "description": "Their company, to tell two people with one name apart"
                  },
                  "person": {
                    "type": "string",
                    "maxLength": 64,
                    "description": "A person picked from an earlier lookup's `choose`, by id"
                  }
                },
                "required": [
                  "name"
                ]
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "The lookup, queued",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "queued",
                        "running",
                        "done",
                        "choose",
                        "none",
                        "failed"
                      ]
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "company": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "person": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "choose": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "role": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "why": {
                            "type": "string",
                            "enum": [
                              "same name",
                              "nickname",
                              "middle name",
                              "spelling"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "role",
                          "company",
                          "why"
                        ]
                      }
                    },
                    "found": {
                      "type": "integer"
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "finished_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "id",
                    "status",
                    "name",
                    "company",
                    "person",
                    "choose",
                    "found",
                    "created_at",
                    "finished_at"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "People"
        ]
      },
      "get": {
        "operationId": "listLookups",
        "summary": "The team's lookups this month, and how many are left",
        "responses": {
          "200": {
            "description": "The team's lookups this month",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "queued",
                              "running",
                              "done",
                              "choose",
                              "none",
                              "failed"
                            ]
                          },
                          "name": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "person": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "choose": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "role": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "company": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "why": {
                                  "type": "string",
                                  "enum": [
                                    "same name",
                                    "nickname",
                                    "middle name",
                                    "spelling"
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "role",
                                "company",
                                "why"
                              ]
                            }
                          },
                          "found": {
                            "type": "integer"
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "finished_at": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "date-time"
                          }
                        },
                        "required": [
                          "id",
                          "status",
                          "name",
                          "company",
                          "person",
                          "choose",
                          "found",
                          "created_at",
                          "finished_at"
                        ]
                      }
                    },
                    "used": {
                      "type": "integer"
                    },
                    "limit": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "used",
                    "limit"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "People"
        ]
      }
    },
    "/lookups/{id}": {
      "get": {
        "operationId": "getLookup",
        "summary": "How a person lookup ended",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The id"
            },
            "required": true,
            "description": "The id",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The lookup",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "queued",
                        "running",
                        "done",
                        "choose",
                        "none",
                        "failed"
                      ]
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "company": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "person": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "choose": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "role": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "why": {
                            "type": "string",
                            "enum": [
                              "same name",
                              "nickname",
                              "middle name",
                              "spelling"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "role",
                          "company",
                          "why"
                        ]
                      }
                    },
                    "found": {
                      "type": "integer"
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "finished_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "id",
                    "status",
                    "name",
                    "company",
                    "person",
                    "choose",
                    "found",
                    "created_at",
                    "finished_at"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "People"
        ]
      }
    },
    "/people/{id}/sources": {
      "get": {
        "operationId": "listPersonSources",
        "summary": "Every source of a person, with where each stands",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The id"
            },
            "required": true,
            "description": "The id",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The person's sources",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "person": {
                      "type": "string"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "podcast",
                              "interview",
                              "talk",
                              "company_event",
                              "hearing",
                              "tv"
                            ]
                          },
                          "url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "title": {
                            "type": "string"
                          },
                          "outlet": {
                            "type": "string"
                          },
                          "published_at": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "date-time"
                          },
                          "duration_s": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "role": {
                            "type": "string",
                            "enum": [
                              "guest",
                              "host",
                              "speaker",
                              "panelist",
                              "witness"
                            ]
                          },
                          "work": {
                            "type": "object",
                            "properties": {
                              "sign": {
                                "type": "string",
                                "enum": [
                                  "role",
                                  "company",
                                  "directory"
                                ]
                              },
                              "said": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sign",
                              "said"
                            ]
                          },
                          "found_by": {
                            "type": "string"
                          },
                          "standing": {
                            "type": "object",
                            "properties": {
                              "state": {
                                "type": "string",
                                "enum": [
                                  "quoted",
                                  "transcribed",
                                  "queued",
                                  "found_only",
                                  "cant_fetch"
                                ]
                              },
                              "quotes": {
                                "type": "integer"
                              },
                              "reason": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "episode": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "state",
                              "quotes",
                              "reason",
                              "episode"
                            ]
                          },
                          "also": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "podcast",
                                    "interview",
                                    "talk",
                                    "company_event",
                                    "hearing",
                                    "tv"
                                  ]
                                },
                                "url": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "outlet": {
                                  "type": "string"
                                },
                                "published_at": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "format": "date-time"
                                },
                                "duration_s": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "role": {
                                  "type": "string",
                                  "enum": [
                                    "guest",
                                    "host",
                                    "speaker",
                                    "panelist",
                                    "witness"
                                  ]
                                },
                                "work": {
                                  "type": "object",
                                  "properties": {
                                    "sign": {
                                      "type": "string",
                                      "enum": [
                                        "role",
                                        "company",
                                        "directory"
                                      ]
                                    },
                                    "said": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "sign",
                                    "said"
                                  ]
                                },
                                "found_by": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "kind",
                                "url",
                                "title",
                                "outlet",
                                "published_at",
                                "duration_s",
                                "role",
                                "work",
                                "found_by"
                              ]
                            }
                          }
                        },
                        "required": [
                          "id",
                          "kind",
                          "url",
                          "title",
                          "outlet",
                          "published_at",
                          "duration_s",
                          "role",
                          "work",
                          "found_by",
                          "standing",
                          "also"
                        ]
                      }
                    },
                    "maybes": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "podcast",
                              "interview",
                              "talk",
                              "company_event",
                              "hearing",
                              "tv"
                            ]
                          },
                          "url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "title": {
                            "type": "string"
                          },
                          "outlet": {
                            "type": "string"
                          },
                          "published_at": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "date-time"
                          },
                          "duration_s": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "work": {
                            "type": "object",
                            "properties": {
                              "sign": {
                                "type": "string",
                                "enum": [
                                  "role",
                                  "company",
                                  "directory"
                                ]
                              },
                              "said": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "sign",
                              "said"
                            ]
                          },
                          "found_by": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "kind",
                          "url",
                          "title",
                          "outlet",
                          "published_at",
                          "duration_s",
                          "work",
                          "found_by"
                        ]
                      }
                    }
                  },
                  "required": [
                    "person",
                    "data",
                    "maybes"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "People"
        ]
      }
    },
    "/people/{id}/sources/{source}/queue": {
      "post": {
        "operationId": "quotePersonSource",
        "summary": "\"Quote it\": queue one of a person's found-only sources for transcription",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The person's id"
            },
            "required": true,
            "description": "The person's id",
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The id of one of its postings, from GET /people/{id}/sources"
            },
            "required": true,
            "description": "The id of one of its postings, from GET /people/{id}/sources",
            "name": "source",
            "in": "path"
          }
        ],
        "responses": {
          "202": {
            "description": "The source, queued",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "source": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "kind": {
                          "type": "string",
                          "enum": [
                            "podcast",
                            "interview",
                            "talk",
                            "company_event",
                            "hearing",
                            "tv"
                          ]
                        },
                        "url": {
                          "type": "string",
                          "format": "uri"
                        },
                        "title": {
                          "type": "string"
                        },
                        "outlet": {
                          "type": "string"
                        },
                        "published_at": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "date-time"
                        },
                        "duration_s": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "role": {
                          "type": "string",
                          "enum": [
                            "guest",
                            "host",
                            "speaker",
                            "panelist",
                            "witness"
                          ]
                        },
                        "work": {
                          "type": "object",
                          "properties": {
                            "sign": {
                              "type": "string",
                              "enum": [
                                "role",
                                "company",
                                "directory"
                              ]
                            },
                            "said": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "sign",
                            "said"
                          ]
                        },
                        "found_by": {
                          "type": "string"
                        },
                        "standing": {
                          "type": "object",
                          "properties": {
                            "state": {
                              "type": "string",
                              "enum": [
                                "quoted",
                                "transcribed",
                                "queued",
                                "found_only",
                                "cant_fetch"
                              ]
                            },
                            "quotes": {
                              "type": "integer"
                            },
                            "reason": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "episode": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "state",
                            "quotes",
                            "reason",
                            "episode"
                          ]
                        },
                        "also": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "podcast",
                                  "interview",
                                  "talk",
                                  "company_event",
                                  "hearing",
                                  "tv"
                                ]
                              },
                              "url": {
                                "type": "string",
                                "format": "uri"
                              },
                              "title": {
                                "type": "string"
                              },
                              "outlet": {
                                "type": "string"
                              },
                              "published_at": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "format": "date-time"
                              },
                              "duration_s": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "role": {
                                "type": "string",
                                "enum": [
                                  "guest",
                                  "host",
                                  "speaker",
                                  "panelist",
                                  "witness"
                                ]
                              },
                              "work": {
                                "type": "object",
                                "properties": {
                                  "sign": {
                                    "type": "string",
                                    "enum": [
                                      "role",
                                      "company",
                                      "directory"
                                    ]
                                  },
                                  "said": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "sign",
                                  "said"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "kind",
                              "url",
                              "title",
                              "outlet",
                              "published_at",
                              "duration_s",
                              "role",
                              "work",
                              "found_by"
                            ]
                          }
                        }
                      },
                      "required": [
                        "id",
                        "kind",
                        "url",
                        "title",
                        "outlet",
                        "published_at",
                        "duration_s",
                        "role",
                        "work",
                        "found_by",
                        "standing",
                        "also"
                      ]
                    },
                    "episode": {
                      "type": "string"
                    },
                    "used": {
                      "type": "integer"
                    },
                    "limit": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "source",
                    "episode",
                    "used",
                    "limit"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "People"
        ]
      }
    },
    "/people/{id}/maybes/{maybe}": {
      "post": {
        "operationId": "answerPersonMaybe",
        "summary": "Say whether a person speaks in one of their maybes",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The person's id"
            },
            "required": true,
            "description": "The person's id",
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The maybe's id, from GET /people/{id}/sources"
            },
            "required": true,
            "description": "The maybe's id, from GET /people/{id}/sources",
            "name": "maybe",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "speaks": {
                    "type": "boolean",
                    "description": "true: \"He speaks in it\", it becomes one of their sources, as a guest. false: \"He doesn't\", it's deleted"
                  }
                },
                "required": [
                  "speaks"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The maybe, answered",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "maybe": {
                      "type": "string"
                    },
                    "speaks": {
                      "type": "boolean"
                    },
                    "source": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "kind": {
                          "type": "string",
                          "enum": [
                            "podcast",
                            "interview",
                            "talk",
                            "company_event",
                            "hearing",
                            "tv"
                          ]
                        },
                        "url": {
                          "type": "string",
                          "format": "uri"
                        },
                        "title": {
                          "type": "string"
                        },
                        "outlet": {
                          "type": "string"
                        },
                        "published_at": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "date-time"
                        },
                        "duration_s": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "role": {
                          "type": "string",
                          "enum": [
                            "guest",
                            "host",
                            "speaker",
                            "panelist",
                            "witness"
                          ]
                        },
                        "work": {
                          "type": "object",
                          "properties": {
                            "sign": {
                              "type": "string",
                              "enum": [
                                "role",
                                "company",
                                "directory"
                              ]
                            },
                            "said": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "sign",
                            "said"
                          ]
                        },
                        "found_by": {
                          "type": "string"
                        },
                        "standing": {
                          "type": "object",
                          "properties": {
                            "state": {
                              "type": "string",
                              "enum": [
                                "quoted",
                                "transcribed",
                                "queued",
                                "found_only",
                                "cant_fetch"
                              ]
                            },
                            "quotes": {
                              "type": "integer"
                            },
                            "reason": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "episode": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "state",
                            "quotes",
                            "reason",
                            "episode"
                          ]
                        },
                        "also": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "podcast",
                                  "interview",
                                  "talk",
                                  "company_event",
                                  "hearing",
                                  "tv"
                                ]
                              },
                              "url": {
                                "type": "string",
                                "format": "uri"
                              },
                              "title": {
                                "type": "string"
                              },
                              "outlet": {
                                "type": "string"
                              },
                              "published_at": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "format": "date-time"
                              },
                              "duration_s": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "role": {
                                "type": "string",
                                "enum": [
                                  "guest",
                                  "host",
                                  "speaker",
                                  "panelist",
                                  "witness"
                                ]
                              },
                              "work": {
                                "type": "object",
                                "properties": {
                                  "sign": {
                                    "type": "string",
                                    "enum": [
                                      "role",
                                      "company",
                                      "directory"
                                    ]
                                  },
                                  "said": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "sign",
                                  "said"
                                ]
                              },
                              "found_by": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "kind",
                              "url",
                              "title",
                              "outlet",
                              "published_at",
                              "duration_s",
                              "role",
                              "work",
                              "found_by"
                            ]
                          }
                        }
                      },
                      "required": [
                        "id",
                        "kind",
                        "url",
                        "title",
                        "outlet",
                        "published_at",
                        "duration_s",
                        "role",
                        "work",
                        "found_by",
                        "standing",
                        "also"
                      ]
                    }
                  },
                  "required": [
                    "maybe",
                    "speaks",
                    "source"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "People"
        ]
      }
    },
    "/people/{id}/timeline": {
      "get": {
        "operationId": "getPersonTimeline",
        "summary": "A person's conversations counted by month, with where they stand",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The id"
            },
            "required": true,
            "description": "The id",
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The first day, YYYY-MM-DD. The first dated conversation unless given"
            },
            "required": false,
            "description": "The first day, YYYY-MM-DD. The first dated conversation unless given",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The last day, YYYY-MM-DD. Today unless given, or the last conversation if later"
            },
            "required": false,
            "description": "The last day, YYYY-MM-DD. Today unless given, or the last conversation if later",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "guest",
                "host",
                "speaker",
                "panelist",
                "witness"
              ],
              "description": "Only conversations they took part in this way"
            },
            "required": false,
            "description": "Only conversations they took part in this way",
            "name": "role",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "podcast",
                "interview",
                "talk",
                "company_event",
                "hearing",
                "tv"
              ],
              "description": "Only conversations of this kind"
            },
            "required": false,
            "description": "Only conversations of this kind",
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "week",
                "month",
                "year"
              ],
              "description": "A row a week, a month (the default) or a year"
            },
            "required": false,
            "description": "A row a week, a month (the default) or a year",
            "name": "by",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The person's conversations by period",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "person": {
                      "type": "string"
                    },
                    "by": {
                      "type": "string",
                      "enum": [
                        "week",
                        "month",
                        "year"
                      ]
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "period": {
                            "type": "string"
                          },
                          "start": {
                            "type": "string",
                            "format": "date"
                          },
                          "conversations": {
                            "type": "integer"
                          },
                          "standing": {
                            "type": "object",
                            "properties": {
                              "quoted": {
                                "type": "integer"
                              },
                              "transcribed": {
                                "type": "integer"
                              },
                              "queued": {
                                "type": "integer"
                              },
                              "found_only": {
                                "type": "integer"
                              },
                              "cant_fetch": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "quoted",
                              "transcribed",
                              "queued",
                              "found_only",
                              "cant_fetch"
                            ]
                          },
                          "quotes": {
                            "type": "integer"
                          },
                          "named": {
                            "type": "object",
                            "properties": {
                              "conversations": {
                                "type": "integer"
                              },
                              "quoted": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "conversations",
                              "quoted"
                            ]
                          }
                        },
                        "required": [
                          "period",
                          "start",
                          "conversations",
                          "standing",
                          "quotes",
                          "named"
                        ]
                      }
                    },
                    "totals": {
                      "type": "object",
                      "properties": {
                        "conversations": {
                          "type": "integer"
                        },
                        "standing": {
                          "type": "object",
                          "properties": {
                            "quoted": {
                              "type": "integer"
                            },
                            "transcribed": {
                              "type": "integer"
                            },
                            "queued": {
                              "type": "integer"
                            },
                            "found_only": {
                              "type": "integer"
                            },
                            "cant_fetch": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "quoted",
                            "transcribed",
                            "queued",
                            "found_only",
                            "cant_fetch"
                          ]
                        },
                        "quotes": {
                          "type": "integer"
                        },
                        "shows": {
                          "type": "integer"
                        },
                        "first": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "date"
                        },
                        "last": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "date"
                        },
                        "undated": {
                          "type": "integer"
                        },
                        "maybes": {
                          "type": "integer"
                        },
                        "named": {
                          "type": "object",
                          "properties": {
                            "conversations": {
                              "type": "integer"
                            },
                            "quoted": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "conversations",
                            "quoted"
                          ]
                        }
                      },
                      "required": [
                        "conversations",
                        "standing",
                        "quotes",
                        "shows",
                        "first",
                        "last",
                        "undated",
                        "maybes",
                        "named"
                      ]
                    }
                  },
                  "required": [
                    "person",
                    "by",
                    "data",
                    "totals"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "People"
        ]
      }
    },
    "/people/{id}/named": {
      "get": {
        "operationId": "listPersonNamed",
        "summary": "Other people's conversations that name a person, newest first",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The id"
            },
            "required": true,
            "description": "The id",
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The first day, YYYY-MM-DD, by when each conversation was published"
            },
            "required": false,
            "description": "The first day, YYYY-MM-DD, by when each conversation was published",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The last day, YYYY-MM-DD. A range leaves out conversations with no date"
            },
            "required": false,
            "description": "The last day, YYYY-MM-DD. A range leaves out conversations with no date",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "podcast",
                "interview",
                "talk",
                "company_event",
                "hearing",
                "tv"
              ],
              "description": "Only conversations of this kind: an episode from an official record is a hearing"
            },
            "required": false,
            "description": "Only conversations of this kind: an episode from an official record is a hearing",
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ],
              "description": "true: only those with a quote that names them. false: only those without one"
            },
            "required": false,
            "description": "true: only those with a quote that names them. false: only those without one",
            "name": "quoted",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The conversations that name them",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "person": {
                      "type": "string"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "episode": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "show": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "published_at": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "format": "date-time"
                              },
                              "duration_s": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "podcast",
                                  "hearing"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "title",
                              "show",
                              "published_at",
                              "duration_s",
                              "kind"
                            ]
                          },
                          "count": {
                            "type": "integer"
                          },
                          "first_at": {
                            "type": "number"
                          },
                          "clock": {
                            "type": "string",
                            "enum": [
                              "video",
                              "audio"
                            ]
                          },
                          "source_url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "by": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "count": {
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "count"
                              ]
                            }
                          },
                          "quotes": {
                            "type": "array",
                            "items": {
                              "$ref": "#/components/schemas/Quote"
                            }
                          }
                        },
                        "required": [
                          "episode",
                          "count",
                          "first_at",
                          "clock",
                          "source_url",
                          "by",
                          "quotes"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "totals": {
                      "type": "object",
                      "properties": {
                        "conversations": {
                          "type": "integer"
                        },
                        "quoted": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "conversations",
                        "quoted"
                      ]
                    },
                    "counted": {
                      "type": "object",
                      "properties": {
                        "episodes": {
                          "type": "integer"
                        },
                        "first": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "date"
                        },
                        "last": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "date"
                        }
                      },
                      "required": [
                        "episodes",
                        "first",
                        "last"
                      ]
                    }
                  },
                  "required": [
                    "person",
                    "data",
                    "next",
                    "totals",
                    "counted"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "People"
        ]
      }
    },
    "/shows": {
      "get": {
        "operationId": "listShows",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "Part of a show's name or its id, any case"
            },
            "required": false,
            "description": "Part of a show's name or its id, any case",
            "name": "q",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The shows we follow",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShowPage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Shows and episodes"
        ]
      }
    },
    "/shows/{id}": {
      "get": {
        "operationId": "getShow",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 120
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "One show",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Show"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Shows and episodes"
        ]
      }
    },
    "/episodes/{id}/summary": {
      "get": {
        "operationId": "getEpisodeSummary",
        "summary": "A podcast episode's summary, every line with its second",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "line",
                "short",
                "long"
              ],
              "default": "short",
              "description": "One line, a short summary or a long one"
            },
            "required": false,
            "description": "One line, a short summary or a long one",
            "name": "length",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The summary",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "of": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "event",
                            "document",
                            "transcript",
                            "episode"
                          ]
                        },
                        "id": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "id"
                      ]
                    },
                    "length": {
                      "type": "string",
                      "enum": [
                        "line",
                        "short",
                        "long"
                      ]
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "part": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "enum": [
                              "headline",
                              "management",
                              "outlook",
                              "capital",
                              "argued",
                              "expects",
                              "companies",
                              null
                            ]
                          },
                          "text": {
                            "type": "string"
                          },
                          "sources": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "page",
                                    "second"
                                  ]
                                },
                                "document": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "page": {
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                },
                                "transcript": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "at": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "url": {
                                  "type": "string",
                                  "format": "uri"
                                }
                              },
                              "required": [
                                "kind",
                                "document",
                                "page",
                                "transcript",
                                "at",
                                "url"
                              ]
                            }
                          }
                        },
                        "required": [
                          "part",
                          "text",
                          "sources"
                        ]
                      }
                    },
                    "read": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "written": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "note": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "of",
                    "length",
                    "lines",
                    "read",
                    "written",
                    "note"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Shows and episodes"
        ]
      }
    },
    "/episodes": {
      "get": {
        "operationId": "listEpisodes",
        "summary": "The episodes we hold, newest first, each with where it stands, who is quoted, and its counts of quotes and chapters",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "A show's id"
            },
            "required": false,
            "description": "A show's id",
            "name": "show",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "A person's id: episodes where they're quoted, or where the appearance finder found them"
            },
            "required": false,
            "description": "A person's id: episodes where they're quoted, or where the appearance finder found them",
            "name": "person",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "A company's or a person's id: episodes whose words name them"
            },
            "required": false,
            "description": "A company's or a person's id: episodes whose words name them",
            "name": "named",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "One of the team's targets, by id: the podcast episodes its category's names found, on its market whether or not their words name it, each with market saying the name that found it. A company the team doesn't target is a 409"
            },
            "required": false,
            "description": "One of the team's targets, by id: the podcast episodes its category's names found, on its market whether or not their words name it, each with market saying the name that found it. A company the team doesn't target is a 409",
            "name": "market",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The first day it was published, YYYY-MM-DD"
            },
            "required": false,
            "description": "The first day it was published, YYYY-MM-DD",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The last day it was published, YYYY-MM-DD"
            },
            "required": false,
            "description": "The last day it was published, YYYY-MM-DD",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "transcribed",
                "transcribing",
                "quotes_only",
                "not_transcribed"
              ],
              "description": "transcribed: it has a transcript; transcribing: queued or still being transcribed; quotes_only: its quotes from the show's video, no transcript of its own; not_transcribed: we hold it and won't or couldn't transcribe it"
            },
            "required": false,
            "description": "transcribed: it has a transcript; transcribing: queued or still being transcribed; quotes_only: its quotes from the show's video, no transcript of its own; not_transcribed: we hold it and won't or couldn't transcribe it",
            "name": "standing",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ],
              "description": "true: only episodes with a quote that can be shown; false: only those without one"
            },
            "required": false,
            "description": "true: only episodes with a quote that can be shown; false: only those without one",
            "name": "quoted",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "episode",
                "event"
              ],
              "description": "event: a company's own event, captured as an episode of its events source"
            },
            "required": false,
            "description": "event: a company's own event, captured as an episode of its events source",
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "A tracker's id: episodes with its matches"
            },
            "required": false,
            "description": "A tracker's id: episodes with its matches",
            "name": "tracker",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "A team's list (lst_…): episodes with a quote by someone on it or at a company on it, for the week. Another team's list is a 404"
            },
            "required": false,
            "description": "A team's list (lst_…): episodes with a quote by someone on it or at a company on it, for the week. Another team's list is a 404",
            "name": "list",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Episodes, newest first",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EpisodeItemPage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Shows and episodes"
        ]
      }
    },
    "/episodes/{id}": {
      "get": {
        "operationId": "getEpisode",
        "summary": "One episode, whole: who spoke and how we know, its chapters, every quote under its chapter, the names it says, its turns",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ],
              "description": "false lets quotes from unconfirmed speakers in, marked so"
            },
            "required": false,
            "description": "false lets quotes from unconfirmed speakers in, marked so",
            "name": "confirmed",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The episode",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Episode"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Shows and episodes"
        ]
      }
    },
    "/passages/{id}/source": {
      "get": {
        "operationId": "getPassageSource",
        "summary": "A passage's source: the document, the page of how many, where the passage sits on it, the page's other passages and the outline",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 80,
              "description": "A passage: 2026q4:doc_…:12"
            },
            "required": true,
            "description": "A passage: 2026q4:doc_…:12",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The passage's source",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Source"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/companies": {
      "get": {
        "operationId": "listCompanies",
        "summary": "Companies, by name; filtered by any identifier",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "Part of a name or another name it goes by, any case"
            },
            "required": false,
            "description": "Part of a name or another name it goes by, any case",
            "name": "q",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "Our company ids, comma-separated: nvidia,microsoft"
            },
            "required": false,
            "description": "Our company ids, comma-separated: nvidia,microsoft",
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 1000,
              "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)"
            },
            "required": false,
            "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)",
            "name": "ticker",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 600,
              "description": "SEC CIKs, comma-separated, with or without the leading zeros"
            },
            "required": false,
            "description": "SEC CIKs, comma-separated, with or without the leading zeros",
            "name": "cik",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 700,
              "description": "FIGIs, comma-separated: a listing's FIGI or its share class FIGI"
            },
            "required": false,
            "description": "FIGIs, comma-separated: a listing's FIGI or its share class FIGI",
            "name": "figi",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 700,
              "description": "ISINs, comma-separated"
            },
            "required": false,
            "description": "ISINs, comma-separated",
            "name": "isin",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200,
              "description": "Where the company is based, ISO 3166-1 alpha-2 codes, comma-separated: US,CA"
            },
            "required": false,
            "description": "Where the company is based, ISO 3166-1 alpha-2 codes, comma-separated: US,CA",
            "name": "country",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300,
              "description": "Exchanges, comma-separated, as we write them: NASDAQ,NYSE"
            },
            "required": false,
            "description": "Exchanges, comma-separated, as we write them: NASDAQ,NYSE",
            "name": "exchange",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "true: only companies a person on PodData's watch list leads"
            },
            "required": false,
            "description": "true: only companies a person on PodData's watch list leads",
            "name": "watch_list",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "true: only companies on a stock exchange. false: only those that are not"
            },
            "required": false,
            "description": "true: only companies on a stock exchange. false: only those that are not",
            "name": "listed",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after"
            },
            "required": false,
            "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after",
            "name": "updated_after",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of companies",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyPage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/companies/{id}": {
      "get": {
        "operationId": "getCompany",
        "summary": "One company, by our id or by one of its identifiers",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 40,
              "description": "Our id (nvidia), EXCHANGE:TICKER (NASDAQ:NVDA), a CIK (0001045810), a FIGI (BBG…) or an ISIN"
            },
            "required": true,
            "description": "Our id (nvidia), EXCHANGE:TICKER (NASDAQ:NVDA), a CIK (0001045810), a FIGI (BBG…) or an ISIN",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "One company",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Company"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/documents": {
      "get": {
        "operationId": "listDocuments",
        "summary": "What companies file and publish, newest first",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "Our company ids, comma-separated: nvidia,microsoft"
            },
            "required": false,
            "description": "Our company ids, comma-separated: nvidia,microsoft",
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 1000,
              "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)"
            },
            "required": false,
            "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)",
            "name": "ticker",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 600,
              "description": "SEC CIKs, comma-separated, with or without the leading zeros"
            },
            "required": false,
            "description": "SEC CIKs, comma-separated, with or without the leading zeros",
            "name": "cik",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 700,
              "description": "FIGIs, comma-separated: a listing's FIGI or its share class FIGI"
            },
            "required": false,
            "description": "FIGIs, comma-separated: a listing's FIGI or its share class FIGI",
            "name": "figi",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 700,
              "description": "ISINs, comma-separated"
            },
            "required": false,
            "description": "ISINs, comma-separated",
            "name": "isin",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200,
              "description": "Where the company is based, ISO 3166-1 alpha-2 codes, comma-separated: US,CA"
            },
            "required": false,
            "description": "Where the company is based, ISO 3166-1 alpha-2 codes, comma-separated: US,CA",
            "name": "country",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300,
              "description": "Exchanges, comma-separated, as we write them: NASDAQ,NYSE"
            },
            "required": false,
            "description": "Exchanges, comma-separated, as we write them: NASDAQ,NYSE",
            "name": "exchange",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "true: only companies a person on PodData's watch list leads"
            },
            "required": false,
            "description": "true: only companies a person on PodData's watch list leads",
            "name": "watch_list",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "Event ids, comma-separated"
            },
            "required": false,
            "description": "Event ids, comma-separated",
            "name": "event",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "report",
                "slides",
                "article"
              ],
              "description": "report, slides or article. Without it, articles are left out unless type or person asks for them"
            },
            "required": false,
            "description": "report, slides or article. Without it, articles are left out unless type or person asks for them",
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "People's ids, comma-separated: articles with them or about them"
            },
            "required": false,
            "description": "People's ids, comma-separated: articles with them or about them",
            "name": "person",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200,
              "description": "Groups, comma-separated: earnings_release, press_release, interim_report, annual_report, proxy_statement, registration_statement"
            },
            "required": false,
            "description": "Groups, comma-separated: earnings_release, press_release, interim_report, annual_report, proxy_statement, registration_statement",
            "name": "group",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300,
              "description": "Document types, comma-separated, by id"
            },
            "required": false,
            "description": "Document types, comma-separated, by id",
            "name": "type",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "SEC forms, comma-separated: 10-K,10-Q,8-K"
            },
            "required": false,
            "description": "SEC forms, comma-separated: 10-K,10-Q,8-K",
            "name": "form",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filed or published from this day"
            },
            "required": false,
            "description": "Filed or published from this day",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filed or published to this day"
            },
            "required": false,
            "description": "Filed or published to this day",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after"
            },
            "required": false,
            "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after",
            "name": "updated_after",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the list as a file, each row a document with its original's address and PodData's own, at most 10,000 rows (diligence-reports.md › A target's folder). json: a page, the default"
            },
            "required": false,
            "description": "csv: the list as a file, each row a document with its original's address and PodData's own, at most 10,000 rows (diligence-reports.md › A target's folder). json: a page, the default",
            "name": "format",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of documents, or with format=csv the list as a file",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentPage"
                }
              },
              "text/csv": {
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the list as a file, each row a document with its original and PodData’s address for it"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/documents/{id}": {
      "get": {
        "operationId": "getDocument",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "One document",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/document-types": {
      "get": {
        "operationId": "listDocumentTypes",
        "summary": "The kinds of document, each with its form and group, in one page",
        "responses": {
          "200": {
            "description": "Every document type",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentTypePage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/documents/{id}/pages": {
      "get": {
        "operationId": "listDocumentPages",
        "summary": "A document's pages, or a deck's slides, in order",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 12
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of pages",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagePage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/documents/{id}/text": {
      "get": {
        "operationId": "getDocumentText",
        "summary": "A document's sections, and its Markdown copy when that may be shown",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The outline and the copy",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentText"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/events": {
      "get": {
        "operationId": "listEvents",
        "summary": "Company events, newest first; with order=asc, oldest first, for a calendar",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "Our company ids, comma-separated: nvidia,microsoft"
            },
            "required": false,
            "description": "Our company ids, comma-separated: nvidia,microsoft",
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 1000,
              "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)"
            },
            "required": false,
            "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)",
            "name": "ticker",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 600,
              "description": "SEC CIKs, comma-separated, with or without the leading zeros"
            },
            "required": false,
            "description": "SEC CIKs, comma-separated, with or without the leading zeros",
            "name": "cik",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 700,
              "description": "FIGIs, comma-separated: a listing's FIGI or its share class FIGI"
            },
            "required": false,
            "description": "FIGIs, comma-separated: a listing's FIGI or its share class FIGI",
            "name": "figi",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 700,
              "description": "ISINs, comma-separated"
            },
            "required": false,
            "description": "ISINs, comma-separated",
            "name": "isin",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200,
              "description": "Where the company is based, ISO 3166-1 alpha-2 codes, comma-separated: US,CA"
            },
            "required": false,
            "description": "Where the company is based, ISO 3166-1 alpha-2 codes, comma-separated: US,CA",
            "name": "country",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300,
              "description": "Exchanges, comma-separated, as we write them: NASDAQ,NYSE"
            },
            "required": false,
            "description": "Exchanges, comma-separated, as we write them: NASDAQ,NYSE",
            "name": "exchange",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "true: only companies a person on PodData's watch list leads"
            },
            "required": false,
            "description": "true: only companies a person on PodData's watch list leads",
            "name": "watch_list",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300,
              "description": "Event types, comma-separated, by id: earnings_call,investor_day"
            },
            "required": false,
            "description": "Event types, comma-separated, by id: earnings_call,investor_day",
            "name": "type",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The event's date, from this day"
            },
            "required": false,
            "description": "The event's date, from this day",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The event's date, to this day"
            },
            "required": false,
            "description": "The event's date, to this day",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "desc",
              "description": "By the event's date. asc with from set to today lists what is coming up"
            },
            "required": false,
            "description": "By the event's date. asc with from set to today lists what is coming up",
            "name": "order",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after"
            },
            "required": false,
            "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after",
            "name": "updated_after",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "true"
              ],
              "description": "true: only the companies the team's running trackers name, by a company or a person at one, and the companies that own them; each event then says which trackers brought it in. A team with none gets an empty list"
            },
            "required": false,
            "description": "true: only the companies the team's running trackers name, by a company or a person at one, and the companies that own them; each event then says which trackers brought it in. A team with none gets an empty list",
            "name": "tracked",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "A team's list (lst_…): the events of the companies on it. People on it bring none. Another team's list is a 404"
            },
            "required": false,
            "description": "A team's list (lst_…): the events of the companies on it. People on it bring none. Another team's list is a 404",
            "name": "list",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of events",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventPage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/events/{id}": {
      "get": {
        "operationId": "getEvent",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "One event",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Event"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/event-types": {
      "get": {
        "operationId": "listEventTypes",
        "summary": "The kinds of event, as a small tree, in one page",
        "responses": {
          "200": {
            "description": "Every event type",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventTypePage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/passages": {
      "get": {
        "operationId": "searchPassages",
        "summary": "Passages of at most 80 words from documents, slides and event transcripts, each with its page or second and a link",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 2,
              "maxLength": 300
            },
            "required": true,
            "name": "q",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "words",
                "meaning"
              ],
              "default": "words",
              "description": "words: the words of q, any order. meaning: what q means"
            },
            "required": false,
            "description": "words: the words of q, any order. meaning: what q means",
            "name": "match_by",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 60,
              "description": "Where to look, comma-separated: documents, slides, transcripts, articles. The first three by default: an outlet's articles only when asked for"
            },
            "required": false,
            "description": "Where to look, comma-separated: documents, slides, transcripts, articles. The first three by default: an outlet's articles only when asked for",
            "name": "in",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "People's ids, comma-separated: only their answers in written interviews, as the outlet published them"
            },
            "required": false,
            "description": "People's ids, comma-separated: only their answers in written interviews, as the outlet published them",
            "name": "person",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "Our company ids, comma-separated: nvidia,microsoft"
            },
            "required": false,
            "description": "Our company ids, comma-separated: nvidia,microsoft",
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 1000,
              "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)"
            },
            "required": false,
            "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)",
            "name": "ticker",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "true: only companies a person on PodData's watch list leads"
            },
            "required": false,
            "description": "true: only companies a person on PodData's watch list leads",
            "name": "watch_list",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "Event ids, comma-separated"
            },
            "required": false,
            "description": "Event ids, comma-separated",
            "name": "event",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "Only this document"
            },
            "required": false,
            "description": "Only this document",
            "name": "document",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "Only this transcript"
            },
            "required": false,
            "description": "Only this transcript",
            "name": "transcript",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200,
              "description": "Groups, comma-separated"
            },
            "required": false,
            "description": "Groups, comma-separated",
            "name": "group",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "SEC forms, comma-separated"
            },
            "required": false,
            "description": "SEC forms, comma-separated",
            "name": "form",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 25,
              "default": 10
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of passages, best first",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PassagePage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/slides": {
      "get": {
        "operationId": "searchSlides",
        "summary": "Slides that match words or a meaning, with the company, the event and the date",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 2,
              "maxLength": 300
            },
            "required": true,
            "name": "q",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "words",
                "meaning"
              ],
              "default": "words",
              "description": "words: the words of q, any order. meaning: what q means"
            },
            "required": false,
            "description": "words: the words of q, any order. meaning: what q means",
            "name": "match_by",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "Our company ids, comma-separated: nvidia,microsoft"
            },
            "required": false,
            "description": "Our company ids, comma-separated: nvidia,microsoft",
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 1000,
              "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)"
            },
            "required": false,
            "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)",
            "name": "ticker",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "true: only companies a person on PodData's watch list leads"
            },
            "required": false,
            "description": "true: only companies a person on PodData's watch list leads",
            "name": "watch_list",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "SIC codes, comma-separated; two digits take in the whole major group"
            },
            "required": false,
            "description": "SIC codes, comma-separated; two digits take in the whole major group",
            "name": "industry",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 25,
              "default": 10
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of matching slides, best first",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PassagePage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/slides/{id}/history": {
      "get": {
        "operationId": "getSlideHistory",
        "summary": "The same slide in the company's earlier decks, with the labels and numbers added, changed or dropped",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 80,
              "description": "A slide: a page id (pg_…) of a deck"
            },
            "required": true,
            "description": "A slide: a page id (pg_…) of a deck",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The slide's versions, newest first",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SlideHistory"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/live": {
      "get": {
        "operationId": "listLive",
        "summary": "Events that are coming up live, are live or were, with their state",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "Our company ids, comma-separated: nvidia,microsoft"
            },
            "required": false,
            "description": "Our company ids, comma-separated: nvidia,microsoft",
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 1000,
              "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)"
            },
            "required": false,
            "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)",
            "name": "ticker",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 600,
              "description": "SEC CIKs, comma-separated, with or without the leading zeros"
            },
            "required": false,
            "description": "SEC CIKs, comma-separated, with or without the leading zeros",
            "name": "cik",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 700,
              "description": "FIGIs, comma-separated: a listing's FIGI or its share class FIGI"
            },
            "required": false,
            "description": "FIGIs, comma-separated: a listing's FIGI or its share class FIGI",
            "name": "figi",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 700,
              "description": "ISINs, comma-separated"
            },
            "required": false,
            "description": "ISINs, comma-separated",
            "name": "isin",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200,
              "description": "Where the company is based, ISO 3166-1 alpha-2 codes, comma-separated: US,CA"
            },
            "required": false,
            "description": "Where the company is based, ISO 3166-1 alpha-2 codes, comma-separated: US,CA",
            "name": "country",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300,
              "description": "Exchanges, comma-separated, as we write them: NASDAQ,NYSE"
            },
            "required": false,
            "description": "Exchanges, comma-separated, as we write them: NASDAQ,NYSE",
            "name": "exchange",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "true: only companies a person on PodData's watch list leads"
            },
            "required": false,
            "description": "true: only companies a person on PodData's watch list leads",
            "name": "watch_list",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "Event ids, comma-separated"
            },
            "required": false,
            "description": "Event ids, comma-separated",
            "name": "event",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 60,
              "description": "States, comma-separated: upcoming, live, ended, failed"
            },
            "required": false,
            "description": "States, comma-separated: upcoming, live, ended, failed",
            "name": "state",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after"
            },
            "required": false,
            "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after",
            "name": "updated_after",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of live events",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LivePage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/live/{id}": {
      "get": {
        "operationId": "getLive",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The event's id"
            },
            "required": true,
            "description": "The event's id",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "One live event",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Live"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/live/{id}/transcript": {
      "get": {
        "operationId": "readLiveTranscript",
        "summary": "The live transcript as it grows, read on from the last position",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "The event's id"
            },
            "required": true,
            "description": "The event's id",
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 0
            },
            "required": false,
            "name": "after",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The entries after that position",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LiveTranscript"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/posts": {
      "get": {
        "operationId": "listPosts",
        "summary": "What the accounts we follow posted in public, newest first, each with who posted it, on which network, when, and a link",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "People's ids, comma-separated: posts from their own accounts"
            },
            "required": false,
            "description": "People's ids, comma-separated: posts from their own accounts",
            "name": "person",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "Companies' ids, comma-separated: posts from the companies' own accounts"
            },
            "required": false,
            "description": "Companies' ids, comma-separated: posts from the companies' own accounts",
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 60,
              "description": "Networks, comma-separated: x, bluesky, mastodon"
            },
            "required": false,
            "description": "Networks, comma-separated: x, bluesky, mastodon",
            "name": "network",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 60,
              "description": "Kinds, comma-separated: post, reply, repost, quote"
            },
            "required": false,
            "description": "Kinds, comma-separated: post, reply, repost, quote",
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Posted from this day (UTC)"
            },
            "required": false,
            "description": "Posted from this day (UTC)",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Posted to this day (UTC)"
            },
            "required": false,
            "description": "Posted to this day (UTC)",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after"
            },
            "required": false,
            "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after",
            "name": "updated_after",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of posts",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostPage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/posts/{id}": {
      "get": {
        "operationId": "getPost",
        "summary": "One post, or that its words were taken out, when and why",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "One post",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Post"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/transcripts": {
      "get": {
        "operationId": "listTranscripts",
        "summary": "Event transcripts with every speaker named or marked unconfirmed, newest event first",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "Our company ids, comma-separated: nvidia,microsoft"
            },
            "required": false,
            "description": "Our company ids, comma-separated: nvidia,microsoft",
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 1000,
              "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)"
            },
            "required": false,
            "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)",
            "name": "ticker",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 600,
              "description": "SEC CIKs, comma-separated, with or without the leading zeros"
            },
            "required": false,
            "description": "SEC CIKs, comma-separated, with or without the leading zeros",
            "name": "cik",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 700,
              "description": "FIGIs, comma-separated: a listing's FIGI or its share class FIGI"
            },
            "required": false,
            "description": "FIGIs, comma-separated: a listing's FIGI or its share class FIGI",
            "name": "figi",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 700,
              "description": "ISINs, comma-separated"
            },
            "required": false,
            "description": "ISINs, comma-separated",
            "name": "isin",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200,
              "description": "Where the company is based, ISO 3166-1 alpha-2 codes, comma-separated: US,CA"
            },
            "required": false,
            "description": "Where the company is based, ISO 3166-1 alpha-2 codes, comma-separated: US,CA",
            "name": "country",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300,
              "description": "Exchanges, comma-separated, as we write them: NASDAQ,NYSE"
            },
            "required": false,
            "description": "Exchanges, comma-separated, as we write them: NASDAQ,NYSE",
            "name": "exchange",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "true: only companies a person on PodData's watch list leads"
            },
            "required": false,
            "description": "true: only companies a person on PodData's watch list leads",
            "name": "watch_list",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "Event ids, comma-separated"
            },
            "required": false,
            "description": "Event ids, comma-separated",
            "name": "event",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300,
              "description": "The event's types, comma-separated"
            },
            "required": false,
            "description": "The event's types, comma-separated",
            "name": "type",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The event's date, from this day"
            },
            "required": false,
            "description": "The event's date, from this day",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after"
            },
            "required": false,
            "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after",
            "name": "updated_after",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of transcripts",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "from": {
                            "type": "string",
                            "enum": [
                              "ours",
                              "api-ninjas"
                            ]
                          },
                          "replaced_by": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "event": {
                            "$ref": "#/components/schemas/EventRef"
                          },
                          "company": {
                            "$ref": "#/components/schemas/CompanyRef"
                          },
                          "language": {
                            "type": "string"
                          },
                          "duration": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "audio": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "qa_starts_at": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "speakers": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "index": {
                                  "type": "integer"
                                },
                                "id": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "name": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "role": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "company": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "confirmed",
                                    "unconfirmed"
                                  ]
                                }
                              },
                              "required": [
                                "index",
                                "id",
                                "name",
                                "role",
                                "company",
                                "status"
                              ]
                            }
                          },
                          "shown": {
                            "type": "string",
                            "enum": [
                              "passages",
                              "whole"
                            ]
                          },
                          "turns": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "speaker": {
                                  "type": "integer"
                                },
                                "starts_at": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "ends_at": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "chapter": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "word_count": {
                                  "type": "integer"
                                },
                                "text": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "words": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "text": {
                                        "type": "string"
                                      },
                                      "starts_at": {
                                        "type": "number"
                                      },
                                      "ends_at": {
                                        "type": "number"
                                      },
                                      "confidence": {
                                        "type": "number",
                                        "minimum": 0,
                                        "maximum": 1
                                      }
                                    },
                                    "required": [
                                      "text",
                                      "starts_at",
                                      "ends_at",
                                      "confidence"
                                    ]
                                  }
                                },
                                "source_url": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "format": "uri"
                                },
                                "n": {
                                  "type": "integer"
                                },
                                "sentences": {
                                  "type": "array",
                                  "items": {
                                    "type": "array",
                                    "items": {
                                      "type": "integer"
                                    }
                                  }
                                },
                                "part": {
                                  "type": "string",
                                  "enum": [
                                    "remarks",
                                    "qa"
                                  ]
                                }
                              },
                              "required": [
                                "speaker",
                                "starts_at",
                                "ends_at",
                                "chapter",
                                "word_count",
                                "text",
                                "source_url",
                                "n"
                              ]
                            }
                          },
                          "created": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          }
                        },
                        "required": [
                          "id",
                          "from",
                          "event",
                          "company",
                          "language",
                          "duration",
                          "audio",
                          "qa_starts_at",
                          "speakers",
                          "shown",
                          "created",
                          "updated"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/transcripts/{id}": {
      "get": {
        "operationId": "getTranscript",
        "summary": "One transcript, turn by turn",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "remarks",
                "qa"
              ],
              "default": "all",
              "description": "The whole, the prepared remarks only, or the Q&A only"
            },
            "required": false,
            "description": "The whole, the prepared remarks only, or the Q&A only",
            "name": "part",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "default": false,
              "description": "Each word with its times and confidence, when the transcript may be shown whole"
            },
            "required": false,
            "description": "Each word with its times and confidence, when the transcript may be shown whole",
            "name": "words",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The transcript with its turns",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "from": {
                      "type": "string",
                      "enum": [
                        "ours",
                        "api-ninjas"
                      ]
                    },
                    "replaced_by": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "event": {
                      "$ref": "#/components/schemas/EventRef"
                    },
                    "company": {
                      "$ref": "#/components/schemas/CompanyRef"
                    },
                    "language": {
                      "type": "string"
                    },
                    "duration": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "audio": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "qa_starts_at": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "speakers": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "index": {
                            "type": "integer"
                          },
                          "id": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "name": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "role": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "company": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "confirmed",
                              "unconfirmed"
                            ]
                          }
                        },
                        "required": [
                          "index",
                          "id",
                          "name",
                          "role",
                          "company",
                          "status"
                        ]
                      }
                    },
                    "shown": {
                      "type": "string",
                      "enum": [
                        "passages",
                        "whole"
                      ]
                    },
                    "turns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "speaker": {
                            "type": "integer"
                          },
                          "starts_at": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "ends_at": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "chapter": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "word_count": {
                            "type": "integer"
                          },
                          "text": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "words": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "text": {
                                  "type": "string"
                                },
                                "starts_at": {
                                  "type": "number"
                                },
                                "ends_at": {
                                  "type": "number"
                                },
                                "confidence": {
                                  "type": "number",
                                  "minimum": 0,
                                  "maximum": 1
                                }
                              },
                              "required": [
                                "text",
                                "starts_at",
                                "ends_at",
                                "confidence"
                              ]
                            }
                          },
                          "source_url": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "uri"
                          },
                          "n": {
                            "type": "integer"
                          },
                          "sentences": {
                            "type": "array",
                            "items": {
                              "type": "array",
                              "items": {
                                "type": "integer"
                              }
                            }
                          },
                          "part": {
                            "type": "string",
                            "enum": [
                              "remarks",
                              "qa"
                            ]
                          }
                        },
                        "required": [
                          "speaker",
                          "starts_at",
                          "ends_at",
                          "chapter",
                          "word_count",
                          "text",
                          "source_url",
                          "n"
                        ]
                      }
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "id",
                    "from",
                    "event",
                    "company",
                    "language",
                    "duration",
                    "audio",
                    "qa_starts_at",
                    "speakers",
                    "shown",
                    "created",
                    "updated"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/transcripts/{id}/chapters": {
      "get": {
        "operationId": "listTranscriptChapters",
        "summary": "The prepared remarks, the Q&A and each question, in time order",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 20,
              "description": "Levels, comma-separated: 1 for remarks and Q&A, 2 for the questions inside"
            },
            "required": false,
            "description": "Levels, comma-separated: 1 for remarks and Q&A, 2 for the questions inside",
            "name": "level",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Every chapter",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "transcript": {
                            "type": "string"
                          },
                          "parent": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "level": {
                            "type": "integer"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "remarks",
                              "qa",
                              "question",
                              "topic",
                              "chapter"
                            ]
                          },
                          "title": {
                            "type": "string"
                          },
                          "starts_at": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "ends_at": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "asker": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "company": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "name",
                                  "company"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "from": {
                            "type": "string",
                            "enum": [
                              "show",
                              "script",
                              "model"
                            ]
                          },
                          "first_turn": {
                            "type": "integer"
                          },
                          "last_turn": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "id",
                          "transcript",
                          "parent",
                          "level",
                          "kind",
                          "title",
                          "starts_at",
                          "ends_at",
                          "asker",
                          "from"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/audio": {
      "get": {
        "operationId": "listAudio",
        "summary": "Event recordings, newest event first",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "Our company ids, comma-separated: nvidia,microsoft"
            },
            "required": false,
            "description": "Our company ids, comma-separated: nvidia,microsoft",
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 1000,
              "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)"
            },
            "required": false,
            "description": "Tickers, comma-separated, each alone (NVDA) or with its exchange (NASDAQ:NVDA)",
            "name": "ticker",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 600,
              "description": "SEC CIKs, comma-separated, with or without the leading zeros"
            },
            "required": false,
            "description": "SEC CIKs, comma-separated, with or without the leading zeros",
            "name": "cik",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 700,
              "description": "FIGIs, comma-separated: a listing's FIGI or its share class FIGI"
            },
            "required": false,
            "description": "FIGIs, comma-separated: a listing's FIGI or its share class FIGI",
            "name": "figi",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 700,
              "description": "ISINs, comma-separated"
            },
            "required": false,
            "description": "ISINs, comma-separated",
            "name": "isin",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200,
              "description": "Where the company is based, ISO 3166-1 alpha-2 codes, comma-separated: US,CA"
            },
            "required": false,
            "description": "Where the company is based, ISO 3166-1 alpha-2 codes, comma-separated: US,CA",
            "name": "country",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300,
              "description": "Exchanges, comma-separated, as we write them: NASDAQ,NYSE"
            },
            "required": false,
            "description": "Exchanges, comma-separated, as we write them: NASDAQ,NYSE",
            "name": "exchange",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "true: only companies a person on PodData's watch list leads"
            },
            "required": false,
            "description": "true: only companies a person on PodData's watch list leads",
            "name": "watch_list",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "Event ids, comma-separated"
            },
            "required": false,
            "description": "Event ids, comma-separated",
            "name": "event",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after"
            },
            "required": false,
            "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after",
            "name": "updated_after",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of recordings",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "event": {
                            "$ref": "#/components/schemas/EventRef"
                          },
                          "company": {
                            "$ref": "#/components/schemas/CompanyRef"
                          },
                          "duration": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "qa_starts_at": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "transcript": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "from": {
                            "type": "string",
                            "enum": [
                              "replay",
                              "youtube",
                              "live"
                            ]
                          },
                          "replay_url": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "uri"
                          },
                          "shown": {
                            "type": "string",
                            "enum": [
                              "passages",
                              "whole"
                            ]
                          },
                          "file_url": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "uri"
                          },
                          "stream_url": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "uri"
                          },
                          "created": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          }
                        },
                        "required": [
                          "id",
                          "event",
                          "company",
                          "duration",
                          "qa_starts_at",
                          "transcript",
                          "from",
                          "replay_url",
                          "shown",
                          "file_url",
                          "stream_url",
                          "created",
                          "updated"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/audio/{id}": {
      "get": {
        "operationId": "getAudio",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "One recording",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "event": {
                      "$ref": "#/components/schemas/EventRef"
                    },
                    "company": {
                      "$ref": "#/components/schemas/CompanyRef"
                    },
                    "duration": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "qa_starts_at": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "transcript": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "from": {
                      "type": "string",
                      "enum": [
                        "replay",
                        "youtube",
                        "live"
                      ]
                    },
                    "replay_url": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "uri"
                    },
                    "shown": {
                      "type": "string",
                      "enum": [
                        "passages",
                        "whole"
                      ]
                    },
                    "file_url": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "uri"
                    },
                    "stream_url": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "uri"
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "id",
                    "event",
                    "company",
                    "duration",
                    "qa_starts_at",
                    "transcript",
                    "from",
                    "replay_url",
                    "shown",
                    "file_url",
                    "stream_url",
                    "created",
                    "updated"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/companies/{id}/figures": {
      "get": {
        "operationId": "listCompanyFigures",
        "summary": "What a company reported, quarter by quarter, each value with its filing",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "income",
                "balance",
                "cash_flow",
                "segment"
              ]
            },
            "required": false,
            "name": "statement",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200,
              "description": "Tags, comma-separated, as the filings write them: us-gaap:Revenues"
            },
            "required": false,
            "description": "Tags, comma-separated, as the filings write them: us-gaap:Revenues",
            "name": "concept",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1990,
              "maximum": 2100
            },
            "required": false,
            "name": "fiscal_year",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "Q1",
                "Q2",
                "Q3",
                "Q4",
                "H1",
                "H2",
                "9M",
                "FY"
              ]
            },
            "required": false,
            "name": "fiscal_period",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after"
            },
            "required": false,
            "description": "Only what was added or changed after this time. The list then runs oldest change first, so the last item's updated is the next updated_after",
            "name": "updated_after",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of figures, newest period first",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "concept": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "statement": {
                            "type": "string",
                            "enum": [
                              "income",
                              "balance",
                              "cash_flow",
                              "segment",
                              "other"
                            ]
                          },
                          "segment": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "axis": {
                                    "type": "string"
                                  },
                                  "member": {
                                    "type": "string"
                                  },
                                  "label": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "axis",
                                  "member",
                                  "label"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "value": {
                            "type": "number"
                          },
                          "unit": {
                            "type": "string"
                          },
                          "fiscal": {
                            "type": "object",
                            "properties": {
                              "year": {
                                "type": "integer"
                              },
                              "period": {
                                "type": "string",
                                "enum": [
                                  "Q1",
                                  "Q2",
                                  "Q3",
                                  "Q4",
                                  "H1",
                                  "H2",
                                  "9M",
                                  "FY"
                                ]
                              }
                            },
                            "required": [
                              "year",
                              "period"
                            ]
                          },
                          "start": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "date"
                          },
                          "end": {
                            "type": "string",
                            "format": "date"
                          },
                          "derived": {
                            "type": "boolean"
                          },
                          "filing": {
                            "type": "object",
                            "properties": {
                              "document": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "form": {
                                "type": "string"
                              },
                              "accession": {
                                "type": "string"
                              },
                              "filed": {
                                "type": "string",
                                "format": "date"
                              },
                              "url": {
                                "type": "string",
                                "format": "uri"
                              }
                            },
                            "required": [
                              "document",
                              "form",
                              "accession",
                              "filed",
                              "url"
                            ]
                          },
                          "earlier": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "number"
                                },
                                "filing": {
                                  "type": "object",
                                  "properties": {
                                    "document": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "form": {
                                      "type": "string"
                                    },
                                    "accession": {
                                      "type": "string"
                                    },
                                    "filed": {
                                      "type": "string",
                                      "format": "date"
                                    },
                                    "url": {
                                      "type": "string",
                                      "format": "uri"
                                    }
                                  },
                                  "required": [
                                    "document",
                                    "form",
                                    "accession",
                                    "filed",
                                    "url"
                                  ]
                                }
                              },
                              "required": [
                                "value",
                                "filing"
                              ]
                            }
                          }
                        },
                        "required": [
                          "concept",
                          "label",
                          "statement",
                          "segment",
                          "value",
                          "unit",
                          "fiscal",
                          "start",
                          "end",
                          "derived",
                          "filing",
                          "earlier"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/companies/{id}/timeline": {
      "get": {
        "operationId": "getCompanyTimeline",
        "summary": "A company's events, reports and quotes counted by month",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "Our id (microsoft), EXCHANGE:TICKER, a CIK, a FIGI or an ISIN"
            },
            "required": true,
            "description": "Our id (microsoft), EXCHANGE:TICKER, a CIK, a FIGI or an ISIN",
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The first day, YYYY-MM-DD: an event by its day, a document by the day filed, a quote by its episode"
            },
            "required": false,
            "description": "The first day, YYYY-MM-DD: an event by its day, a document by the day filed, a quote by its episode",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The last day, YYYY-MM-DD"
            },
            "required": false,
            "description": "The last day, YYYY-MM-DD",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "week",
                "month",
                "year"
              ],
              "description": "week (ISO weeks, from Monday), month (the default) or year"
            },
            "required": false,
            "description": "week (ISO weeks, from Monday), month (the default) or year",
            "name": "by",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "default": true,
              "description": "As for /quotes: true counts only quotes whose speaker is confirmed; false counts unconfirmed speakers too"
            },
            "required": false,
            "description": "As for /quotes: true counts only quotes whose speaker is confirmed; false counts unconfirmed speakers too",
            "name": "confirmed",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The company's material by period",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "$ref": "#/components/schemas/CompanyRef"
                    },
                    "listed": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "by": {
                      "type": "string",
                      "enum": [
                        "week",
                        "month",
                        "year"
                      ]
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "events": {
                            "type": "object",
                            "properties": {
                              "count": {
                                "type": "integer"
                              },
                              "transcribed": {
                                "type": "integer"
                              },
                              "replay": {
                                "type": "integer"
                              },
                              "date_only": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "count",
                              "transcribed",
                              "replay",
                              "date_only"
                            ]
                          },
                          "documents": {
                            "type": "object",
                            "properties": {
                              "count": {
                                "type": "integer"
                              },
                              "reports": {
                                "type": "integer"
                              },
                              "slides": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "count",
                              "reports",
                              "slides"
                            ]
                          },
                          "quotes": {
                            "type": "object",
                            "properties": {
                              "said": {
                                "type": "integer"
                              },
                              "named": {
                                "type": "integer"
                              },
                              "both": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "said",
                              "named",
                              "both"
                            ]
                          },
                          "period": {
                            "type": "string"
                          },
                          "start": {
                            "type": "string",
                            "format": "date"
                          }
                        },
                        "required": [
                          "events",
                          "documents",
                          "quotes",
                          "period",
                          "start"
                        ]
                      }
                    },
                    "totals": {
                      "type": "object",
                      "properties": {
                        "events": {
                          "type": "object",
                          "properties": {
                            "count": {
                              "type": "integer"
                            },
                            "transcribed": {
                              "type": "integer"
                            },
                            "replay": {
                              "type": "integer"
                            },
                            "date_only": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "count",
                            "transcribed",
                            "replay",
                            "date_only"
                          ]
                        },
                        "documents": {
                          "type": "object",
                          "properties": {
                            "count": {
                              "type": "integer"
                            },
                            "reports": {
                              "type": "integer"
                            },
                            "slides": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "count",
                            "reports",
                            "slides"
                          ]
                        },
                        "quotes": {
                          "type": "object",
                          "properties": {
                            "said": {
                              "type": "integer"
                            },
                            "named": {
                              "type": "integer"
                            },
                            "both": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "said",
                            "named",
                            "both"
                          ]
                        },
                        "first": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "date"
                        },
                        "last": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "date"
                        }
                      },
                      "required": [
                        "events",
                        "documents",
                        "quotes",
                        "first",
                        "last"
                      ]
                    }
                  },
                  "required": [
                    "company",
                    "listed",
                    "by",
                    "data",
                    "totals"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/companies/{id}/people": {
      "get": {
        "operationId": "listCompanyPeople",
        "summary": "A company's people: those quoted while at it, with their counts, then the officers its filings name",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "Our id (microsoft), EXCHANGE:TICKER, a CIK, a FIGI or an ISIN"
            },
            "required": true,
            "description": "Our id (microsoft), EXCHANGE:TICKER, a CIK, a FIGI or an ISIN",
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            },
            "required": false,
            "name": "limit",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The company's people, those quoted first",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "$ref": "#/components/schemas/CompanyRef"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "title": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "from": {
                            "type": "string",
                            "enum": [
                              "quotes",
                              "filings"
                            ]
                          },
                          "quote_count": {
                            "type": "integer"
                          },
                          "latest_quote": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "date"
                          },
                          "filing_url": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "uri"
                          },
                          "as": {
                            "type": "string",
                            "enum": [
                              "officer",
                              "director"
                            ]
                          },
                          "first_filed": {
                            "type": "string",
                            "format": "date"
                          },
                          "last_filed": {
                            "type": "string",
                            "format": "date"
                          },
                          "page": {
                            "type": "string",
                            "format": "uri"
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "title",
                          "from",
                          "quote_count",
                          "latest_quote",
                          "filing_url"
                        ]
                      }
                    },
                    "more": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "company",
                    "data",
                    "more"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/events/{id}/summary": {
      "get": {
        "operationId": "getEventSummary",
        "summary": "The event's summary, every line with its source",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "line",
                "short",
                "long"
              ],
              "default": "short",
              "description": "One line, a short summary or a long one"
            },
            "required": false,
            "description": "One line, a short summary or a long one",
            "name": "length",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The summary",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "of": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "event",
                            "document",
                            "transcript",
                            "episode"
                          ]
                        },
                        "id": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "id"
                      ]
                    },
                    "length": {
                      "type": "string",
                      "enum": [
                        "line",
                        "short",
                        "long"
                      ]
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "part": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "enum": [
                              "headline",
                              "management",
                              "outlook",
                              "capital",
                              "argued",
                              "expects",
                              "companies",
                              null
                            ]
                          },
                          "text": {
                            "type": "string"
                          },
                          "sources": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "page",
                                    "second"
                                  ]
                                },
                                "document": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "page": {
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                },
                                "transcript": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "at": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "url": {
                                  "type": "string",
                                  "format": "uri"
                                }
                              },
                              "required": [
                                "kind",
                                "document",
                                "page",
                                "transcript",
                                "at",
                                "url"
                              ]
                            }
                          }
                        },
                        "required": [
                          "part",
                          "text",
                          "sources"
                        ]
                      }
                    },
                    "read": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "written": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "note": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "of",
                    "length",
                    "lines",
                    "read",
                    "written",
                    "note"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/documents/{id}/summary": {
      "get": {
        "operationId": "getDocumentSummary",
        "summary": "A report's or a deck's summary, every line with its page",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "line",
                "short",
                "long"
              ],
              "default": "short",
              "description": "One line, a short summary or a long one"
            },
            "required": false,
            "description": "One line, a short summary or a long one",
            "name": "length",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The summary",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "of": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "event",
                            "document",
                            "transcript",
                            "episode"
                          ]
                        },
                        "id": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "id"
                      ]
                    },
                    "length": {
                      "type": "string",
                      "enum": [
                        "line",
                        "short",
                        "long"
                      ]
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "part": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "enum": [
                              "headline",
                              "management",
                              "outlook",
                              "capital",
                              "argued",
                              "expects",
                              "companies",
                              null
                            ]
                          },
                          "text": {
                            "type": "string"
                          },
                          "sources": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "page",
                                    "second"
                                  ]
                                },
                                "document": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "page": {
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                },
                                "transcript": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "at": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "url": {
                                  "type": "string",
                                  "format": "uri"
                                }
                              },
                              "required": [
                                "kind",
                                "document",
                                "page",
                                "transcript",
                                "at",
                                "url"
                              ]
                            }
                          }
                        },
                        "required": [
                          "part",
                          "text",
                          "sources"
                        ]
                      }
                    },
                    "read": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "written": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "note": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "of",
                    "length",
                    "lines",
                    "read",
                    "written",
                    "note"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/transcripts/{id}/summary": {
      "get": {
        "operationId": "getTranscriptSummary",
        "summary": "A transcript's summary, every line with its second",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "line",
                "short",
                "long"
              ],
              "default": "short",
              "description": "One line, a short summary or a long one"
            },
            "required": false,
            "description": "One line, a short summary or a long one",
            "name": "length",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The summary",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "of": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "event",
                            "document",
                            "transcript",
                            "episode"
                          ]
                        },
                        "id": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "id"
                      ]
                    },
                    "length": {
                      "type": "string",
                      "enum": [
                        "line",
                        "short",
                        "long"
                      ]
                    },
                    "lines": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "part": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "enum": [
                              "headline",
                              "management",
                              "outlook",
                              "capital",
                              "argued",
                              "expects",
                              "companies",
                              null
                            ]
                          },
                          "text": {
                            "type": "string"
                          },
                          "sources": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "page",
                                    "second"
                                  ]
                                },
                                "document": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "page": {
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                },
                                "transcript": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "at": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "url": {
                                  "type": "string",
                                  "format": "uri"
                                }
                              },
                              "required": [
                                "kind",
                                "document",
                                "page",
                                "transcript",
                                "at",
                                "url"
                              ]
                            }
                          }
                        },
                        "required": [
                          "part",
                          "text",
                          "sources"
                        ]
                      }
                    },
                    "read": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "written": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "note": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "of",
                    "length",
                    "lines",
                    "read",
                    "written",
                    "note"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ]
      }
    },
    "/companies/{id}/captures": {
      "get": {
        "operationId": "listPageCaptures",
        "summary": "Lists the Internet Archive's captures of a target's or a confirmed rival's own page, a month at a time, so a report can show what it said and charged over the years",
        "description": "Lists the Internet Archive's captures of one of a company's own pages, the first it holds in each month, oldest first: its pricing page, its home page, a product's page, so a report can show what the company said it sold, to whom and at what price over the years. Only a page on the confirmed site of one of the team's targets or a confirmed rival of one is listed. Each capture has its Wayback address (`url`), the day it was captured and the page it captured as the Archive wrote it. Keep one with `POST /diligence-reports/{id}/web-pages` and that address: PodData keeps the page as its site served it that day, dated that day, and the web source names the document, so a reader opens its words beside the report. A capture kept already names its `document`.\n\n**Before:** The company is one of your targets, or a confirmed rival of one, with its own site confirmed as a `domain` or `site` link.\n\n**Next:** Pick a capture or two a year, keep each with `POST /diligence-reports/{id}/web-pages` and its `url`, read its words with `GET /documents/{id}/pages`, and cite what each said on its day, as its own page's words.\n\n**Limits:** One request to the Internet Archive's CDX API each call. The Archive's terms grant access for scholarship and research; they're kept with each capture kept. Only while the open web is on here.",
        "x-mcp-tool": "page_captures",
        "x-codeSamples": [
          {
            "lang": "bash",
            "label": "curl, made-up values",
            "source": "curl 'https://api.poddata.ai/v1/companies/ledgerline/captures?url=https://ledgerline.example/pricing' \\\n  -H \"Authorization: Bearer $PODDATA_API_KEY\""
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2048,
              "description": "The company's own page: its pricing page, its home page, a product's page. A capture's Wayback address names its page too"
            },
            "required": true,
            "description": "The company's own page: its pricing page, its home page, a product's page. A capture's Wayback address names its page too",
            "name": "url",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The page's captures, the first the Archive holds in each month, oldest first, each with its Wayback address and the document PodData keeps it as where it keeps one",
            "content": {
              "application/json": {
                "examples": {
                  "made-up": {
                    "summary": "Made up: no team’s data",
                    "value": {
                      "company": {
                        "id": "ledgerline",
                        "name": "Ledgerline"
                      },
                      "url": "https://ledgerline.example/pricing",
                      "captures": [
                        {
                          "month": "2024-12",
                          "captured_at": "2024-12-02T05:23:40Z",
                          "url": "https://web.archive.org/web/20241202052340/https://ledgerline.example/pricing",
                          "original": "https://ledgerline.example/pricing",
                          "document": "doc_01JD8X4K2P7S00000000000003"
                        },
                        {
                          "month": "2025-06",
                          "captured_at": "2025-06-14T11:02:09Z",
                          "url": "https://web.archive.org/web/20250614110209/https://ledgerline.example/pricing",
                          "original": "https://ledgerline.example/pricing",
                          "document": null
                        }
                      ],
                      "terms": "https://archive.org/about/terms"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ]
                    },
                    "url": {
                      "type": "string"
                    },
                    "captures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "month": {
                            "type": "string"
                          },
                          "captured_at": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "original": {
                            "type": "string"
                          },
                          "document": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "month",
                          "captured_at",
                          "url",
                          "original",
                          "document"
                        ]
                      }
                    },
                    "terms": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "company",
                    "url",
                    "captures",
                    "terms"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Companies"
        ],
        "x-mint": {
          "content": "**MCP tool:** `page_captures`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](/mcp-server)."
        }
      }
    },
    "/trackers/preview": {
      "post": {
        "operationId": "previewTracker",
        "summary": "What a sentence or spec would have caught in the last 90 days",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "sentence": {
                    "type": "string",
                    "maxLength": 300
                  },
                  "spec": {
                    "$ref": "#/components/schemas/TrackerSpec"
                  },
                  "days": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 90,
                    "default": 90
                  },
                  "picks": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "$ref": "#/components/schemas/DirectoryKind"
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 120
                        },
                        "text": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 120
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "text"
                      ]
                    },
                    "maxItems": 10
                  },
                  "lists": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 64
                    },
                    "maxItems": 10
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The parsed spec and the quotes it would have caught",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Preview"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Trackers"
        ]
      }
    },
    "/trackers": {
      "get": {
        "operationId": "listTrackers",
        "responses": {
          "200": {
            "description": "The team's trackers",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrackerPage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Trackers"
        ]
      },
      "post": {
        "operationId": "createTracker",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TrackerInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The new tracker",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tracker"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Trackers"
        ]
      }
    },
    "/trackers/{id}": {
      "get": {
        "operationId": "getTracker",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "One tracker",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tracker"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Trackers"
        ]
      },
      "patch": {
        "operationId": "updateTracker",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TrackerInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The tracker after the change",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tracker"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Trackers"
        ]
      },
      "delete": {
        "operationId": "deleteTracker",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Trackers"
        ]
      }
    },
    "/trackers/{id}/matches": {
      "get": {
        "operationId": "listMatches",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "said",
                "written",
                "posted",
                "all"
              ],
              "description": "said: quotes (the default). written: passages companies wrote, for trackers with documents on (#579). all: both, newest first. posted: posts from the accounts we follow, for trackers with posts on (#758), only when asked for"
            },
            "required": false,
            "description": "said: quotes (the default). written: passages companies wrote, for trackers with documents on (#579). all: both, newest first. posted: posts from the accounts we follow, for trackers with posts on (#758), only when asked for",
            "name": "mode",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "good",
                "not_this"
              ]
            },
            "required": false,
            "name": "feedback",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "A cursor from an earlier answer; returns only what is new since then"
            },
            "required": false,
            "description": "A cursor from an earlier answer; returns only what is new since then",
            "name": "since",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the list as a file, each row one quote, at most 1,000 rows (api.md › A list as a file). json: a page, the default"
            },
            "required": false,
            "description": "csv: the list as a file, each row one quote, at most 1,000 rows (api.md › A list as a file). json: a page, the default",
            "name": "format",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of matches, or with format=csv their quotes as a file",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnyMatchPage"
                }
              },
              "text/csv": {
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the list as a file, each row one quote (api.md › A list as a file)"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Trackers"
        ]
      }
    },
    "/matches": {
      "get": {
        "operationId": "listAllMatches",
        "summary": "Every one of the team's trackers' matches, newest first",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": false,
            "name": "tracker",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120
            },
            "required": false,
            "name": "person",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "As on /quotes, the speaker's company, by our id or name; for a written match, the company whose document it is"
            },
            "required": false,
            "description": "As on /quotes, the speaker's company, by our id or name; for a written match, the company whose document it is",
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120,
              "description": "Only quotes from this show, by its id; leaves written matches out"
            },
            "required": false,
            "description": "Only quotes from this show, by its id; leaves written matches out",
            "name": "show",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "founder",
                "ceo",
                "executive",
                "director",
                "researcher",
                "investor",
                "official",
                "central_banker",
                "head_of_state",
                "host",
                "reporter"
              ],
              "description": "The speaker's kind, in the words GET /people uses; leaves written matches out"
            },
            "required": false,
            "description": "The speaker's kind, in the words GET /people uses; leaves written matches out",
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "A team's list (lst_…): quotes by someone on it or at a company on it, and passages a company on it wrote. Another team's list is a 404"
            },
            "required": false,
            "description": "A team's list (lst_…): quotes by someone on it or at a company on it, and passages a company on it wrote. Another team's list is a 404",
            "name": "list",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The day it was said, the episode's date, or for a written match the day its document was filed"
            },
            "required": false,
            "description": "The day it was said, the episode's date, or for a written match the day its document was filed",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "said",
                "written",
                "posted",
                "all"
              ],
              "description": "said: quotes (the default). written: passages companies wrote, for trackers with documents on (#579). all: both, newest first. posted: posts from the accounts we follow, for trackers with posts on (#758), only when asked for"
            },
            "required": false,
            "description": "said: quotes (the default). written: passages companies wrote, for trackers with documents on (#579). all: both, newest first. posted: posts from the accounts we follow, for trackers with posts on (#758), only when asked for",
            "name": "mode",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "good",
                "not_this"
              ]
            },
            "required": false,
            "name": "feedback",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "A cursor from an earlier answer; returns only what is new since then"
            },
            "required": false,
            "description": "A cursor from an earlier answer; returns only what is new since then",
            "name": "since",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the list as a file, each row one quote, at most 1,000 rows (api.md › A list as a file). json: a page, the default"
            },
            "required": false,
            "description": "csv: the list as a file, each row one quote, at most 1,000 rows (api.md › A list as a file). json: a page, the default",
            "name": "format",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of matches, or with format=csv their quotes as a file",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnyMatchPage"
                }
              },
              "text/csv": {
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the list as a file, each row one quote (api.md › A list as a file)"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Trackers"
        ]
      }
    },
    "/matches/{id}/feedback": {
      "post": {
        "operationId": "sendFeedback",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "verdict": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "not_this",
                      "good",
                      null
                    ]
                  }
                },
                "required": [
                  "verdict"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The match after the change",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListedMatch"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Trackers"
        ]
      }
    },
    "/lists": {
      "get": {
        "operationId": "listLists",
        "summary": "The team's lists of people and companies, A to Z, with how many each holds, and the plan's limits",
        "responses": {
          "200": {
            "description": "The team's lists",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamListPage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Lists"
        ]
      },
      "post": {
        "operationId": "createList",
        "summary": "Make a list, with its first people and companies by id",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80
                  },
                  "people": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 120
                    },
                    "maxItems": 1000
                  },
                  "companies": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 120
                    },
                    "maxItems": 1000
                  }
                },
                "required": [
                  "name"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The new list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamListDetail"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Lists"
        ]
      }
    },
    "/lists/{id}": {
      "get": {
        "operationId": "getList",
        "summary": "One list, with its people and companies A to Z and the trackers that follow it",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "One list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamListDetail"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Lists"
        ]
      },
      "patch": {
        "operationId": "renameList",
        "summary": "Rename a list",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80
                  }
                },
                "required": [
                  "name"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The list after the change",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamListDetail"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Lists"
        ]
      },
      "delete": {
        "operationId": "deleteList",
        "summary": "Delete a list. It leaves every read, filter and tracker at once",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted"
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Lists"
        ]
      }
    },
    "/lists/{id}/members": {
      "post": {
        "operationId": "addListMembers",
        "summary": "Add people and companies to a list by id; one already on it stays as it was",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "people": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 120
                    },
                    "maxItems": 1000
                  },
                  "companies": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 120
                    },
                    "maxItems": 1000
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The list after the change",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamListDetail"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Lists"
        ]
      }
    },
    "/lists/{id}/people/{person}": {
      "delete": {
        "operationId": "removeListPerson",
        "summary": "Take a person off a list",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120
            },
            "required": true,
            "name": "person",
            "in": "path"
          }
        ],
        "responses": {
          "204": {
            "description": "Taken off"
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Lists"
        ]
      }
    },
    "/lists/{id}/companies/{company}": {
      "delete": {
        "operationId": "removeListCompany",
        "summary": "Take a company off a list",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 120
            },
            "required": true,
            "name": "company",
            "in": "path"
          }
        ],
        "responses": {
          "204": {
            "description": "Taken off"
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Lists"
        ]
      }
    },
    "/lists/{id}/names": {
      "post": {
        "operationId": "matchListNames",
        "summary": "Read a file of names against the directory for a list: who matched, which may be several people, which aren't known. Adds nothing and starts no lookup",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "csv": {
                    "type": "string",
                    "maxLength": 1000000
                  }
                },
                "required": [
                  "csv"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "What each row is in the directory",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamListNames"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Lists"
        ]
      }
    },
    "/saved": {
      "get": {
        "operationId": "listSaved",
        "summary": "The quotes the signed-in person saved, newest first, and how many. A sign-in only: a key has no person",
        "parameters": [
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 128
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "quote",
                "passage",
                "all"
              ],
              "description": "quote, the default: saved quotes alone. passage: passages of your own alone. all: both, newest saved first"
            },
            "required": false,
            "description": "quote, the default: saved quotes alone. passage: passages of your own alone. all: both, newest saved first",
            "name": "kind",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "csv"
              ],
              "description": "csv: the list as a file, each row one quote, at most 1,000 rows (api.md › A list as a file). json: a page, the default"
            },
            "required": false,
            "description": "csv: the list as a file, each row one quote, at most 1,000 rows (api.md › A list as a file). json: a page, the default",
            "name": "format",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The quotes you saved, newest first, and how many; or with format=csv the list as a file",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavedPage"
                }
              },
              "text/csv": {
                "schema": {
                  "type": "string",
                  "description": "With format=csv: the list as a file, each row one quote (api.md › A list as a file)"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Saved"
        ]
      }
    },
    "/saved/{quote}": {
      "put": {
        "operationId": "saveQuote",
        "summary": "Save a quote for the signed-in person; one already saved stays where it is. A sign-in only",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "quote",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "saved": {
                    "type": "string",
                    "format": "date-time"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The saved quote",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavedQuote"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Saved"
        ]
      },
      "delete": {
        "operationId": "unsaveQuote",
        "summary": "Take a quote out of the signed-in person's saved quotes, answering with it and when it was saved, for Undo. A sign-in only",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "quote",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The quote taken out, with when it was saved, for Undo",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavedQuote"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Saved"
        ]
      }
    },
    "/saved/passages": {
      "post": {
        "operationId": "savePassage",
        "summary": "Save up to 80 words you picked from one turn of a transcript you are shown. A sign-in only",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "episode": {
                    "type": "string",
                    "minLength": 4,
                    "maxLength": 64,
                    "description": "The episode's id, ep_…: a show's, a hearing's, or the recording of a company's event"
                  },
                  "turn_at": {
                    "type": "number",
                    "minimum": 0,
                    "description": "The turn's starts_at, as GET /quotes/{id}/source or GET /episodes/{id} answered it"
                  },
                  "text": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000,
                    "description": "The words as selected, from one turn; a word cut at either end is taken whole. At most 80 words"
                  },
                  "saved": {
                    "type": "string",
                    "format": "date-time",
                    "description": "When it was saved, to put one back where it was (Undo)"
                  }
                },
                "required": [
                  "episode",
                  "turn_at",
                  "text"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The saved passage",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "quote",
                        "passage"
                      ]
                    },
                    "quote": {
                      "anyOf": [
                        {
                          "type": "null"
                        },
                        {
                          "$ref": "#/components/schemas/Quote"
                        }
                      ]
                    },
                    "passage": {
                      "anyOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "text": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "word_count": {
                              "type": "integer"
                            },
                            "speaker": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "name": {
                                  "type": "string"
                                },
                                "role": {
                                  "type": "string"
                                },
                                "company": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "ticker": {
                                      "type": "string"
                                    },
                                    "exchange": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                },
                                "page": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "confirmed",
                                    "unconfirmed"
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "status"
                              ]
                            },
                            "show": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ]
                            },
                            "episode": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "date": {
                                  "type": "string",
                                  "format": "date"
                                }
                              },
                              "required": [
                                "id",
                                "title",
                                "date"
                              ]
                            },
                            "event": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "earnings_call",
                                    "investor_day",
                                    "analyst_day",
                                    "capital_markets_day",
                                    "conference",
                                    "shareholder_meeting",
                                    "deal_call",
                                    "guidance_update",
                                    "business_update",
                                    "keynote",
                                    "other"
                                  ]
                                },
                                "title": {
                                  "type": "string"
                                },
                                "date": {
                                  "type": "string",
                                  "format": "date"
                                },
                                "company": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "ticker": {
                                      "type": "string"
                                    },
                                    "exchange": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                },
                                "fiscal_year": {
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                },
                                "fiscal_period": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "enum": [
                                    "Q1",
                                    "Q2",
                                    "Q3",
                                    "Q4",
                                    "H1",
                                    "H2",
                                    "FY",
                                    null
                                  ]
                                },
                                "chapter": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "n": {
                                      "type": "integer"
                                    },
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "remarks",
                                        "qa",
                                        "question"
                                      ]
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "starts_at": {
                                      "type": "number"
                                    },
                                    "ends_at": {
                                      "type": "number"
                                    },
                                    "analyst": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "firm": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "n",
                                    "kind",
                                    "title",
                                    "starts_at",
                                    "ends_at",
                                    "analyst",
                                    "firm"
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "type",
                                "title",
                                "date",
                                "company",
                                "fiscal_year",
                                "fiscal_period",
                                "chapter"
                              ]
                            },
                            "turn_at": {
                              "type": "number"
                            },
                            "starts_at": {
                              "type": "number"
                            },
                            "ends_at": {
                              "type": "number"
                            },
                            "clock": {
                              "type": "string",
                              "enum": [
                                "video",
                                "audio"
                              ]
                            },
                            "source_url": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "format": "uri"
                            },
                            "cite": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "text",
                            "word_count",
                            "speaker",
                            "show",
                            "episode",
                            "event",
                            "turn_at",
                            "starts_at",
                            "ends_at",
                            "clock",
                            "source_url",
                            "cite"
                          ]
                        }
                      ]
                    },
                    "saved": {
                      "type": "string",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "kind",
                    "quote",
                    "passage",
                    "saved"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Saved"
        ]
      }
    },
    "/saved/passages/{id}": {
      "delete": {
        "operationId": "unsavePassage",
        "summary": "Take a passage out of the signed-in person's Saved, answering with it and when it was saved, for Undo. A sign-in only",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The passage taken out, with when it was saved, for Undo",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "quote",
                        "passage"
                      ]
                    },
                    "quote": {
                      "anyOf": [
                        {
                          "type": "null"
                        },
                        {
                          "$ref": "#/components/schemas/Quote"
                        }
                      ]
                    },
                    "passage": {
                      "anyOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "text": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "word_count": {
                              "type": "integer"
                            },
                            "speaker": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "name": {
                                  "type": "string"
                                },
                                "role": {
                                  "type": "string"
                                },
                                "company": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "ticker": {
                                      "type": "string"
                                    },
                                    "exchange": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                },
                                "page": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "confirmed",
                                    "unconfirmed"
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "status"
                              ]
                            },
                            "show": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ]
                            },
                            "episode": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "date": {
                                  "type": "string",
                                  "format": "date"
                                }
                              },
                              "required": [
                                "id",
                                "title",
                                "date"
                              ]
                            },
                            "event": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "earnings_call",
                                    "investor_day",
                                    "analyst_day",
                                    "capital_markets_day",
                                    "conference",
                                    "shareholder_meeting",
                                    "deal_call",
                                    "guidance_update",
                                    "business_update",
                                    "keynote",
                                    "other"
                                  ]
                                },
                                "title": {
                                  "type": "string"
                                },
                                "date": {
                                  "type": "string",
                                  "format": "date"
                                },
                                "company": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "ticker": {
                                      "type": "string"
                                    },
                                    "exchange": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                },
                                "fiscal_year": {
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                },
                                "fiscal_period": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "enum": [
                                    "Q1",
                                    "Q2",
                                    "Q3",
                                    "Q4",
                                    "H1",
                                    "H2",
                                    "FY",
                                    null
                                  ]
                                },
                                "chapter": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "n": {
                                      "type": "integer"
                                    },
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "remarks",
                                        "qa",
                                        "question"
                                      ]
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "starts_at": {
                                      "type": "number"
                                    },
                                    "ends_at": {
                                      "type": "number"
                                    },
                                    "analyst": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "firm": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "n",
                                    "kind",
                                    "title",
                                    "starts_at",
                                    "ends_at",
                                    "analyst",
                                    "firm"
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "type",
                                "title",
                                "date",
                                "company",
                                "fiscal_year",
                                "fiscal_period",
                                "chapter"
                              ]
                            },
                            "turn_at": {
                              "type": "number"
                            },
                            "starts_at": {
                              "type": "number"
                            },
                            "ends_at": {
                              "type": "number"
                            },
                            "clock": {
                              "type": "string",
                              "enum": [
                                "video",
                                "audio"
                              ]
                            },
                            "source_url": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "format": "uri"
                            },
                            "cite": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "text",
                            "word_count",
                            "speaker",
                            "show",
                            "episode",
                            "event",
                            "turn_at",
                            "starts_at",
                            "ends_at",
                            "clock",
                            "source_url",
                            "cite"
                          ]
                        }
                      ]
                    },
                    "saved": {
                      "type": "string",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "kind",
                    "quote",
                    "passage",
                    "saved"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Saved"
        ]
      }
    },
    "/calendar-feed": {
      "get": {
        "operationId": "getCalendarFeed",
        "summary": "Whether the signed-in person has a calendar feed on for this team. Never its address. A sign-in only: a key has no person",
        "responses": {
          "200": {
            "description": "Whether a feed is on, when it was made and last read",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalendarFeed"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Saved"
        ]
      },
      "post": {
        "operationId": "makeCalendarFeed",
        "summary": "Makes the signed-in person a calendar feed of the coming events of the companies the team's trackers name, turning any old one off. Its address comes back this once. A sign-in only",
        "responses": {
          "201": {
            "description": "The new feed, with its address this once",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NewCalendarFeed"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Saved"
        ]
      },
      "delete": {
        "operationId": "turnOffCalendarFeed",
        "summary": "Turns the signed-in person's calendar feed off, at once. A sign-in only",
        "responses": {
          "200": {
            "description": "No feed on",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalendarFeed"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Saved"
        ]
      }
    },
    "/filters": {
      "get": {
        "operationId": "listFilters",
        "summary": "The saved filters of the signed-in person, newest first. A sign-in only: a key has no person",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "enum": [
                "search",
                "matches"
              ],
              "description": "Only those saved for this list"
            },
            "required": false,
            "description": "Only those saved for this list",
            "name": "list",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Your saved filters, newest first",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "list": {
                            "type": "string",
                            "enum": [
                              "search",
                              "matches"
                            ]
                          },
                          "filters": {
                            "type": "object",
                            "additionalProperties": {
                              "type": "string"
                            }
                          },
                          "created": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "list",
                          "filters",
                          "created",
                          "updated"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Saved"
        ]
      },
      "post": {
        "operationId": "saveFilter",
        "summary": "Save a set of filters by name, at most 50 a person. A sign-in only",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 60,
                    "description": "1 to 60 characters, not the name of another of your saved filters on the same list, in any case"
                  },
                  "list": {
                    "type": "string",
                    "enum": [
                      "search",
                      "matches"
                    ]
                  },
                  "filters": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string",
                      "maxLength": 120
                    },
                    "description": "The filters as the screen's address carries them, an object of strings: Search's are those GET /quotes takes, All matches' its screen's"
                  }
                },
                "required": [
                  "name",
                  "list",
                  "filters"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The saved filter",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "list": {
                      "type": "string",
                      "enum": [
                        "search",
                        "matches"
                      ]
                    },
                    "filters": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "list",
                    "filters",
                    "created",
                    "updated"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Saved"
        ]
      }
    },
    "/filters/{id}": {
      "patch": {
        "operationId": "changeFilter",
        "summary": "Rename a saved filter, or change its filters. A sign-in only",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 60,
                    "description": "1 to 60 characters, not the name of another of your saved filters on the same list, in any case"
                  },
                  "filters": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string",
                      "maxLength": 120
                    },
                    "description": "The filters as the screen's address carries them, an object of strings: Search's are those GET /quotes takes, All matches' its screen's"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The saved filter after the change",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "list": {
                      "type": "string",
                      "enum": [
                        "search",
                        "matches"
                      ]
                    },
                    "filters": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "list",
                    "filters",
                    "created",
                    "updated"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Saved"
        ]
      },
      "delete": {
        "operationId": "deleteFilter",
        "summary": "Delete a saved filter, answering with it. A sign-in only",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The saved filter that was deleted",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "list": {
                      "type": "string",
                      "enum": [
                        "search",
                        "matches"
                      ]
                    },
                    "filters": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "list",
                    "filters",
                    "created",
                    "updated"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Saved"
        ]
      }
    },
    "/coverage": {
      "get": {
        "operationId": "getCoverage",
        "responses": {
          "200": {
            "description": "Counts and freshness",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Coverage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Sources"
        ]
      }
    },
    "/coverage/people": {
      "get": {
        "operationId": "listPersonCoverage",
        "summary": "Coverage of each watch-listed person, with the measured delay",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The first day, YYYY-MM-DD. Thirty days before `to` unless given"
            },
            "required": false,
            "description": "The first day, YYYY-MM-DD. Thirty days before `to` unless given",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "The last day, YYYY-MM-DD. Today unless given"
            },
            "required": false,
            "description": "The last day, YYYY-MM-DD. Today unless given",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "description": "One person’s id"
            },
            "required": false,
            "description": "One person’s id",
            "name": "person",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Coverage by person",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "from": {
                      "type": "string",
                      "format": "date"
                    },
                    "to": {
                      "type": "string",
                      "format": "date"
                    },
                    "as_of": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "person": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "company": {
                                "type": "string"
                              },
                              "role": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "company",
                              "role"
                            ]
                          },
                          "list": {
                            "type": "string",
                            "enum": [
                              "account",
                              "investor",
                              "quoted",
                              "policy"
                            ]
                          },
                          "why": {
                            "type": "string"
                          },
                          "target": {
                            "type": "object",
                            "properties": {
                              "quoted": {
                                "type": "number"
                              },
                              "hours": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "quoted",
                              "hours"
                            ]
                          },
                          "found": {
                            "type": "integer"
                          },
                          "followed": {
                            "type": "integer"
                          },
                          "transcribed": {
                            "type": "integer"
                          },
                          "quoted": {
                            "type": "integer"
                          },
                          "unsure": {
                            "type": "integer"
                          },
                          "quoted_share": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "median_delay_hours": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "delays_measured": {
                            "type": "integer"
                          },
                          "latest_appearance": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "date"
                          },
                          "searched_at": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "date-time"
                          }
                        },
                        "required": [
                          "person",
                          "list",
                          "why",
                          "target",
                          "found",
                          "followed",
                          "transcribed",
                          "quoted",
                          "unsure",
                          "quoted_share",
                          "median_delay_hours",
                          "delays_measured",
                          "latest_appearance",
                          "searched_at"
                        ]
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "from",
                    "to",
                    "as_of",
                    "data",
                    "next"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Sources"
        ]
      }
    },
    "/integrations": {
      "get": {
        "operationId": "listIntegrations",
        "summary": "The sources we read, with how, how fresh and under what terms",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 32,
              "description": "One family, such as filings or shows"
            },
            "required": false,
            "description": "One family, such as filings or shows",
            "name": "family",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "official_api",
                "public_file",
                "public_page",
                "licensed",
                "vendor",
                "team_licence",
                "none"
              ],
              "description": "One route, such as official_api"
            },
            "required": false,
            "description": "One route, such as official_api",
            "name": "route",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 100,
              "description": "Words in its name or what we read"
            },
            "required": false,
            "description": "Words in its name or what we read",
            "name": "q",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Every source we read here, by family",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationPage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Sources"
        ]
      }
    },
    "/integrations/{id}": {
      "get": {
        "operationId": "getIntegration",
        "summary": "One source we read, with a sample item",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "example": "edgar"
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The source, with a sample item",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationDetail"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Sources"
        ]
      }
    },
    "/integrations/{id}/items": {
      "get": {
        "operationId": "listIntegrationItems",
        "summary": "What we hold from one source, newest first, each with the id the viewer opens it by",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "example": "decks"
            },
            "required": true,
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 200,
              "description": "Words in its title, every one of them"
            },
            "required": false,
            "description": "Words in its title, every one of them",
            "name": "q",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 2000,
              "description": "Companies' ids, comma-separated"
            },
            "required": false,
            "description": "Companies' ids, comma-separated",
            "name": "company",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Its day from this day"
            },
            "required": false,
            "description": "Its day from this day",
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Its day to this day"
            },
            "required": false,
            "description": "Its day to this day",
            "name": "to",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            },
            "required": false,
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 300
            },
            "required": false,
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of the source's items, or why it has no list of its own",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourceItemPage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Sources"
        ]
      }
    },
    "/webhooks": {
      "get": {
        "operationId": "listWebhooks",
        "responses": {
          "200": {
            "description": "The team's webhooks",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "events": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "companies": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "watch_list": {
                            "type": "boolean"
                          },
                          "disabled": {
                            "type": "boolean"
                          },
                          "disabled_at": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "date-time"
                          },
                          "failures": {
                            "type": "integer"
                          },
                          "created": {
                            "type": "string",
                            "format": "date-time"
                          }
                        },
                        "required": [
                          "id",
                          "url",
                          "events",
                          "companies",
                          "watch_list",
                          "disabled",
                          "disabled_at",
                          "failures",
                          "created"
                        ]
                      }
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Webhooks"
        ]
      },
      "post": {
        "operationId": "createWebhook",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "maxLength": 2000,
                    "format": "uri"
                  },
                  "events": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "match.created",
                        "quote.corrected",
                        "company.created",
                        "company.updated",
                        "company.deleted",
                        "event.created",
                        "event.updated",
                        "event.deleted",
                        "document.created",
                        "document.updated",
                        "document.deleted",
                        "transcript.created",
                        "transcript.updated",
                        "transcript.deleted",
                        "audio.created",
                        "audio.updated",
                        "audio.deleted",
                        "summary.created",
                        "summary.updated",
                        "summary.deleted",
                        "live.created",
                        "live.updated",
                        "live.deleted"
                      ]
                    },
                    "minItems": 1,
                    "description": "The tracker events, and company data being created, updated or deleted (api.md › Webhooks for company data)"
                  },
                  "companies": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 120
                    },
                    "maxItems": 200,
                    "description": "Company data events for these companies only, by our id. Leave out for every company"
                  },
                  "watch_list": {
                    "type": "boolean",
                    "description": "true: company data events only for companies a person on the watch list leads"
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The webhook, with its secret, shown this once",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "events": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "companies": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "watch_list": {
                      "type": "boolean"
                    },
                    "disabled": {
                      "type": "boolean"
                    },
                    "disabled_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "failures": {
                      "type": "integer"
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "secret": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "events",
                    "companies",
                    "watch_list",
                    "disabled",
                    "disabled_at",
                    "failures",
                    "created",
                    "secret"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/webhooks/{id}": {
      "patch": {
        "operationId": "updateWebhook",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "events": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "match.created",
                        "quote.corrected",
                        "company.created",
                        "company.updated",
                        "company.deleted",
                        "event.created",
                        "event.updated",
                        "event.deleted",
                        "document.created",
                        "document.updated",
                        "document.deleted",
                        "transcript.created",
                        "transcript.updated",
                        "transcript.deleted",
                        "audio.created",
                        "audio.updated",
                        "audio.deleted",
                        "summary.created",
                        "summary.updated",
                        "summary.deleted",
                        "live.created",
                        "live.updated",
                        "live.deleted"
                      ]
                    },
                    "minItems": 1
                  },
                  "companies": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 120
                    },
                    "maxItems": 200,
                    "description": "An empty list takes the filter off"
                  },
                  "watch_list": {
                    "type": "boolean"
                  },
                  "disabled": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The webhook after the change",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "events": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "companies": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "watch_list": {
                      "type": "boolean"
                    },
                    "disabled": {
                      "type": "boolean"
                    },
                    "disabled_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "failures": {
                      "type": "integer"
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "events",
                    "companies",
                    "watch_list",
                    "disabled",
                    "disabled_at",
                    "failures",
                    "created"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Webhooks"
        ]
      },
      "delete": {
        "operationId": "deleteWebhook",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "204": {
            "description": "Removed"
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/webhooks/{id}/test": {
      "post": {
        "operationId": "testWebhook",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64
            },
            "required": true,
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "What the address answered",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ok": {
                      "type": "boolean"
                    },
                    "status": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "ok",
                    "status",
                    "error"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/usage": {
      "get": {
        "operationId": "getUsage",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "from",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "required": false,
            "name": "to",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Counts by day and kind",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "day": {
                            "type": "string",
                            "format": "date"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "count": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "day",
                          "kind",
                          "count"
                        ]
                      }
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Usage"
        ]
      }
    },
    "/help": {
      "get": {
        "operationId": "listHelp",
        "summary": "PodData’s guide: how PodData works, topic by topic",
        "responses": {
          "200": {
            "description": "The guide’s topics, in order",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HelpTopicPage"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Help"
        ]
      }
    },
    "/help/times": {
      "get": {
        "operationId": "listHelpTimes",
        "summary": "Open times for a 30-minute call with PodData’s team",
        "responses": {
          "200": {
            "description": "The coming week’s open times, in your zone",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HelpTimes"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Help"
        ]
      }
    },
    "/help/{topic}": {
      "get": {
        "operationId": "getHelp",
        "summary": "One topic of PodData’s guide, with the screens where it’s done",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "maxLength": 64,
              "example": "trackers"
            },
            "required": true,
            "name": "topic",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The topic, whole",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HelpTopic"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Help"
        ]
      }
    },
    "/help/questions": {
      "post": {
        "operationId": "askPodDataTeam",
        "summary": "A question to PodData’s team, who answer by email",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HelpQuestionInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The question, kept, and whether it reached PodData’s team",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HelpQuestion"
                }
              }
            }
          },
          "default": {
            "description": "An error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "tags": [
          "Help"
        ]
      }
    }
  },
  "webhooks": {},
  "tags": [
    {
      "name": "Targets",
      "description": "Start here. The companies your team looks at: add one by its name and domain, by an id from `GET /companies`, or by its SEC ticker. A target is your team's alone, and nothing says another team looks at it."
    },
    {
      "name": "Links",
      "description": "A target's own domain, listings, accounts and review profiles. PodData proposes them from its own site and from the review sites' own pages, and reads only through a link a person on your team has confirmed."
    },
    {
      "name": "Rivals",
      "description": "The companies a target competes with. PodData finds and tests candidates and proposes only the rivals. One both reads agree on, with an industry code or a town the two firms share, is taken at once; a person decides the rest and can strike any. A confirmed rival is read beside the target."
    },
    {
      "name": "Parents and comparables",
      "description": "A target's listed parent and the listed companies it's compared with. A parent proposed with a page that shows it is taken at once, and so is a listed comparable that passed the rival test. A person decides the rest and can strike any."
    },
    {
      "name": "Reads",
      "description": "Ask PodData to read a target and its confirmed rivals now, and see what has been read for it, source by source, and what is missing and why."
    },
    {
      "name": "Records and signals",
      "description": "What PodData read about a company through its confirmed links: records, such as filings, licences, cases and stories, and signals, such as reviews and ratings, each with its own day and its page on the source's site. And the figures your team's own data licences read."
    },
    {
      "name": "Ads and site",
      "description": "A brand's ads in Meta's US ad library, from PodData's weekly reads, and the pages of a company's own site as PodData read them."
    },
    {
      "name": "Number tools",
      "description": "Figures computed on the server, so an assistant never pages through thousands of reviews or does the sums itself: ratings, complaints, a series, a timeline, ads and a site, for a company beside its confirmed rivals, or for a market's confirmed players with the field's own figures. Each answers the figures, the rows behind them, the evidence and how they were built."
    },
    {
      "name": "Folder",
      "description": "Everything PodData holds for a target and its confirmed rivals, as files: an index, a CSV a source and kind, and one zip."
    },
    {
      "name": "Reports",
      "description": "A diligence report: an overview and its pages, each figure filled by a number tool when the report is read, and a check that refuses what the evidence doesn't hold. Your own assistant writes it a page at a time, or PodData's agent does."
    },
    {
      "name": "Markets",
      "description": "A market your team studies, such as Intelligent Document Processing: a whole category rather than one company, what it is in words, and its main players, each read as a target's rival is. A market is your team's own, and nothing says another team studies the same one."
    },
    {
      "name": "Report runs",
      "description": "PodData's own agent writing a report or changing one: each run's status, its turns and what it cost."
    },
    {
      "name": "Officers and directors",
      "description": "The officers and directors of companies that file with the SEC, from their own Forms 3, 4 and 5: name the filers you want by ticker or SEC number, up to 500 a call, then read each one's people, or all of them at once, with updated_after for what changed."
    },
    {
      "name": "Quotes",
      "description": "What people said, as quotes with the speaker, the show, the day, the second and a page to cite."
    },
    {
      "name": "People",
      "description": "The people PodData quotes, their sources and timelines, and lookups of someone new."
    },
    {
      "name": "Shows and episodes",
      "description": "The shows PodData reads and their episodes, with who spoke when."
    },
    {
      "name": "Companies",
      "description": "What companies said and filed themselves: their documents, events, transcripts, slides, posts and figures, and passages of at most 80 words from them."
    },
    {
      "name": "Trackers",
      "description": "A tracker follows a topic or a person and sends each new quote it matches by email, Slack or webhook."
    },
    {
      "name": "Lists",
      "description": "A team's own lists of people and companies, to narrow a search or a tracker to them."
    },
    {
      "name": "Saved",
      "description": "What a person signed in has saved, their saved filters and their calendar feed. A key, which has no person, is refused most of these."
    },
    {
      "name": "Sources",
      "description": "The sources PodData reads, what it holds from each, and how much of the watch list is covered."
    },
    {
      "name": "Webhooks",
      "description": "Webhooks a program registers to be sent what its trackers match."
    },
    {
      "name": "Usage",
      "description": "The team's calls and reads, counted by day and kind."
    },
    {
      "name": "Help",
      "description": "PodData's guide to itself: what each part of PodData does and where in the workspace it's done, topic by topic."
    }
  ]
}
