Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/corestory:corestory-system-overview-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Crowdbotics API Documentation System Overview API
description: '# CoreStory API Overview
The CoreStory API provides programmatic access to structured insights derived from software source code. It is designed for engineering, architecture, and product teams who need to extract business logic, technical specifications, architectural relationships, and system-level context from complex or legacy codebases. By interfacing directly with CoreStory API, users can:
- Generate full Product Requirements Documents (PRDs) from a codebase
- Extract detailed Technical Specifications for modernization or migration
- Query a codebase using natural language to surface implementation details, logic paths, dependencies, and architectural insights
- Construct and visualize knowledge graphs of systems, components, and relationships
- Ingest, store, and retrieve content from a vector store for AI-powered retrieval-augmented generation (RAG) workflows
CoreStory is especially valuable in contexts where:
- Codebases are large, unstructured, or under-documented
- Product and engineering teams are onboarding to unfamiliar systems
- Technical stakeholders require visibility into system design or feature coverage
- Modernization, replatforming, or M&A due diligence is underway
The API can be integrated into existing CI/CD pipelines, internal developer portals, architecture review boards, product planning processes, or documentation automation workflows. All endpoints support secure authentication and are designed for high-availability, asynchronous workloads. Output formats include JSON, Markdown, and PDF, with flexible formatting options for downstream consumption. For step-by-step usage instructions and workflows, refer to the CoreStory API Quick Start Guide. ## Features
* **Document Generation**
* Generate complete Product Requirements Documents (PRD)
* Generate Technical Specifications
* Generate individual document sections (executive overview, user personas, etc.)
* Format documents in JSON or Markdown
* **Vector Store Management**
* Ingest and manage documents in vector store
* Query and retrieve document content
* Manage document embeddings
* **Context Management**
* Manage context for different document types
* Set and retrieve PRD context
* Support for future context types (technical specs, user stories, etc.)
* **Knowledge Graph**
* Generate knowledge graphs from codebase queries
* Visualize relationships between code entities
* Analyze code structure and dependencies
* **API Endpoints**
* `/api/documents/*` - Document generation and formatting
* `/api/generate/*` - Document formatting utilities
* `/api/vector-store/*` - Vector store management
* `/api/agents/*` - AI agent operations
* `/api/context/*` - Context management for documents
* `/api/graph/*` - Knowledge graph generation and analysis
Note: JWT authentication support coming soon. All endpoints currently provide detailed OpenAPI documentation. * **Observability**
* OpenTelemetry instrumentation for distributed tracing
* Prometheus metrics endpoint at `/metrics`
* Comprehensive request/response tracking
* Custom business metrics
# CoreStory System Architecture
This document provides a high-level overview of how the CoreStory platform ingests, analyzes, and serves structured software intelligence through its API. The system is designed to process codebases and related technical artifacts in order to generate product specifications, technical documents, and knowledge graph representations. ---
## Core Components
### 1. **Ingestion Layer**
- Accepts Git URLs, file uploads, or local archives
- Extracts source files, documentation, and metadata
- Initiates chunking and embedding via the vector store pipeline
### 2. **Vector Store and Context Engine**
- Stores chunked and embedded documents
- Supports semantic search and document retrieval
- Feeds LLMs with scoped context for generation and reasoning
### 3.'
version: 1.33.0
servers:
- url: /
description: Current server
security:
- BearerAuth: []
tags:
- name: system_overview
paths:
/api/projects/{project_id}/system-overview:
get:
tags:
- system_overview
summary: Get System Intelligence Overview for a project
description: Returns the complete System Intelligence Overview including architecture classification, tech stack, code quality, and metadata. Returns 202 if analysis is still in progress.
operationId: get_system_overview
parameters:
- name: project_id
in: path
required: true
schema:
type: integer
title: Project Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/SystemOverviewResponse'
default:
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorSchema'
'202':
description: Analysis is still in progress
content:
application/json:
schema:
$ref: '#/components/schemas/SystemOverviewProcessingResponse'
/api/projects/{project_id}/system-overview/regenerate/estimate:
get:
tags:
- system_overview
summary: Estimate CIU cost for SIO regeneration
operationId: estimate_sio_regeneration
parameters:
- name: project_id
in: path
required: true
schema:
type: integer
title: Project Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/RegenerationEstimateResponse'
default:
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorSchema'
/api/projects/{project_id}/system-overview/regenerate:
post:
tags:
- system_overview
summary: Trigger SIO regeneration
description: Re-runs the SIO analysis pipeline. Deducts CIUs from the organization's balance.
operationId: regenerate_system_overview
parameters:
- name: project_id
in: path
required: true
schema:
type: integer
title: Project Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/RegenerationTriggerResponse'
default:
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorSchema'
components:
schemas:
ErrorBody:
properties:
message:
type: string
title: Message
type:
type: string
title: Type
details:
additionalProperties: true
type: object
title: Details
description: Optional extra context for the error.
code:
anyOf:
- type: string
- type: 'null'
title: Code
description: Stable machine-readable code for clients that branch on the specific failure.
required_organization:
anyOf:
- $ref: '#/components/schemas/RequiredOrganization'
- type: 'null'
description: Set when the caller can retry after switching organization context.
type: object
required:
- message
- type
title: ErrorBody
ArchitectureAlternative:
properties:
pattern_id:
type: string
title: Pattern Id
label:
type: string
title: Label
score:
type: number
title: Score
tier:
type: string
title: Tier
type: object
required:
- pattern_id
- label
- score
- tier
title: ArchitectureAlternative
CodeQualityOverview:
properties:
indicators:
additionalProperties: true
type: object
title: Indicators
additionalProperties: true
type: object
title: CodeQualityOverview
description: Thin wrapper over code_quality_indicators from code_analysis.
TechStackOverview:
properties:
primary_language:
anyOf:
- type: string
- type: 'null'
title: Primary Language
additional_languages:
items:
type: string
type: array
title: Additional Languages
frameworks:
additionalProperties:
items:
additionalProperties: true
type: object
type: array
type: object
title: Frameworks
description: 'Keyed by bucket: frontend, backend, state, styling, build'
infrastructure:
additionalProperties:
items:
additionalProperties: true
type: object
type: array
type: object
title: Infrastructure
description: 'Keyed by category: containerization, ci_cd, iac, cloud_sdks'
dependencies_count:
type: integer
title: Dependencies Count
description: Total number of manifest + inferred dependencies
default: 0
type: object
title: TechStackOverview
description: Reshaped view of language_breakdown + framework_tech_stack + infrastructure + dependencies.
SystemOverviewResponse:
properties:
architecture:
anyOf:
- $ref: '#/components/schemas/ArchitectureOverview'
- type: 'null'
tech_stack:
anyOf:
- $ref: '#/components/schemas/TechStackOverview'
- type: 'null'
code_quality:
anyOf:
- $ref: '#/components/schemas/CodeQualityOverview'
- type: 'null'
health_signals:
anyOf:
- {}
- type: 'null'
title: Health Signals
description: Not yet implemented
security:
anyOf:
- {}
- type: 'null'
title: Security
description: Not yet implemented
suggested_actions:
anyOf:
- items:
$ref: '#/components/schemas/SuggestedAction'
type: array
- type: 'null'
title: Suggested Actions
description: Actionable items derived from the analysis (security findings in V1); null when unavailable.
metadata:
$ref: '#/components/schemas/SIOMetadata'
additionalProperties: false
type: object
required:
- metadata
title: SystemOverviewResponse
description: Complete SIO payload returned when analysis is available.
ArchitectureExplanation:
properties:
summary:
anyOf:
- type: string
- type: 'null'
title: Summary
detected_signals:
items:
type: string
type: array
title: Detected Signals
key_drivers:
items:
type: string
type: array
title: Key Drivers
alternative_interpretation:
anyOf:
- $ref: '#/components/schemas/ArchitectureAlternative'
- type: 'null'
confidence_alignment:
anyOf:
- type: string
- type: 'null'
title: Confidence Alignment
type: object
title: ArchitectureExplanation
ArchitectureOverview:
properties:
pattern_id:
type: string
title: Pattern Id
label:
type: string
title: Label
score:
type: number
title: Score
tier:
type: string
title: Tier
explanation:
anyOf:
- $ref: '#/components/schemas/ArchitectureExplanation'
- type: 'null'
low_confidence_guidance:
anyOf:
- type: string
- type: 'null'
title: Low Confidence Guidance
type: object
required:
- pattern_id
- label
- score
- tier
title: ArchitectureOverview
SystemOverviewProcessingResponse:
properties:
status:
type: string
const: processing
title: Status
default: processing
message:
type: string
title: Message
default: Analysis is still in progress
type: object
title: SystemOverviewProcessingResponse
description: Returned with HTTP 202 when the analysis pipeline is still running.
RequiredOrganization:
properties:
id:
type: string
title: Id
description: Clerk organization id the client should switch to.
name:
type: string
title: Name
description: Display name of that organization.
type: object
required:
- id
- name
title: RequiredOrganization
description: The organization a caller must be acting under before a denied request can succeed.
SIOMetadata:
properties:
generated_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Generated At
snapshot_fingerprint:
anyOf:
- type: string
- type: 'null'
title: Snapshot Fingerprint
description: Commit SHA of the ingested codebase version
is_stale:
type: boolean
title: Is Stale
default: false
schema_version:
type: string
title: Schema Version
default: '1.1'
type: object
title: SIOMetadata
SuggestedAction:
properties:
action_id:
type: string
title: Action Id
description: Project-scoped id; deterministic for identical finding content.
title:
type: string
title: Title
description:
type: string
title: Description
expected_impact:
type: string
title: Expected Impact
description: What happens if the action is left unaddressed.
severity:
$ref: '#/components/schemas/ActionSeverity'
description: Maps to the created issue's priority.
category:
type: string
title: Category
description: Source signal category; 'security' in V1.
default: security
source_sio_url:
type: string
title: Source Sio Url
description: Deep link back to the SIO the action came from.
type: object
required:
- action_id
- title
- description
- expected_impact
- severity
- source_sio_url
title: SuggestedAction
description: 'An actionable item derived from the SIO analysis, dispatchable to a tracker.
``action_id`` is a project-scoped, deterministic hash over the underlying finding, so
identical finding content always yields the same id. It is only as stable as the
finding text: the text is LLM-generated, so a reworded finding produces a new id.'
RegenerationTriggerResponse:
properties:
status:
type: string
const: started
title: Status
default: started
message:
type: string
title: Message
default: System Intelligence Overview regeneration has been started
estimated_cost:
type: number
title: Estimated Cost
description: CIU cost deducted for this regeneration
job_id:
type: string
title: Job Id
description: SOTJ job id tracking
type: object
required:
- estimated_cost
- job_id
title: RegenerationTriggerResponse
description: Returned when regeneration is successfully triggered.
ErrorSchema:
properties:
error:
$ref: '#/components/schemas/ErrorBody'
type: object
required:
- error
title: ErrorSchema
ActionSeverity:
type: string
enum:
- critical
- warning
- info
title: ActionSeverity
description: 'Severity of an SIO suggested action; maps to the dispatched issue''s priority.
Single source for the action-severity vocabulary: the dispatch layer
(``app/sio_actions``) imports this rather than redefining it.'
RegenerationEstimateResponse:
properties:
estimated_cost:
type: number
title: Estimated Cost
description: CIU cost for regeneration
available_balance:
type: number
title: Available Balance
description: Organization's current available CIUs
can_regenerate:
type: boolean
title: Can Regenerate
description: Whether the organization has enough CIUs
type: object
required:
- estimated_cost
- available_balance
- can_regenerate
title: RegenerationEstimateResponse
description: CIU cost estimate for SIO regeneration.
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Enter the Bearer token from Clerk authentication
x-tagGroups:
- name: Ingest Your Codebase
tags:
- vector_store
- projects
- pre_ingestion
- reingestion
- name: Generate Code Intelligence
tags:
- documents
- document_generation
- document_formatters
- prd
- prd_version
- tech_spec
- quality_metrics
- sample_projects
- name: Query Your Codebase
tags:
- conversations
- workflows
- discovery
- context
- artifacts
- name: Manage and Inspect Intelligence
tags:
- api_debugging
- events
- version
- files
- cache
- token_tracking
- name: Authenticate and Manage Access
tags:
- clerk_authentication
- git_webhooks
- github_integration
- organizations
- api_key_management
- mcp_token_management
- user
- name: (Advanced) Prompt Tuning
tags:
- prompts
- name: MCP Protocol
tags:
- mcp_protocol
- name: Administration
tags:
- admin
x-provenance:
method: harvested
publisher: CoreStory
source: https://c2s.corestory.ai/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)