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 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.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
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.
kosmo integrations:call ghost.ghost_api_delete '{"path":"example_path","query":"example_query"}' --json 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.
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 - Parameters
- path, query
kosmo integrations:call ghost.ghost_api_delete '{"path":"example_path","query":"example_query"}' --json 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 - Parameters
- path, query
kosmo integrations:call ghost.ghost_api_get '{"path":"example_path","query":"example_query"}' --json 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 - Parameters
- path, payload, query
kosmo integrations:call ghost.ghost_api_post '{"path":"example_path","payload":"example_payload","query":"example_query"}' --json 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 - Parameters
- path, payload, query
kosmo integrations:call ghost.ghost_api_put '{"path":"example_path","payload":"example_payload","query":"example_query"}' --json 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 - Parameters
- member
kosmo integrations:call ghost.ghost_create_member '{"member":"example_member"}' --json kosmo integrations:ghost ghost_create_member '{"member":"example_member"}' --json ghost.ghost_create_offer
Create a Ghost offer.
write - Parameters
- offer
kosmo integrations:call ghost.ghost_create_offer '{"offer":"example_offer"}' --json kosmo integrations:ghost ghost_create_offer '{"offer":"example_offer"}' --json ghost.ghost_create_page
Create a Ghost page.
write - Parameters
- page
kosmo integrations:call ghost.ghost_create_page '{"page":"example_page"}' --json 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 - Parameters
- title, html, status, featured, tags, authors, excerpt, feature_image
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 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 - Parameters
- tag
kosmo integrations:call ghost.ghost_create_tag '{"tag":"example_tag"}' --json kosmo integrations:ghost ghost_create_tag '{"tag":"example_tag"}' --json ghost.ghost_create_tier
Create a Ghost membership tier.
write - Parameters
- tier
kosmo integrations:call ghost.ghost_create_tier '{"tier":"example_tier"}' --json kosmo integrations:ghost ghost_create_tier '{"tier":"example_tier"}' --json ghost.ghost_create_webhook
Create a Ghost webhook.
write - Parameters
- webhook
kosmo integrations:call ghost.ghost_create_webhook '{"webhook":"example_webhook"}' --json kosmo integrations:ghost ghost_create_webhook '{"webhook":"example_webhook"}' --json ghost.ghost_delete_member
Delete a Ghost member.
write - Parameters
- id
kosmo integrations:call ghost.ghost_delete_member '{"id":"example_id"}' --json kosmo integrations:ghost ghost_delete_member '{"id":"example_id"}' --json ghost.ghost_delete_page
Delete a Ghost page by ID.
write - Parameters
- id
kosmo integrations:call ghost.ghost_delete_page '{"id":"example_id"}' --json kosmo integrations:ghost ghost_delete_page '{"id":"example_id"}' --json ghost.ghost_delete_post
Delete a Ghost post by ID.
write - Parameters
- id
kosmo integrations:call ghost.ghost_delete_post '{"id":"example_id"}' --json kosmo integrations:ghost ghost_delete_post '{"id":"example_id"}' --json ghost.ghost_delete_tag
Delete a Ghost tag.
write - Parameters
- id
kosmo integrations:call ghost.ghost_delete_tag '{"id":"example_id"}' --json kosmo integrations:ghost ghost_delete_tag '{"id":"example_id"}' --json ghost.ghost_delete_webhook
Delete a Ghost webhook.
write - Parameters
- id
kosmo integrations:call ghost.ghost_delete_webhook '{"id":"example_id"}' --json kosmo integrations:ghost ghost_delete_webhook '{"id":"example_id"}' --json ghost.ghost_get_author
Get a Ghost author/user by ID.
read - Parameters
- id, params
kosmo integrations:call ghost.ghost_get_author '{"id":"example_id","params":"example_params"}' --json 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 - Parameters
- fields
kosmo integrations:call ghost.ghost_get_current_user '{"fields":"example_fields"}' --json kosmo integrations:ghost ghost_get_current_user '{"fields":"example_fields"}' --json ghost.ghost_get_member
Get a Ghost member by ID.
read - Parameters
- id, params
kosmo integrations:call ghost.ghost_get_member '{"id":"example_id","params":"example_params"}' --json kosmo integrations:ghost ghost_get_member '{"id":"example_id","params":"example_params"}' --json ghost.ghost_get_newsletter
Get a Ghost newsletter by ID.
read - Parameters
- id, params
kosmo integrations:call ghost.ghost_get_newsletter '{"id":"example_id","params":"example_params"}' --json kosmo integrations:ghost ghost_get_newsletter '{"id":"example_id","params":"example_params"}' --json ghost.ghost_get_offer
Get a Ghost offer by ID.
read - Parameters
- id, params
kosmo integrations:call ghost.ghost_get_offer '{"id":"example_id","params":"example_params"}' --json kosmo integrations:ghost ghost_get_offer '{"id":"example_id","params":"example_params"}' --json ghost.ghost_get_page
Get a Ghost page by ID.
read - Parameters
- id, params
kosmo integrations:call ghost.ghost_get_page '{"id":"example_id","params":"example_params"}' --json 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 - Parameters
- id, fields, include, formats
kosmo integrations:call ghost.ghost_get_post '{"id":"example_id","fields":"example_fields","include":"example_include","formats":"example_formats"}' --json 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 - Parameters
- none
kosmo integrations:call ghost.ghost_get_site '{}' --json kosmo integrations:ghost ghost_get_site '{}' --json ghost.ghost_get_tag
Get a Ghost tag by ID.
read - Parameters
- id, params
kosmo integrations:call ghost.ghost_get_tag '{"id":"example_id","params":"example_params"}' --json kosmo integrations:ghost ghost_get_tag '{"id":"example_id","params":"example_params"}' --json ghost.ghost_get_tier
Get a Ghost tier by ID.
read - Parameters
- id, params
kosmo integrations:call ghost.ghost_get_tier '{"id":"example_id","params":"example_params"}' --json kosmo integrations:ghost ghost_get_tier '{"id":"example_id","params":"example_params"}' --json ghost.ghost_list_authors
List Ghost authors/users.
read - Parameters
- params
kosmo integrations:call ghost.ghost_list_authors '{"params":"example_params"}' --json 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 - Parameters
- page, limit, filter, order, fields
kosmo integrations:call ghost.ghost_list_members '{"page":1,"limit":1,"filter":"example_filter","order":"example_order","fields":"example_fields"}' --json 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 - Parameters
- params
kosmo integrations:call ghost.ghost_list_newsletters '{"params":"example_params"}' --json kosmo integrations:ghost ghost_list_newsletters '{"params":"example_params"}' --json ghost.ghost_list_offers
List Ghost offers.
read - Parameters
- params
kosmo integrations:call ghost.ghost_list_offers '{"params":"example_params"}' --json 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 - Parameters
- page, limit, filter, status, order, fields, include
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 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 - Parameters
- page, limit, filter, tag, author, status, order, fields, include
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 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 - Parameters
- params
kosmo integrations:call ghost.ghost_list_tags '{"params":"example_params"}' --json kosmo integrations:ghost ghost_list_tags '{"params":"example_params"}' --json ghost.ghost_list_tiers
List Ghost paid membership tiers.
read - Parameters
- params
kosmo integrations:call ghost.ghost_list_tiers '{"params":"example_params"}' --json kosmo integrations:ghost ghost_list_tiers '{"params":"example_params"}' --json ghost.ghost_list_webhooks
List Ghost webhooks.
read - Parameters
- params
kosmo integrations:call ghost.ghost_list_webhooks '{"params":"example_params"}' --json kosmo integrations:ghost ghost_list_webhooks '{"params":"example_params"}' --json ghost.ghost_update_member
Update a Ghost member.
write - Parameters
- id, member
kosmo integrations:call ghost.ghost_update_member '{"id":"example_id","member":"example_member"}' --json kosmo integrations:ghost ghost_update_member '{"id":"example_id","member":"example_member"}' --json ghost.ghost_update_offer
Update a Ghost offer.
write - Parameters
- id, offer
kosmo integrations:call ghost.ghost_update_offer '{"id":"example_id","offer":"example_offer"}' --json kosmo integrations:ghost ghost_update_offer '{"id":"example_id","offer":"example_offer"}' --json ghost.ghost_update_page
Update a Ghost page.
write - Parameters
- id, page
kosmo integrations:call ghost.ghost_update_page '{"id":"example_id","page":"example_page"}' --json 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 - Parameters
- id, title, html, status, featured, tags, excerpt, feature_image, updated_at
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 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 - Parameters
- id, tag
kosmo integrations:call ghost.ghost_update_tag '{"id":"example_id","tag":"example_tag"}' --json kosmo integrations:ghost ghost_update_tag '{"id":"example_id","tag":"example_tag"}' --json ghost.ghost_update_tier
Update a Ghost membership tier.
write - Parameters
- id, tier
kosmo integrations:call ghost.ghost_update_tier '{"id":"example_id","tier":"example_tier"}' --json kosmo integrations:ghost ghost_update_tier '{"id":"example_id","tier":"example_tier"}' --json ghost.ghost_update_webhook
Update a Ghost webhook.
write - Parameters
- id, webhook
kosmo integrations:call ghost.ghost_update_webhook '{"id":"example_id","webhook":"example_webhook"}' --json 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
kosmo integrations:schema ghost.ghost_api_delete --json | Parameter | Type | Required | Description |
|---|---|---|---|
path | string | yes | Relative API path. |
query | object | no | Optional query parameters. |
ghost.ghost_api_get 2 parameters
kosmo integrations:schema ghost.ghost_api_get --json | Parameter | Type | Required | Description |
|---|---|---|---|
path | string | yes | Relative API path. |
query | object | no | Optional query parameters. |
ghost.ghost_api_post 3 parameters
kosmo integrations:schema ghost.ghost_api_post --json | Parameter | Type | Required | Description |
|---|---|---|---|
path | string | yes | Relative API path. |
payload | object | no | JSON body. |
query | object | no | Optional query parameters. |
ghost.ghost_api_put 3 parameters
kosmo integrations:schema ghost.ghost_api_put --json | Parameter | Type | Required | Description |
|---|---|---|---|
path | string | yes | Relative API path. |
payload | object | no | JSON body. |
query | object | no | Optional query parameters. |
ghost.ghost_create_member 1 parameters
kosmo integrations:schema ghost.ghost_create_member --json | Parameter | Type | Required | Description |
|---|---|---|---|
member | object | yes | Member payload. |
ghost.ghost_create_offer 1 parameters
kosmo integrations:schema ghost.ghost_create_offer --json | Parameter | Type | Required | Description |
|---|---|---|---|
offer | object | yes | Offer payload. |
ghost.ghost_create_page 1 parameters
kosmo integrations:schema ghost.ghost_create_page --json | Parameter | Type | Required | Description |
|---|---|---|---|
page | object | yes | Page payload. |
ghost.ghost_create_post 8 parameters
kosmo integrations:schema ghost.ghost_create_post --json | Parameter | Type | Required | Description |
|---|---|---|---|
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
kosmo integrations:schema ghost.ghost_create_tag --json | Parameter | Type | Required | Description |
|---|---|---|---|
tag | object | yes | Tag payload. |
ghost.ghost_create_tier 1 parameters
kosmo integrations:schema ghost.ghost_create_tier --json | Parameter | Type | Required | Description |
|---|---|---|---|
tier | object | yes | Tier payload. |
ghost.ghost_create_webhook 1 parameters
kosmo integrations:schema ghost.ghost_create_webhook --json | Parameter | Type | Required | Description |
|---|---|---|---|
webhook | object | yes | Webhook payload. |
ghost.ghost_delete_member 1 parameters
kosmo integrations:schema ghost.ghost_delete_member --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Member ID. |
ghost.ghost_delete_page 1 parameters
kosmo integrations:schema ghost.ghost_delete_page --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Page ID. |
ghost.ghost_delete_post 1 parameters
kosmo integrations:schema ghost.ghost_delete_post --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Post ID. |
ghost.ghost_delete_tag 1 parameters
kosmo integrations:schema ghost.ghost_delete_tag --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Tag ID. |
ghost.ghost_delete_webhook 1 parameters
kosmo integrations:schema ghost.ghost_delete_webhook --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Webhook ID. |
ghost.ghost_get_author 2 parameters
kosmo integrations:schema ghost.ghost_get_author --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Author/user ID. |
params | object | no | Optional query parameters. |
ghost.ghost_get_current_user 1 parameters
kosmo integrations:schema ghost.ghost_get_current_user --json | Parameter | Type | Required | Description |
|---|---|---|---|
fields | string | no | Comma-separated list of fields to return (e.g. "id,name,email,role"). |
ghost.ghost_get_member 2 parameters
kosmo integrations:schema ghost.ghost_get_member --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Member ID. |
params | object | no | Optional query parameters. |
ghost.ghost_get_newsletter 2 parameters
kosmo integrations:schema ghost.ghost_get_newsletter --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Newsletter ID. |
params | object | no | Optional query parameters. |
ghost.ghost_get_offer 2 parameters
kosmo integrations:schema ghost.ghost_get_offer --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Offer ID. |
params | object | no | Optional query parameters. |
ghost.ghost_get_page 2 parameters
kosmo integrations:schema ghost.ghost_get_page --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Page ID. |
params | object | no | Optional query parameters. |
ghost.ghost_get_post 4 parameters
kosmo integrations:schema ghost.ghost_get_post --json | Parameter | Type | Required | Description |
|---|---|---|---|
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
kosmo integrations:schema ghost.ghost_get_site --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
ghost.ghost_get_tag 2 parameters
kosmo integrations:schema ghost.ghost_get_tag --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Tag ID. |
params | object | no | Optional query parameters. |
ghost.ghost_get_tier 2 parameters
kosmo integrations:schema ghost.ghost_get_tier --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Tier ID. |
params | object | no | Optional query parameters. |
ghost.ghost_list_authors 1 parameters
kosmo integrations:schema ghost.ghost_list_authors --json | Parameter | Type | Required | Description |
|---|---|---|---|
params | object | no | Optional query parameters. |
ghost.ghost_list_members 5 parameters
kosmo integrations:schema ghost.ghost_list_members --json | Parameter | Type | Required | Description |
|---|---|---|---|
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
kosmo integrations:schema ghost.ghost_list_newsletters --json | Parameter | Type | Required | Description |
|---|---|---|---|
params | object | no | Optional query parameters. |
ghost.ghost_list_offers 1 parameters
kosmo integrations:schema ghost.ghost_list_offers --json | Parameter | Type | Required | Description |
|---|---|---|---|
params | object | no | Optional query parameters. |
ghost.ghost_list_pages 7 parameters
kosmo integrations:schema ghost.ghost_list_pages --json | Parameter | Type | Required | Description |
|---|---|---|---|
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
kosmo integrations:schema ghost.ghost_list_posts --json | Parameter | Type | Required | Description |
|---|---|---|---|
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
kosmo integrations:schema ghost.ghost_list_tags --json | Parameter | Type | Required | Description |
|---|---|---|---|
params | object | no | Optional query parameters. |
ghost.ghost_list_tiers 1 parameters
kosmo integrations:schema ghost.ghost_list_tiers --json | Parameter | Type | Required | Description |
|---|---|---|---|
params | object | no | Optional query parameters. |
ghost.ghost_list_webhooks 1 parameters
kosmo integrations:schema ghost.ghost_list_webhooks --json | Parameter | Type | Required | Description |
|---|---|---|---|
params | object | no | Optional query parameters. |
ghost.ghost_update_member 2 parameters
kosmo integrations:schema ghost.ghost_update_member --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Member ID. |
member | object | yes | Member update payload. |
ghost.ghost_update_offer 2 parameters
kosmo integrations:schema ghost.ghost_update_offer --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Offer ID. |
offer | object | yes | Offer update payload. |
ghost.ghost_update_page 2 parameters
kosmo integrations:schema ghost.ghost_update_page --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Page ID. |
page | object | yes | Page update payload including updated_at. |
ghost.ghost_update_post 9 parameters
kosmo integrations:schema ghost.ghost_update_post --json | Parameter | Type | Required | Description |
|---|---|---|---|
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
kosmo integrations:schema ghost.ghost_update_tag --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Tag ID. |
tag | object | yes | Tag update payload including updated_at. |
ghost.ghost_update_tier 2 parameters
kosmo integrations:schema ghost.ghost_update_tier --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Tier ID. |
tier | object | yes | Tier update payload. |
ghost.ghost_update_webhook 2 parameters
kosmo integrations:schema ghost.ghost_update_webhook --json | Parameter | Type | Required | Description |
|---|---|---|---|
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.