AlphaAI · Schema

StoryLookup

What a story id resolves to. Exactly one of `story`, `redirect_to` and `article` is filled, according to `status`.

Financial NewsStock MarketSEC FilingsInsider TradingFintechMarket DataSentimentAI AgentsMCPLLMTrading

Properties

Name Type Description
status string `found`: `story` is filled. `merged`: this story was folded into another one, `redirect_to` is its id. `not_a_story`: the id belongs to an article only one publisher carried, `article` names it. (An u
story object
redirect_to stringnull The surviving story's id, when `status` is `merged`.
article object The single-publisher article the id belongs to, when `status` is `not_a_story`.
View JSON Schema on GitHub

JSON Schema

alphaai-story-lookup-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alphaai/json-schema/alphaai-story-lookup-schema.json",
  "title": "StoryLookup",
  "description": "What a story id resolves to. Exactly one of `story`, `redirect_to` and `article` is filled, according to `status`.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alphaai-stories-api-openapi.yml#/components/schemas/StoryLookup",
  "type": "object",
  "required": [
    "status"
  ],
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "found",
        "merged",
        "not_a_story"
      ],
      "description": "`found`: `story` is filled. `merged`: this story was folded into another one, `redirect_to` is its id. `not_a_story`: the id belongs to an article only one publisher carried, `article` names it. (An unknown id is a 404, not a status.)"
    },
    "story": {
      "nullable": true,
      "allOf": [
        {
          "$ref": "#/$defs/Story"
        }
      ]
    },
    "redirect_to": {
      "type": [
        "string",
        "null"
      ],
      "description": "The surviving story's id, when `status` is `merged`."
    },
    "article": {
      "nullable": true,
      "allOf": [
        {
          "$ref": "#/$defs/StoryArticleRef"
        }
      ],
      "description": "The single-publisher article the id belongs to, when `status` is `not_a_story`."
    }
  },
  "$defs": {
    "Story": {
      "description": "The full story — a `StoryCard` plus the summary's body.",
      "allOf": [
        {
          "$ref": "#/$defs/StoryCard"
        },
        {
          "type": "object",
          "required": [
            "why_it_matters",
            "key_facts",
            "ticker_takes",
            "uncertainties",
            "based_on",
            "materials_at_build",
            "new_materials",
            "revision_generated_at",
            "model",
            "indexable"
          ],
          "properties": {
            "why_it_matters": {
              "type": "string",
              "description": "Why the event matters to the market, one short paragraph. Empty in `preparing` state."
            },
            "key_facts": {
              "type": "array",
              "maxItems": 6,
              "items": {
                "$ref": "#/$defs/StoryKeyFact"
              },
              "description": "Up to six facts, each attributed to the article it was read from."
            },
            "ticker_takes": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/StoryTickerTake"
              },
              "description": "The read per ticker — direction and a one-line note."
            },
            "uncertainties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "What the articles leave open or disagree on."
            },
            "based_on": {
              "type": "integer",
              "description": "Articles whose text the model read when writing the summary. Shown as \"based on N of M sources\" next to `materials_at_build`."
            },
            "materials_at_build": {
              "type": "integer",
              "description": "The story's visible article count when the summary was written."
            },
            "new_materials": {
              "type": "integer",
              "description": "Articles that joined after the summary was written (non-zero only in `stale` state)."
            },
            "revision_generated_at": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time",
              "description": "When the published summary was written; `null` in `preparing` state."
            },
            "model": {
              "type": "string",
              "description": "The model that wrote the published summary; empty in `preparing` state."
            },
            "indexable": {
              "type": "boolean",
              "description": "Whether alphai.io lets search engines index this story's page (a published summary, `importance >= 8` and at least five publishers). Informational — it says nothing about the API's own access."
            }
          }
        }
      ]
    },
    "StoryArticleRef": {
      "type": "object",
      "required": [
        "uid",
        "title",
        "time_published"
      ],
      "properties": {
        "uid": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "time_published": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "StoryCard": {
      "type": "object",
      "description": "A story in a list (`/api/stories/top/`, `/api/stories/`): the summary's title and lead, the story's importance, breadth and timing.",
      "required": [
        "story_id",
        "title",
        "summary",
        "importance",
        "category",
        "tickers",
        "publishers",
        "materials",
        "first_published_at",
        "last_material_at",
        "updated_at",
        "summary_state"
      ],
      "properties": {
        "story_id": {
          "type": "string",
          "description": "Permanent story key — the `uid` of the story's first root article; the same value article rows carry in their `story_id`. Opens `/api/stories/{story_id}/`."
        },
        "title": {
          "type": "string",
          "description": "The summary's headline, written by AlphAI from the articles. In `preparing` state, the lead article's own headline."
        },
        "summary": {
          "type": "string",
          "description": "One paragraph: what happened, with the figures. In `preparing` state, the lead article's collector summary."
        },
        "importance": {
          "type": "integer",
          "minimum": 1,
          "maximum": 10,
          "description": "How much the event matters, on the feed's 1-10 relevance scale: the median of each publisher's best-scored article on the event, rounded down — so one outlet's 9 does not lift a story every other outlet scored 7. Stories below 7 are not listed and carry no summary."
        },
        "category": {
          "type": "string",
          "description": "The feed category of the story's root article (same 14 values as `enrichment.category`)."
        },
        "tickers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Active tickers the story's articles are tagged with. Macro stories carry an empty list."
        },
        "publishers": {
          "type": "integer",
          "description": "Distinct publishers (source domains) covering the story — always 2 or more."
        },
        "materials": {
          "type": "integer",
          "description": "Articles in the story that the feed shows (`relevance_score >= 4`), reprints included."
        },
        "first_published_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "Publication time of the story's earliest article."
        },
        "last_material_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "Publication time of the story's latest article; `/api/stories/` is ordered by it."
        },
        "updated_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "When the story's key facts last changed — a rewrite that only reworded the summary does not move it. The freshness Top stories rank by."
        },
        "summary_state": {
          "type": "string",
          "enum": [
            "published",
            "stale",
            "preparing"
          ],
          "description": "`published`: the summary covers every article the story had when it was written. `stale`: articles joined since; the rewrite is queued. `preparing`: no summary yet — the texts are the lead article's own."
        }
      }
    },
    "StoryKeyFact": {
      "type": "object",
      "required": [
        "text",
        "source_uid",
        "publisher"
      ],
      "properties": {
        "text": {
          "type": "string",
          "description": "The fact as the summary states it; every figure in it appears in the source article."
        },
        "source_uid": {
          "type": "string",
          "description": "The `uid` of the article the fact was read from — a row of `/api/stories/{story_id}/materials/`, openable with `/api/news/{uid}/`. Empty when that article has since been removed."
        },
        "publisher": {
          "type": "string",
          "description": "The source domain of that article."
        }
      }
    },
    "StoryTickerTake": {
      "type": "object",
      "required": [
        "ticker",
        "impact",
        "note"
      ],
      "properties": {
        "ticker": {
          "type": "string"
        },
        "impact": {
          "type": "string",
          "enum": [
            "positive",
            "negative",
            "neutral"
          ],
          "description": "The summary's read of the event for this ticker — an editorial call, not a price label."
        },
        "note": {
          "type": "string",
          "description": "One line on why."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/alphaai-story-lookup"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.