Skip to main content
GET
/
api
/
v1
/
documents
/
{document_slug}
Get a document
curl --request GET \
  --url https://sacra.com/api/v1/documents/{document_slug}/ \
  --header 'Authorization: <api-key>'
{ "type": "company", "slug": "cursor", "title": "Cursor", "last_publication_date": "2025-02-04T00:00:00-04:56", "metadata": { "total_sections": 6, "reading_time": 7, "has_images": true, "total_elements": 53 }, "preview": { "title": "Cursor", "image": "https://images.prismic.io/sacra/Z0Sul68jQArT1Sb7_cursorlogo.png?auto=format,compress", "description": "Cursor is an AI-powered code editor that helps developers write, edit, and automate coding tasks with built-in AI assistance." }, "pdf_url": "https://sacra-pdfs.s3.us-east-2.amazonaws.com/cursor.pdf", "web_url": "https://sacra.com/c/cursor/", "content": { "sections": [ { "id": "revenue", "type": "section", "title": "Revenue", "level": 1, "elements": [ { "text": "Revenue", "type": "heading2", "spans": [] }, { "id": "Z6LHi5bqstJ9-O2A", "type": "image", "url": "https://images.prismic.io/sacra/Z6LHi5bqstJ9-O2A_cursorRevenue.png?auto=format,compress", "dimensions": { "width": 840, "height": 856 }, "srcset": { "small": "https://images.prismic.io/sacra/Z6LHi5bqstJ9-O2A_cursorRevenue.png?auto=format,compress&w=400", "medium": "https://images.prismic.io/sacra/Z6LHi5bqstJ9-O2A_cursorRevenue.png?auto=format,compress&w=800", "large": "https://images.prismic.io/sacra/Z6LHi5bqstJ9-O2A_cursorRevenue.png?auto=format,compress&w=1200", "original": "https://images.prismic.io/sacra/Z6LHi5bqstJ9-O2A_cursorRevenue.png?auto=format,compress" }, "caption": "Image for Revenue" }, { "text": "Sacra estimates that Cursor hit $100M in annual recurring revenue (ARR) at the end of 2024, up 9,900% YoY from $1M in 2023.", "type": "paragraph", "spans": [] } ], "prev_section": null, "next_section": "product" } ], "table_of_contents": [ { "id": "revenue", "title": "Revenue", "level": 1, "subsections": [] }, { "id": "product", "title": "Product", "level": 1, "subsections": [] }, { "id": "competition", "title": "Competition", "level": 1, "subsections": [ { "id": "github-microsoft-bundlenomics", "title": "GitHub + Microsoft bundlenomics", "level": 2 }, { "id": "shift-from-tools-to-agents", "title": "Shift from tools to agents", "level": 2 } ] } ] } }

Documentation Index

Fetch the complete documentation index at: https://docs.sacra.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authenticate using one of two formats:

  • Organization/user token: Token <your-token>
  • Stytch JWT: Bearer <your-jwt>

Path Parameters

document_slug
string
required

URL-friendly document slug (lowercase, hyphen-separated). e.g. cursor, kraken-at-1-5b-up-128-yoy.

Response

type
string
required

One of market, company, interview.

slug
string
required
title
string
required
last_publication_date
string
required
metadata
object
required
preview
object
required
pdf_url
string | null
required
web_url
string | null
required
content
object
required