{"openapi":"3.1.0","jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","info":{"title":"TeamingIndex API","version":"1.0","summary":"Teaming intelligence for federal, defense and aerospace contracting.","description":"Search the TeamingIndex directory by verified CMMC 2.0 status, blind NIST SP 800-171 SPRS brackets, facility clearance, ITAR/EAR, contract vehicles, socio-economic status and NAICS; read capability statements; track recompetes, live SAM.gov opportunities and the RFP Teaming Board; and run grounded AI analyses.\n\nAuthentication: \"Authorization: Bearer ti_live_…\" (or x-api-key). Keys are organization-scoped and created in the dashboard (https://teamingindex.com/dashboard/api). Never send a key in the URL.\nQuotas (REST + MCP tools/call share one monthly quota per organization; resets each UTC month): Registered Entity: no API access; Verified Pro: 500 queries/month; Enterprise Capture: 2,500 queries/month; Prime Corporate / API: 15,000 queries/month. Burst limit: 60 requests per minute per key. Every keyed response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset.\nEnvelopes: success { data, meta? }; error { error: { code, message, details?, docs } }.\nPrivacy: exact SPRS scores and CMMC certificate IDs are returned only for your own organization or a mutual NDA counterparty (or when the contractor published the score). Self-attested facts carry their provenance; verify before award.\nCORS: keyed endpoints send no CORS headers by design (keys are server-side secrets). Call the API from your backend.\nMCP: the same data is available to AI agents at https://teamingindex.com/api/mcp (Streamable HTTP, same key).","contact":{"name":"TeamingIndex developer support","url":"https://teamingindex.com/developers"},"termsOfService":"https://teamingindex.com/terms"},"externalDocs":{"description":"Developer guide","url":"https://teamingindex.com/developers"},"servers":[{"url":"https://teamingindex.com/api/v1","description":"TeamingIndex REST API v1"}],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"tags":[{"name":"Overview"},{"name":"Account"},{"name":"Contractors"},{"name":"Vehicles"},{"name":"NAICS"},{"name":"Recompetes"},{"name":"Teaming Board"},{"name":"Live RFPs"},{"name":"AI analyst"}],"paths":{"/":{"get":{"operationId":"index","tags":["Overview"],"summary":"API index","description":"Lists every endpoint, the authentication scheme, quotas by plan and links to these docs and the OpenAPI document. No key needed. No API key needed; not metered.","responses":{"200":{"description":"The API index.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object"}}}}}},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[],"x-metered":false}},"/openapi.json":{"get":{"operationId":"openapi","tags":["Overview"],"summary":"OpenAPI 3.1 document","description":"Machine-readable description of the REST API, including the AI analysis endpoint. Import it into Postman, Insomnia or a code generator. No key needed. No API key needed; not metered.","responses":{"200":{"description":"This document.","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[],"x-metered":false}},"/me":{"get":{"operationId":"me","tags":["Account"],"summary":"Your key, plan and usage","description":"Confirms a key works and returns its organization, plan, this month's usage and what the plan unlocks. A good first call. Requires an API key; counts one query.","responses":{"200":{"description":"Key, plan and usage.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Account"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-metered":true}},"/contractors":{"get":{"operationId":"contractors","tags":["Contractors"],"summary":"Search contractors","description":"Faceted directory search with the same filters as /directory: CMMC level, blind SPRS bracket, facility clearance, ITAR/EAR, contract vehicles (with role), socio-economic status, NAICS, size-by-NAICS, ISO/AS certifications, verified-only and teaming availability. 20 results per page; excluded and inactive SAM registrations are hidden unless inactive=1. Requires an API key; counts one query.","parameters":[{"$ref":"#/components/parameters/Q"},{"$ref":"#/components/parameters/Sector"},{"$ref":"#/components/parameters/Cmmc"},{"$ref":"#/components/parameters/Sprs"},{"$ref":"#/components/parameters/Fcl"},{"$ref":"#/components/parameters/Vehicle"},{"$ref":"#/components/parameters/Socio"},{"$ref":"#/components/parameters/Naics"},{"$ref":"#/components/parameters/State"},{"$ref":"#/components/parameters/Itar"},{"$ref":"#/components/parameters/Ear"},{"$ref":"#/components/parameters/Scif"},{"$ref":"#/components/parameters/Claimed"},{"$ref":"#/components/parameters/Verified"},{"$ref":"#/components/parameters/SmallFor"},{"$ref":"#/components/parameters/Inactive"},{"$ref":"#/components/parameters/Iso"},{"$ref":"#/components/parameters/Accepting"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/DirectoryPage"},{"$ref":"#/components/parameters/Facets"}],"responses":{"200":{"description":"One page of directory results (20 per page).","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ContractorHit"}},"meta":{"allOf":[{"$ref":"#/components/schemas/ListMeta"},{"type":"object","properties":{"query":{"type":"string","description":"Canonical filter string (reusable as /directory?{query})."},"directoryUrl":{"type":"string"},"engine":{"type":"string","enum":["typesense","local"]},"tookMs":{"type":"number"},"facets":{"$ref":"#/components/schemas/SearchFacets"}}}]}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-metered":true}},"/contractors.csv":{"get":{"operationId":"contractorsCsv","tags":["Contractors"],"summary":"Export search results as CSV","description":"The same filters as /contractors, exported as one CSV file (up to 1,000 rows, one query) for CRM and spreadsheet import. Requires an API key; counts one query. Plan: Enterprise Capture.","parameters":[{"$ref":"#/components/parameters/Q"},{"$ref":"#/components/parameters/Sector"},{"$ref":"#/components/parameters/Cmmc"},{"$ref":"#/components/parameters/Sprs"},{"$ref":"#/components/parameters/Fcl"},{"$ref":"#/components/parameters/Vehicle"},{"$ref":"#/components/parameters/Socio"},{"$ref":"#/components/parameters/Naics"},{"$ref":"#/components/parameters/State"},{"$ref":"#/components/parameters/Itar"},{"$ref":"#/components/parameters/Ear"},{"$ref":"#/components/parameters/Scif"},{"$ref":"#/components/parameters/Claimed"},{"$ref":"#/components/parameters/Verified"},{"$ref":"#/components/parameters/SmallFor"},{"$ref":"#/components/parameters/Inactive"},{"$ref":"#/components/parameters/Iso"},{"$ref":"#/components/parameters/Accepting"},{"$ref":"#/components/parameters/Sort"},{"name":"limit","in":"query","required":false,"description":"Maximum rows (default 500, max 1,000).","schema":{"type":"integer","minimum":1,"maximum":1000,"default":500}}],"responses":{"200":{"description":"CSV (UTF-8 with BOM, CRLF). Cells that start with = + - @ are prefixed with an apostrophe (formula-injection guard). Raw SPRS scores appear only when public.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Content-Disposition":{"schema":{"type":"string"},"description":"attachment; filename=\"teamingindex-contractors-YYYY-MM-DD.csv\""}},"content":{"text/csv":{"schema":{"type":"string"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-metered":true,"x-plan":"Enterprise Capture"}},"/contractors/{uei}":{"get":{"operationId":"contractor","tags":["Contractors"],"summary":"Contractor profile","description":"Full profile by SAM UEI: compliance posture with provenance, vehicles, past performance, capabilities and BD contact. NDA rules apply exactly as in the app: the exact SPRS score and CMMC certificate ID appear only for your own organization or a mutual NDA counterparty. Requires an API key; counts one query.","parameters":[{"$ref":"#/components/parameters/Uei"}],"responses":{"200":{"description":"The profile, shaped for your organization (exact SPRS and CMMC UID only for your own organization or a mutual NDA counterparty).","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ContractorProfile"},"meta":{"type":"object","properties":{"links":{"$ref":"#/components/schemas/ResourceLinks"}}}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-metered":true}},"/contractors/{uei}/capability.md":{"get":{"operationId":"capabilityMarkdown","tags":["Contractors"],"summary":"Capability statement (Markdown)","description":"The Markdown capability twin of a profile (YAML front matter + sections), ready for LLM context windows and RAG pipelines. Identical to the public /contractor/{uei}/capability.md page. Requires an API key; counts one query.","parameters":[{"$ref":"#/components/parameters/Uei"}],"responses":{"200":{"description":"Markdown capability twin (YAML front matter + sections).","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"text/markdown":{"schema":{"type":"string"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-metered":true}},"/vehicles":{"get":{"operationId":"vehicles","tags":["Vehicles"],"summary":"Contract vehicles","description":"Every GWAC, MAC, IDIQ, GSA Schedule and OTA consortium in the catalog with distinct holder, prime-holder and verified-holder counts. Requires an API key; counts one query.","parameters":[{"name":"type","in":"query","required":false,"description":"Vehicle type.","schema":{"type":"string","enum":["GWAC","MAC","IDIQ","GSA_SCHEDULE","OTA_CONSORTIUM","INNOVATION_PROGRAM"]}}],"responses":{"200":{"description":"Every catalog vehicle with holder counts.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Vehicle"}},"meta":{"type":"object","properties":{"total":{"type":"integer"}}}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-metered":true}},"/vehicles/{slug}":{"get":{"operationId":"vehicle","tags":["Vehicles"],"summary":"Vehicle holders","description":"One vehicle with its holders: contract number, pools/SINs, role, verification, CMMC and blind SPRS bracket. Filter by role (prime, subcontractor, joint_venture, mentor_protege). Requires an API key; counts one query.","parameters":[{"$ref":"#/components/parameters/VehicleSlug"},{"name":"role","in":"query","required":false,"description":"Only holdings in this role.","schema":{"type":"string","enum":["prime","subcontractor","joint_venture","mentor_protege"]},"example":"prime"},{"name":"limit","in":"query","required":false,"description":"Maximum holdings returned (default 100, max 500).","schema":{"type":"integer","minimum":1,"maximum":500,"default":100}}],"responses":{"200":{"description":"The vehicle and its holders.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/VehicleDetail"},"meta":{"type":"object","properties":{"holdingsTotal":{"type":"integer"},"returned":{"type":"integer"}}}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-metered":true}},"/naics":{"get":{"operationId":"naicsList","tags":["NAICS"],"summary":"NAICS codes in the index","description":"Every six-digit NAICS code present in the index with contractor counts and titles. Requires an API key; counts one query.","parameters":[{"name":"inactive","in":"query","required":false,"description":"Count excluded/inactive registrations too.","schema":{"type":"string","enum":["1","0","true","false"]}}],"responses":{"200":{"description":"NAICS codes with contractor counts.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/NaicsCount"}},"meta":{"type":"object","properties":{"total":{"type":"integer"}}}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-metered":true}},"/naics/{code}":{"get":{"operationId":"naics","tags":["NAICS"],"summary":"NAICS industry directory","description":"Contractors listing a NAICS code (primary holders first), small-under-this-code counts and co-listed industries. Requires an API key; counts one query.","parameters":[{"$ref":"#/components/parameters/NaicsCode"},{"$ref":"#/components/parameters/Page"},{"name":"pageSize","in":"query","required":false,"description":"Contractors per page (default 20, max 100).","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"inactive","in":"query","required":false,"description":"Also list excluded/inactive registrations (flagged).","schema":{"type":"string","enum":["1","0","true","false"]}}],"responses":{"200":{"description":"The NAICS industry directory.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/NaicsDirectory"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-metered":true}},"/recompetes":{"get":{"operationId":"recompetes","tags":["Recompetes"],"summary":"Recompete Radar","description":"Expiring incumbent awards from USAspending (default window: next 18 months) with agency, NAICS, set-aside and text filters. Enterprise Capture sees everything; Verified Pro tracks its primary NAICS; preview plans see the top rows. Requires an API key; counts one query. Plan: Full radar: Enterprise Capture.","parameters":[{"name":"from","in":"query","required":false,"description":"Window start in months from today (may be negative).","schema":{"type":"integer","minimum":-120,"maximum":120,"default":0}},{"name":"to","in":"query","required":false,"description":"Window end in months from today.","schema":{"type":"integer","minimum":-120,"maximum":120,"default":18}},{"name":"agency","in":"query","required":false,"description":"Awarding agency or sub-agency (exact, case-insensitive).","schema":{"type":"string"},"example":"Department of the Air Force"},{"name":"naics","in":"query","required":false,"description":"NAICS code or prefix (Verified Pro: your primary NAICS only).","schema":{"type":"string","pattern":"^\\d{2,6}$"},"example":"541512"},{"name":"setAside","in":"query","required":false,"description":"Set-aside program (SB, 8A, HUBZONE, SDVOSB, VOSB, WOSB, EDWOSB, NONE, OTHER) or an exact raw value.","schema":{"type":"string"},"example":"SDVOSB"},{"name":"q","in":"query","required":false,"description":"Description, PIID, agency, office or incumbent text.","schema":{"type":"string","maxLength":200}},{"name":"sort","in":"query","required":false,"description":"end_asc (soonest first) or value_desc (largest first).","schema":{"type":"string","enum":["end_asc","value_desc"],"default":"end_asc"}},{"$ref":"#/components/parameters/Page"},{"name":"pageSize","in":"query","required":false,"description":"Rows per page (default 50, max 200).","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}}],"responses":{"200":{"description":"Expiring awards in the window.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/RecompeteRow"}},"meta":{"allOf":[{"$ref":"#/components/schemas/ListMeta"},{"type":"object","properties":{"window":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"fromMonths":{"type":"integer"},"toMonths":{"type":"integer"}}},"access":{"$ref":"#/components/schemas/RecompeteAccess"}}}]}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-metered":true,"x-plan":"Full radar: Enterprise Capture"}},"/opportunities":{"get":{"operationId":"opportunities","tags":["Teaming Board"],"summary":"Open teaming opportunities","description":"Open RFP Teaming Board posts (response deadline today or later). Gap descriptions, gates and the posting company are included for plans with board details. Requires an API key; counts one query.","parameters":[{"name":"naics","in":"query","required":false,"description":"Required NAICS code or prefix (any).","schema":{"type":"string"},"example":"5415"},{"name":"agency","in":"query","required":false,"description":"Target agency or sub-agency (contains).","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Title or agency text; also the solicitation number and gap text on plans with board details.","schema":{"type":"string","maxLength":200}},{"name":"seeking","in":"query","required":false,"description":"Role the poster is looking for.","schema":{"type":"string","enum":["prime","subcontractor","joint_venture","mentor_protege"]},"example":"subcontractor"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize25"}],"responses":{"200":{"description":"Open posts, soonest deadline first.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TeamingOpportunity"}},"meta":{"allOf":[{"$ref":"#/components/schemas/ListMeta"},{"type":"object","properties":{"detailLevel":{"type":"string","enum":["titles","details"]}}}]}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-metered":true}},"/rfps":{"get":{"operationId":"rfps","tags":["Live RFPs"],"summary":"Live SAM.gov opportunities","description":"Open SAM.gov contract opportunities (solicitations, sources sought, presolicitations) with NAICS, set-aside, notice type, state and deadline filters. Soonest deadline first. Requires an API key; counts one query.","parameters":[{"name":"q","in":"query","required":false,"description":"Title, solicitation number, notice ID, agency or description.","schema":{"type":"string","maxLength":200}},{"name":"naics","in":"query","required":false,"description":"NAICS codes or prefixes (any). Comma-separated; repeating the parameter also works.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","pattern":"^\\d{2,6}$"},"maxItems":20},"example":["541512","541519"]},{"name":"setAside","in":"query","required":false,"description":"Normalized set-aside codes (any); NONE = full and open. Comma-separated; repeating the parameter also works.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["SB","8A","HUBZONE","SDVOSB","VOSB","WOSB","EDWOSB","NONE"]},"maxItems":8},"example":["SDVOSB","8A"]},{"name":"noticeType","in":"query","required":false,"description":"Notice types (any), e.g. Solicitation, Combined Synopsis/Solicitation, Sources Sought, Presolicitation. Comma-separated; repeating the parameter also works.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string"},"maxItems":10},"example":["Solicitation"]},{"name":"state","in":"query","required":false,"description":"Place-of-performance state.","schema":{"type":"string","pattern":"^[A-Za-z]{2}$"}},{"name":"agency","in":"query","required":false,"description":"Department, sub-tier or office (contains).","schema":{"type":"string"}},{"name":"dueWithinDays","in":"query","required":false,"description":"Response deadline within N days.","schema":{"type":"integer","minimum":1,"maximum":365},"example":30},{"name":"postedWithinDays","in":"query","required":false,"description":"Posted within the last N days.","schema":{"type":"integer","minimum":1,"maximum":365}},{"name":"includeClosed","in":"query","required":false,"description":"Also include archived notices and passed deadlines.","schema":{"type":"string","enum":["1","0","true","false"]}},{"name":"sort","in":"query","required":false,"description":"deadline (soonest first) or posted (newest first).","schema":{"type":"string","enum":["deadline","posted"],"default":"deadline"}},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PageSize25"}],"responses":{"200":{"description":"Matching notices.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/LiveRfp"}},"meta":{"$ref":"#/components/schemas/ListMeta"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-metered":true}},"/rfps/{noticeId}":{"get":{"operationId":"rfp","tags":["Live RFPs"],"summary":"One SAM.gov opportunity","description":"A single notice by SAM.gov notice ID, with links to create a teaming post, start a bid team or analyze it with AI. Requires an API key; counts one query.","parameters":[{"$ref":"#/components/parameters/NoticeId"}],"responses":{"200":{"description":"The notice.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/LiveRfp"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-metered":true}},"/ai/analyze":{"post":{"operationId":"aiAnalyze","tags":["AI analyst"],"summary":"Run an AI analysis","description":"Runs one Intelligence Hub task (teaming analysis, partner shortlist, RFP fit, compliance matrix, proposal section, recompete brief...) grounded in TeamingIndex data and returns the saved report. Uses one AI credit (bring-your-own-key Enterprise organizations are not capped). Requires an API key; counts one query. Plan: AI credits by plan.","requestBody":{"required":true,"description":"One Intelligence Hub task. Kinds: teaming_analysis (Teaming analysis); partner_shortlist (Best companies to team with); rfp_analysis (RFP fit analysis); proposal_section (Proposal section draft); compliance_matrix (Compliance matrix); past_performance (Past performance analysis); recompete_brief (Recompete brief); capability_narrative (Capability statement narrative); pitch_draft (Teaming pitch / NDA request). sourceText and instructions are screened by the Zero-CUI guard. proposal_section requires section (executive_summary, technical_approach, management_approach, staffing_plan, past_performance_volume, quality_control, transition_plan, small_business_participation); compliance_matrix requires sourceText; recompete_brief requires awardPiid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiRunRequest"},"example":{"kind":"rfp_analysis","noticeId":"a1b2c3d4e5f60718293a4b5c6d7e8f90","instructions":"Focus on CMMC Level 2 flow-down and small-business teaming options."}}}},"responses":{"200":{"description":"The completed, saved report (non-streaming: the request returns when the analysis finishes, typically within a few minutes).","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","required":["report"],"properties":{"report":{"$ref":"#/components/schemas/AiReportDetail"}}}}}},"400":{"description":"The body is not valid JSON or does not match AiRunRequest. Codes: invalid_input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiError"}}}},"401":{"description":"Missing, invalid or revoked API key. Codes: missing_api_key, invalid_api_key, revoked_api_key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiError"}}}},"403":{"description":"The plan or organization cannot run this analysis. Codes: api_access_not_included, forbidden.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiError"}}}},"404":{"description":"A referenced notice, post, award or workspace does not exist (or is not yours). Codes: not_found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiError"}}}},"413":{"description":"The body is larger than 512 KiB (sourceText is capped at 60,000 characters). Codes: invalid_input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiError"}}}},"422":{"description":"The Zero-CUI guard rejected pasted text, or the model declined the request. Codes: cui_detected, refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiError"}}}},"429":{"description":"Burst limit, monthly API quota or monthly AI credits reached (see Retry-After). Codes: rate_limited, quota_exceeded.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiError"}}}},"502":{"description":"The model provider failed. Retry with backoff. Codes: provider_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiError"}}}},"503":{"description":"The REST API or the AI analyst is switched off, no model key is configured, or maintenance is under way. Codes: maintenance, ai_disabled, feature_disabled, no_api_key.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiError"}}}}},"x-metered":true,"x-plan":"AI credits by plan"}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"ti_live_ + 32 base62 characters","description":"Organization API key from the dashboard."},"apiKeyHeader":{"type":"apiKey","in":"header","name":"x-api-key","description":"Alternative header for the same key (Authorization wins when both are sent)."}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code (see the error reference)."},"message":{"type":"string"},"details":{},"docs":{"type":"string","description":"Absolute URL."}},"required":["code","message","docs"]}},"required":["error"]},"ListMeta":{"type":"object","properties":{"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"page":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pageCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"links":{"type":"object","properties":{"self":{"type":"string","description":"Absolute URL."},"next":{"anyOf":[{"type":"string","description":"Absolute URL."},{"type":"null"}]},"prev":{"anyOf":[{"type":"string","description":"Absolute URL."},{"type":"null"}]}},"required":["self","next","prev"]}},"required":["total","page","pageSize","pageCount","links"]},"SprsView":{"type":"object","properties":{"brackets":{"type":"array","items":{"type":"string"},"description":"Cumulative blind brackets, e.g. [\">=0\", \">=50\", \">=70\", \">=85\"]."},"highestThreshold":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}],"description":"Highest bracket met (85 above); null when the score is below 0."},"exactScore":{"description":"Raw NIST SP 800-171 score. Present ONLY when revealReason is set: public, your own organization, or a mutual NDA with yours.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"revealReason":{"type":"string","enum":["public","owner","nda","admin"]},"nistRevision":{"type":["string","null"]},"poamActive":{"type":"boolean"},"assessedOn":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"assessmentLevel":{"anyOf":[{"type":"string","enum":["basic","medium","high"]},{"type":"null"}]},"assessmentCurrent":{"description":"DFARS 252.204-7019: assessment not more than 3 years old. null when no date is on file.","type":["boolean","null"]}},"required":["brackets","highestThreshold","nistRevision","poamActive","assessedOn","assessmentLevel","assessmentCurrent"],"description":"Blind SPRS view: brackets for everyone, the exact score only with a reveal reason."},"CredentialBadge":{"type":"object","properties":{"kind":{"type":"string","enum":["cmmc","sprs","fcl","itar","iso","dcaa","fedramp"]},"label":{"type":"string"},"state":{"type":"string","enum":["verified","self_attested","pending","expired","rejected"]},"provenance":{"type":"string","description":"Who vouches for the fact and until when."},"verifiedOn":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"expiresOn":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]}},"required":["kind","label","state","provenance","verifiedOn","expiresOn"]},"Compliance":{"type":"object","properties":{"cmmc":{"type":"object","properties":{"level":{"anyOf":[{"type":"number","enum":[1,2,3]},{"type":"null"}]},"label":{"type":"string"},"shortLabel":{"type":"string"},"state":{"type":"string","enum":["none","final","conditional","expired"]},"thirdParty":{"type":"boolean"},"closeoutDueOn":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"expiresOn":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"affirmationDueOn":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"affirmationOverdue":{"type":"boolean"},"assessment":{"type":"string","enum":["none","self_assessed","c3pao_certified","dibcac_high"]},"assessorName":{"type":["string","null"]},"certifiedOn":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"affirmationOn":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"uniqueIdOnFile":{"type":"boolean"},"uniqueId":{"description":"CMMC certificate UID: only for your own organization or a mutual NDA counterparty.","type":"string"}},"required":["level","label","shortLabel","state","thirdParty","closeoutDueOn","expiresOn","affirmationDueOn","affirmationOverdue","assessment","assessorName","certifiedOn","affirmationOn","uniqueIdOnFile"]},"sprs":{"anyOf":[{"$ref":"#/components/schemas/SprsView"},{"type":"null"}]},"fcl":{"oneOf":[{"type":"object","properties":{"visible":{"type":"boolean","const":false}},"required":["visible"]},{"type":"object","properties":{"visible":{"type":"boolean","const":true},"level":{"type":"string","enum":["none","confidential","secret","top_secret","ts_sci"]},"safeguarding":{"type":"string","enum":["none","confidential","secret","top_secret"]},"scifCapable":{"type":"boolean"},"scifSquareFootage":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"cognizantOffice":{"type":["string","null"]}},"required":["visible","level","safeguarding","scifCapable","scifSquareFootage","cognizantOffice"]}],"description":"Facility clearance levels are returned only to keys of organizations on a paid plan (and for your own organization). Other keys get { \"visible\": false } for every company: TeamingIndex does not advertise clearances (NISPOM 32 CFR 117.9)."},"exportControl":{"type":"object","properties":{"itarRegistered":{"type":"boolean"},"earCompliant":{"type":"boolean"},"ddtcExpiresOn":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"jpcCertified":{"type":"boolean"}},"required":["itarRegistered","earCompliant","ddtcExpiresOn","jpcCertified"]},"isoCertifications":{"type":"array","items":{"type":"string"}},"fedrampStatus":{"type":["string","null"]},"dcaaApprovedAccounting":{"type":"boolean"},"badges":{"type":"array","items":{"$ref":"#/components/schemas/CredentialBadge"}},"verificationStatus":{"type":"string","enum":["pending","approved","rejected","expired"]},"verifiedAt":{"anyOf":[{"type":"string","description":"ISO-8601 timestamp."},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","description":"ISO-8601 timestamp."},{"type":"null"}]}},"required":["cmmc","sprs","fcl","exportControl","isoCertifications","fedrampStatus","dcaaApprovedAccounting","badges","verificationStatus","verifiedAt","updatedAt"]},"VehicleHolding":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"vehicleType":{"type":"string"},"managingAgency":{"type":"string"},"contractNumber":{"type":["string","null"]},"poolsOrSins":{"type":"array","items":{"type":"string"}},"role":{"type":"string","enum":["prime","subcontractor","joint_venture","mentor_protege"]},"verified":{"type":"boolean","description":"The holding (contract number / pool) was verified by TeamingIndex."}},"required":["slug","name","vehicleType","managingAgency","contractNumber","poolsOrSins","role","verified"]},"Award":{"type":"object","properties":{"awardPiid":{"type":"string"},"parentAwardPiid":{"type":["string","null"]},"awardingAgency":{"type":"string"},"awardingSubAgency":{"type":["string","null"]},"naicsCode":{"type":["string","null"]},"pscCode":{"type":["string","null"]},"totalObligated":{"type":"string","description":"USD amount as a decimal string with two places, e.g. \"1250000.00\"."},"baseAndAllOptionsValue":{"anyOf":[{"type":"string","description":"USD amount as a decimal string with two places, e.g. \"1250000.00\"."},{"type":"null"}]},"periodOfPerformanceStart":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"periodOfPerformanceCurrentEnd":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"periodOfPerformancePotentialEnd":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"setAsideType":{"type":["string","null"]},"awardDescription":{"type":["string","null"]},"placeOfPerformanceState":{"type":["string","null"]}},"required":["awardPiid","parentAwardPiid","awardingAgency","awardingSubAgency","naicsCode","pscCode","totalObligated","baseAndAllOptionsValue","periodOfPerformanceStart","periodOfPerformanceCurrentEnd","periodOfPerformancePotentialEnd","setAsideType","awardDescription","placeOfPerformanceState"]},"Capabilities":{"type":"object","properties":{"summary":{"type":["string","null"]},"differentiators":{"type":["string","null"]},"technicalTags":{"type":"array","items":{"type":"string"}},"securityClearedPersonnelCount":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"bondingCapacitySingle":{"anyOf":[{"type":"string","description":"USD amount as a decimal string with two places, e.g. \"1250000.00\"."},{"type":"null"}]},"bondingCapacityAggregate":{"anyOf":[{"type":"string","description":"USD amount as a decimal string with two places, e.g. \"1250000.00\"."},{"type":"null"}]},"oemPartnerships":{"type":"array","items":{"type":"string"}},"acceptingSubcontracts":{"type":"boolean"},"acceptingPrimeJv":{"type":"boolean"},"bdContact":{"anyOf":[{"type":"object","properties":{"name":{"type":["string","null"]},"title":{"type":["string","null"]},"email":{"type":["string","null"]},"phone":{"type":["string","null"]}},"required":["name","title"]},{"type":"null"}],"description":"Business development contact. API callers count as signed-in members, so email and phone are included when on file."},"updatedAt":{"anyOf":[{"type":"string","description":"ISO-8601 timestamp."},{"type":"null"}]}},"required":["summary","differentiators","technicalTags","securityClearedPersonnelCount","bondingCapacitySingle","bondingCapacityAggregate","oemPartnerships","acceptingSubcontracts","acceptingPrimeJv","bdContact","updatedAt"]},"ContractorProfile":{"type":"object","properties":{"id":{"type":"string","description":"TeamingIndex organization id (UUID). Prefer the UEI as your key."},"uei":{"type":"string","description":"SAM.gov Unique Entity ID (12 characters)."},"cageCode":{"type":["string","null"]},"legalBusinessName":{"type":"string"},"dbaName":{"type":["string","null"]},"slug":{"type":"string"},"websiteUrl":{"type":["string","null"]},"entityStructure":{"type":["string","null"]},"stateOfIncorporation":{"type":["string","null"]},"location":{"type":"object","properties":{"city":{"type":["string","null"]},"state":{"type":["string","null"]},"zip":{"type":["string","null"]},"congressionalDistrict":{"type":["string","null"]}},"required":["city","state","zip","congressionalDistrict"]},"naics":{"type":"object","properties":{"primary":{"type":["string","null"]},"all":{"type":"array","items":{"type":"string"}},"smallFor":{"type":"array","items":{"type":"string"},"description":"NAICS codes SAM.gov reports the entity as small under (size is NAICS-specific)."}},"required":["primary","all","smallFor"]},"pscCodes":{"type":"array","items":{"type":"string"}},"socioEconomic":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["SB","SDB","8A","HUBZONE","WOSB","EDWOSB","VOSB","SDVOSB","ANC","TRIBAL"]},"label":{"type":"string"}},"required":["code","label"]}},"hierarchy":{"type":"object","properties":{"parentUei":{"type":["string","null"]},"ultimateParentUei":{"type":["string","null"]},"ultimateParentName":{"type":["string","null"]}},"required":["parentUei","ultimateParentUei","ultimateParentName"]},"sam":{"type":"object","properties":{"status":{"type":"string","enum":["active","expiring","expired","inactive","unknown"]},"label":{"type":"string"},"expiresOn":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"daysUntilExpiry":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"hasActiveExclusion":{"type":"boolean","description":"SAM.gov exclusion (FAR 9.4 debarment/suspension) on record."},"teamingEligible":{"type":"boolean"},"activationDate":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"lastSyncedAt":{"anyOf":[{"type":"string","description":"ISO-8601 timestamp."},{"type":"null"}]}},"required":["status","label","expiresOn","daysUntilExpiry","hasActiveExclusion","teamingEligible","activationDate","lastSyncedAt"]},"tier":{"type":"string","enum":["unclaimed","claimed_free","verified_pro","enterprise_capture","prime_corporate"],"description":"Membership tier: unclaimed, claimed_free (Registered Entity), verified_pro, enterprise_capture."},"isClaimed":{"type":"boolean"},"compliance":{"anyOf":[{"$ref":"#/components/schemas/Compliance"},{"type":"null"}]},"capabilities":{"anyOf":[{"$ref":"#/components/schemas/Capabilities"},{"type":"null"}]},"vehicles":{"type":"array","items":{"$ref":"#/components/schemas/VehicleHolding"}},"pastPerformance":{"type":"object","properties":{"total36mObligated":{"anyOf":[{"type":"string","description":"USD amount as a decimal string with two places, e.g. \"1250000.00\"."},{"type":"null"}]},"topFundingAgencies":{"type":"array","items":{"type":"string"}},"awardCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"awards":{"type":"array","items":{"$ref":"#/components/schemas/Award"},"description":"Most recent first (up to 25)."}},"required":["total36mObligated","topFundingAgencies","awardCount","awards"]},"provenance":{"type":"object","properties":{"samSyncedAt":{"anyOf":[{"type":"string","description":"ISO-8601 timestamp."},{"type":"null"}]},"profileUpdatedAt":{"anyOf":[{"type":"string","description":"ISO-8601 timestamp."},{"type":"null"}]}},"required":["samSyncedAt","profileUpdatedAt"]},"urls":{"type":"object","properties":{"profile":{"type":"string","description":"Site-relative path."},"capabilityMarkdown":{"type":"string","description":"Site-relative path."}},"required":["profile","capabilityMarkdown"]},"viewer":{"type":"object","properties":{"isOwner":{"type":"boolean","description":"The profile belongs to the API key organization."},"canRequestTeaming":{"type":"boolean"},"sprsRevealReason":{"anyOf":[{"type":"string","enum":["public","owner","nda","admin"]},{"type":"null"}]},"clearanceVisible":{"type":"boolean","description":"Facility clearance facts of this company are included (paid plans and your own organization only)."}},"required":["isOwner","canRequestTeaming","sprsRevealReason","clearanceVisible"]}},"required":["id","uei","cageCode","legalBusinessName","dbaName","slug","websiteUrl","entityStructure","stateOfIncorporation","location","naics","pscCodes","socioEconomic","hierarchy","sam","tier","isClaimed","compliance","capabilities","vehicles","pastPerformance","provenance","urls","viewer"],"description":"Full contractor profile as seen by the API key organization."},"ContractorSearchHit":{"type":"object","properties":{"id":{"type":"string"},"uei":{"type":"string"},"cageCode":{"type":["string","null"]},"slug":{"type":"string"},"legalBusinessName":{"type":"string"},"dbaName":{"type":["string","null"]},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"primaryNaics":{"type":["string","null"]},"naics":{"type":"array","items":{"type":"string"}},"sectors":{"type":"array","items":{"type":"string"},"description":"Mission sector slugs derived from SAM.gov NAICS and PSC codes (see /sectors)."},"primarySector":{"description":"Sector of the primary NAICS, else the strongest match; null when none matches.","type":["string","null"]},"socioEconomic":{"type":"array","items":{"type":"string","enum":["SB","SDB","8A","HUBZONE","WOSB","EDWOSB","VOSB","SDVOSB","ANC","TRIBAL"]}},"tier":{"type":"string","enum":["unclaimed","claimed_free","verified_pro","enterprise_capture","prime_corporate"],"description":"Membership tier: unclaimed, claimed_free (Registered Entity), verified_pro, enterprise_capture."},"isClaimed":{"type":"boolean"},"cmmcShortLabel":{"type":"string"},"cmmcLevel":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"cmmcThirdParty":{"type":"boolean"},"sprsHighestThreshold":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}],"description":"Highest blind SPRS bracket met; never the raw score."},"sprsOnFile":{"type":"boolean"},"sprsPublicScore":{"description":"Only when the contractor made its exact score public.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"smallFor":{"type":"array","items":{"type":"string"}},"acceptingSubcontracts":{"type":"boolean"},"acceptingPrimeJv":{"type":"boolean"},"topFundingAgencies":{"type":"array","items":{"type":"string"}},"fcl":{"oneOf":[{"type":"object","properties":{"visible":{"type":"boolean","const":false}},"required":["visible"]},{"type":"object","properties":{"visible":{"type":"boolean","const":true},"level":{"type":"string","enum":["none","confidential","secret","top_secret","ts_sci"]}},"required":["visible","level"]}],"description":"Facility clearance levels are returned only to keys of organizations on a paid plan (and for your own organization). Other keys get { \"visible\": false } for every company: TeamingIndex does not advertise clearances (NISPOM 32 CFR 117.9)."},"itarRegistered":{"type":"boolean"},"isoCertifications":{"type":"array","items":{"type":"string"}},"verifiedCredentials":{"type":"array","items":{"type":"string","enum":["cmmc","sprs","fcl","itar","iso","dcaa","fedramp"]}},"vehicles":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"role":{"type":"string","enum":["prime","subcontractor","joint_venture","mentor_protege"]}},"required":["slug","role"]}},"total36mObligated":{"type":"number"},"samStatus":{"type":"string","enum":["active","expiring","expired","inactive","unknown"]},"hasActiveExclusion":{"type":"boolean"},"technicalTags":{"type":"array","items":{"type":"string"}},"summarySnippet":{"type":["string","null"]}},"required":["id","uei","cageCode","slug","legalBusinessName","dbaName","city","state","primaryNaics","naics","sectors","primarySector","socioEconomic","tier","isClaimed","cmmcShortLabel","cmmcLevel","cmmcThirdParty","sprsHighestThreshold","sprsOnFile","smallFor","acceptingSubcontracts","acceptingPrimeJv","topFundingAgencies","fcl","itarRegistered","isoCertifications","verifiedCredentials","vehicles","total36mObligated","samStatus","hasActiveExclusion","technicalTags","summarySnippet"]},"ResourceLinks":{"type":"object","properties":{"profile":{"type":"string","description":"Absolute URL."},"capabilityMarkdown":{"type":"string","description":"Absolute URL."},"api":{"type":"string","description":"Absolute URL."}},"required":["profile","capabilityMarkdown","api"]},"ContractorHit":{"allOf":[{"$ref":"#/components/schemas/ContractorSearchHit"},{"type":"object","properties":{"urls":{"$ref":"#/components/schemas/ResourceLinks"}},"required":["urls"]}],"description":"Directory result row with absolute links."},"SearchFacets":{"type":"object","properties":{"sectors":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["value","label","count"]},"description":"All nine mission sectors with counts (each counted with every other filter applied)."},"cmmc":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["value","label","count"]}},"sprs":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["value","label","count"]}},"fcl":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["value","label","count"]}},"vehicles":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["value","label","count"]}},"socio":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["value","label","count"]}},"states":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["value","label","count"]}},"naics":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["value","label","count"]}},"iso":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["value","label","count"]}},"federal":{"description":"Government-data filter counts (docs: sbir, screened, gsamas, fedramp, prime parameters).","type":"object","properties":{"sbir":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Companies with SBIR/STTR awards (SBIR.gov)."},"screened":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Companies screened with no Consolidated Screening List match."},"gsamas":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Companies with a GSA MAS contract per GSA CALC+."},"fedramp":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["value","label","count"]},"description":"Cumulative minimum FedRAMP Marketplace status counts (ready, in_process, authorized)."},"primes":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["value","label","count"]},"description":"Primes most often named in prime-reported sub-awards (value = legal name, usable as prime=)."}},"required":["sbir","screened","gsamas","fedramp","primes"]}},"required":["sectors","cmmc","sprs","fcl","vehicles","socio","states","naics","iso"]},"VehicleSummary":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"vehicleType":{"type":"string"},"vehicleTypeLabel":{"type":"string"},"managingAgency":{"type":"string"},"ceilingAmount":{"anyOf":[{"type":"string","description":"USD amount as a decimal string with two places, e.g. \"1250000.00\"."},{"type":"null"}]},"orderingPeriodEnd":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"holderCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"primeHolderCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"verifiedHolderCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","slug","name","vehicleType","vehicleTypeLabel","managingAgency","ceilingAmount","orderingPeriodEnd","holderCount","primeHolderCount","verifiedHolderCount"]},"Vehicle":{"allOf":[{"$ref":"#/components/schemas/VehicleSummary"},{"type":"object","properties":{"urls":{"type":"object","properties":{"page":{"type":"string","description":"Absolute URL."},"api":{"type":"string","description":"Absolute URL."}},"required":["page","api"]}},"required":["urls"]}]},"VehicleHolder":{"type":"object","properties":{"orgId":{"type":"string"},"uei":{"type":"string"},"cageCode":{"type":["string","null"]},"slug":{"type":"string"},"legalBusinessName":{"type":"string"},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"role":{"type":"string","enum":["prime","subcontractor","joint_venture","mentor_protege"]},"contractNumber":{"type":["string","null"]},"poolsOrSins":{"type":"array","items":{"type":"string"}},"verified":{"type":"boolean"},"tier":{"type":"string","enum":["unclaimed","claimed_free","verified_pro","enterprise_capture","prime_corporate"],"description":"Membership tier: unclaimed, claimed_free (Registered Entity), verified_pro, enterprise_capture."},"isClaimed":{"type":"boolean"},"cmmcShortLabel":{"type":"string"},"sprsHighestThreshold":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"fcl":{"oneOf":[{"type":"object","properties":{"visible":{"type":"boolean","const":false}},"required":["visible"]},{"type":"object","properties":{"visible":{"type":"boolean","const":true},"level":{"type":"string","enum":["none","confidential","secret","top_secret","ts_sci"]}},"required":["visible","level"]}],"description":"Facility clearance levels are returned only to keys of organizations on a paid plan (and for your own organization). Other keys get { \"visible\": false } for every company: TeamingIndex does not advertise clearances (NISPOM 32 CFR 117.9)."},"samStatus":{"type":"string","enum":["active","expiring","expired","inactive","unknown"]},"hasActiveExclusion":{"type":"boolean"},"socioEconomic":{"type":"array","items":{"type":"string","enum":["SB","SDB","8A","HUBZONE","WOSB","EDWOSB","VOSB","SDVOSB","ANC","TRIBAL"]}},"verifiedCredentials":{"type":"array","items":{"type":"string","enum":["cmmc","sprs","fcl","itar","iso","dcaa","fedramp"]}}},"required":["orgId","uei","cageCode","slug","legalBusinessName","city","state","role","contractNumber","poolsOrSins","verified","tier","isClaimed","cmmcShortLabel","sprsHighestThreshold","fcl","samStatus","hasActiveExclusion","socioEconomic","verifiedCredentials"]},"VehicleDetail":{"type":"object","properties":{"vehicle":{"$ref":"#/components/schemas/Vehicle"},"holders":{"type":"array","items":{"$ref":"#/components/schemas/VehicleHolder"},"description":"One row per holding: not excluded first, then prime, verified, tier weight, obligations."}},"required":["vehicle","holders"]},"NaicsCount":{"type":"object","properties":{"code":{"type":"string"},"title":{"type":["string","null"]},"sectorCode":{"type":["string","null"]},"sectorTitle":{"type":["string","null"]},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"primaryCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["code","title","sectorCode","sectorTitle","count","primaryCount"]},"NaicsDirectory":{"type":"object","properties":{"code":{"type":"string"},"title":{"type":["string","null"]},"sectorCode":{"type":["string","null"]},"sectorTitle":{"type":["string","null"]},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"page":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pageCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"contractors":{"type":"array","items":{"type":"object","properties":{"orgId":{"type":"string"},"uei":{"type":"string"},"cageCode":{"type":["string","null"]},"slug":{"type":"string"},"legalBusinessName":{"type":"string"},"dbaName":{"type":["string","null"]},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"isPrimary":{"type":"boolean"},"smallUnderCode":{"type":"boolean"},"tier":{"type":"string","enum":["unclaimed","claimed_free","verified_pro","enterprise_capture","prime_corporate"],"description":"Membership tier: unclaimed, claimed_free (Registered Entity), verified_pro, enterprise_capture."},"isClaimed":{"type":"boolean"},"total36mObligated":{"anyOf":[{"type":"string","description":"USD amount as a decimal string with two places, e.g. \"1250000.00\"."},{"type":"null"}]},"socioEconomic":{"type":"array","items":{"type":"string","enum":["SB","SDB","8A","HUBZONE","WOSB","EDWOSB","VOSB","SDVOSB","ANC","TRIBAL"]}},"cmmcShortLabel":{"type":"string"},"sprsHighestThreshold":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"fcl":{"oneOf":[{"type":"object","properties":{"visible":{"type":"boolean","const":false}},"required":["visible"]},{"type":"object","properties":{"visible":{"type":"boolean","const":true},"level":{"type":"string","enum":["none","confidential","secret","top_secret","ts_sci"]}},"required":["visible","level"]}],"description":"Facility clearance levels are returned only to keys of organizations on a paid plan (and for your own organization). Other keys get { \"visible\": false } for every company: TeamingIndex does not advertise clearances (NISPOM 32 CFR 117.9)."},"samStatus":{"type":"string","enum":["active","expiring","expired","inactive","unknown"]},"hasActiveExclusion":{"type":"boolean"},"verifiedCredentials":{"type":"array","items":{"type":"string","enum":["cmmc","sprs","fcl","itar","iso","dcaa","fedramp"]}}},"required":["orgId","uei","cageCode","slug","legalBusinessName","dbaName","city","state","isPrimary","smallUnderCode","tier","isClaimed","total36mObligated","socioEconomic","cmmcShortLabel","sprsHighestThreshold","fcl","samStatus","hasActiveExclusion","verifiedCredentials"]}},"smallCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"primaryCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"hiddenInactiveCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"relatedCodes":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"title":{"type":["string","null"]},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["code","title","count"]}}},"required":["code","title","sectorCode","sectorTitle","total","page","pageSize","pageCount","contractors","smallCount","primaryCount","hiddenInactiveCount","relatedCodes"]},"RecompeteRow":{"type":"object","properties":{"awardPiid":{"type":"string"},"parentAwardPiid":{"type":["string","null"]},"agency":{"type":"string"},"subAgency":{"type":["string","null"]},"fundingOffice":{"type":["string","null"]},"naicsCode":{"type":["string","null"]},"naicsTitle":{"type":["string","null"]},"pscCode":{"type":["string","null"]},"description":{"type":["string","null"]},"totalObligated":{"type":"string","description":"USD amount as a decimal string with two places, e.g. \"1250000.00\"."},"baseAndAllOptionsValue":{"anyOf":[{"type":"string","description":"USD amount as a decimal string with two places, e.g. \"1250000.00\"."},{"type":"null"}]},"periodOfPerformanceStart":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"potentialEnd":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"currentEnd":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"recompeteDate":{"type":"string","description":"Potential end (base + all options), else current end."},"monthsUntilEnd":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"window":{"type":"string","enum":["<6mo","6-12mo","12-18mo","18mo+"]},"optionsRemaining":{"type":"boolean"},"setAsideType":{"type":["string","null"]},"setAsideProgram":{"anyOf":[{"type":"string","enum":["SB","8A","HUBZONE","SDVOSB","VOSB","WOSB","EDWOSB","NONE","OTHER"]},{"type":"null"}]},"placeOfPerformanceState":{"type":["string","null"]},"incumbent":{"type":"object","properties":{"orgId":{"type":"string"},"uei":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"tier":{"type":"string","enum":["unclaimed","claimed_free","verified_pro","enterprise_capture","prime_corporate"],"description":"Membership tier: unclaimed, claimed_free (Registered Entity), verified_pro, enterprise_capture."},"isClaimed":{"type":"boolean"},"socioEconomic":{"type":"array","items":{"type":"string","enum":["SB","SDB","8A","HUBZONE","WOSB","EDWOSB","VOSB","SDVOSB","ANC","TRIBAL"]}},"samStatus":{"type":"string","enum":["active","expiring","expired","inactive","unknown"]},"hasActiveExclusion":{"type":"boolean"}},"required":["orgId","uei","slug","name","tier","isClaimed","socioEconomic","samStatus","hasActiveExclusion"]}},"required":["awardPiid","parentAwardPiid","agency","subAgency","fundingOffice","naicsCode","naicsTitle","pscCode","description","totalObligated","baseAndAllOptionsValue","periodOfPerformanceStart","potentialEnd","currentEnd","recompeteDate","monthsUntilEnd","window","optionsRemaining","setAsideType","setAsideProgram","placeOfPerformanceState","incumbent"]},"RecompeteAccess":{"type":"object","properties":{"mode":{"type":"string","enum":["full","single_naics","preview"]},"naics":{"description":"single_naics: the primary NAICS your plan tracks.","type":["string","null"]},"previewLimit":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}],"description":"preview: rows shown."}},"required":["mode","naics","previewLimit"],"description":"What your plan unlocks on the Recompete Radar."},"TeamingOpportunity":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"targetAgency":{"type":"string"},"targetSubAgency":{"type":["string","null"]},"requiredNaics":{"type":["string","null"]},"requiredNaicsTitle":{"type":["string","null"]},"seekingRoles":{"type":"array","items":{"type":"string","enum":["prime","subcontractor","joint_venture","mentor_protege"]}},"posterRole":{"type":"string","enum":["prime","subcontractor","joint_venture","mentor_protege"]},"responseDeadline":{"type":"string","description":"ISO date (YYYY-MM-DD)."},"daysUntilDeadline":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"postedAt":{"type":"string","description":"ISO-8601 timestamp."},"url":{"type":"string","description":"Board page for the post."},"details":{"anyOf":[{"type":"object","properties":{"solicitationNumber":{"type":["string","null"]},"samNoticeId":{"type":["string","null"]},"gapDescription":{"type":"string"},"worksharePercentageEstimate":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"ndaRequired":{"type":"boolean"},"requirements":{"type":"object","properties":{"cmmcLevel":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"requireThirdPartyCmmc":{"type":"boolean"},"minSprsScore":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}],"description":"The post's minimum SPRS requirement (a threshold, not anyone's score)."},"fcl":{"type":"string","enum":["none","confidential","secret","top_secret","ts_sci"]},"requireItar":{"type":"boolean"},"vehicles":{"type":"array","items":{"type":"string"}},"socioEconomic":{"type":"array","items":{"type":"string"}},"technicalTags":{"type":"array","items":{"type":"string"}},"placeOfPerformanceState":{"type":["string","null"]}},"required":["cmmcLevel","requireThirdPartyCmmc","minSprsScore","fcl","requireItar","vehicles","socioEconomic","technicalTags","placeOfPerformanceState"]},"postedBy":{"type":"object","properties":{"uei":{"type":"string"},"name":{"type":"string"},"profileUrl":{"type":"string","description":"Absolute URL."}},"required":["uei","name","profileUrl"]}},"required":["solicitationNumber","samNoticeId","gapDescription","worksharePercentageEstimate","ndaRequired","requirements","postedBy"]},{"type":"null"}],"description":"Full post. null when your plan shows titles only."}},"required":["id","title","targetAgency","targetSubAgency","requiredNaics","requiredNaicsTitle","seekingRoles","posterRole","responseDeadline","daysUntilDeadline","postedAt","url","details"]},"LiveRfp":{"type":"object","properties":{"noticeId":{"type":"string"},"title":{"type":"string"},"solicitationNumber":{"type":["string","null"]},"noticeType":{"type":["string","null"]},"agency":{"type":"object","properties":{"department":{"type":["string","null"]},"subTier":{"type":["string","null"]},"office":{"type":["string","null"]}},"required":["department","subTier","office"]},"postedDate":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"responseDeadline":{"anyOf":[{"type":"string","description":"ISO-8601 timestamp."},{"type":"null"}]},"daysUntilDeadline":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"archiveDate":{"anyOf":[{"type":"string","description":"ISO date (YYYY-MM-DD)."},{"type":"null"}]},"naicsCode":{"type":["string","null"]},"naicsTitle":{"type":["string","null"]},"pscCode":{"type":["string","null"]},"setAside":{"type":"object","properties":{"code":{"description":"Normalized socio-economic code (SB, 8A, HUBZONE, SDVOSB, WOSB, EDWOSB, VOSB); null = full and open.","type":["string","null"]},"samCode":{"type":["string","null"]},"description":{"type":["string","null"]}},"required":["code","samCode","description"]},"placeOfPerformance":{"type":"object","properties":{"city":{"type":["string","null"]},"state":{"type":["string","null"]}},"required":["city","state"]},"summary":{"description":"Plain-text excerpt of the notice description (up to 600 characters).","type":["string","null"]},"active":{"type":"boolean"},"lastSyncedAt":{"anyOf":[{"type":"string","description":"ISO-8601 timestamp."},{"type":"null"}]},"links":{"type":"object","properties":{"sam":{"anyOf":[{"type":"string","description":"Absolute URL."},{"type":"null"}]},"rfp":{"type":"string","description":"Absolute URL."},"createTeamingPost":{"type":"string","description":"Absolute URL."},"startBidTeam":{"type":"string","description":"Absolute URL."},"analyzeWithAi":{"type":"string","description":"Absolute URL."}},"required":["sam","rfp","createTeamingPost","startBidTeam","analyzeWithAi"]}},"required":["noticeId","title","solicitationNumber","noticeType","agency","postedDate","responseDeadline","daysUntilDeadline","archiveDate","naicsCode","naicsTitle","pscCode","setAside","placeOfPerformance","summary","active","lastSyncedAt","links"]},"Account":{"type":"object","properties":{"organization":{"type":"object","properties":{"uei":{"type":"string"},"name":{"type":"string"},"profileUrl":{"type":"string","description":"Absolute URL."}},"required":["uei","name","profileUrl"]},"plan":{"type":"object","properties":{"tier":{"type":"string","enum":["unclaimed","claimed_free","verified_pro","enterprise_capture","prime_corporate"],"description":"Membership tier: unclaimed, claimed_free (Registered Entity), verified_pro, enterprise_capture."},"label":{"type":"string"}},"required":["tier","label"]},"usage":{"type":"object","properties":{"period":{"type":"string","description":"UTC month, YYYY-MM."},"used":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"limit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"remaining":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"resetsAt":{"type":"string","description":"ISO-8601 timestamp."}},"required":["period","used","limit","remaining","resetsAt"]},"entitlements":{"type":"object","properties":{"csvExport":{"type":"boolean"},"recompeteMode":{"type":"string","enum":["preview","single_naics","full"]},"boardDetails":{"type":"boolean"},"aiCreditsPerMonth":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"byok":{"type":"boolean"}},"required":["csvExport","recompeteMode","boardDetails","aiCreditsPerMonth","byok"]}},"required":["organization","plan","usage","entitlements"]},"AiRunRequest":{"type":"object","properties":{"kind":{"type":"string","enum":["teaming_analysis","partner_shortlist","rfp_analysis","proposal_section","compliance_matrix","past_performance","recompete_brief","capability_narrative","pitch_draft"]},"opportunityId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"noticeId":{"type":"string","minLength":6,"maxLength":64},"awardPiid":{"type":"string","minLength":4,"maxLength":100},"workspaceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"targetUeis":{"maxItems":15,"type":"array","items":{"type":"string","pattern":"^[A-HJ-NP-Z0-9]{12}$"}},"section":{"type":"string","enum":["executive_summary","technical_approach","management_approach","staffing_plan","past_performance_volume","quality_control","transition_plan","small_business_participation"]},"sourceText":{"type":"string","maxLength":60000},"instructions":{"type":"string","maxLength":4000}},"required":["kind"]},"ComplianceMatrix":{"type":"object","properties":{"solicitation":{"type":["string","null"]},"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string","enum":["section_l","section_m","pws_sow","section_c","clause","other"]},"reference":{"type":"string"},"requirement":{"type":"string"},"requirementType":{"type":"string","enum":["shall","must","will","should","evaluation_factor","format","other"]},"proposalVolume":{"type":["string","null"]},"proposalSection":{"type":["string","null"]},"pageLimit":{"type":["string","null"]},"notes":{"type":["string","null"]}},"required":["id","source","reference","requirement","requirementType","proposalVolume","proposalSection","pageLimit","notes"]}},"evaluationFactors":{"type":"array","items":{"type":"object","properties":{"factor":{"type":"string"},"weight":{"type":["string","null"]},"notes":{"type":["string","null"]}},"required":["factor","weight","notes"]}},"formattingRules":{"type":"array","items":{"type":"string"}},"openQuestions":{"type":"array","items":{"type":"string"}}},"required":["solicitation","rows","evaluationFactors","formattingRules","openQuestions"]},"AiError":{"type":"object","description":"Error envelope of the AI analysis endpoint.","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"AI analyst error code (invalid_input, cui_detected, refused, quota_exceeded, provider_error...) or an API key error code."},"message":{"type":"string","description":"Plain-language explanation, safe to show to users (never a prompt, key or score)."}}}}},"AiReportDetail":{"type":"object","description":"A saved Intelligence Hub report. Outputs name only organizations from the platform data supplied to the model; verify facts before relying on them.","required":["id","kind","title","status","model","usedOwnKey","inputTokens","outputTokens","createdAt","completedAt","inputRefs","prompt","outputMarkdown","outputJson","errorMessage"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["teaming_analysis","partner_shortlist","rfp_analysis","proposal_section","compliance_matrix","past_performance","recompete_brief","capability_narrative","pitch_draft"]},"title":{"type":"string"},"status":{"type":"string","enum":["running","completed","failed"]},"model":{"type":["string","null"]},"usedOwnKey":{"type":"boolean","description":"Ran on your organization’s own Anthropic key (Enterprise BYOK)."},"inputTokens":{"type":"integer"},"outputTokens":{"type":"integer"},"createdAt":{"type":"string"},"completedAt":{"type":["string","null"]},"inputRefs":{"type":"object","description":"References to the inputs (ids, UEIs, notice ids, PIIDs), never raw private data."},"prompt":{"type":["string","null"]},"outputMarkdown":{"type":["string","null"]},"outputJson":{"anyOf":[{"$ref":"#/components/schemas/ComplianceMatrix"},{"type":"null"}],"description":"Structured result (compliance_matrix only)."},"errorMessage":{"type":["string","null"]}}}},"parameters":{"Page":{"name":"page","in":"query","required":false,"description":"1-based page number.","schema":{"type":"integer","minimum":1,"default":1}},"PageSize25":{"name":"pageSize","in":"query","required":false,"description":"Rows per page (max 100).","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},"Uei":{"name":"uei","in":"path","required":true,"description":"SAM.gov Unique Entity ID (12 characters, case-insensitive).","schema":{"type":"string","pattern":"^[A-Za-z0-9]{12}$"},"example":"TQ7M2KXR4LJ9"},"VehicleSlug":{"name":"slug","in":"path","required":true,"description":"Vehicle slug from GET /vehicles, e.g. oasis-plus, sewp-vi, cio-sp4.","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,99}$"},"example":"oasis-plus"},"NaicsCode":{"name":"code","in":"path","required":true,"description":"Six-digit NAICS code.","schema":{"type":"string","pattern":"^\\d{6}$"},"example":"541512"},"NoticeId":{"name":"noticeId","in":"path","required":true,"description":"SAM.gov notice ID.","schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,64}$"},"example":"a1b2c3d4e5f60718293a4b5c6d7e8f90"},"Q":{"name":"q","in":"query","required":false,"description":"Free text: company name, UEI, CAGE, NAICS, vehicle or capability keywords (max 200 characters).","schema":{"type":"string","maxLength":200},"example":"radar signal processing"},"Sector":{"name":"sector","in":"query","required":false,"description":"Mission sectors (any), derived from SAM.gov NAICS and PSC codes. Details per sector at /sectors. Comma-separated; repeating the parameter also works.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["cyber-c5isr-it","aerospace-autonomous","space-satcom","ai-deeptech-rd","manufacturing-maritime","seta-engineering","logistics-sustainment","milcon-infrastructure","medical-readiness"]},"maxItems":9},"example":["cyber-c5isr-it","space-satcom"]},"Cmmc":{"name":"cmmc","in":"query","required":false,"description":"Minimum CMMC 2.0 level. L2C3PAO = Level 2 assessed by a C3PAO (or DIBCAC).","schema":{"type":"string","enum":["L1","L2","L2C3PAO","L3"]},"example":"L2C3PAO"},"Sprs":{"name":"sprs","in":"query","required":false,"description":"Minimum blind SPRS bracket (\">= N\"). Filters on brackets; raw scores are never exposed.","schema":{"type":"integer","enum":[0,50,70,85,95,105,110]},"example":85},"Fcl":{"name":"fcl","in":"query","required":false,"description":"Minimum facility clearance. Paid plans only (NISPOM 32 CFR 117.9: levels are never public); ignored for other keys, with a notice in meta.","schema":{"type":"string","enum":["confidential","secret","top_secret","ts_sci"]},"example":"secret"},"Vehicle":{"name":"vehicle","in":"query","required":false,"description":"Vehicle slugs (any), optionally with a role suffix: oasis-plus.prime. Comma-separated; repeating the parameter also works.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,98}(\\.(prime|subcontractor|joint_venture|mentor_protege))?$"},"maxItems":10},"example":["oasis-plus.prime","sewp-vi"]},"Socio":{"name":"socio","in":"query","required":false,"description":"Socio-economic codes (any). Comma-separated; repeating the parameter also works.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["SB","SDB","8A","HUBZONE","WOSB","EDWOSB","VOSB","SDVOSB","ANC","TRIBAL"]},"maxItems":10},"example":["SDVOSB","8A"]},"Naics":{"name":"naics","in":"query","required":false,"description":"NAICS codes or 2-5 digit prefixes (any). Comma-separated; repeating the parameter also works.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","pattern":"^\\d{2,6}$"},"maxItems":20},"example":["541512","5415"]},"State":{"name":"state","in":"query","required":false,"description":"Two-letter USPS state of the physical address.","schema":{"type":"string","pattern":"^[A-Za-z]{2}$"},"example":"VA"},"Itar":{"name":"itar","in":"query","required":false,"description":"Require an ITAR (DDTC) registration.","schema":{"type":"string","enum":["1","0","true","false"]}},"Ear":{"name":"ear","in":"query","required":false,"description":"Require EAR compliance.","schema":{"type":"string","enum":["1","0","true","false"]}},"Scif":{"name":"scif","in":"query","required":false,"description":"Require a SCIF. Paid plans only; ignored for other keys, with a notice in meta.","schema":{"type":"string","enum":["1","0","true","false"]}},"Claimed":{"name":"claimed","in":"query","required":false,"description":"Only profiles claimed by the contractor.","schema":{"type":"string","enum":["1","0","true","false"]}},"Verified":{"name":"verified","in":"query","required":false,"description":"Every active compliance filter must be met by a credential verified by TeamingIndex (not a self-attestation).","schema":{"type":"string","enum":["1","0","true","false"]}},"SmallFor":{"name":"smallfor","in":"query","required":false,"description":"Only entities SAM.gov reports as small under this six-digit NAICS.","schema":{"type":"string","pattern":"^\\d{6}$"},"example":"541512"},"Inactive":{"name":"inactive","in":"query","required":false,"description":"Also include expired/inactive SAM registrations and entities with an active exclusion (hidden by default; FAR 9.4).","schema":{"type":"string","enum":["1","0","true","false"]}},"Iso":{"name":"iso","in":"query","required":false,"description":"ISO/AS certifications (all required). Comma-separated; repeating the parameter also works.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["AS9100D","ISO 9001:2015","ISO/IEC 27001:2022","ISO 14001:2015","ISO/IEC 20000-1","AS9110","AS9120","CMMI-DEV ML3","CMMI-SVC ML3"]},"maxItems":10},"example":["AS9100D"]},"Accepting":{"name":"accepting","in":"query","required":false,"description":"Teaming availability: sub = accepting subcontracts, prime_jv = open to prime/JV roles.","schema":{"type":"string","enum":["sub","prime_jv"]}},"Sort":{"name":"sort","in":"query","required":false,"description":"Result order.","schema":{"type":"string","enum":["relevance","obligated","name","recent"],"default":"relevance"}},"DirectoryPage":{"name":"page","in":"query","required":false,"description":"1-based page (20 results per page, max page 500).","schema":{"type":"integer","minimum":1,"maximum":500,"default":1}},"Facets":{"name":"facets","in":"query","required":false,"description":"Include facet counts (cmmc, sprs, fcl, vehicles, socio, states, naics, iso, plus federal: sbir, screened, gsamas, fedramp, primes) in meta.facets.","schema":{"type":"string","enum":["1","0","true","false"]}}},"headers":{"X-RateLimit-Limit":{"description":"Monthly query quota of your organization.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Queries left this month after this request.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the quota resets (start of next UTC month).","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}},"X-Request-Id":{"description":"Unique id of this request (quote it to support).","schema":{"type":"string"}}},"responses":{"BadRequest":{"description":"A parameter is invalid; `details` lists each problem. Codes: invalid_request.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unauthorized":{"description":"Missing, invalid or revoked API key. Codes: missing_api_key, invalid_api_key, revoked_api_key.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"WWW-Authenticate":{"description":"Bearer realm=\"TeamingIndex API\"","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Forbidden":{"description":"The plan does not include this. Codes: api_access_not_included, plan_upgrade_required.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"No such resource. Codes: not_found.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"TooManyRequests":{"description":"Burst limit or monthly quota reached. Codes: rate_limited, quota_exceeded.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"InternalError":{"description":"Unexpected server error. Retry with backoff. Codes: internal_error.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"ServiceUnavailable":{"description":"Temporarily switched off or under maintenance. Codes: feature_disabled, maintenance.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}