{"openapi":"3.1.0","info":{"title":"CortexAssay","description":"Machine-consumable computational intelligence derived from approved open data (OpenAlex, CC0). Buyers are AI agents.","version":"0.1.0","contact":{"name":"CortexAssay","email":"cortexassay@gmail.com"},"x-guidance":"CortexAssay sells per-call computed intelligence from rights-reviewed open data. Paid GET endpoints return 402 with a PAYMENT-REQUIRED header (x402 v2, USDC exact on Base eip155:8453). Either retry with a signed PAYMENT-SIGNATURE, or buy prepaid credits at POST /v1/credits/checkout and send Authorization: Bearer <credit key>. Failed calls are never charged. Free: /v1/health, /v1/metadata, /v1/workloads, /v1/provenance/{result_id}. Full docs at /llms.txt."},"paths":{"/v1/health":{"get":{"tags":["system"],"summary":"Health","operationId":"health","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health"}}}}},"security":[]}},"/v1/metadata":{"get":{"tags":["system"],"summary":"Metadata","operationId":"metadata","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Metadata"}}}}},"security":[]}},"/v1/workloads":{"get":{"tags":["system"],"summary":"Workloads","operationId":"workloads","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Workloads"}}}}},"security":[]}},"/v1/provenance/{result_id}":{"get":{"tags":["system"],"summary":"Provenance","operationId":"provenance","parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","title":"Result Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Provenance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[]}},"/v1/technology/momentum":{"get":{"tags":["technology"],"summary":"Research momentum score for a technology or scientific topic","description":"Scores whether a scientific or technical field is accelerating using ten years of OpenAlex publication, highly-cited-work, institution, and researcher evidence. Use this when deciding whether a field is accelerating and you would otherwise need to search and aggregate thousands of research records. Returns momentum_score, acceleration_score, growth ratios, leading institutions/researchers, influential recent works, grounded confidence, and public provenance.","operationId":"technology_momentum","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":200,"description":"Technology or research topic (free text), e.g. 'photonic computing'.","title":"Topic"},"description":"Technology or research topic (free text), e.g. 'photonic computing'."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Output"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"402":{"description":"Payment required. The PAYMENT-REQUIRED response header carries a base64 x402 v2 challenge (accepts: exact scheme, USDC on Base). Retry with a signed PAYMENT-SIGNATURE header, or send Authorization: Bearer <credit key> (prepaid credits via POST /v1/credits/checkout). Failed calls are never charged.","content":{"application/json":{"example":{"x402Version":2,"error":"payment required","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"USDC","maxAmountRequired":"10000"}]}}}}},"security":[{"x402":[]},{"creditKey":[]}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"protocols":[{"x402":{}}]}}},"/v1/technology/emerging":{"get":{"tags":["technology"],"summary":"Ranked list of accelerating research topics across all OpenAlex topics (weekly scan)","description":"Ranks the fastest-accelerating research topics across the entire OpenAlex topic universe (~4,500 topics), recomputed weekly with a statistical method (no LLM): z-scored 3-year growth, acceleration and lagged top-decile citation growth. Use to find what is accelerating without knowing what to search for. Filter by field, minimum size, or emerging-only.","operationId":"technology_emerging","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"field","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"description":"OpenAlex field name, e.g. Engineering","title":"Field"},"description":"OpenAlex field name, e.g. Engineering"},{"name":"min_works","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":50,"title":"Min Works"}},{"name":"emerging_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Emerging Only"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmergingOutput"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"402":{"description":"Payment required. The PAYMENT-REQUIRED response header carries a base64 x402 v2 challenge (accepts: exact scheme, USDC on Base). Retry with a signed PAYMENT-SIGNATURE header, or send Authorization: Bearer <credit key> (prepaid credits via POST /v1/credits/checkout). Failed calls are never charged.","content":{"application/json":{"example":{"x402Version":2,"error":"payment required","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"USDC","maxAmountRequired":"10000"}]}}}}},"security":[{"x402":[]},{"creditKey":[]}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"protocols":[{"x402":{}}]}}},"/v1/technology/lookup":{"get":{"tags":["technology"],"summary":"Statistical momentum for one OpenAlex topic (one cent, instant)","description":"Returns rank among ~4,500 topics, momentum z-score, 1y/3y/5y publication growth, acceleration, lagged top-decile citation growth and per-year counts for one OpenAlex topic (id or name), from the weekly universe scan. Deterministic, no LLM. Use to screen fields cheaply before a full judgment.","operationId":"technology_lookup","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":200,"description":"OpenAlex topic id (T...) or name","title":"Topic"},"description":"OpenAlex topic id (T...) or name"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOutput"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[]}},"/v1/sec/events":{"get":{"tags":["sec"],"summary":"Recent SEC EDGAR corporate events as flagged signals (8-K items, insider trades, Form D raises)","description":"Returns recent SEC EDGAR events from our 15-minute index: 8-K filings with item labels (bankruptcy, auditor change, officer change, cyber incident, material agreement, results, debt), Form 4 insider buys/sells with USD size and multi-insider buy clusters, Form D private offerings with amount and industry. Filter by ticker, CIK, form, flag, time window and minimum salience score. Use instead of polling and parsing EDGAR. Not investment advice.","operationId":"sec_events","parameters":[{"name":"ticker","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Ticker"}},{"name":"cik","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Cik"}},{"name":"forms","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"comma-separated: 8-K,4,D","title":"Forms"},"description":"comma-separated: 8-K,4,D"},{"name":"flags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"comma-separated flags e.g. insider_buy_cluster,distress","title":"Flags"},"description":"comma-separated flags e.g. insider_buy_cluster,distress"},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO date/time (default last 24h)","title":"Since"},"description":"ISO date/time (default last 24h)"},{"name":"min_score","in":"query","required":false,"schema":{"type":"number","maximum":1,"minimum":0,"default":0.0,"title":"Min Score"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventsOutput"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"402":{"description":"Payment required. The PAYMENT-REQUIRED response header carries a base64 x402 v2 challenge (accepts: exact scheme, USDC on Base). Retry with a signed PAYMENT-SIGNATURE header, or send Authorization: Bearer <credit key> (prepaid credits via POST /v1/credits/checkout). Failed calls are never charged.","content":{"application/json":{"example":{"x402Version":2,"error":"payment required","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"USDC","maxAmountRequired":"10000"}]}}}}},"security":[{"x402":[]},{"creditKey":[]}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{}}]}}},"/v1/sec/company":{"get":{"tags":["sec"],"summary":"One-call SEC snapshot of a US public company: filings, events, insider activity, XBRL key facts","description":"Returns identity (CIK, tickers, SIC), the 15 most recent filings with URLs, indexed 8-K events and insider activity (30/90 days), and key XBRL facts (revenue, net income, assets, cash, operating cash flow, shares) for the last eight 10-K/10-Q periods from the SEC companyfacts API. Use before deeper diligence instead of wiring EDGAR, XBRL and Form 4 parsing yourself. Not investment advice.","operationId":"sec_company","parameters":[{"name":"ticker","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Ticker"}},{"name":"cik","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Cik"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyOutput"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"402":{"description":"Payment required. The PAYMENT-REQUIRED response header carries a base64 x402 v2 challenge (accepts: exact scheme, USDC on Base). Retry with a signed PAYMENT-SIGNATURE header, or send Authorization: Bearer <credit key> (prepaid credits via POST /v1/credits/checkout). Failed calls are never charged.","content":{"application/json":{"example":{"x402Version":2,"error":"payment required","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"USDC","maxAmountRequired":"10000"}]}}}}},"security":[{"x402":[]},{"creditKey":[]}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"protocols":[{"x402":{}}]}}},"/v1/regs/rules":{"get":{"tags":["regs"],"summary":"Track US federal rules and proposed rules from the Federal Register, with deadline flags","description":"Returns Federal Register documents (final rules, proposed rules, notices, presidential documents) filtered by full-text term, agency, type, date window and E.O. 12866 significance — each with agencies, docket and RIN identifiers, CFR references, effective and comment-close dates, and derived flags: significant, comments_close_soon (<=14 days), effective_soon (<=30 days), final_rule_pending_effect, plus day counts to each deadline. Use instead of polling federalregister.gov and computing deadlines yourself. Regulatory information, not legal advice.","operationId":"reg_rules","parameters":[{"name":"term","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Term"}},{"name":"agency","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"description":"Agency slug, e.g. securities-and-exchange-commission","title":"Agency"},"description":"Agency slug, e.g. securities-and-exchange-commission"},{"name":"types","in":"query","required":false,"schema":{"type":"string","description":"rule,proposed_rule,notice,presidential","default":"rule,proposed_rule","title":"Types"},"description":"rule,proposed_rule,notice,presidential"},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"publication_date >= ISO date (default last 30d)","title":"Since"},"description":"publication_date >= ISO date (default last 30d)"},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Until"}},{"name":"significant_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Significant Only"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RulesOutput"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"402":{"description":"Payment required. The PAYMENT-REQUIRED response header carries a base64 x402 v2 challenge (accepts: exact scheme, USDC on Base). Retry with a signed PAYMENT-SIGNATURE header, or send Authorization: Bearer <credit key> (prepaid credits via POST /v1/credits/checkout). Failed calls are never charged.","content":{"application/json":{"example":{"x402Version":2,"error":"payment required","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"USDC","maxAmountRequired":"10000"}]}}}}},"security":[{"x402":[]},{"creditKey":[]}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{}}]}}},"/v1/funding/signals":{"get":{"tags":["funding"],"summary":"US federal funding momentum for a technology: obligations by year, growth, top recipients, NIH grants","description":"Returns keyword-matched US federal funding activity for a technology term: USAspending contract and grant obligations by fiscal year with 3-year growth over complete fiscal years, top recipients with UEIs, NIH RePORTER project counts by fiscal year with growth and recent project samples, plus flags (accelerating_federal_funding, nih_active, partial_current_fy). Use instead of integrating USAspending and RePORTER yourself. An activity signal, not a census; not investment advice.","operationId":"funding_signals","parameters":[{"name":"term","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":200,"title":"Term"}},{"name":"years","in":"query","required":false,"schema":{"type":"integer","maximum":8,"minimum":2,"default":5,"title":"Years"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundingOutput"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"402":{"description":"Payment required. The PAYMENT-REQUIRED response header carries a base64 x402 v2 challenge (accepts: exact scheme, USDC on Base). Retry with a signed PAYMENT-SIGNATURE header, or send Authorization: Bearer <credit key> (prepaid credits via POST /v1/credits/checkout). Failed calls are never charged.","content":{"application/json":{"example":{"x402Version":2,"error":"payment required","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"USDC","maxAmountRequired":"10000"}]}}}}},"security":[{"x402":[]},{"creditKey":[]}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"protocols":[{"x402":{}}]}}},"/v1/credits/checkout":{"post":{"tags":["credits"],"summary":"Buy prepaid API credits with a card (Stripe Checkout)","description":"Creates a Stripe-hosted checkout for a credit pack (micro $1, starter $5, builder $20, pro $50). Pay there, then claim your API key at /v1/credits/claim. Credits are spent per call at each endpoint's listed price using 'Authorization: Bearer <key>'. Alternative to x402 for buyers without crypto wallets.","operationId":"checkout","parameters":[{"name":"pack","in":"query","required":false,"schema":{"type":"string","default":"starter","title":"Pack"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Checkout"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[]}},"/v1/credits/claim":{"get":{"tags":["credits"],"summary":"Claim the API key for a paid checkout session (shown exactly once)","operationId":"claim","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","minLength":8,"maxLength":100,"pattern":"^cs_(test|live)_[A-Za-z0-9]+$","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Claim"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[]}},"/v1/credits/balance":{"get":{"tags":["credits"],"summary":"Check remaining credit balance for an API key","operationId":"balance","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Balance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[]}}},"components":{"schemas":{"CompanyOutput":{"properties":{"cik":{"type":"string","title":"Cik"},"name":{"type":"string","title":"Name"},"tickers":{"items":{"type":"string"},"type":"array","title":"Tickers"},"sic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sic"},"sic_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sic Description"},"state_of_incorporation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State Of Incorporation"},"fiscal_year_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Year End"},"recent_filings":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Recent Filings"},"events_30d":{"items":{"$ref":"#/components/schemas/Event"},"type":"array","title":"Events 30D"},"insider_90d":{"additionalProperties":true,"type":"object","title":"Insider 90D"},"facts":{"additionalProperties":{"items":{"$ref":"#/components/schemas/FactPoint"},"type":"array"},"type":"object","title":"Facts"},"sources":{"additionalProperties":{"type":"string"},"type":"object","title":"Sources"},"as_of":{"type":"string","title":"As Of"},"method_id":{"type":"string","title":"Method Id","default":"sec_events_rules_v1"},"disclaimer":{"type":"string","title":"Disclaimer","default":"Compiled from public SEC filings; not investment advice."}},"type":"object","required":["cik","name","tickers","sic","sic_description","state_of_incorporation","fiscal_year_end","recent_filings","events_30d","insider_90d","facts","sources","as_of"],"title":"CompanyOutput"},"EmergingOutput":{"properties":{"scan_id":{"type":"string","title":"Scan Id"},"computed_at":{"type":"string","title":"Computed At"},"data_as_of":{"type":"string","title":"Data As Of"},"last_full_year":{"type":"integer","title":"Last Full Year"},"universe_size":{"type":"integer","title":"Universe Size"},"method_id":{"type":"string","title":"Method Id","default":"technology_momentum_stat_v1"},"topics":{"items":{"$ref":"#/components/schemas/TopicScore"},"type":"array","title":"Topics"},"disclaimer":{"type":"string","title":"Disclaimer","default":"Statistical ranking over OpenAlex (CC0) publication counts; an estimate, not ground truth."}},"type":"object","required":["scan_id","computed_at","data_as_of","last_full_year","universe_size","topics"],"title":"EmergingOutput"},"Event":{"properties":{"event_id":{"type":"string","title":"Event Id"},"accession":{"type":"string","title":"Accession"},"cik":{"type":"string","title":"Cik"},"ticker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"form":{"type":"string","title":"Form"},"event_type":{"type":"string","title":"Event Type"},"occurred_at":{"type":"string","title":"Occurred At"},"flags":{"items":{"type":"string"},"type":"array","title":"Flags"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"filing_url":{"type":"string","title":"Filing Url"}},"type":"object","required":["event_id","accession","cik","ticker","company","form","event_type","occurred_at","flags","score","payload","filing_url"],"title":"Event"},"EventsOutput":{"properties":{"as_of":{"type":"string","title":"As Of"},"index_started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Index Started At"},"count":{"type":"integer","title":"Count"},"events":{"items":{"$ref":"#/components/schemas/Event"},"type":"array","title":"Events"},"method_id":{"type":"string","title":"Method Id","default":"sec_events_rules_v1"},"disclaimer":{"type":"string","title":"Disclaimer","default":"Analytical flags derived from public SEC filings; not investment advice."}},"type":"object","required":["as_of","index_started_at","count","events"],"title":"EventsOutput"},"FactPoint":{"properties":{"end":{"type":"string","title":"End"},"value":{"type":"number","title":"Value"},"form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Form"},"fy":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fy"},"fp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fp"}},"type":"object","required":["end","value"],"title":"FactPoint"},"FiscalYearSpend":{"properties":{"fiscal_year":{"type":"integer","title":"Fiscal Year"},"total_obligations_usd":{"type":"number","title":"Total Obligations Usd"},"contract_obligations_usd":{"type":"number","title":"Contract Obligations Usd"},"grant_obligations_usd":{"type":"number","title":"Grant Obligations Usd"}},"type":"object","required":["fiscal_year","total_obligations_usd","contract_obligations_usd","grant_obligations_usd"],"title":"FiscalYearSpend"},"FundingOutput":{"properties":{"as_of":{"type":"string","title":"As Of"},"term":{"type":"string","title":"Term"},"fiscal_years":{"items":{"type":"integer"},"type":"array","title":"Fiscal Years"},"usaspending_by_fy":{"items":{"$ref":"#/components/schemas/FiscalYearSpend"},"type":"array","title":"Usaspending By Fy"},"usaspending_growth_3y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Usaspending Growth 3Y","description":"Total obligations, last complete FY vs 3 FYs earlier, as a ratio - 1; null if base is 0."},"top_recipients":{"items":{"$ref":"#/components/schemas/Recipient"},"type":"array","title":"Top Recipients"},"nih_projects_by_fy":{"additionalProperties":{"type":"integer"},"type":"object","title":"Nih Projects By Fy"},"nih_growth_3y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nih Growth 3Y"},"nih_recent_projects":{"items":{"$ref":"#/components/schemas/NihProject"},"type":"array","title":"Nih Recent Projects"},"flags":{"items":{"type":"string"},"type":"array","title":"Flags"},"method_id":{"type":"string","title":"Method Id","default":"funding_signals_rules_v1"},"disclaimer":{"type":"string","title":"Disclaimer","default":"Keyword-matched US federal spending (USAspending) and NIH grants (RePORTER), both public domain; an activity signal, not a census of the technology and not investment advice."}},"type":"object","required":["as_of","term","fiscal_years","usaspending_by_fy","usaspending_growth_3y","top_recipients","nih_projects_by_fy","nih_growth_3y","nih_recent_projects","flags"],"title":"FundingOutput"},"GrowthSeries":{"properties":{"1y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"1Y"},"3y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"3Y"},"5y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"5Y"}},"type":"object","title":"GrowthSeries"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LookupOutput":{"properties":{"scan_id":{"type":"string","title":"Scan Id"},"computed_at":{"type":"string","title":"Computed At"},"data_as_of":{"type":"string","title":"Data As Of"},"last_full_year":{"type":"integer","title":"Last Full Year"},"universe_size":{"type":"integer","title":"Universe Size"},"method_id":{"type":"string","title":"Method Id","default":"technology_momentum_stat_v1"},"topic":{"$ref":"#/components/schemas/TopicScore"},"works_by_year":{"additionalProperties":{"type":"integer"},"type":"object","title":"Works By Year"},"top_decile_by_year":{"additionalProperties":{"type":"integer"},"type":"object","title":"Top Decile By Year"},"disclaimer":{"type":"string","title":"Disclaimer","default":"Statistical momentum over OpenAlex (CC0) publication counts; an estimate, not ground truth."}},"type":"object","required":["scan_id","computed_at","data_as_of","last_full_year","universe_size","topic","works_by_year","top_decile_by_year"],"title":"LookupOutput"},"NamedEntity":{"properties":{"id":{"type":"string","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"recent_works":{"type":"integer","title":"Recent Works"}},"type":"object","required":["id","name","recent_works"],"title":"NamedEntity"},"NihProject":{"properties":{"project_num":{"type":"string","title":"Project Num"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization"},"award_amount_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Award Amount Usd"},"fiscal_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fiscal Year"}},"type":"object","required":["project_num","title","organization","award_amount_usd","fiscal_year"],"title":"NihProject"},"Output":{"properties":{"result_id":{"type":"string","title":"Result Id"},"topic":{"type":"string","title":"Topic"},"query_match":{"$ref":"#/components/schemas/QueryMatch"},"matched_topics":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Matched Topics","description":"OpenAlex primary topics the matching works fall into, with counts and shares."},"momentum_score":{"type":"number","title":"Momentum Score"},"acceleration_score":{"type":"number","title":"Acceleration Score"},"trend_label":{"type":"string","enum":["accelerating","growing","stable","declining","nascent"],"title":"Trend Label"},"confidence":{"type":"number","title":"Confidence","description":"Grounded estimate combining evidence quantity, consistency, coverage, and model self-assessment."},"research_growth":{"$ref":"#/components/schemas/GrowthSeries"},"citation_growth":{"$ref":"#/components/schemas/GrowthSeries","description":"Growth in works ranking in the top decile of citations for their publication year (age-normalized); lagged to citation_growth_as_of_year."},"citation_growth_as_of_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Citation Growth As Of Year"},"institution_growth":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Institution Growth","description":"Growth in the number of institutions with >=3 matching works, last 3y vs prior 3y; null when unmeasurable."},"leading_institutions":{"items":{"$ref":"#/components/schemas/NamedEntity"},"type":"array","title":"Leading Institutions"},"leading_researchers":{"items":{"$ref":"#/components/schemas/NamedEntity"},"type":"array","title":"Leading Researchers"},"important_recent_works":{"items":{"$ref":"#/components/schemas/WorkRef"},"type":"array","title":"Important Recent Works"},"rationale":{"type":"string","title":"Rationale"},"key_drivers":{"items":{"type":"string"},"type":"array","title":"Key Drivers"},"risks":{"items":{"type":"string"},"type":"array","title":"Risks"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings"},"evidence_count":{"type":"integer","title":"Evidence Count"},"data_as_of":{"type":"string","title":"Data As Of"},"methodology_version":{"type":"string","title":"Methodology Version"},"schema_version":{"type":"string","title":"Schema Version"},"computed_at":{"type":"string","title":"Computed At"},"cache_hit":{"type":"boolean","title":"Cache Hit","default":false},"provenance":{"anyOf":[{"$ref":"#/components/schemas/Provenance"},{"type":"null"}]},"disclaimer":{"type":"string","title":"Disclaimer","default":"Model-derived analytical estimate over OpenAlex (CC0) evidence; not ground truth."}},"type":"object","required":["result_id","topic","query_match","matched_topics","momentum_score","acceleration_score","trend_label","confidence","research_growth","citation_growth","citation_growth_as_of_year","institution_growth","leading_institutions","leading_researchers","important_recent_works","rationale","key_drivers","risks","warnings","evidence_count","data_as_of","methodology_version","schema_version","computed_at"],"title":"Output"},"Provenance":{"properties":{"source":{"type":"string","title":"Source"},"rights":{"type":"string","title":"Rights"},"data_as_of":{"type":"string","title":"Data As Of"},"model_family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Family"}},"type":"object","required":["source","rights","data_as_of"],"title":"Provenance"},"QueryMatch":{"properties":{"mode":{"type":"string","enum":["phrase","terms"],"title":"Mode","description":"phrase = exact phrase in title/abstract; terms = any-term fallback (broader)."},"total_works_10y":{"type":"integer","title":"Total Works 10Y"},"focus_topic_ids":{"items":{"type":"string"},"type":"array","title":"Focus Topic Ids","description":"Primary topics the works set was focused on."}},"type":"object","required":["mode","total_works_10y"],"title":"QueryMatch"},"Recipient":{"properties":{"name":{"type":"string","title":"Name"},"amount_usd":{"type":"number","title":"Amount Usd"},"uei":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uei"}},"type":"object","required":["name","amount_usd","uei"],"title":"Recipient"},"RegDoc":{"properties":{"document_number":{"type":"string","title":"Document Number"},"title":{"type":"string","title":"Title"},"type":{"type":"string","title":"Type"},"action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action"},"agencies":{"items":{"type":"string"},"type":"array","title":"Agencies"},"publication_date":{"type":"string","title":"Publication Date"},"effective_on":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Effective On"},"comments_close_on":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comments Close On"},"significant":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Significant"},"abstract":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Abstract"},"docket_ids":{"items":{"type":"string"},"type":"array","title":"Docket Ids"},"regulation_id_numbers":{"items":{"type":"string"},"type":"array","title":"Regulation Id Numbers"},"cfr_references":{"items":{"type":"string"},"type":"array","title":"Cfr References"},"topics":{"items":{"type":"string"},"type":"array","title":"Topics"},"url":{"type":"string","title":"Url"},"flags":{"items":{"type":"string"},"type":"array","title":"Flags"},"days_to_comment_close":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Days To Comment Close"},"days_to_effective":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Days To Effective"}},"type":"object","required":["document_number","title","type","action","agencies","publication_date","effective_on","comments_close_on","significant","abstract","docket_ids","regulation_id_numbers","cfr_references","topics","url","flags","days_to_comment_close","days_to_effective"],"title":"RegDoc"},"RulesOutput":{"properties":{"as_of":{"type":"string","title":"As Of"},"total_matching":{"type":"integer","title":"Total Matching"},"count":{"type":"integer","title":"Count"},"documents":{"items":{"$ref":"#/components/schemas/RegDoc"},"type":"array","title":"Documents"},"method_id":{"type":"string","title":"Method Id","default":"reg_rules_rules_v1"},"disclaimer":{"type":"string","title":"Disclaimer","default":"Regulatory information from the Federal Register (public domain); not legal advice."}},"type":"object","required":["as_of","total_matching","count","documents"],"title":"RulesOutput"},"TopicScore":{"properties":{"topic_id":{"type":"string","title":"Topic Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Field"},"subfield":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subfield"},"rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rank"},"momentum_stat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Momentum Stat","description":"Universe z-score blend of 3y growth, acceleration and lagged top-decile growth (method technology_momentum_stat_v1)."},"growth_1y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Growth 1Y"},"growth_3y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Growth 3Y"},"growth_5y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Growth 5Y"},"acceleration_3y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Acceleration 3Y"},"decile_growth_3y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Decile Growth 3Y"},"works_last_full_year":{"type":"integer","title":"Works Last Full Year"},"works_10y":{"type":"integer","title":"Works 10Y"},"is_emerging":{"type":"boolean","title":"Is Emerging"}},"type":"object","required":["topic_id","name","field","subfield","rank","momentum_stat","growth_1y","growth_3y","growth_5y","acceleration_3y","decile_growth_3y","works_last_full_year","works_10y","is_emerging"],"title":"TopicScore"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WorkRef":{"properties":{"id":{"type":"string","title":"Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"cited_by":{"type":"integer","title":"Cited By"}},"type":"object","required":["id","title","year","cited_by"],"title":"WorkRef"}},"securitySchemes":{"x402":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"x402 v2: unpaid requests receive 402 + PAYMENT-REQUIRED; retry with a signed PAYMENT-SIGNATURE (USDC, exact scheme)."},"creditKey":{"type":"http","scheme":"bearer","description":"Prepaid credit key from /v1/credits/claim (buy at /v1/credits/checkout)."}}},"servers":[{"url":"https://cortexassay.com"}],"x-agentcash-guidance":{"llmsTxtUrl":"https://cortexassay.com/llms.txt"},"x-agentcash-provenance":{"ownershipProofs":["0xb3ba3Ca99F9742b32fC527CF62688C83b39AED8c"]}}