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

# Pages

> Retrieve a list of all CMS pages including their metadata, status, and publication dates.



## OpenAPI

````yaml api-reference/openapi.json get /cms/pages
openapi: 3.0.0
info:
  title: Marzipan API
  version: 1.0.0
servers:
  - url: https://api.marzipan.co/v1
security:
  - tenantAuth: []
tags:
  - name: Account
    description: >-
      Account management endpoints including registration, login, and user
      details
  - name: Carts
    description: Shopping cart management endpoints
  - name: Products
    description: Product catalog and search endpoints
  - name: Subscriptions
    description: Subscription management and renewal endpoints
  - name: CMS
    description: Content management system endpoints
  - name: Messaging
    description: Message and communication endpoints
  - name: Search
    description: Search functionality endpoints
paths:
  /cms/pages:
    parameters: []
    get:
      tags:
        - CMS
      summary: Pages
      description: >-
        Retrieve a list of all CMS pages including their metadata, status, and
        publication dates.
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CmsPage'
              example:
                data:
                  - slug: about-us
                    name: About Us
                    metaTitle: About Our Wine Collection
                    metaDescription: >-
                      Learn about our carefully curated wine selection and
                      subscription services
                    status: published
                    createdAt: '2024-01-15T10:30:00.000000Z'
                    updatedAt: '2024-02-01T14:20:00.000000Z'
                    publishedAt: '2024-01-15T10:30:00.000000Z'
                  - slug: wine-guide
                    name: Wine Guide
                    metaTitle: Complete Wine Tasting Guide
                    metaDescription: >-
                      Your comprehensive guide to wine tasting, pairing, and
                      appreciation
                    status: published
                    createdAt: '2024-01-20T09:00:00.000000Z'
                    updatedAt: '2024-01-25T16:45:00.000000Z'
                    publishedAt: '2024-01-20T09:00:00.000000Z'
components:
  schemas:
    CmsPage:
      type: object
      properties:
        slug:
          type: string
          description: URL-friendly page identifier
        name:
          type: string
          description: Page title/name
        meta_title:
          type: string
          description: SEO meta title
        meta_description:
          type: string
          description: SEO meta description
        status:
          type: string
          enum:
            - published
            - draft
          description: Page publication status
        created_at:
          type: string
          format: date-time
          description: Creation timestamp
        updated_at:
          type: string
          format: date-time
          description: Last update timestamp
        published_at:
          type: string
          format: date-time
          nullable: true
          description: Publication timestamp
  securitySchemes:
    tenantAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your API token.
      bearerFormat: JWT

````