Skip to content
OvertCMS Docs

Admin API (Dashboard & Team) System & Portability

Export site as secret-free NDJSON archive

GET /admin-api/v1/sites/{siteSlug}/export

Requires site:manage capability. Streams a portable overtcms-ndjson archive containing site settings, components, post types, media metadata, entries, and 301 redirects. Secrets, users, and API keys are never exported.

Authentication

Public. No credentials are needed.

Path parameters

  • siteSlug string required

Responses

  • 200 NDJSON archive stream.

    application/x-ndjson

    • string
  • 403 Error response.

    application/json

    • error APIError required
      Canonical error payload returned across all OvertCMS planes.
      Show 6 fields
      • applied boolean required
        Always false on 4xx responses, guaranteeing the mutation was not applied.

        Example false

      • code string required

        Example validation_error

      • details object
      • issues array of ValidationIssue
        Show 7 fields
        • code string required

          Example max_length

        • constraint object
        • field string

          Example seoTitle

        • instruction string

          Example Keep SEO titles under 60 characters for search snippet display.

        • label string

          Example SEO Title

        • message string required

          Example field must be at most 60 graphemes

        • searchEndpoint string

          Example /agent/v1/collections/posts/fields/author/options

      • message string required

        Example entry validation failed

      • retryable boolean required

        Example false

Documentation

Start here