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_formatters API

The document_formatters API from CoreStory — 8 operation(s) for document_formatters.

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

The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

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

Requests are made against a single base URL, /.

8 operations 8 paths 10 schemas 4 GET4 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_formatters 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 8

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

document_formatters 8
GET
/api/format/available-sections/{doc_type}
Get available sections for a document type
get_available_document_sections 1 param → 200default500
POST
/api/format/table-of-contents
Format Table Of Contents
generate_table_of_contents body → 200default500
GET
/api/format/markdown-output/{project_id}/{doc_type}
Retrieve and format stored document as markdown
export_document_markdown 13 params → 200default500
POST
/api/format/pdf-output
Export document as PDF from markdown input
export_pdf_from_markdown 1 param body → 200default500
POST
/api/format/document-async/{project_id}/{doc_type}
Initiate async PDF generation
start_async_pdf_generation 13 params → 202default500
GET
/api/format/pdf-stream/{job_id}
Stream PDF generation progress via SSE
stream_pdf_generation_progress 1 param → 200default500
GET
/api/format/pdf-output-result/{job_id}
Download completed PDF
download_pdf_result 1 param → 200default500
POST
/api/format/docx-output
Export document as Word (.docx) from markdown input
export_docx_from_markdown 1 param body → 200default500

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are PDFAsyncResponse (5 properties), ErrorBody (3 properties), PDFOutputRequest (2 properties), DocumentFormatResponse (2 properties). Each schema is shown below with its type and property counts.

PDFAsyncResponse
object
Response for async PDF generation initiation.
5 properties 4 required
DocumentFormatResponse
object
Response model for document formatting.
2 properties 2 required
TableOfContentsRequest
object
Request model for table of contents generation.
1 property 1 required
AllPRDStepsDashedEnum
string
All PRD steps with dashed values.
PDFOutputRequest
object
Request model for PDF output from markdown input.
2 properties 1 required
app__models__enums__DocumentType
string
Enum for document types.
ErrorBody
object
3 properties 2 required
ErrorSchema
object
1 property 1 required
PDFJobStatus
string
Status of a PDF generation job.
DocxOutputRequest
object
Request model for Word document (.docx) output from markdown input.
2 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

corestory-document-formatters-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_generation API
Where this information came from

This is an independent, third-party profile of CoreStory document_formatters 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.