> ## Documentation Index
> Fetch the complete documentation index at: https://lightsage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Content Endpoint

> Retrieve a content record (title, markdown body, slug, status).



## OpenAPI

````yaml /openapi.json get /v1/content/{content_id}
openapi: 3.1.0
info:
  title: Lightsage Public API
  description: Public API for Lightsage CLI and external integrations.
  version: 1.0.0
servers:
  - url: https://api.lightsage.com
    description: Production
security: []
paths:
  /v1/content/{content_id}:
    get:
      tags:
        - Content
      summary: Get Content Endpoint
      description: Retrieve a content record (title, markdown body, slug, status).
      operationId: content_get
      parameters:
        - name: content_id
          in: path
          required: true
          schema:
            type: string
            title: Content Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicContent'
        '404':
          description: Content (or the organization) was not found for this API key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                required:
                  - detail
              examples:
                not_found:
                  summary: Content not found
                  value:
                    detail: Content not found.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - LightsageApiKeyAuth: []
components:
  schemas:
    PublicContent:
      properties:
        id:
          type: string
          title: Id
        title:
          type: string
          title: Title
        text:
          type: string
          title: Text
        slug:
          type: string
          title: Slug
        status:
          type: string
          title: Status
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
      type: object
      required:
        - id
        - title
        - text
        - slug
        - status
      title: PublicContent
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    LightsageApiKeyAuth:
      type: apiKey
      in: header
      name: X-Lightsage-Api-Key

````