Skip to main content
Glama

export_content

Export content items from LightCMS as structured JSON for batch processing, transformation, or backup. Filter by template, category, or specific fields to extract targeted data.

Instructions

Export content items with their full field data as a structured JSON array.

Use for batch transformations: export → transform externally → re-import via bulk_update_content.

Scope filters (all optional):

  • template_name: most useful for bulk workflows, e.g. "Concept Page" or "Blog Post"

  • category, folder_path, content_ids: narrower scoping options

Use fields: ["field1", "field2"] to include only specific data fields instead of all fields.

Returns: total count and array of items with id, title, slug, full_path, template_name, published, and data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoFilter by category
content_idsNoExport only these specific IDs
fieldsNoOnly include these field names (empty = all fields)
folder_pathNoFilter by folder path prefix
template_nameNoFilter by template name

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jonradoff/lightcms'

If you have feedback or need assistance with the MCP directory API, please join our Discord server