# Get the shape of a niche my agent already found, as JSON > The distributions of a niche your agent found in an earlier step, in one machine-readable object. **Who asks:** Data engineer building an agent pipeline on Megido ## Example **Question:** My agent already found the niche SaaS invoicing platforms. Give me its shape as JSON: size, growth, scale and countries. **Megido calls:** - `get_cohort`: distributions **Answer:** ```json {"niche_id": "", "niche": "SaaS invoicing platforms", "size": "50-199", "median_index": 62.7, "share_growing": 48, "scale": {"<500": 3, "500-3k": 20, "3k-15k": 25, "15k-75k": 17, "75k-1M": 30, "1M+": 5}, "leading_countries": {"US": 23}, "revenue_observed": true} ``` Real data from the corpus, as of August 2026. Growth compares the latest month with the one before. ## How your agent answers 1. `get_cohort` opened the niche by the id your agent kept from an earlier step and returned its distributions. ## Where it stops There are no sites or names in the object, and no revenue: `revenue_observed` says that payment was observed, not how much. Ids are issued to each organization, so the example shows . ## Ask your agent ```text You already found the niche [niche]. Give me its shape as JSON: size, growth, scale and countries. ```