KosmoKrator

productivity

Ghost CMS CLI for AI Agents

Use the Ghost CMS CLI from KosmoKrator to call Ghost CMS tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Ghost CMS CLI Setup

Ghost CMS can be configured headlessly with `kosmokrator integrations:configure ghost`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure ghost --set api_key="$GHOST_API_KEY" --set url="$GHOST_URL" --enable --read allow --write ask --json
kosmokrator integrations:doctor ghost --json
kosmokrator integrations:status --json

Credentials

Authentication type: API key api_key. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

KeyEnv varTypeRequiredLabel
api_key GHOST_API_KEY Secret secret yes Admin API Key
url GHOST_URL URL url yes Admin API Base URL

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call ghost.ghost_api_delete '{"path":"example_path","query":"example_query"}' --json
Provider shortcut
kosmo integrations:ghost ghost_api_delete '{"path":"example_path","query":"example_query"}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs ghost --json
kosmo integrations:docs ghost.ghost_api_delete --json
kosmo integrations:schema ghost.ghost_api_delete --json
kosmo integrations:search "Ghost CMS" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

ghost.ghost_api_delete

Call a safe relative Ghost Admin API path with DELETE.

Read read
Parameters
path, query
Generic call
kosmo integrations:call ghost.ghost_api_delete '{"path":"example_path","query":"example_query"}' --json
Shortcut
kosmo integrations:ghost ghost_api_delete '{"path":"example_path","query":"example_query"}' --json

ghost.ghost_api_get

Call a safe relative Ghost Admin API path with GET.

Read read
Parameters
path, query
Generic call
kosmo integrations:call ghost.ghost_api_get '{"path":"example_path","query":"example_query"}' --json
Shortcut
kosmo integrations:ghost ghost_api_get '{"path":"example_path","query":"example_query"}' --json

ghost.ghost_api_post

Call a safe relative Ghost Admin API path with POST.

Read read
Parameters
path, payload, query
Generic call
kosmo integrations:call ghost.ghost_api_post '{"path":"example_path","payload":"example_payload","query":"example_query"}' --json
Shortcut
kosmo integrations:ghost ghost_api_post '{"path":"example_path","payload":"example_payload","query":"example_query"}' --json

ghost.ghost_api_put

Call a safe relative Ghost Admin API path with PUT.

Read read
Parameters
path, payload, query
Generic call
kosmo integrations:call ghost.ghost_api_put '{"path":"example_path","payload":"example_payload","query":"example_query"}' --json
Shortcut
kosmo integrations:ghost ghost_api_put '{"path":"example_path","payload":"example_payload","query":"example_query"}' --json

ghost.ghost_create_member

Create a Ghost member.

Write write
Parameters
member
Generic call
kosmo integrations:call ghost.ghost_create_member '{"member":"example_member"}' --json
Shortcut
kosmo integrations:ghost ghost_create_member '{"member":"example_member"}' --json

ghost.ghost_create_offer

Create a Ghost offer.

Write write
Parameters
offer
Generic call
kosmo integrations:call ghost.ghost_create_offer '{"offer":"example_offer"}' --json
Shortcut
kosmo integrations:ghost ghost_create_offer '{"offer":"example_offer"}' --json

ghost.ghost_create_page

Create a Ghost page.

Write write
Parameters
page
Generic call
kosmo integrations:call ghost.ghost_create_page '{"page":"example_page"}' --json
Shortcut
kosmo integrations:ghost ghost_create_page '{"page":"example_page"}' --json

ghost.ghost_create_post

Create a new blog post in Ghost CMS. Supports setting title, HTML content, status (draft or published), featured flag, tags, and authors.

Write write
Parameters
title, html, status, featured, tags, authors, excerpt, feature_image
Generic call
kosmo integrations:call ghost.ghost_create_post '{"title":"example_title","html":"example_html","status":"example_status","featured":true,"tags":"example_tags","authors":"example_authors","excerpt":"example_excerpt","feature_image":"example_feature_image"}' --json
Shortcut
kosmo integrations:ghost ghost_create_post '{"title":"example_title","html":"example_html","status":"example_status","featured":true,"tags":"example_tags","authors":"example_authors","excerpt":"example_excerpt","feature_image":"example_feature_image"}' --json

ghost.ghost_create_tag

Create a Ghost tag.

Write write
Parameters
tag
Generic call
kosmo integrations:call ghost.ghost_create_tag '{"tag":"example_tag"}' --json
Shortcut
kosmo integrations:ghost ghost_create_tag '{"tag":"example_tag"}' --json

ghost.ghost_create_tier

Create a Ghost membership tier.

Write write
Parameters
tier
Generic call
kosmo integrations:call ghost.ghost_create_tier '{"tier":"example_tier"}' --json
Shortcut
kosmo integrations:ghost ghost_create_tier '{"tier":"example_tier"}' --json

ghost.ghost_create_webhook

Create a Ghost webhook.

Write write
Parameters
webhook
Generic call
kosmo integrations:call ghost.ghost_create_webhook '{"webhook":"example_webhook"}' --json
Shortcut
kosmo integrations:ghost ghost_create_webhook '{"webhook":"example_webhook"}' --json

ghost.ghost_delete_member

Delete a Ghost member.

Write write
Parameters
id
Generic call
kosmo integrations:call ghost.ghost_delete_member '{"id":"example_id"}' --json
Shortcut
kosmo integrations:ghost ghost_delete_member '{"id":"example_id"}' --json

ghost.ghost_delete_page

Delete a Ghost page by ID.

Write write
Parameters
id
Generic call
kosmo integrations:call ghost.ghost_delete_page '{"id":"example_id"}' --json
Shortcut
kosmo integrations:ghost ghost_delete_page '{"id":"example_id"}' --json

ghost.ghost_delete_post

Delete a Ghost post by ID.

Write write
Parameters
id
Generic call
kosmo integrations:call ghost.ghost_delete_post '{"id":"example_id"}' --json
Shortcut
kosmo integrations:ghost ghost_delete_post '{"id":"example_id"}' --json

ghost.ghost_delete_tag

Delete a Ghost tag.

Write write
Parameters
id
Generic call
kosmo integrations:call ghost.ghost_delete_tag '{"id":"example_id"}' --json
Shortcut
kosmo integrations:ghost ghost_delete_tag '{"id":"example_id"}' --json

ghost.ghost_delete_webhook

Delete a Ghost webhook.

Write write
Parameters
id
Generic call
kosmo integrations:call ghost.ghost_delete_webhook '{"id":"example_id"}' --json
Shortcut
kosmo integrations:ghost ghost_delete_webhook '{"id":"example_id"}' --json

ghost.ghost_get_author

Get a Ghost author/user by ID.

Read read
Parameters
id, params
Generic call
kosmo integrations:call ghost.ghost_get_author '{"id":"example_id","params":"example_params"}' --json
Shortcut
kosmo integrations:ghost ghost_get_author '{"id":"example_id","params":"example_params"}' --json

ghost.ghost_get_current_user

Get the currently authenticated Ghost admin user. Useful for verifying API credentials and checking user role/permissions.

Read read
Parameters
fields
Generic call
kosmo integrations:call ghost.ghost_get_current_user '{"fields":"example_fields"}' --json
Shortcut
kosmo integrations:ghost ghost_get_current_user '{"fields":"example_fields"}' --json

ghost.ghost_get_member

Get a Ghost member by ID.

Read read
Parameters
id, params
Generic call
kosmo integrations:call ghost.ghost_get_member '{"id":"example_id","params":"example_params"}' --json
Shortcut
kosmo integrations:ghost ghost_get_member '{"id":"example_id","params":"example_params"}' --json

ghost.ghost_get_newsletter

Get a Ghost newsletter by ID.

Read read
Parameters
id, params
Generic call
kosmo integrations:call ghost.ghost_get_newsletter '{"id":"example_id","params":"example_params"}' --json
Shortcut
kosmo integrations:ghost ghost_get_newsletter '{"id":"example_id","params":"example_params"}' --json

ghost.ghost_get_offer

Get a Ghost offer by ID.

Read read
Parameters
id, params
Generic call
kosmo integrations:call ghost.ghost_get_offer '{"id":"example_id","params":"example_params"}' --json
Shortcut
kosmo integrations:ghost ghost_get_offer '{"id":"example_id","params":"example_params"}' --json

ghost.ghost_get_page

Get a Ghost page by ID.

Read read
Parameters
id, params
Generic call
kosmo integrations:call ghost.ghost_get_page '{"id":"example_id","params":"example_params"}' --json
Shortcut
kosmo integrations:ghost ghost_get_page '{"id":"example_id","params":"example_params"}' --json

ghost.ghost_get_post

Get a single Ghost blog post by ID. Returns full post content, metadata, tags, and authors.

Read read
Parameters
id, fields, include, formats
Generic call
kosmo integrations:call ghost.ghost_get_post '{"id":"example_id","fields":"example_fields","include":"example_include","formats":"example_formats"}' --json
Shortcut
kosmo integrations:ghost ghost_get_post '{"id":"example_id","fields":"example_fields","include":"example_include","formats":"example_formats"}' --json

ghost.ghost_get_site

Get Ghost site metadata.

Read read
Parameters
none
Generic call
kosmo integrations:call ghost.ghost_get_site '{}' --json
Shortcut
kosmo integrations:ghost ghost_get_site '{}' --json

ghost.ghost_get_tag

Get a Ghost tag by ID.

Read read
Parameters
id, params
Generic call
kosmo integrations:call ghost.ghost_get_tag '{"id":"example_id","params":"example_params"}' --json
Shortcut
kosmo integrations:ghost ghost_get_tag '{"id":"example_id","params":"example_params"}' --json

ghost.ghost_get_tier

Get a Ghost tier by ID.

Read read
Parameters
id, params
Generic call
kosmo integrations:call ghost.ghost_get_tier '{"id":"example_id","params":"example_params"}' --json
Shortcut
kosmo integrations:ghost ghost_get_tier '{"id":"example_id","params":"example_params"}' --json

ghost.ghost_list_authors

List Ghost authors/users.

Read read
Parameters
params
Generic call
kosmo integrations:call ghost.ghost_list_authors '{"params":"example_params"}' --json
Shortcut
kosmo integrations:ghost ghost_list_authors '{"params":"example_params"}' --json

ghost.ghost_list_members

List newsletter members from Ghost CMS. Supports filtering by subscription status, email search, and pagination. Returns member names, emails, labels, and subscription info.

Read read
Parameters
page, limit, filter, order, fields
Generic call
kosmo integrations:call ghost.ghost_list_members '{"page":1,"limit":1,"filter":"example_filter","order":"example_order","fields":"example_fields"}' --json
Shortcut
kosmo integrations:ghost ghost_list_members '{"page":1,"limit":1,"filter":"example_filter","order":"example_order","fields":"example_fields"}' --json

ghost.ghost_list_newsletters

List Ghost newsletters.

Read read
Parameters
params
Generic call
kosmo integrations:call ghost.ghost_list_newsletters '{"params":"example_params"}' --json
Shortcut
kosmo integrations:ghost ghost_list_newsletters '{"params":"example_params"}' --json

ghost.ghost_list_offers

List Ghost offers.

Read read
Parameters
params
Generic call
kosmo integrations:call ghost.ghost_list_offers '{"params":"example_params"}' --json
Shortcut
kosmo integrations:ghost ghost_list_offers '{"params":"example_params"}' --json

ghost.ghost_list_pages

List static pages from Ghost CMS. Supports filtering, pagination, and ordering. Pages are non-blog content like "About", "Contact", etc.

Read read
Parameters
page, limit, filter, status, order, fields, include
Generic call
kosmo integrations:call ghost.ghost_list_pages '{"page":1,"limit":1,"filter":"example_filter","status":"example_status","order":"example_order","fields":"example_fields","include":"example_include"}' --json
Shortcut
kosmo integrations:ghost ghost_list_pages '{"page":1,"limit":1,"filter":"example_filter","status":"example_status","order":"example_order","fields":"example_fields","include":"example_include"}' --json

ghost.ghost_list_posts

List blog posts from Ghost CMS. Supports filtering by tag, author, status, and free-text search. Returns paginated results with post titles, slugs, status, and metadata.

Read read
Parameters
page, limit, filter, tag, author, status, order, fields, include
Generic call
kosmo integrations:call ghost.ghost_list_posts '{"page":1,"limit":1,"filter":"example_filter","tag":"example_tag","author":"example_author","status":"example_status","order":"example_order","fields":"example_fields"}' --json
Shortcut
kosmo integrations:ghost ghost_list_posts '{"page":1,"limit":1,"filter":"example_filter","tag":"example_tag","author":"example_author","status":"example_status","order":"example_order","fields":"example_fields"}' --json

ghost.ghost_list_tags

List Ghost tags.

Read read
Parameters
params
Generic call
kosmo integrations:call ghost.ghost_list_tags '{"params":"example_params"}' --json
Shortcut
kosmo integrations:ghost ghost_list_tags '{"params":"example_params"}' --json

ghost.ghost_list_tiers

List Ghost paid membership tiers.

Read read
Parameters
params
Generic call
kosmo integrations:call ghost.ghost_list_tiers '{"params":"example_params"}' --json
Shortcut
kosmo integrations:ghost ghost_list_tiers '{"params":"example_params"}' --json

ghost.ghost_list_webhooks

List Ghost webhooks.

Read read
Parameters
params
Generic call
kosmo integrations:call ghost.ghost_list_webhooks '{"params":"example_params"}' --json
Shortcut
kosmo integrations:ghost ghost_list_webhooks '{"params":"example_params"}' --json

ghost.ghost_update_member

Update a Ghost member.

Write write
Parameters
id, member
Generic call
kosmo integrations:call ghost.ghost_update_member '{"id":"example_id","member":"example_member"}' --json
Shortcut
kosmo integrations:ghost ghost_update_member '{"id":"example_id","member":"example_member"}' --json

ghost.ghost_update_offer

Update a Ghost offer.

Write write
Parameters
id, offer
Generic call
kosmo integrations:call ghost.ghost_update_offer '{"id":"example_id","offer":"example_offer"}' --json
Shortcut
kosmo integrations:ghost ghost_update_offer '{"id":"example_id","offer":"example_offer"}' --json

ghost.ghost_update_page

Update a Ghost page.

Write write
Parameters
id, page
Generic call
kosmo integrations:call ghost.ghost_update_page '{"id":"example_id","page":"example_page"}' --json
Shortcut
kosmo integrations:ghost ghost_update_page '{"id":"example_id","page":"example_page"}' --json

ghost.ghost_update_post

Update an existing blog post in Ghost CMS. Provide the post ID and any fields to change (title, content, status, featured flag, tags).

Write write
Parameters
id, title, html, status, featured, tags, excerpt, feature_image, updated_at
Generic call
kosmo integrations:call ghost.ghost_update_post '{"id":"example_id","title":"example_title","html":"example_html","status":"example_status","featured":true,"tags":"example_tags","excerpt":"example_excerpt","feature_image":"example_feature_image"}' --json
Shortcut
kosmo integrations:ghost ghost_update_post '{"id":"example_id","title":"example_title","html":"example_html","status":"example_status","featured":true,"tags":"example_tags","excerpt":"example_excerpt","feature_image":"example_feature_image"}' --json

ghost.ghost_update_tag

Update a Ghost tag.

Write write
Parameters
id, tag
Generic call
kosmo integrations:call ghost.ghost_update_tag '{"id":"example_id","tag":"example_tag"}' --json
Shortcut
kosmo integrations:ghost ghost_update_tag '{"id":"example_id","tag":"example_tag"}' --json

ghost.ghost_update_tier

Update a Ghost membership tier.

Write write
Parameters
id, tier
Generic call
kosmo integrations:call ghost.ghost_update_tier '{"id":"example_id","tier":"example_tier"}' --json
Shortcut
kosmo integrations:ghost ghost_update_tier '{"id":"example_id","tier":"example_tier"}' --json

ghost.ghost_update_webhook

Update a Ghost webhook.

Write write
Parameters
id, webhook
Generic call
kosmo integrations:call ghost.ghost_update_webhook '{"id":"example_id","webhook":"example_webhook"}' --json
Shortcut
kosmo integrations:ghost ghost_update_webhook '{"id":"example_id","webhook":"example_webhook"}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

ghost.ghost_api_delete 2 parameters
Schema command
kosmo integrations:schema ghost.ghost_api_delete --json
ParameterTypeRequiredDescription
path string yes Relative API path.
query object no Optional query parameters.
ghost.ghost_api_get 2 parameters
Schema command
kosmo integrations:schema ghost.ghost_api_get --json
ParameterTypeRequiredDescription
path string yes Relative API path.
query object no Optional query parameters.
ghost.ghost_api_post 3 parameters
Schema command
kosmo integrations:schema ghost.ghost_api_post --json
ParameterTypeRequiredDescription
path string yes Relative API path.
payload object no JSON body.
query object no Optional query parameters.
ghost.ghost_api_put 3 parameters
Schema command
kosmo integrations:schema ghost.ghost_api_put --json
ParameterTypeRequiredDescription
path string yes Relative API path.
payload object no JSON body.
query object no Optional query parameters.
ghost.ghost_create_member 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_create_member --json
ParameterTypeRequiredDescription
member object yes Member payload.
ghost.ghost_create_offer 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_create_offer --json
ParameterTypeRequiredDescription
offer object yes Offer payload.
ghost.ghost_create_page 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_create_page --json
ParameterTypeRequiredDescription
page object yes Page payload.
ghost.ghost_create_post 8 parameters
Schema command
kosmo integrations:schema ghost.ghost_create_post --json
ParameterTypeRequiredDescription
title string yes Post title.
html string no Post content as HTML.
status string no Post status. Defaults to "draft" if not specified.
featured boolean no Whether the post is featured (default: false).
tags array no Array of tag objects or tag name strings, e.g. ["News", {"name": "Engineering"}].
authors array no Array of author objects or author email strings, e.g. ["admin@example.com"].
excerpt string no Custom post excerpt / meta description.
feature_image string no URL for the featured/cover image.
ghost.ghost_create_tag 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_create_tag --json
ParameterTypeRequiredDescription
tag object yes Tag payload.
ghost.ghost_create_tier 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_create_tier --json
ParameterTypeRequiredDescription
tier object yes Tier payload.
ghost.ghost_create_webhook 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_create_webhook --json
ParameterTypeRequiredDescription
webhook object yes Webhook payload.
ghost.ghost_delete_member 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_delete_member --json
ParameterTypeRequiredDescription
id string yes Member ID.
ghost.ghost_delete_page 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_delete_page --json
ParameterTypeRequiredDescription
id string yes Page ID.
ghost.ghost_delete_post 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_delete_post --json
ParameterTypeRequiredDescription
id string yes Post ID.
ghost.ghost_delete_tag 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_delete_tag --json
ParameterTypeRequiredDescription
id string yes Tag ID.
ghost.ghost_delete_webhook 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_delete_webhook --json
ParameterTypeRequiredDescription
id string yes Webhook ID.
ghost.ghost_get_author 2 parameters
Schema command
kosmo integrations:schema ghost.ghost_get_author --json
ParameterTypeRequiredDescription
id string yes Author/user ID.
params object no Optional query parameters.
ghost.ghost_get_current_user 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_get_current_user --json
ParameterTypeRequiredDescription
fields string no Comma-separated list of fields to return (e.g. "id,name,email,role").
ghost.ghost_get_member 2 parameters
Schema command
kosmo integrations:schema ghost.ghost_get_member --json
ParameterTypeRequiredDescription
id string yes Member ID.
params object no Optional query parameters.
ghost.ghost_get_newsletter 2 parameters
Schema command
kosmo integrations:schema ghost.ghost_get_newsletter --json
ParameterTypeRequiredDescription
id string yes Newsletter ID.
params object no Optional query parameters.
ghost.ghost_get_offer 2 parameters
Schema command
kosmo integrations:schema ghost.ghost_get_offer --json
ParameterTypeRequiredDescription
id string yes Offer ID.
params object no Optional query parameters.
ghost.ghost_get_page 2 parameters
Schema command
kosmo integrations:schema ghost.ghost_get_page --json
ParameterTypeRequiredDescription
id string yes Page ID.
params object no Optional query parameters.
ghost.ghost_get_post 4 parameters
Schema command
kosmo integrations:schema ghost.ghost_get_post --json
ParameterTypeRequiredDescription
id string yes The post UUID.
fields string no Comma-separated list of fields to return (e.g. "id,title,html,status").
include string no Comma-separated related data to include: "tags", "authors", "tags,authors".
formats string no Content formats to return: "html", "plaintext", "mobiledoc" (default: "html").
ghost.ghost_get_site 0 parameters
Schema command
kosmo integrations:schema ghost.ghost_get_site --json
ParameterTypeRequiredDescription
No parameters.
ghost.ghost_get_tag 2 parameters
Schema command
kosmo integrations:schema ghost.ghost_get_tag --json
ParameterTypeRequiredDescription
id string yes Tag ID.
params object no Optional query parameters.
ghost.ghost_get_tier 2 parameters
Schema command
kosmo integrations:schema ghost.ghost_get_tier --json
ParameterTypeRequiredDescription
id string yes Tier ID.
params object no Optional query parameters.
ghost.ghost_list_authors 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_list_authors --json
ParameterTypeRequiredDescription
params object no Optional query parameters.
ghost.ghost_list_members 5 parameters
Schema command
kosmo integrations:schema ghost.ghost_list_members --json
ParameterTypeRequiredDescription
page integer no Page number (default: 1).
limit integer no Number of members per page (default: 15, max: 100).
filter string no Ghost filter syntax, e.g. "subscribed:true" or "email:@example.com". Use `+` for AND, `,` for OR.
order string no Sort order (default: "created_at desc"). Examples: "name asc", "email desc".
fields string no Comma-separated list of fields to return (e.g. "id,name,email,status").
ghost.ghost_list_newsletters 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_list_newsletters --json
ParameterTypeRequiredDescription
params object no Optional query parameters.
ghost.ghost_list_offers 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_list_offers --json
ParameterTypeRequiredDescription
params object no Optional query parameters.
ghost.ghost_list_pages 7 parameters
Schema command
kosmo integrations:schema ghost.ghost_list_pages --json
ParameterTypeRequiredDescription
page integer no Page number (default: 1).
limit integer no Number of pages per page (default: 15, max: 100).
filter string no Ghost filter syntax, e.g. "status:published" or "slug:about". Use `+` for AND, `,` for OR.
status string no Filter by page status. Shorthand for filter "status:{value}".
order string no Sort order (default: "published_at desc"). Examples: "title asc", "created_at desc".
fields string no Comma-separated list of fields to return (e.g. "id,title,slug,status").
include string no Comma-separated related data to include: "tags", "authors", "tags,authors".
ghost.ghost_list_posts 9 parameters
Schema command
kosmo integrations:schema ghost.ghost_list_posts --json
ParameterTypeRequiredDescription
page integer no Page number (default: 1).
limit integer no Number of posts per page (default: 15, max: 100).
filter string no Ghost filter syntax, e.g. "tag:news+status:published" or "author:john". Use `+` for AND, `,` for OR.
tag string no Filter by tag slug (e.g. "news", "engineering"). Shorthand for filter "tag:{value}".
author string no Filter by author slug (e.g. "john"). Shorthand for filter "author:{value}".
status string no Filter by post status. Shorthand for filter "status:{value}".
order string no Sort order (default: "published_at desc"). Examples: "created_at desc", "title asc", "updated_at desc".
fields string no Comma-separated list of fields to return (e.g. "id,title,slug,status").
include string no Comma-separated related data to include: "tags", "authors", "tags,authors".
ghost.ghost_list_tags 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_list_tags --json
ParameterTypeRequiredDescription
params object no Optional query parameters.
ghost.ghost_list_tiers 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_list_tiers --json
ParameterTypeRequiredDescription
params object no Optional query parameters.
ghost.ghost_list_webhooks 1 parameters
Schema command
kosmo integrations:schema ghost.ghost_list_webhooks --json
ParameterTypeRequiredDescription
params object no Optional query parameters.
ghost.ghost_update_member 2 parameters
Schema command
kosmo integrations:schema ghost.ghost_update_member --json
ParameterTypeRequiredDescription
id string yes Member ID.
member object yes Member update payload.
ghost.ghost_update_offer 2 parameters
Schema command
kosmo integrations:schema ghost.ghost_update_offer --json
ParameterTypeRequiredDescription
id string yes Offer ID.
offer object yes Offer update payload.
ghost.ghost_update_page 2 parameters
Schema command
kosmo integrations:schema ghost.ghost_update_page --json
ParameterTypeRequiredDescription
id string yes Page ID.
page object yes Page update payload including updated_at.
ghost.ghost_update_post 9 parameters
Schema command
kosmo integrations:schema ghost.ghost_update_post --json
ParameterTypeRequiredDescription
id string yes The post UUID to update.
title string no New post title.
html string no New post content as HTML.
status string no Change post status (draft or published).
featured boolean no Set or unset the featured flag.
tags array no Replace post tags. Array of tag name strings, e.g. ["News", "Engineering"].
excerpt string no New custom excerpt / meta description.
feature_image string no New featured/cover image URL.
updated_at string no Last known updated_at timestamp for optimistic concurrency control. Prevents overwriting if the post was modified since you last read it.
ghost.ghost_update_tag 2 parameters
Schema command
kosmo integrations:schema ghost.ghost_update_tag --json
ParameterTypeRequiredDescription
id string yes Tag ID.
tag object yes Tag update payload including updated_at.
ghost.ghost_update_tier 2 parameters
Schema command
kosmo integrations:schema ghost.ghost_update_tier --json
ParameterTypeRequiredDescription
id string yes Tier ID.
tier object yes Tier update payload.
ghost.ghost_update_webhook 2 parameters
Schema command
kosmo integrations:schema ghost.ghost_update_webhook --json
ParameterTypeRequiredDescription
id string yes Webhook ID.
webhook object yes Webhook update payload.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.