How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

CoreStory document_generation API

The document_generation API from CoreStory — 6 operation(s) for document_generation.

CoreStory document_generation API is one of 47 APIs that CoreStory publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Document Generation. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

This API exposes 6 operations across 6 paths, and defines 16 schemas. It is described by OpenAPI 3.2.0, at version 1.26.2.

Requests are made against a single base URL, /.

6 operations 6 paths 16 schemas 3 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.26.2
Base URL
https://c2s.corestory.ai
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

CoreStory document_generation API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (BearerAuth). By default, every request must be authenticated.

  • BearerAuth — Enter the Bearer token from Clerk authentication

Paths & Operations 6

Across 6 paths, the API surfaces 6 operations — 3 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

document_generation 6
POST
/api/projects/{project_id}/documents/generate
Generate a dynamic document from section definitions
generate_dynamic_document 2 params body → 200default500404422
POST
/api/projects/{project_id}/documents/generate/preset
Generate a document from preset section definitions
generate_preset_document 2 params body → 200default500404422
GET
/api/projects/{project_id}/documents
List generated documents
list_generated_documents 1 param → 200default500
GET
/api/projects/{project_id}/documents/{document_id}
Retrieve a generated document
get_generated_document 2 params → 200default500
GET
/api/projects/{project_id}/documents/{document_id}/download
Download generated document as markdown
download_generated_document 2 params → 200default500
POST
/api/projects/{project_id}/documents/{document_id}/sections/{section_name}/regenerate
Regenerate a single section of an existing document
regenerate_document_section 4 params body → 200default500404422

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are SectionDefinition (13 properties), DocumentOptions (10 properties), TemplateStyle (9 properties), DocumentMetadata (9 properties). Each schema is shown below with its type and property counts.

GeneratedSection
object
A generated section of the document.
6 properties 3 required
QueryItem
object
A research query.
1 property 1 required
DocumentType-Output
string
Known document types with specialized handling.
DocumentOptions
object
Options for document generation.
10 properties
DocumentMetadata
object
Metadata about the generated document.
9 properties 2 required
DocumentGenerationRequest
object
Request to generate a dynamic document. Provide sectiondefinitions for full control over document structure, along with optional style, title, and instructions…
9 properties 1 required
DocumentEvent
object
Event emitted during document generation.
9 properties 2 required
DocumentMetadataSummary
object
Summary metadata for listing documents.
6 properties 6 required
PresetDocumentRequest
object
Request to generate a document using preset section definitions. Section definitions are resolved from the SectionDefinitionRegistry based on documenttype. Sup…
7 properties 1 required
TemplateStyle
object
Writing style characteristics extracted from template.
9 properties
SectionRegenerationRequest
object
Request body for regenerating a single section of an existing document.
2 properties
app__documents__schemas__DocumentType
string
Known document types with specialized handling.
ErrorBody
object
3 properties 2 required
ErrorSchema
object
1 property 1 required
GeneratedDocument
object
Complete generated document.
7 properties 4 required
SectionDefinition
object
Complete section definition for document generation. Combines section identity (name, level) with generation configuration (queries, dependson, etc.) in a sing…
13 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

corestory-document-generation-api-openapi.yml Raw ↑

Other APIs CoreStory publishes across the network.

CoreStory admin API
CoreStory api_debugging API
CoreStory api_key_management API
CoreStory artifacts API
CoreStory billing API
CoreStory cache API
CoreStory ciu API
CoreStory clerk_authentication API
CoreStory context API
CoreStory conversations API
CoreStory discovery API
CoreStory document_formatters API
Where this information came from

This is an independent, third-party profile of CoreStory document_generation API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.