KosmoKrator

social

Twitter / X CLI for AI Agents

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

162 functions 96 read 66 write multi auth auth

Twitter / X CLI Setup

Twitter / X can be configured headlessly with `kosmokrator integrations:configure x`.

# 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 x --enable --read allow --write ask --json
kosmokrator integrations:doctor x --json
kosmokrator integrations:status --json

Runtime Requirements

Install these host dependencies before calling Twitter / X locally.

NameTypeDescription
streaming_runner host_capability Required for tools marked runtime_mode=stream.
public_webhook_endpoint host_capability Required for webhook and account-activity subscription operations.

Credentials

Authentication type: multi auth multi_auth. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
bearer_token X_BEARER_TOKEN Secret secret no Bearer Token
access_token X_ACCESS_TOKEN Secret secret no OAuth Access Token
api_key X_API_KEY Secret secret no OAuth 1.0a API Key
api_secret X_API_SECRET Secret secret no OAuth 1.0a API Secret
access_token_secret X_ACCESS_TOKEN_SECRET Secret secret no OAuth 1.0a Access Token Secret
base_url X_BASE_URL URL url no API Base URL

Call Twitter / X Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call x.x_get_account_activity_subscription_count '{}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:x x_get_account_activity_subscription_count '{}' --json

Agent Discovery Commands

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

kosmo integrations:docs x --json
kosmo integrations:docs x.x_get_account_activity_subscription_count --json
kosmo integrations:schema x.x_get_account_activity_subscription_count --json
kosmo integrations:search "Twitter / X" --json
kosmo integrations:list --json

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to Twitter / X.

x.x_get_account_activity_subscription_count

Read read

Get subscription count

Parameters
none

Generic CLI call

kosmo integrations:call x.x_get_account_activity_subscription_count '{}' --json

Provider shortcut

kosmo integrations:x x_get_account_activity_subscription_count '{}' --json

x.x_validate_account_activity_subscription

Read read

Validate subscription

Parameters
webhook_id

Generic CLI call

kosmo integrations:call x.x_validate_account_activity_subscription '{"webhook_id":"example_webhook_id"}' --json

Provider shortcut

kosmo integrations:x x_validate_account_activity_subscription '{"webhook_id":"example_webhook_id"}' --json

x.x_create_account_activity_subscription

Write write

Create subscription

Parameters
webhook_id, body

Generic CLI call

kosmo integrations:call x.x_create_account_activity_subscription '{"webhook_id":"example_webhook_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_create_account_activity_subscription '{"webhook_id":"example_webhook_id","body":"example_body"}' --json

x.x_get_account_activity_subscriptions

Read read

Get subscriptions

Parameters
webhook_id

Generic CLI call

kosmo integrations:call x.x_get_account_activity_subscriptions '{"webhook_id":"example_webhook_id"}' --json

Provider shortcut

kosmo integrations:x x_get_account_activity_subscriptions '{"webhook_id":"example_webhook_id"}' --json

x.x_delete_account_activity_subscription

Write write

Delete subscription

Parameters
webhook_id, user_id

Generic CLI call

kosmo integrations:call x.x_delete_account_activity_subscription '{"webhook_id":"example_webhook_id","user_id":"example_user_id"}' --json

Provider shortcut

kosmo integrations:x x_delete_account_activity_subscription '{"webhook_id":"example_webhook_id","user_id":"example_user_id"}' --json

x.x_activity_stream

Read read

Activity Stream

Parameters
backfill_minutes, start_time, end_time

Generic CLI call

kosmo integrations:call x.x_activity_stream '{"backfill_minutes":1,"start_time":"example_start_time","end_time":"example_end_time"}' --json

Provider shortcut

kosmo integrations:x x_activity_stream '{"backfill_minutes":1,"start_time":"example_start_time","end_time":"example_end_time"}' --json

x.x_delete_activity_subscriptions_by_ids

Write write

Delete X activity subscriptions by IDs

Parameters
ids

Generic CLI call

kosmo integrations:call x.x_delete_activity_subscriptions_by_ids '{"ids":"example_ids"}' --json

Provider shortcut

kosmo integrations:x x_delete_activity_subscriptions_by_ids '{"ids":"example_ids"}' --json

x.x_get_activity_subscriptions

Read read

Get X activity subscriptions

Parameters
max_results, pagination_token

Generic CLI call

kosmo integrations:call x.x_get_activity_subscriptions '{"max_results":1,"pagination_token":"example_pagination_token"}' --json

Provider shortcut

kosmo integrations:x x_get_activity_subscriptions '{"max_results":1,"pagination_token":"example_pagination_token"}' --json

x.x_create_activity_subscription

Write write

Create X activity subscription

Parameters
body

Generic CLI call

kosmo integrations:call x.x_create_activity_subscription '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_create_activity_subscription '{"body":"example_body"}' --json

x.x_delete_activity_subscription

Write write

Deletes X activity subscription

Parameters
subscription_id

Generic CLI call

kosmo integrations:call x.x_delete_activity_subscription '{"subscription_id":"example_subscription_id"}' --json

Provider shortcut

kosmo integrations:x x_delete_activity_subscription '{"subscription_id":"example_subscription_id"}' --json

x.x_update_activity_subscription

Write write

Update X activity subscription

Parameters
subscription_id, body

Generic CLI call

kosmo integrations:call x.x_update_activity_subscription '{"subscription_id":"example_subscription_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_update_activity_subscription '{"subscription_id":"example_subscription_id","body":"example_body"}' --json

x.x_get_chat_conversations

Read read

Get Chat Conversations

Parameters
max_results, pagination_token, chat_conversation.fields, expansions, user.fields

Generic CLI call

kosmo integrations:call x.x_get_chat_conversations '{"max_results":1,"pagination_token":"example_pagination_token","chat_conversation.fields":"example_chat_conversation.fields","expansions":"example_expansions","user.fields":"example_user.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_chat_conversations '{"max_results":1,"pagination_token":"example_pagination_token","chat_conversation.fields":"example_chat_conversation.fields","expansions":"example_expansions","user.fields":"example_user.fields"}' --json

x.x_create_chat_conversation

Write write

Create Chat Group Conversation

Parameters
body

Generic CLI call

kosmo integrations:call x.x_create_chat_conversation '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_create_chat_conversation '{"body":"example_body"}' --json

x.x_initialize_chat_group

Write write

Initialize Chat Group

Parameters
none

Generic CLI call

kosmo integrations:call x.x_initialize_chat_group '{}' --json

Provider shortcut

kosmo integrations:x x_initialize_chat_group '{}' --json

x.x_get_chat_conversation

Read read

Get Chat Conversation

Parameters
id, max_results, pagination_token, chat_message_event.fields

Generic CLI call

kosmo integrations:call x.x_get_chat_conversation '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","chat_message_event.fields":"example_chat_message_event.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_chat_conversation '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","chat_message_event.fields":"example_chat_message_event.fields"}' --json

x.x_initialize_chat_conversation_keys

Write write

Initialize Conversation Keys

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_initialize_chat_conversation_keys '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_initialize_chat_conversation_keys '{"id":"example_id","body":"example_body"}' --json

x.x_add_chat_group_members

Write write

Add members to a Chat group conversation

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_add_chat_group_members '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_add_chat_group_members '{"id":"example_id","body":"example_body"}' --json

x.x_send_chat_message

Write write

Send Chat Message

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_send_chat_message '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_send_chat_message '{"id":"example_id","body":"example_body"}' --json

x.x_mark_chat_conversation_read

Write write

Mark Conversation as Read

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_mark_chat_conversation_read '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_mark_chat_conversation_read '{"id":"example_id","body":"example_body"}' --json

x.x_send_chat_typing_indicator

Write write

Send Typing Indicator

Parameters
id

Generic CLI call

kosmo integrations:call x.x_send_chat_typing_indicator '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:x x_send_chat_typing_indicator '{"id":"example_id"}' --json

x.x_chat_media_upload_initialize

Write write

Initialize Chat Media Upload

Parameters
body

Generic CLI call

kosmo integrations:call x.x_chat_media_upload_initialize '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_chat_media_upload_initialize '{"body":"example_body"}' --json

x.x_chat_media_upload_append

Write write

Append Chat Media Upload

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_chat_media_upload_append '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_chat_media_upload_append '{"id":"example_id","body":"example_body"}' --json

x.x_chat_media_upload_finalize

Write write

Finalize Chat Media Upload

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_chat_media_upload_finalize '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_chat_media_upload_finalize '{"id":"example_id","body":"example_body"}' --json

x.x_chat_media_download

Read read

Download Chat Media

Parameters
id, media_hash_key

Generic CLI call

kosmo integrations:call x.x_chat_media_download '{"id":"example_id","media_hash_key":"example_media_hash_key"}' --json

Provider shortcut

kosmo integrations:x x_chat_media_download '{"id":"example_id","media_hash_key":"example_media_hash_key"}' --json

x.x_search_communities

Read read

Search Communities

Parameters
query, max_results, next_token, pagination_token, community.fields

Generic CLI call

kosmo integrations:call x.x_search_communities '{"query":"example_query","max_results":1,"next_token":"example_next_token","pagination_token":"example_pagination_token","community.fields":"example_community.fields"}' --json

Provider shortcut

kosmo integrations:x x_search_communities '{"query":"example_query","max_results":1,"next_token":"example_next_token","pagination_token":"example_pagination_token","community.fields":"example_community.fields"}' --json

x.x_get_communities_by_id

Read read

Get Community by ID

Parameters
id, community.fields

Generic CLI call

kosmo integrations:call x.x_get_communities_by_id '{"id":"example_id","community.fields":"example_community.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_communities_by_id '{"id":"example_id","community.fields":"example_community.fields"}' --json

x.x_get_compliance_jobs

Read read

Get Compliance Jobs

Parameters
type, status, compliance_job.fields

Generic CLI call

kosmo integrations:call x.x_get_compliance_jobs '{"type":"example_type","status":"example_status","compliance_job.fields":"example_compliance_job.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_compliance_jobs '{"type":"example_type","status":"example_status","compliance_job.fields":"example_compliance_job.fields"}' --json

x.x_create_compliance_jobs

Write write

Create Compliance Job

Parameters
body

Generic CLI call

kosmo integrations:call x.x_create_compliance_jobs '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_create_compliance_jobs '{"body":"example_body"}' --json

x.x_get_compliance_jobs_by_id

Read read

Get Compliance Job by ID

Parameters
id, compliance_job.fields

Generic CLI call

kosmo integrations:call x.x_get_compliance_jobs_by_id '{"id":"example_id","compliance_job.fields":"example_compliance_job.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_compliance_jobs_by_id '{"id":"example_id","compliance_job.fields":"example_compliance_job.fields"}' --json

x.x_delete_connections_by_uuids

Write write

Terminate multiple connections

Parameters
body

Generic CLI call

kosmo integrations:call x.x_delete_connections_by_uuids '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_delete_connections_by_uuids '{"body":"example_body"}' --json

x.x_get_connection_history

Read read

Get Connection History

Parameters
status, endpoints, max_results, pagination_token, connection.fields

Generic CLI call

kosmo integrations:call x.x_get_connection_history '{"status":"example_status","endpoints":"example_endpoints","max_results":1,"pagination_token":"example_pagination_token","connection.fields":"example_connection.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_connection_history '{"status":"example_status","endpoints":"example_endpoints","max_results":1,"pagination_token":"example_pagination_token","connection.fields":"example_connection.fields"}' --json

x.x_delete_all_connections

Write write

Terminate all connections

Parameters
none

Generic CLI call

kosmo integrations:call x.x_delete_all_connections '{}' --json

Provider shortcut

kosmo integrations:x x_delete_all_connections '{}' --json

x.x_delete_connections_by_endpoint

Write write

Terminate connections by endpoint

Parameters
endpoint_id

Generic CLI call

kosmo integrations:call x.x_delete_connections_by_endpoint '{"endpoint_id":"example_endpoint_id"}' --json

Provider shortcut

kosmo integrations:x x_delete_connections_by_endpoint '{"endpoint_id":"example_endpoint_id"}' --json

x.x_create_direct_messages_conversation

Write write

Create DM conversation

Parameters
body

Generic CLI call

kosmo integrations:call x.x_create_direct_messages_conversation '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_create_direct_messages_conversation '{"body":"example_body"}' --json

x.x_dm_conversations_media_download

Read read

Download DM Media

Parameters
dm_id, media_id, resource_id

Generic CLI call

kosmo integrations:call x.x_dm_conversations_media_download '{"dm_id":"example_dm_id","media_id":"example_media_id","resource_id":"example_resource_id"}' --json

Provider shortcut

kosmo integrations:x x_dm_conversations_media_download '{"dm_id":"example_dm_id","media_id":"example_media_id","resource_id":"example_resource_id"}' --json

x.x_get_direct_messages_events_by_participant_id

Read read

Get DM events for a DM conversation

Parameters
participant_id, max_results, pagination_token, event_types, dm_event.fields, expansions, media.fields, user.fields, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_direct_messages_events_by_participant_id '{"participant_id":"example_participant_id","max_results":1,"pagination_token":"example_pagination_token","event_types":"example_event_types","dm_event.fields":"example_dm_event.fields","expansions":"example_expansions","media.fields":"example_media.fields","user.fields":"example_user.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_direct_messages_events_by_participant_id '{"participant_id":"example_participant_id","max_results":1,"pagination_token":"example_pagination_token","event_types":"example_event_types","dm_event.fields":"example_dm_event.fields","expansions":"example_expansions","media.fields":"example_media.fields","user.fields":"example_user.fields"}' --json

x.x_create_direct_messages_by_participant_id

Write write

Create DM message by participant ID

Parameters
participant_id, body

Generic CLI call

kosmo integrations:call x.x_create_direct_messages_by_participant_id '{"participant_id":"example_participant_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_create_direct_messages_by_participant_id '{"participant_id":"example_participant_id","body":"example_body"}' --json

x.x_create_direct_messages_by_conversation_id

Write write

Create DM message by conversation ID

Parameters
dm_conversation_id, body

Generic CLI call

kosmo integrations:call x.x_create_direct_messages_by_conversation_id '{"dm_conversation_id":"example_dm_conversation_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_create_direct_messages_by_conversation_id '{"dm_conversation_id":"example_dm_conversation_id","body":"example_body"}' --json

x.x_get_direct_messages_events_by_conversation_id

Read read

Get DM events for a DM conversation

Parameters
id, max_results, pagination_token, event_types, dm_event.fields, expansions, media.fields, user.fields, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_direct_messages_events_by_conversation_id '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","event_types":"example_event_types","dm_event.fields":"example_dm_event.fields","expansions":"example_expansions","media.fields":"example_media.fields","user.fields":"example_user.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_direct_messages_events_by_conversation_id '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","event_types":"example_event_types","dm_event.fields":"example_dm_event.fields","expansions":"example_expansions","media.fields":"example_media.fields","user.fields":"example_user.fields"}' --json

x.x_get_direct_messages_events

Read read

Get DM events

Parameters
max_results, pagination_token, event_types, dm_event.fields, expansions, media.fields, user.fields, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_direct_messages_events '{"max_results":1,"pagination_token":"example_pagination_token","event_types":"example_event_types","dm_event.fields":"example_dm_event.fields","expansions":"example_expansions","media.fields":"example_media.fields","user.fields":"example_user.fields","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_direct_messages_events '{"max_results":1,"pagination_token":"example_pagination_token","event_types":"example_event_types","dm_event.fields":"example_dm_event.fields","expansions":"example_expansions","media.fields":"example_media.fields","user.fields":"example_user.fields","tweet.fields":"example_tweet.fields"}' --json

x.x_delete_direct_messages_events

Write write

Delete DM event

Parameters
event_id

Generic CLI call

kosmo integrations:call x.x_delete_direct_messages_events '{"event_id":"example_event_id"}' --json

Provider shortcut

kosmo integrations:x x_delete_direct_messages_events '{"event_id":"example_event_id"}' --json

x.x_get_direct_messages_events_by_id

Read read

Get DM event by ID

Parameters
event_id, dm_event.fields, expansions, media.fields, user.fields, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_direct_messages_events_by_id '{"event_id":"example_event_id","dm_event.fields":"example_dm_event.fields","expansions":"example_expansions","media.fields":"example_media.fields","user.fields":"example_user.fields","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_direct_messages_events_by_id '{"event_id":"example_event_id","dm_event.fields":"example_dm_event.fields","expansions":"example_expansions","media.fields":"example_media.fields","user.fields":"example_user.fields","tweet.fields":"example_tweet.fields"}' --json

x.x_evaluate_community_notes

Write write

Evaluate a Community Note

Parameters
body

Generic CLI call

kosmo integrations:call x.x_evaluate_community_notes '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_evaluate_community_notes '{"body":"example_body"}' --json

x.x_get_insights28_hr

Read read

Get 28-hour Post insights

Parameters
tweet_ids, granularity, requested_metrics, engagement.fields

Generic CLI call

kosmo integrations:call x.x_get_insights28_hr '{"tweet_ids":"example_tweet_ids","granularity":"example_granularity","requested_metrics":"example_requested_metrics","engagement.fields":"example_engagement.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_insights28_hr '{"tweet_ids":"example_tweet_ids","granularity":"example_granularity","requested_metrics":"example_requested_metrics","engagement.fields":"example_engagement.fields"}' --json

x.x_get_insights_historical

Read read

Get historical Post insights

Parameters
tweet_ids, end_time, start_time, granularity, requested_metrics, engagement.fields

Generic CLI call

kosmo integrations:call x.x_get_insights_historical '{"tweet_ids":"example_tweet_ids","end_time":"example_end_time","start_time":"example_start_time","granularity":"example_granularity","requested_metrics":"example_requested_metrics","engagement.fields":"example_engagement.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_insights_historical '{"tweet_ids":"example_tweet_ids","end_time":"example_end_time","start_time":"example_start_time","granularity":"example_granularity","requested_metrics":"example_requested_metrics","engagement.fields":"example_engagement.fields"}' --json

x.x_stream_likes_compliance

Read read

Stream Likes compliance data

Parameters
backfill_minutes, start_time, end_time

Generic CLI call

kosmo integrations:call x.x_stream_likes_compliance '{"backfill_minutes":1,"start_time":"example_start_time","end_time":"example_end_time"}' --json

Provider shortcut

kosmo integrations:x x_stream_likes_compliance '{"backfill_minutes":1,"start_time":"example_start_time","end_time":"example_end_time"}' --json

x.x_stream_likes_firehose

Read read

Stream all Likes

Parameters
backfill_minutes, partition, start_time, end_time, like_with_tweet_author.fields, expansions, media.fields, user.fields, tweet.fields

Generic CLI call

kosmo integrations:call x.x_stream_likes_firehose '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","like_with_tweet_author.fields":"example_like_with_tweet_author.fields","expansions":"example_expansions","media.fields":"example_media.fields","user.fields":"example_user.fields"}' --json

Provider shortcut

kosmo integrations:x x_stream_likes_firehose '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","like_with_tweet_author.fields":"example_like_with_tweet_author.fields","expansions":"example_expansions","media.fields":"example_media.fields","user.fields":"example_user.fields"}' --json

x.x_stream_likes_sample10

Read read

Stream sampled Likes

Parameters
backfill_minutes, partition, start_time, end_time, like_with_tweet_author.fields, expansions, media.fields, user.fields, tweet.fields

Generic CLI call

kosmo integrations:call x.x_stream_likes_sample10 '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","like_with_tweet_author.fields":"example_like_with_tweet_author.fields","expansions":"example_expansions","media.fields":"example_media.fields","user.fields":"example_user.fields"}' --json

Provider shortcut

kosmo integrations:x x_stream_likes_sample10 '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","like_with_tweet_author.fields":"example_like_with_tweet_author.fields","expansions":"example_expansions","media.fields":"example_media.fields","user.fields":"example_user.fields"}' --json

x.x_create_lists

Write write

Create List

Parameters
body

Generic CLI call

kosmo integrations:call x.x_create_lists '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_create_lists '{"body":"example_body"}' --json

x.x_delete_lists

Write write

Delete List

Parameters
id

Generic CLI call

kosmo integrations:call x.x_delete_lists '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:x x_delete_lists '{"id":"example_id"}' --json

x.x_get_lists_by_id

Read read

Get List by ID

Parameters
id, list.fields, expansions, user.fields

Generic CLI call

kosmo integrations:call x.x_get_lists_by_id '{"id":"example_id","list.fields":"example_list.fields","expansions":"example_expansions","user.fields":"example_user.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_lists_by_id '{"id":"example_id","list.fields":"example_list.fields","expansions":"example_expansions","user.fields":"example_user.fields"}' --json

x.x_update_lists

Write write

Update List

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_update_lists '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_update_lists '{"id":"example_id","body":"example_body"}' --json

x.x_get_lists_followers

Read read

Get List followers

Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_lists_followers '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_lists_followers '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_get_lists_members

Read read

Get List members

Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_lists_members '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_lists_members '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_add_lists_member

Write write

Add List member

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_add_lists_member '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_add_lists_member '{"id":"example_id","body":"example_body"}' --json

x.x_remove_lists_member_by_user_id

Write write

Remove List member

Parameters
id, user_id

Generic CLI call

kosmo integrations:call x.x_remove_lists_member_by_user_id '{"id":"example_id","user_id":"example_user_id"}' --json

Provider shortcut

kosmo integrations:x x_remove_lists_member_by_user_id '{"id":"example_id","user_id":"example_user_id"}' --json

x.x_get_lists_posts

Read read

Get List Posts

Parameters
id, max_results, pagination_token, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_get_lists_posts '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_lists_posts '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields"}' --json

x.x_get_media_by_media_keys

Read read

Get Media by media keys

Parameters
media_keys, media.fields

Generic CLI call

kosmo integrations:call x.x_get_media_by_media_keys '{"media_keys":"example_media_keys","media.fields":"example_media.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_media_by_media_keys '{"media_keys":"example_media_keys","media.fields":"example_media.fields"}' --json

x.x_get_media_analytics

Read read

Get Media analytics

Parameters
media_keys, end_time, start_time, granularity, media_analytics.fields

Generic CLI call

kosmo integrations:call x.x_get_media_analytics '{"media_keys":"example_media_keys","end_time":"example_end_time","start_time":"example_start_time","granularity":"example_granularity","media_analytics.fields":"example_media_analytics.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_media_analytics '{"media_keys":"example_media_keys","end_time":"example_end_time","start_time":"example_start_time","granularity":"example_granularity","media_analytics.fields":"example_media_analytics.fields"}' --json

x.x_create_media_metadata

Write write

Create Media metadata

Parameters
body

Generic CLI call

kosmo integrations:call x.x_create_media_metadata '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_create_media_metadata '{"body":"example_body"}' --json

x.x_delete_media_subtitles

Write write

Delete Media subtitles

Parameters
body

Generic CLI call

kosmo integrations:call x.x_delete_media_subtitles '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_delete_media_subtitles '{"body":"example_body"}' --json

x.x_create_media_subtitles

Write write

Create Media subtitles

Parameters
body

Generic CLI call

kosmo integrations:call x.x_create_media_subtitles '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_create_media_subtitles '{"body":"example_body"}' --json

x.x_get_media_upload_status

Read read

Get Media upload status

Parameters
media_id, command

Generic CLI call

kosmo integrations:call x.x_get_media_upload_status '{"media_id":"example_media_id","command":"example_command"}' --json

Provider shortcut

kosmo integrations:x x_get_media_upload_status '{"media_id":"example_media_id","command":"example_command"}' --json

x.x_media_upload

Write write

Upload media

Parameters
body

Generic CLI call

kosmo integrations:call x.x_media_upload '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_media_upload '{"body":"example_body"}' --json

x.x_initialize_media_upload

Write write

Initialize media upload

Parameters
body

Generic CLI call

kosmo integrations:call x.x_initialize_media_upload '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_initialize_media_upload '{"body":"example_body"}' --json

x.x_append_media_upload

Write write

Append Media upload

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_append_media_upload '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_append_media_upload '{"id":"example_id","body":"example_body"}' --json

x.x_finalize_media_upload

Write write

Finalize Media upload

Parameters
id

Generic CLI call

kosmo integrations:call x.x_finalize_media_upload '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:x x_finalize_media_upload '{"id":"example_id"}' --json

x.x_get_media_by_media_key

Read read

Get Media by media key

Parameters
media_key, media.fields

Generic CLI call

kosmo integrations:call x.x_get_media_by_media_key '{"media_key":"example_media_key","media.fields":"example_media.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_media_by_media_key '{"media_key":"example_media_key","media.fields":"example_media.fields"}' --json

x.x_search_news

Read read

Search News

Parameters
query, max_results, max_age_hours, news.fields

Generic CLI call

kosmo integrations:call x.x_search_news '{"query":"example_query","max_results":1,"max_age_hours":1,"news.fields":"example_news.fields"}' --json

Provider shortcut

kosmo integrations:x x_search_news '{"query":"example_query","max_results":1,"max_age_hours":1,"news.fields":"example_news.fields"}' --json

x.x_get_news

Read read

Get news stories by ID

Parameters
id, news.fields

Generic CLI call

kosmo integrations:call x.x_get_news '{"id":"example_id","news.fields":"example_news.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_news '{"id":"example_id","news.fields":"example_news.fields"}' --json

x.x_create_community_notes

Write write

Create a Community Note

Parameters
body

Generic CLI call

kosmo integrations:call x.x_create_community_notes '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_create_community_notes '{"body":"example_body"}' --json

x.x_search_community_notes_written

Read read

Search for Community Notes Written

Parameters
test_mode, pagination_token, max_results, note.fields

Generic CLI call

kosmo integrations:call x.x_search_community_notes_written '{"test_mode":true,"pagination_token":"example_pagination_token","max_results":1,"note.fields":"example_note.fields"}' --json

Provider shortcut

kosmo integrations:x x_search_community_notes_written '{"test_mode":true,"pagination_token":"example_pagination_token","max_results":1,"note.fields":"example_note.fields"}' --json

x.x_search_eligible_posts

Read read

Search for Posts Eligible for Community Notes

Parameters
test_mode, pagination_token, max_results, post_selection, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_search_eligible_posts '{"test_mode":true,"pagination_token":"example_pagination_token","max_results":1,"post_selection":"example_post_selection","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

Provider shortcut

kosmo integrations:x x_search_eligible_posts '{"test_mode":true,"pagination_token":"example_pagination_token","max_results":1,"post_selection":"example_post_selection","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

x.x_delete_community_notes

Write write

Delete a Community Note

Parameters
id

Generic CLI call

kosmo integrations:call x.x_delete_community_notes '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:x x_delete_community_notes '{"id":"example_id"}' --json

x.x_get_open_api_spec

Read read

Get OpenAPI Spec.

Parameters
none

Generic CLI call

kosmo integrations:call x.x_get_open_api_spec '{}' --json

Provider shortcut

kosmo integrations:x x_get_open_api_spec '{}' --json

x.x_get_spaces_by_ids

Read read

Get Spaces by IDs

Parameters
ids, space.fields, expansions, user.fields, topic.fields

Generic CLI call

kosmo integrations:call x.x_get_spaces_by_ids '{"ids":"example_ids","space.fields":"example_space.fields","expansions":"example_expansions","user.fields":"example_user.fields","topic.fields":"example_topic.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_spaces_by_ids '{"ids":"example_ids","space.fields":"example_space.fields","expansions":"example_expansions","user.fields":"example_user.fields","topic.fields":"example_topic.fields"}' --json

x.x_get_spaces_by_creator_ids

Read read

Get Spaces by creator IDs

Parameters
user_ids, space.fields, expansions, user.fields, topic.fields

Generic CLI call

kosmo integrations:call x.x_get_spaces_by_creator_ids '{"user_ids":"example_user_ids","space.fields":"example_space.fields","expansions":"example_expansions","user.fields":"example_user.fields","topic.fields":"example_topic.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_spaces_by_creator_ids '{"user_ids":"example_user_ids","space.fields":"example_space.fields","expansions":"example_expansions","user.fields":"example_user.fields","topic.fields":"example_topic.fields"}' --json

x.x_search_spaces

Read read

Search Spaces

Parameters
query, state, max_results, space.fields, expansions, user.fields, topic.fields

Generic CLI call

kosmo integrations:call x.x_search_spaces '{"query":"example_query","state":"example_state","max_results":1,"space.fields":"example_space.fields","expansions":"example_expansions","user.fields":"example_user.fields","topic.fields":"example_topic.fields"}' --json

Provider shortcut

kosmo integrations:x x_search_spaces '{"query":"example_query","state":"example_state","max_results":1,"space.fields":"example_space.fields","expansions":"example_expansions","user.fields":"example_user.fields","topic.fields":"example_topic.fields"}' --json

x.x_get_spaces_by_id

Read read

Get space by ID

Parameters
id, space.fields, expansions, user.fields, topic.fields

Generic CLI call

kosmo integrations:call x.x_get_spaces_by_id '{"id":"example_id","space.fields":"example_space.fields","expansions":"example_expansions","user.fields":"example_user.fields","topic.fields":"example_topic.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_spaces_by_id '{"id":"example_id","space.fields":"example_space.fields","expansions":"example_expansions","user.fields":"example_user.fields","topic.fields":"example_topic.fields"}' --json

x.x_get_spaces_buyers

Read read

Get Space ticket buyers

Parameters
id, pagination_token, max_results, user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_spaces_buyers '{"id":"example_id","pagination_token":"example_pagination_token","max_results":1,"user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_spaces_buyers '{"id":"example_id","pagination_token":"example_pagination_token","max_results":1,"user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_get_spaces_posts

Read read

Get Space Posts

Parameters
id, max_results, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_get_spaces_posts '{"id":"example_id","max_results":1,"tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields","place.fields":"example_place.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_spaces_posts '{"id":"example_id","max_results":1,"tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields","place.fields":"example_place.fields"}' --json

x.x_get_posts_by_ids

Read read

Get Posts by IDs

Parameters
ids, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_get_posts_by_ids '{"ids":"example_ids","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields","place.fields":"example_place.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_posts_by_ids '{"ids":"example_ids","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields","place.fields":"example_place.fields"}' --json

x.x_create_posts

Write write

Create or Edit Post

Parameters
body

Generic CLI call

kosmo integrations:call x.x_create_posts '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_create_posts '{"body":"example_body"}' --json

x.x_get_posts_analytics

Read read

Get Post analytics

Parameters
ids, end_time, start_time, granularity, analytics.fields

Generic CLI call

kosmo integrations:call x.x_get_posts_analytics '{"ids":"example_ids","end_time":"example_end_time","start_time":"example_start_time","granularity":"example_granularity","analytics.fields":"example_analytics.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_posts_analytics '{"ids":"example_ids","end_time":"example_end_time","start_time":"example_start_time","granularity":"example_granularity","analytics.fields":"example_analytics.fields"}' --json

x.x_stream_posts_compliance

Read read

Stream Posts compliance data

Parameters
backfill_minutes, partition, start_time, end_time

Generic CLI call

kosmo integrations:call x.x_stream_posts_compliance '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time"}' --json

Provider shortcut

kosmo integrations:x x_stream_posts_compliance '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time"}' --json

x.x_get_posts_counts_all

Read read

Get count of all Posts

Parameters
query, start_time, end_time, since_id, until_id, next_token, pagination_token, granularity, search_count.fields

Generic CLI call

kosmo integrations:call x.x_get_posts_counts_all '{"query":"example_query","start_time":"example_start_time","end_time":"example_end_time","since_id":"example_since_id","until_id":"example_until_id","next_token":"example_next_token","pagination_token":"example_pagination_token","granularity":"example_granularity"}' --json

Provider shortcut

kosmo integrations:x x_get_posts_counts_all '{"query":"example_query","start_time":"example_start_time","end_time":"example_end_time","since_id":"example_since_id","until_id":"example_until_id","next_token":"example_next_token","pagination_token":"example_pagination_token","granularity":"example_granularity"}' --json

x.x_get_posts_counts_recent

Read read

Get count of recent Posts

Parameters
query, start_time, end_time, since_id, until_id, next_token, pagination_token, granularity, search_count.fields

Generic CLI call

kosmo integrations:call x.x_get_posts_counts_recent '{"query":"example_query","start_time":"example_start_time","end_time":"example_end_time","since_id":"example_since_id","until_id":"example_until_id","next_token":"example_next_token","pagination_token":"example_pagination_token","granularity":"example_granularity"}' --json

Provider shortcut

kosmo integrations:x x_get_posts_counts_recent '{"query":"example_query","start_time":"example_start_time","end_time":"example_end_time","since_id":"example_since_id","until_id":"example_until_id","next_token":"example_next_token","pagination_token":"example_pagination_token","granularity":"example_granularity"}' --json

x.x_stream_posts_firehose

Read read

Stream all Posts

Parameters
backfill_minutes, partition, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_stream_posts_firehose '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

Provider shortcut

kosmo integrations:x x_stream_posts_firehose '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

x.x_stream_posts_firehose_en

Read read

Stream English Posts

Parameters
backfill_minutes, partition, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_stream_posts_firehose_en '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

Provider shortcut

kosmo integrations:x x_stream_posts_firehose_en '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

x.x_stream_posts_firehose_ja

Read read

Stream Japanese Posts

Parameters
backfill_minutes, partition, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_stream_posts_firehose_ja '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

Provider shortcut

kosmo integrations:x x_stream_posts_firehose_ja '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

x.x_stream_posts_firehose_ko

Read read

Stream Korean Posts

Parameters
backfill_minutes, partition, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_stream_posts_firehose_ko '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

Provider shortcut

kosmo integrations:x x_stream_posts_firehose_ko '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

x.x_stream_posts_firehose_pt

Read read

Stream Portuguese Posts

Parameters
backfill_minutes, partition, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_stream_posts_firehose_pt '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

Provider shortcut

kosmo integrations:x x_stream_posts_firehose_pt '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

x.x_stream_labels_compliance

Read read

Stream Post labels

Parameters
backfill_minutes, start_time, end_time

Generic CLI call

kosmo integrations:call x.x_stream_labels_compliance '{"backfill_minutes":1,"start_time":"example_start_time","end_time":"example_end_time"}' --json

Provider shortcut

kosmo integrations:x x_stream_labels_compliance '{"backfill_minutes":1,"start_time":"example_start_time","end_time":"example_end_time"}' --json

x.x_stream_posts_sample

Read read

Stream sampled Posts

Parameters
backfill_minutes, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_stream_posts_sample '{"backfill_minutes":1,"tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields","place.fields":"example_place.fields"}' --json

Provider shortcut

kosmo integrations:x x_stream_posts_sample '{"backfill_minutes":1,"tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields","place.fields":"example_place.fields"}' --json

x.x_stream_posts_sample10

Read read

Stream 10% sampled Posts

Parameters
backfill_minutes, partition, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_stream_posts_sample10 '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

Provider shortcut

kosmo integrations:x x_stream_posts_sample10 '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

x.x_search_posts_all

Read read

Search all Posts

Parameters
query, start_time, end_time, since_id, until_id, max_results, next_token, pagination_token, sort_order, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_search_posts_all '{"query":"example_query","start_time":"example_start_time","end_time":"example_end_time","since_id":"example_since_id","until_id":"example_until_id","max_results":1,"next_token":"example_next_token","pagination_token":"example_pagination_token"}' --json

Provider shortcut

kosmo integrations:x x_search_posts_all '{"query":"example_query","start_time":"example_start_time","end_time":"example_end_time","since_id":"example_since_id","until_id":"example_until_id","max_results":1,"next_token":"example_next_token","pagination_token":"example_pagination_token"}' --json

x.x_search_posts_recent

Read read

Search recent Posts

Parameters
query, start_time, end_time, since_id, until_id, max_results, next_token, pagination_token, sort_order, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_search_posts_recent '{"query":"example_query","start_time":"example_start_time","end_time":"example_end_time","since_id":"example_since_id","until_id":"example_until_id","max_results":1,"next_token":"example_next_token","pagination_token":"example_pagination_token"}' --json

Provider shortcut

kosmo integrations:x x_search_posts_recent '{"query":"example_query","start_time":"example_start_time","end_time":"example_end_time","since_id":"example_since_id","until_id":"example_until_id","max_results":1,"next_token":"example_next_token","pagination_token":"example_pagination_token"}' --json

x.x_stream_posts

Read read

Stream filtered Posts

Parameters
backfill_minutes, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_stream_posts '{"backfill_minutes":1,"start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields"}' --json

Provider shortcut

kosmo integrations:x x_stream_posts '{"backfill_minutes":1,"start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields"}' --json

x.x_get_rules

Read read

Get stream rules

Parameters
ids, max_results, pagination_token

Generic CLI call

kosmo integrations:call x.x_get_rules '{"ids":"example_ids","max_results":1,"pagination_token":"example_pagination_token"}' --json

Provider shortcut

kosmo integrations:x x_get_rules '{"ids":"example_ids","max_results":1,"pagination_token":"example_pagination_token"}' --json

x.x_update_rules

Write write

Update stream rules

Parameters
dry_run, delete_all, body

Generic CLI call

kosmo integrations:call x.x_update_rules '{"dry_run":true,"delete_all":true,"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_update_rules '{"dry_run":true,"delete_all":true,"body":"example_body"}' --json

x.x_get_rule_counts

Read read

Get stream rule counts

Parameters
rules_count.fields

Generic CLI call

kosmo integrations:call x.x_get_rule_counts '{"rules_count.fields":"example_rules_count.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_rule_counts '{"rules_count.fields":"example_rules_count.fields"}' --json

x.x_delete_posts

Write write

Delete Post

Parameters
id

Generic CLI call

kosmo integrations:call x.x_delete_posts '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:x x_delete_posts '{"id":"example_id"}' --json

x.x_get_posts_by_id

Read read

Get Post by ID

Parameters
id, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_get_posts_by_id '{"id":"example_id","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields","place.fields":"example_place.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_posts_by_id '{"id":"example_id","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields","place.fields":"example_place.fields"}' --json

x.x_get_posts_liking_users

Read read

Get Liking Users

Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_posts_liking_users '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_posts_liking_users '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_get_posts_quoted_posts

Read read

Get Quoted Posts

Parameters
id, max_results, pagination_token, exclude, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_get_posts_quoted_posts '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","exclude":"example_exclude","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_posts_quoted_posts '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","exclude":"example_exclude","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields"}' --json

x.x_get_posts_reposted_by

Read read

Get Reposted by

Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_posts_reposted_by '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_posts_reposted_by '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_get_posts_reposts

Read read

Get Reposts

Parameters
id, max_results, pagination_token, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_get_posts_reposts '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_posts_reposts '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields"}' --json

x.x_hide_posts_reply

Write write

Hide reply

Parameters
tweet_id, body

Generic CLI call

kosmo integrations:call x.x_hide_posts_reply '{"tweet_id":"example_tweet_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_hide_posts_reply '{"tweet_id":"example_tweet_id","body":"example_body"}' --json

x.x_get_usage

Read read

Get usage

Parameters
days, usage.fields

Generic CLI call

kosmo integrations:call x.x_get_usage '{"days":1,"usage.fields":"example_usage.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_usage '{"days":1,"usage.fields":"example_usage.fields"}' --json

x.x_get_users_by_ids

Read read

Get Users by IDs

Parameters
ids, user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_users_by_ids '{"ids":"example_ids","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_by_ids '{"ids":"example_ids","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_get_users_by_usernames

Read read

Get Users by usernames

Parameters
usernames, user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_users_by_usernames '{"usernames":"example_usernames","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_by_usernames '{"usernames":"example_usernames","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_get_users_by_username

Read read

Get User by username

Parameters
username, user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_users_by_username '{"username":"example_username","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_by_username '{"username":"example_username","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_stream_users_compliance

Read read

Stream Users compliance data

Parameters
backfill_minutes, partition, start_time, end_time

Generic CLI call

kosmo integrations:call x.x_stream_users_compliance '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time"}' --json

Provider shortcut

kosmo integrations:x x_stream_users_compliance '{"backfill_minutes":1,"partition":1,"start_time":"example_start_time","end_time":"example_end_time"}' --json

x.x_get_users_me

Read read

Get my User

Parameters
user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_users_me '{"user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_me '{"user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_get_users_public_keys

Read read

Get public keys for multiple users

Parameters
ids, public_key.fields

Generic CLI call

kosmo integrations:call x.x_get_users_public_keys '{"ids":"example_ids","public_key.fields":"example_public_key.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_public_keys '{"ids":"example_ids","public_key.fields":"example_public_key.fields"}' --json

x.x_get_users_reposts_of_me

Read read

Get Reposts of me

Parameters
max_results, pagination_token, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_get_users_reposts_of_me '{"max_results":1,"pagination_token":"example_pagination_token","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields","place.fields":"example_place.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_reposts_of_me '{"max_results":1,"pagination_token":"example_pagination_token","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields","place.fields":"example_place.fields"}' --json

x.x_search_users

Read read

Search Users

Parameters
query, max_results, next_token, user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_search_users '{"query":"example_query","max_results":1,"next_token":"example_next_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_search_users '{"query":"example_query","max_results":1,"next_token":"example_next_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_get_users_by_id

Read read

Get User by ID

Parameters
id, user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_users_by_id '{"id":"example_id","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_by_id '{"id":"example_id","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_get_users_affiliates

Read read

Get affiliates

Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_users_affiliates '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_affiliates '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_get_users_blocking

Read read

Get blocking

Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_users_blocking '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_blocking '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_get_users_bookmarks

Read read

Get Bookmarks

Parameters
id, max_results, pagination_token, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_get_users_bookmarks '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_bookmarks '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields"}' --json

x.x_create_users_bookmark

Write write

Create Bookmark

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_create_users_bookmark '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_create_users_bookmark '{"id":"example_id","body":"example_body"}' --json

x.x_get_users_bookmark_folders

Read read

Get Bookmark folders

Parameters
id, max_results, pagination_token

Generic CLI call

kosmo integrations:call x.x_get_users_bookmark_folders '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token"}' --json

Provider shortcut

kosmo integrations:x x_get_users_bookmark_folders '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token"}' --json

x.x_get_users_bookmarks_by_folder_id

Read read

Get Bookmarks by folder ID

Parameters
id, folder_id

Generic CLI call

kosmo integrations:call x.x_get_users_bookmarks_by_folder_id '{"id":"example_id","folder_id":"example_folder_id"}' --json

Provider shortcut

kosmo integrations:x x_get_users_bookmarks_by_folder_id '{"id":"example_id","folder_id":"example_folder_id"}' --json

x.x_delete_users_bookmark

Write write

Delete Bookmark

Parameters
id, tweet_id

Generic CLI call

kosmo integrations:call x.x_delete_users_bookmark '{"id":"example_id","tweet_id":"example_tweet_id"}' --json

Provider shortcut

kosmo integrations:x x_delete_users_bookmark '{"id":"example_id","tweet_id":"example_tweet_id"}' --json

x.x_block_users_dms

Write write

Block DMs

Parameters
id

Generic CLI call

kosmo integrations:call x.x_block_users_dms '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:x x_block_users_dms '{"id":"example_id"}' --json

x.x_unblock_users_dms

Write write

Unblock DMs

Parameters
id

Generic CLI call

kosmo integrations:call x.x_unblock_users_dms '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:x x_unblock_users_dms '{"id":"example_id"}' --json

x.x_get_users_followed_lists

Read read

Get followed Lists

Parameters
id, max_results, pagination_token, list.fields, expansions, user.fields

Generic CLI call

kosmo integrations:call x.x_get_users_followed_lists '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","list.fields":"example_list.fields","expansions":"example_expansions","user.fields":"example_user.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_followed_lists '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","list.fields":"example_list.fields","expansions":"example_expansions","user.fields":"example_user.fields"}' --json

x.x_follow_list

Write write

Follow List

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_follow_list '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_follow_list '{"id":"example_id","body":"example_body"}' --json

x.x_unfollow_list

Write write

Unfollow List

Parameters
id, list_id

Generic CLI call

kosmo integrations:call x.x_unfollow_list '{"id":"example_id","list_id":"example_list_id"}' --json

Provider shortcut

kosmo integrations:x x_unfollow_list '{"id":"example_id","list_id":"example_list_id"}' --json

x.x_get_users_followers

Read read

Get followers

Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_users_followers '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_followers '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_get_users_following

Read read

Get following

Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_users_following '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_following '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_follow_user

Write write

Follow User

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_follow_user '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_follow_user '{"id":"example_id","body":"example_body"}' --json

x.x_get_users_liked_posts

Read read

Get liked Posts

Parameters
id, max_results, pagination_token, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_get_users_liked_posts '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_liked_posts '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","tweet.fields":"example_tweet.fields","expansions":"example_expansions","media.fields":"example_media.fields","poll.fields":"example_poll.fields","user.fields":"example_user.fields"}' --json

x.x_like_post

Write write

Like Post

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_like_post '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_like_post '{"id":"example_id","body":"example_body"}' --json

x.x_unlike_post

Write write

Unlike Post

Parameters
id, tweet_id

Generic CLI call

kosmo integrations:call x.x_unlike_post '{"id":"example_id","tweet_id":"example_tweet_id"}' --json

Provider shortcut

kosmo integrations:x x_unlike_post '{"id":"example_id","tweet_id":"example_tweet_id"}' --json

x.x_get_users_list_memberships

Read read

Get List memberships

Parameters
id, max_results, pagination_token, list.fields, expansions, user.fields

Generic CLI call

kosmo integrations:call x.x_get_users_list_memberships '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","list.fields":"example_list.fields","expansions":"example_expansions","user.fields":"example_user.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_list_memberships '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","list.fields":"example_list.fields","expansions":"example_expansions","user.fields":"example_user.fields"}' --json

x.x_get_users_mentions

Read read

Get mentions

Parameters
id, since_id, until_id, max_results, pagination_token, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_get_users_mentions '{"id":"example_id","since_id":"example_since_id","until_id":"example_until_id","max_results":1,"pagination_token":"example_pagination_token","start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_mentions '{"id":"example_id","since_id":"example_since_id","until_id":"example_until_id","max_results":1,"pagination_token":"example_pagination_token","start_time":"example_start_time","end_time":"example_end_time","tweet.fields":"example_tweet.fields"}' --json

x.x_get_users_muting

Read read

Get muting

Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields

Generic CLI call

kosmo integrations:call x.x_get_users_muting '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_muting '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json

x.x_mute_user

Write write

Mute User

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_mute_user '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_mute_user '{"id":"example_id","body":"example_body"}' --json

x.x_get_users_owned_lists

Read read

Get owned Lists

Parameters
id, max_results, pagination_token, list.fields, expansions, user.fields

Generic CLI call

kosmo integrations:call x.x_get_users_owned_lists '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","list.fields":"example_list.fields","expansions":"example_expansions","user.fields":"example_user.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_owned_lists '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token","list.fields":"example_list.fields","expansions":"example_expansions","user.fields":"example_user.fields"}' --json

x.x_get_users_pinned_lists

Read read

Get pinned Lists

Parameters
id, list.fields, expansions, user.fields

Generic CLI call

kosmo integrations:call x.x_get_users_pinned_lists '{"id":"example_id","list.fields":"example_list.fields","expansions":"example_expansions","user.fields":"example_user.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_pinned_lists '{"id":"example_id","list.fields":"example_list.fields","expansions":"example_expansions","user.fields":"example_user.fields"}' --json

x.x_pin_list

Write write

Pin List

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_pin_list '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_pin_list '{"id":"example_id","body":"example_body"}' --json

x.x_unpin_list

Write write

Unpin List

Parameters
id, list_id

Generic CLI call

kosmo integrations:call x.x_unpin_list '{"id":"example_id","list_id":"example_list_id"}' --json

Provider shortcut

kosmo integrations:x x_unpin_list '{"id":"example_id","list_id":"example_list_id"}' --json

x.x_get_users_public_key

Read read

Get user public keys

Parameters
id, public_key.fields

Generic CLI call

kosmo integrations:call x.x_get_users_public_key '{"id":"example_id","public_key.fields":"example_public_key.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_users_public_key '{"id":"example_id","public_key.fields":"example_public_key.fields"}' --json

x.x_add_user_public_key

Write write

Add public key

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_add_user_public_key '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_add_user_public_key '{"id":"example_id","body":"example_body"}' --json

x.x_repost_post

Write write

Repost Post

Parameters
id, body

Generic CLI call

kosmo integrations:call x.x_repost_post '{"id":"example_id","body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_repost_post '{"id":"example_id","body":"example_body"}' --json

x.x_unrepost_post

Write write

Unrepost Post

Parameters
id, source_tweet_id

Generic CLI call

kosmo integrations:call x.x_unrepost_post '{"id":"example_id","source_tweet_id":"example_source_tweet_id"}' --json

Provider shortcut

kosmo integrations:x x_unrepost_post '{"id":"example_id","source_tweet_id":"example_source_tweet_id"}' --json

x.x_get_users_timeline

Read read

Get Timeline

Parameters
id, since_id, until_id, max_results, pagination_token, exclude, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_get_users_timeline '{"id":"example_id","since_id":"example_since_id","until_id":"example_until_id","max_results":1,"pagination_token":"example_pagination_token","exclude":"example_exclude","start_time":"example_start_time","end_time":"example_end_time"}' --json

Provider shortcut

kosmo integrations:x x_get_users_timeline '{"id":"example_id","since_id":"example_since_id","until_id":"example_until_id","max_results":1,"pagination_token":"example_pagination_token","exclude":"example_exclude","start_time":"example_start_time","end_time":"example_end_time"}' --json

x.x_get_users_posts

Read read

Get Posts

Parameters
id, since_id, until_id, max_results, pagination_token, exclude, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields

Generic CLI call

kosmo integrations:call x.x_get_users_posts '{"id":"example_id","since_id":"example_since_id","until_id":"example_until_id","max_results":1,"pagination_token":"example_pagination_token","exclude":"example_exclude","start_time":"example_start_time","end_time":"example_end_time"}' --json

Provider shortcut

kosmo integrations:x x_get_users_posts '{"id":"example_id","since_id":"example_since_id","until_id":"example_until_id","max_results":1,"pagination_token":"example_pagination_token","exclude":"example_exclude","start_time":"example_start_time","end_time":"example_end_time"}' --json

x.x_unfollow_user

Write write

Unfollow User

Parameters
source_user_id, target_user_id

Generic CLI call

kosmo integrations:call x.x_unfollow_user '{"source_user_id":"example_source_user_id","target_user_id":"example_target_user_id"}' --json

Provider shortcut

kosmo integrations:x x_unfollow_user '{"source_user_id":"example_source_user_id","target_user_id":"example_target_user_id"}' --json

x.x_unmute_user

Write write

Unmute User

Parameters
source_user_id, target_user_id

Generic CLI call

kosmo integrations:call x.x_unmute_user '{"source_user_id":"example_source_user_id","target_user_id":"example_target_user_id"}' --json

Provider shortcut

kosmo integrations:x x_unmute_user '{"source_user_id":"example_source_user_id","target_user_id":"example_target_user_id"}' --json

x.x_get_webhooks

Read read

Get webhook

Parameters
webhook_config.fields

Generic CLI call

kosmo integrations:call x.x_get_webhooks '{"webhook_config.fields":"example_webhook_config.fields"}' --json

Provider shortcut

kosmo integrations:x x_get_webhooks '{"webhook_config.fields":"example_webhook_config.fields"}' --json

x.x_create_webhooks

Write write

Create webhook

Parameters
body

Generic CLI call

kosmo integrations:call x.x_create_webhooks '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_create_webhooks '{"body":"example_body"}' --json

x.x_create_webhook_replay_job

Write write

Create replay job for webhook

Parameters
body

Generic CLI call

kosmo integrations:call x.x_create_webhook_replay_job '{"body":"example_body"}' --json

Provider shortcut

kosmo integrations:x x_create_webhook_replay_job '{"body":"example_body"}' --json

x.x_delete_webhooks

Write write

Delete webhook

Parameters
webhook_id

Generic CLI call

kosmo integrations:call x.x_delete_webhooks '{"webhook_id":"example_webhook_id"}' --json

Provider shortcut

kosmo integrations:x x_delete_webhooks '{"webhook_id":"example_webhook_id"}' --json

x.x_validate_webhooks

Write write

Validate webhook

Parameters
webhook_id

Generic CLI call

kosmo integrations:call x.x_validate_webhooks '{"webhook_id":"example_webhook_id"}' --json

Provider shortcut

kosmo integrations:x x_validate_webhooks '{"webhook_id":"example_webhook_id"}' --json

Function Schemas

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

x.x_get_account_activity_subscription_count

Get subscription count

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_account_activity_subscription_count --json
ParameterTypeRequiredDescription
No parameters.

x.x_validate_account_activity_subscription

Validate subscription

Operation
Read read
Schema command
kosmo integrations:schema x.x_validate_account_activity_subscription --json
ParameterTypeRequiredDescription
webhook_id string yes The webhook ID to check subscription against.

x.x_create_account_activity_subscription

Create subscription

Operation
Write write
Schema command
kosmo integrations:schema x.x_create_account_activity_subscription --json
ParameterTypeRequiredDescription
webhook_id string yes The webhook ID to check subscription against.
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_get_account_activity_subscriptions

Get subscriptions

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_account_activity_subscriptions --json
ParameterTypeRequiredDescription
webhook_id string yes The webhook ID to pull subscriptions for.

x.x_delete_account_activity_subscription

Delete subscription

Operation
Write write
Schema command
kosmo integrations:schema x.x_delete_account_activity_subscription --json
ParameterTypeRequiredDescription
webhook_id string yes The webhook ID to check subscription against.
user_id string yes User ID to unsubscribe from.

x.x_activity_stream

Activity Stream

Operation
Read read
Schema command
kosmo integrations:schema x.x_activity_stream --json
ParameterTypeRequiredDescription
backfill_minutes integer no The number of minutes of backfill requested.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the Post labels will be provided.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp from which the Post labels will be provided.

x.x_delete_activity_subscriptions_by_ids

Delete X activity subscriptions by IDs

Operation
Write write
Schema command
kosmo integrations:schema x.x_delete_activity_subscriptions_by_ids --json
ParameterTypeRequiredDescription
ids array yes Comma-separated list of subscription IDs to delete.

x.x_get_activity_subscriptions

Get X activity subscriptions

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_activity_subscriptions --json
ParameterTypeRequiredDescription
max_results integer no The maximum number of results to return per page.
pagination_token string no This parameter is used to get the next 'page' of results.

x.x_create_activity_subscription

Create X activity subscription

Operation
Write write
Schema command
kosmo integrations:schema x.x_create_activity_subscription --json
ParameterTypeRequiredDescription
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_delete_activity_subscription

Deletes X activity subscription

Operation
Write write
Schema command
kosmo integrations:schema x.x_delete_activity_subscription --json
ParameterTypeRequiredDescription
subscription_id string yes The ID of the subscription to delete.

x.x_update_activity_subscription

Update X activity subscription

Operation
Write write
Schema command
kosmo integrations:schema x.x_update_activity_subscription --json
ParameterTypeRequiredDescription
subscription_id string yes The ID of the subscription to update.
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_get_chat_conversations

Get Chat Conversations

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_chat_conversations --json
ParameterTypeRequiredDescription
max_results integer no Maximum number of conversations to return.
pagination_token string no Token for pagination to retrieve the next page of results.
chat_conversation.fields array no A comma separated list of ChatConversation fields to display.
expansions array no A comma separated list of fields to expand.
user.fields array no A comma separated list of User fields to display.

x.x_create_chat_conversation

Create Chat Group Conversation

Operation
Write write
Schema command
kosmo integrations:schema x.x_create_chat_conversation --json
ParameterTypeRequiredDescription
body object yes Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_initialize_chat_group

Initialize Chat Group

Operation
Write write
Schema command
kosmo integrations:schema x.x_initialize_chat_group --json
ParameterTypeRequiredDescription
No parameters.

x.x_get_chat_conversation

Get Chat Conversation

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_chat_conversation --json
ParameterTypeRequiredDescription
id string yes The recipient's user ID for a 1:1 conversation, or a group conversation ID (prefixed with 'g').
max_results integer no Maximum number of message events to return.
pagination_token string no Token for pagination to retrieve the next page of results.
chat_message_event.fields array no A comma separated list of ChatMessageEvent fields to display.

x.x_initialize_chat_conversation_keys

Initialize Conversation Keys

Operation
Write write
Schema command
kosmo integrations:schema x.x_initialize_chat_conversation_keys --json
ParameterTypeRequiredDescription
id string yes The recipient's user ID for a 1:1 conversation, or a group conversation ID (prefixed with 'g').
body object yes Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_add_chat_group_members

Add members to a Chat group conversation

Operation
Write write
Schema command
kosmo integrations:schema x.x_add_chat_group_members --json
ParameterTypeRequiredDescription
id string yes The Chat group conversation ID.
body object yes Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_send_chat_message

Send Chat Message

Operation
Write write
Schema command
kosmo integrations:schema x.x_send_chat_message --json
ParameterTypeRequiredDescription
id string yes The recipient's user ID for a 1:1 conversation, or a group conversation ID (prefixed with 'g').
body object yes Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_mark_chat_conversation_read

Mark Conversation as Read

Operation
Write write
Schema command
kosmo integrations:schema x.x_mark_chat_conversation_read --json
ParameterTypeRequiredDescription
id string yes The recipient's user ID for a 1:1 conversation, or a group conversation ID (prefixed with 'g').
body object yes Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_send_chat_typing_indicator

Send Typing Indicator

Operation
Write write
Schema command
kosmo integrations:schema x.x_send_chat_typing_indicator --json
ParameterTypeRequiredDescription
id string yes The recipient's user ID for a 1:1 conversation, or a group conversation ID (prefixed with 'g').

x.x_chat_media_upload_initialize

Initialize Chat Media Upload

Operation
Write write
Schema command
kosmo integrations:schema x.x_chat_media_upload_initialize --json
ParameterTypeRequiredDescription
body object yes Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_chat_media_upload_append

Append Chat Media Upload

Operation
Write write
Schema command
kosmo integrations:schema x.x_chat_media_upload_append --json
ParameterTypeRequiredDescription
id string yes The session/resume id from initialize.
body object yes Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_chat_media_upload_finalize

Finalize Chat Media Upload

Operation
Write write
Schema command
kosmo integrations:schema x.x_chat_media_upload_finalize --json
ParameterTypeRequiredDescription
id string yes The session/resume id from initialize.
body object yes Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_chat_media_download

Download Chat Media

Operation
Read read
Schema command
kosmo integrations:schema x.x_chat_media_download --json
ParameterTypeRequiredDescription
id string yes The recipient's user ID for a 1:1 conversation, or a group conversation ID (prefixed with 'g').
media_hash_key string yes The media hash key returned from the upload initialize step.

x.x_search_communities

Search Communities

Operation
Read read
Schema command
kosmo integrations:schema x.x_search_communities --json
ParameterTypeRequiredDescription
query string yes Query to search communities.
max_results integer no The maximum number of search results to be returned by a request.
next_token string no This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
pagination_token string no This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
community.fields array no A comma separated list of Community fields to display.

x.x_get_communities_by_id

Get Community by ID

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_communities_by_id --json
ParameterTypeRequiredDescription
id string yes The ID of the Community.
community.fields array no A comma separated list of Community fields to display.

x.x_get_compliance_jobs

Get Compliance Jobs

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_compliance_jobs --json
ParameterTypeRequiredDescription
type string yes Type of Compliance Job to list.
status string no Status of Compliance Job to list.
compliance_job.fields array no A comma separated list of ComplianceJob fields to display.

x.x_create_compliance_jobs

Create Compliance Job

Operation
Write write
Schema command
kosmo integrations:schema x.x_create_compliance_jobs --json
ParameterTypeRequiredDescription
body object yes Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_get_compliance_jobs_by_id

Get Compliance Job by ID

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_compliance_jobs_by_id --json
ParameterTypeRequiredDescription
id string yes The ID of the Compliance Job to retrieve.
compliance_job.fields array no A comma separated list of ComplianceJob fields to display.

x.x_delete_connections_by_uuids

Terminate multiple connections

Operation
Write write
Schema command
kosmo integrations:schema x.x_delete_connections_by_uuids --json
ParameterTypeRequiredDescription
body object yes Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_get_connection_history

Get Connection History

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_connection_history --json
ParameterTypeRequiredDescription
status string no Filter by connection status. Use 'active' for current connections, 'inactive' for historical/disconnected connections, or 'all' for both.
endpoints array no Filter by streaming endpoint. Specify one or more endpoint names to filter results.
max_results integer no The maximum number of results to return per page.
pagination_token string no Token for paginating through results. Use the value from 'next_token' in the previous response.
connection.fields array no A comma separated list of Connection fields to display.

x.x_delete_all_connections

Terminate all connections

Operation
Write write
Schema command
kosmo integrations:schema x.x_delete_all_connections --json
ParameterTypeRequiredDescription
No parameters.

x.x_delete_connections_by_endpoint

Terminate connections by endpoint

Operation
Write write
Schema command
kosmo integrations:schema x.x_delete_connections_by_endpoint --json
ParameterTypeRequiredDescription
endpoint_id string yes The endpoint ID to terminate connections for.

x.x_create_direct_messages_conversation

Create DM conversation

Operation
Write write
Schema command
kosmo integrations:schema x.x_create_direct_messages_conversation --json
ParameterTypeRequiredDescription
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_dm_conversations_media_download

Download DM Media

Operation
Read read
Schema command
kosmo integrations:schema x.x_dm_conversations_media_download --json
ParameterTypeRequiredDescription
dm_id string yes The unique identifier of the Direct Message event containing the media.
media_id string yes The unique identifier of the media attached to the Direct Message.
resource_id string yes The resource identifier of the media file, including file extension (e.g. 'hVJQTwig.jpg').

x.x_get_direct_messages_events_by_participant_id

Get DM events for a DM conversation

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_direct_messages_events_by_participant_id --json
ParameterTypeRequiredDescription
participant_id string yes The ID of the participant user for the One to One DM conversation.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get a specified 'page' of results.
event_types array no The set of event_types to include in the results.
dm_event.fields array no A comma separated list of DmEvent fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
user.fields array no A comma separated list of User fields to display.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_create_direct_messages_by_participant_id

Create DM message by participant ID

Operation
Write write
Schema command
kosmo integrations:schema x.x_create_direct_messages_by_participant_id --json
ParameterTypeRequiredDescription
participant_id string yes The ID of the recipient user that will receive the DM.
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_create_direct_messages_by_conversation_id

Create DM message by conversation ID

Operation
Write write
Schema command
kosmo integrations:schema x.x_create_direct_messages_by_conversation_id --json
ParameterTypeRequiredDescription
dm_conversation_id string yes The DM Conversation ID.
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_get_direct_messages_events_by_conversation_id

Get DM events for a DM conversation

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_direct_messages_events_by_conversation_id --json
ParameterTypeRequiredDescription
id string yes The DM conversation ID.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get a specified 'page' of results.
event_types array no The set of event_types to include in the results.
dm_event.fields array no A comma separated list of DmEvent fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
user.fields array no A comma separated list of User fields to display.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_get_direct_messages_events

Get DM events

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_direct_messages_events --json
ParameterTypeRequiredDescription
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get a specified 'page' of results.
event_types array no The set of event_types to include in the results.
dm_event.fields array no A comma separated list of DmEvent fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
user.fields array no A comma separated list of User fields to display.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_delete_direct_messages_events

Delete DM event

Operation
Write write
Schema command
kosmo integrations:schema x.x_delete_direct_messages_events --json
ParameterTypeRequiredDescription
event_id string yes The ID of the direct-message event to delete.

x.x_get_direct_messages_events_by_id

Get DM event by ID

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_direct_messages_events_by_id --json
ParameterTypeRequiredDescription
event_id string yes dm event id.
dm_event.fields array no A comma separated list of DmEvent fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
user.fields array no A comma separated list of User fields to display.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_evaluate_community_notes

Evaluate a Community Note

Operation
Write write
Schema command
kosmo integrations:schema x.x_evaluate_community_notes --json
ParameterTypeRequiredDescription
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_get_insights28_hr

Get 28-hour Post insights

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_insights28_hr --json
ParameterTypeRequiredDescription
tweet_ids array yes List of PostIds for 28hr metrics.
granularity string yes granularity of metrics response.
requested_metrics array yes request metrics for historical request.
engagement.fields array no A comma separated list of Engagement fields to display.

x.x_get_insights_historical

Get historical Post insights

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_insights_historical --json
ParameterTypeRequiredDescription
tweet_ids array yes List of PostIds for historical metrics.
end_time string yes YYYY-MM-DDTHH:mm:ssZ. The UTC timestamp representing the end of the time range.
start_time string yes YYYY-MM-DDTHH:mm:ssZ. The UTC timestamp representing the start of the time range.
granularity string yes granularity of metrics response.
requested_metrics array yes request metrics for historical request.
engagement.fields array no A comma separated list of Engagement fields to display.

x.x_stream_likes_compliance

Stream Likes compliance data

Operation
Read read
Schema command
kosmo integrations:schema x.x_stream_likes_compliance --json
ParameterTypeRequiredDescription
backfill_minutes integer no The number of minutes of backfill requested.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the Likes Compliance events will be provided.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp from which the Likes Compliance events will be provided.

x.x_stream_likes_firehose

Stream all Likes

Operation
Read read
Schema command
kosmo integrations:schema x.x_stream_likes_firehose --json
ParameterTypeRequiredDescription
backfill_minutes integer no The number of minutes of backfill requested.
partition integer yes The partition number.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Likes will be provided.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.
like_with_tweet_author.fields array no A comma separated list of LikeWithTweetAuthor fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
user.fields array no A comma separated list of User fields to display.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_stream_likes_sample10

Stream sampled Likes

Operation
Read read
Schema command
kosmo integrations:schema x.x_stream_likes_sample10 --json
ParameterTypeRequiredDescription
backfill_minutes integer no The number of minutes of backfill requested.
partition integer yes The partition number.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Likes will be provided.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.
like_with_tweet_author.fields array no A comma separated list of LikeWithTweetAuthor fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
user.fields array no A comma separated list of User fields to display.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_create_lists

Create List

Operation
Write write
Schema command
kosmo integrations:schema x.x_create_lists --json
ParameterTypeRequiredDescription
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_delete_lists

Delete List

Operation
Write write
Schema command
kosmo integrations:schema x.x_delete_lists --json
ParameterTypeRequiredDescription
id string yes The ID of the List to delete.

x.x_get_lists_by_id

Get List by ID

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_lists_by_id --json
ParameterTypeRequiredDescription
id string yes The ID of the List.
list.fields array no A comma separated list of List fields to display.
expansions array no A comma separated list of fields to expand.
user.fields array no A comma separated list of User fields to display.

x.x_update_lists

Update List

Operation
Write write
Schema command
kosmo integrations:schema x.x_update_lists --json
ParameterTypeRequiredDescription
id string yes The ID of the List to modify.
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_get_lists_followers

Get List followers

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_lists_followers --json
ParameterTypeRequiredDescription
id string yes The ID of the List.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get a specified 'page' of results.
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_get_lists_members

Get List members

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_lists_members --json
ParameterTypeRequiredDescription
id string yes The ID of the List.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get a specified 'page' of results.
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_add_lists_member

Add List member

Operation
Write write
Schema command
kosmo integrations:schema x.x_add_lists_member --json
ParameterTypeRequiredDescription
id string yes The ID of the List for which to add a member.
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_remove_lists_member_by_user_id

Remove List member

Operation
Write write
Schema command
kosmo integrations:schema x.x_remove_lists_member_by_user_id --json
ParameterTypeRequiredDescription
id string yes The ID of the List to remove a member.
user_id string yes The ID of User that will be removed from the List.

x.x_get_lists_posts

Get List Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_lists_posts --json
ParameterTypeRequiredDescription
id string yes The ID of the List.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get the next 'page' of results.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_get_media_by_media_keys

Get Media by media keys

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_media_by_media_keys --json
ParameterTypeRequiredDescription
media_keys array yes A comma separated list of Media Keys. Up to 100 are allowed in a single request.
media.fields array no A comma separated list of Media fields to display.

x.x_get_media_analytics

Get Media analytics

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_media_analytics --json
ParameterTypeRequiredDescription
media_keys array yes A comma separated list of Media Keys. Up to 100 are allowed in a single request.
end_time string yes YYYY-MM-DDTHH:mm:ssZ. The UTC timestamp representing the end of the time range.
start_time string yes YYYY-MM-DDTHH:mm:ssZ. The UTC timestamp representing the start of the time range.
granularity string yes The granularity for the search counts results.
media_analytics.fields array no A comma separated list of MediaAnalytics fields to display.

x.x_create_media_metadata

Create Media metadata

Operation
Write write
Schema command
kosmo integrations:schema x.x_create_media_metadata --json
ParameterTypeRequiredDescription
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_delete_media_subtitles

Delete Media subtitles

Operation
Write write
Schema command
kosmo integrations:schema x.x_delete_media_subtitles --json
ParameterTypeRequiredDescription
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_create_media_subtitles

Create Media subtitles

Operation
Write write
Schema command
kosmo integrations:schema x.x_create_media_subtitles --json
ParameterTypeRequiredDescription
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_get_media_upload_status

Get Media upload status

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_media_upload_status --json
ParameterTypeRequiredDescription
media_id string yes Media id for the requested media upload status.
command string no The command for the media upload request.

x.x_media_upload

Upload media

Operation
Write write
Schema command
kosmo integrations:schema x.x_media_upload --json
ParameterTypeRequiredDescription
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_initialize_media_upload

Initialize media upload

Operation
Write write
Schema command
kosmo integrations:schema x.x_initialize_media_upload --json
ParameterTypeRequiredDescription
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_append_media_upload

Append Media upload

Operation
Write write
Schema command
kosmo integrations:schema x.x_append_media_upload --json
ParameterTypeRequiredDescription
id string yes The media identifier for the media to perform the append operation.
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_finalize_media_upload

Finalize Media upload

Operation
Write write
Schema command
kosmo integrations:schema x.x_finalize_media_upload --json
ParameterTypeRequiredDescription
id string yes The media id of the targeted media to finalize.

x.x_get_media_by_media_key

Get Media by media key

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_media_by_media_key --json
ParameterTypeRequiredDescription
media_key string yes A single Media Key.
media.fields array no A comma separated list of Media fields to display.

x.x_search_news

Search News

Operation
Read read
Schema command
kosmo integrations:schema x.x_search_news --json
ParameterTypeRequiredDescription
query string yes The search query.
max_results integer no The number of results to return.
max_age_hours integer no The maximum age of the News story to search for.
news.fields array no A comma separated list of News fields to display.

x.x_get_news

Get news stories by ID

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_news --json
ParameterTypeRequiredDescription
id string yes The ID of the news story.
news.fields array no A comma separated list of News fields to display.

x.x_create_community_notes

Create a Community Note

Operation
Write write
Schema command
kosmo integrations:schema x.x_create_community_notes --json
ParameterTypeRequiredDescription
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_search_community_notes_written

Search for Community Notes Written

Operation
Read read
Schema command
kosmo integrations:schema x.x_search_community_notes_written --json
ParameterTypeRequiredDescription
test_mode boolean yes If true, return the notes the caller wrote for the test. If false, return the notes the caller wrote on the product.
pagination_token string no Pagination token to get next set of posts eligible for notes.
max_results integer no Max results to return.
note.fields array no A comma separated list of Note fields to display.

x.x_search_eligible_posts

Search for Posts Eligible for Community Notes

Operation
Read read
Schema command
kosmo integrations:schema x.x_search_eligible_posts --json
ParameterTypeRequiredDescription
test_mode boolean yes If true, return a list of posts that are for the test. If false, return a list of posts that the bots can write proposed notes on the product.
pagination_token string no Pagination token to get next set of posts eligible for notes.
max_results integer no Max results to return.
post_selection string no The selection of posts to return. Valid values are 'feed_size: [small|large|xl|xxl], feed_lang: [en|es|...|all]'. Default (if not specified) is 'feed_size: small, feed_lang: en'. Only top AI writers have access to large, xl, and xxl size feeds.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_delete_community_notes

Delete a Community Note

Operation
Write write
Schema command
kosmo integrations:schema x.x_delete_community_notes --json
ParameterTypeRequiredDescription
id string yes The community note id to delete.

x.x_get_open_api_spec

Get OpenAPI Spec.

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_open_api_spec --json
ParameterTypeRequiredDescription
No parameters.

x.x_get_spaces_by_ids

Get Spaces by IDs

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_spaces_by_ids --json
ParameterTypeRequiredDescription
ids array yes The list of Space IDs to return.
space.fields array no A comma separated list of Space fields to display.
expansions array no A comma separated list of fields to expand.
user.fields array no A comma separated list of User fields to display.
topic.fields array no A comma separated list of Topic fields to display.

x.x_get_spaces_by_creator_ids

Get Spaces by creator IDs

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_spaces_by_creator_ids --json
ParameterTypeRequiredDescription
user_ids array yes The IDs of Users to search through.
space.fields array no A comma separated list of Space fields to display.
expansions array no A comma separated list of fields to expand.
user.fields array no A comma separated list of User fields to display.
topic.fields array no A comma separated list of Topic fields to display.

x.x_search_spaces

Search Spaces

Operation
Read read
Schema command
kosmo integrations:schema x.x_search_spaces --json
ParameterTypeRequiredDescription
query string yes The search query.
state string no The state of Spaces to search for.
max_results integer no The number of results to return.
space.fields array no A comma separated list of Space fields to display.
expansions array no A comma separated list of fields to expand.
user.fields array no A comma separated list of User fields to display.
topic.fields array no A comma separated list of Topic fields to display.

x.x_get_spaces_by_id

Get space by ID

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_spaces_by_id --json
ParameterTypeRequiredDescription
id string yes The ID of the Space to be retrieved.
space.fields array no A comma separated list of Space fields to display.
expansions array no A comma separated list of fields to expand.
user.fields array no A comma separated list of User fields to display.
topic.fields array no A comma separated list of Topic fields to display.

x.x_get_spaces_buyers

Get Space ticket buyers

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_spaces_buyers --json
ParameterTypeRequiredDescription
id string yes The ID of the Space to be retrieved.
pagination_token string no This parameter is used to get a specified 'page' of results.
max_results integer no The maximum number of results.
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_get_spaces_posts

Get Space Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_spaces_posts --json
ParameterTypeRequiredDescription
id string yes The ID of the Space to be retrieved.
max_results integer no The number of Posts to fetch from the provided space. If not provided, the value will default to the maximum of 100.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_get_posts_by_ids

Get Posts by IDs

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_posts_by_ids --json
ParameterTypeRequiredDescription
ids array yes A comma separated list of Post IDs. Up to 100 are allowed in a single request.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_create_posts

Create or Edit Post

Operation
Write write
Schema command
kosmo integrations:schema x.x_create_posts --json
ParameterTypeRequiredDescription
body object yes Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_get_posts_analytics

Get Post analytics

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_posts_analytics --json
ParameterTypeRequiredDescription
ids array yes A comma separated list of Post IDs. Up to 100 are allowed in a single request.
end_time string yes YYYY-MM-DDTHH:mm:ssZ. The UTC timestamp representing the end of the time range.
start_time string yes YYYY-MM-DDTHH:mm:ssZ. The UTC timestamp representing the start of the time range.
granularity string yes The granularity for the search counts results.
analytics.fields array no A comma separated list of Analytics fields to display.

x.x_stream_posts_compliance

Stream Posts compliance data

Operation
Read read
Schema command
kosmo integrations:schema x.x_stream_posts_compliance --json
ParameterTypeRequiredDescription
backfill_minutes integer no The number of minutes of backfill requested.
partition integer yes The partition number.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the Post Compliance events will be provided.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Post Compliance events will be provided.

x.x_get_posts_counts_all

Get count of all Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_posts_counts_all --json
ParameterTypeRequiredDescription
query string yes One query/rule/filter for matching Posts. Refer to https://t.co/rulelength to identify the max query length.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The oldest UTC timestamp from which the Posts will be provided. Timestamp is in second granularity and is inclusive (i.e. 12:00:01 includes the first second of the minute).
end_time string no YYYY-MM-DDTHH:mm:ssZ. The newest, most recent UTC timestamp to which the Posts will be provided. Timestamp is in second granularity and is exclusive (i.e. 12:00:01 excludes the first second of the minute).
since_id string no Returns results with a Post ID greater than (that is, more recent than) the specified ID.
until_id string no Returns results with a Post ID less than (that is, older than) the specified ID.
next_token string no This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
pagination_token string no This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
granularity string no The granularity for the search counts results.
search_count.fields array no A comma separated list of SearchCount fields to display.

x.x_get_posts_counts_recent

Get count of recent Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_posts_counts_recent --json
ParameterTypeRequiredDescription
query string yes One query/rule/filter for matching Posts. Refer to https://t.co/rulelength to identify the max query length.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The oldest UTC timestamp (from most recent 7 days) from which the Posts will be provided. Timestamp is in second granularity and is inclusive (i.e. 12:00:01 includes the first second of the minute).
end_time string no YYYY-MM-DDTHH:mm:ssZ. The newest, most recent UTC timestamp to which the Posts will be provided. Timestamp is in second granularity and is exclusive (i.e. 12:00:01 excludes the first second of the minute).
since_id string no Returns results with a Post ID greater than (that is, more recent than) the specified ID.
until_id string no Returns results with a Post ID less than (that is, older than) the specified ID.
next_token string no This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
pagination_token string no This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
granularity string no The granularity for the search counts results.
search_count.fields array no A comma separated list of SearchCount fields to display.

x.x_stream_posts_firehose

Stream all Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_stream_posts_firehose --json
ParameterTypeRequiredDescription
backfill_minutes integer no The number of minutes of backfill requested.
partition integer yes The partition number.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Posts will be provided.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_stream_posts_firehose_en

Stream English Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_stream_posts_firehose_en --json
ParameterTypeRequiredDescription
backfill_minutes integer no The number of minutes of backfill requested.
partition integer yes The partition number.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Posts will be provided.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_stream_posts_firehose_ja

Stream Japanese Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_stream_posts_firehose_ja --json
ParameterTypeRequiredDescription
backfill_minutes integer no The number of minutes of backfill requested.
partition integer yes The partition number.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Posts will be provided.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_stream_posts_firehose_ko

Stream Korean Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_stream_posts_firehose_ko --json
ParameterTypeRequiredDescription
backfill_minutes integer no The number of minutes of backfill requested.
partition integer yes The partition number.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Posts will be provided.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_stream_posts_firehose_pt

Stream Portuguese Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_stream_posts_firehose_pt --json
ParameterTypeRequiredDescription
backfill_minutes integer no The number of minutes of backfill requested.
partition integer yes The partition number.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Posts will be provided.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_stream_labels_compliance

Stream Post labels

Operation
Read read
Schema command
kosmo integrations:schema x.x_stream_labels_compliance --json
ParameterTypeRequiredDescription
backfill_minutes integer no The number of minutes of backfill requested.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the Post labels will be provided.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp from which the Post labels will be provided.

x.x_stream_posts_sample

Stream sampled Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_stream_posts_sample --json
ParameterTypeRequiredDescription
backfill_minutes integer no The number of minutes of backfill requested.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_stream_posts_sample10

Stream 10% sampled Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_stream_posts_sample10 --json
ParameterTypeRequiredDescription
backfill_minutes integer no The number of minutes of backfill requested.
partition integer yes The partition number.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Posts will be provided.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_search_posts_all

Search all Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_search_posts_all --json
ParameterTypeRequiredDescription
query string yes One query/rule/filter for matching Posts. Refer to https://t.co/rulelength to identify the max query length.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The oldest UTC timestamp from which the Posts will be provided. Timestamp is in second granularity and is inclusive (i.e. 12:00:01 includes the first second of the minute).
end_time string no YYYY-MM-DDTHH:mm:ssZ. The newest, most recent UTC timestamp to which the Posts will be provided. Timestamp is in second granularity and is exclusive (i.e. 12:00:01 excludes the first second of the minute).
since_id string no Returns results with a Post ID greater than (that is, more recent than) the specified ID.
until_id string no Returns results with a Post ID less than (that is, older than) the specified ID.
max_results integer no The maximum number of search results to be returned by a request.
next_token string no This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
pagination_token string no This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
sort_order string no This order in which to return results.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_search_posts_recent

Search recent Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_search_posts_recent --json
ParameterTypeRequiredDescription
query string yes One query/rule/filter for matching Posts. Refer to https://t.co/rulelength to identify the max query length.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The oldest UTC timestamp from which the Posts will be provided. Timestamp is in second granularity and is inclusive (i.e. 12:00:01 includes the first second of the minute).
end_time string no YYYY-MM-DDTHH:mm:ssZ. The newest, most recent UTC timestamp to which the Posts will be provided. Timestamp is in second granularity and is exclusive (i.e. 12:00:01 excludes the first second of the minute).
since_id string no Returns results with a Post ID greater than (that is, more recent than) the specified ID.
until_id string no Returns results with a Post ID less than (that is, older than) the specified ID.
max_results integer no The maximum number of search results to be returned by a request.
next_token string no This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
pagination_token string no This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
sort_order string no This order in which to return results.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_stream_posts

Stream filtered Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_stream_posts --json
ParameterTypeRequiredDescription
backfill_minutes integer no The number of minutes of backfill requested.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the Posts will be provided.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_get_rules

Get stream rules

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_rules --json
ParameterTypeRequiredDescription
ids array no A comma-separated list of Rule IDs.
max_results integer no The maximum number of results.
pagination_token string no This value is populated by passing the 'next_token' returned in a request to paginate through results.

x.x_update_rules

Update stream rules

Operation
Write write
Schema command
kosmo integrations:schema x.x_update_rules --json
ParameterTypeRequiredDescription
dry_run boolean no Dry Run can be used with both the add and delete action, with the expected result given, but without actually taking any action in the system (meaning the end state will always be as it was when the request was submitted). This is particularly useful to validate rule changes.
delete_all boolean no Delete All can be used to delete all of the rules associated this client app, it should be specified with no other parameters. Once deleted, rules cannot be recovered.
body object yes Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_get_rule_counts

Get stream rule counts

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_rule_counts --json
ParameterTypeRequiredDescription
rules_count.fields array no A comma separated list of RulesCount fields to display.

x.x_delete_posts

Delete Post

Operation
Write write
Schema command
kosmo integrations:schema x.x_delete_posts --json
ParameterTypeRequiredDescription
id string yes The ID of the Post to be deleted.

x.x_get_posts_by_id

Get Post by ID

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_posts_by_id --json
ParameterTypeRequiredDescription
id string yes A single Post ID.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_get_posts_liking_users

Get Liking Users

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_posts_liking_users --json
ParameterTypeRequiredDescription
id string yes A single Post ID.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get the next 'page' of results.
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_get_posts_quoted_posts

Get Quoted Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_posts_quoted_posts --json
ParameterTypeRequiredDescription
id string yes A single Post ID.
max_results integer no The maximum number of results to be returned.
pagination_token string no This parameter is used to get a specified 'page' of results.
exclude array no The set of entities to exclude (e.g. 'replies' or 'retweets').
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_get_posts_reposted_by

Get Reposted by

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_posts_reposted_by --json
ParameterTypeRequiredDescription
id string yes A single Post ID.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get the next 'page' of results.
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_get_posts_reposts

Get Reposts

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_posts_reposts --json
ParameterTypeRequiredDescription
id string yes A single Post ID.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get the next 'page' of results.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_hide_posts_reply

Hide reply

Operation
Write write
Schema command
kosmo integrations:schema x.x_hide_posts_reply --json
ParameterTypeRequiredDescription
tweet_id string yes The ID of the reply that you want to hide or unhide.
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_get_usage

Get usage

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_usage --json
ParameterTypeRequiredDescription
days integer no The number of days for which you need usage for.
usage.fields array no A comma separated list of Usage fields to display.

x.x_get_users_by_ids

Get Users by IDs

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_by_ids --json
ParameterTypeRequiredDescription
ids array yes A list of User IDs, comma-separated. You can specify up to 100 IDs.
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_get_users_by_usernames

Get Users by usernames

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_by_usernames --json
ParameterTypeRequiredDescription
usernames array yes A list of usernames, comma-separated.
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_get_users_by_username

Get User by username

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_by_username --json
ParameterTypeRequiredDescription
username string yes A username.
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_stream_users_compliance

Stream Users compliance data

Operation
Read read
Schema command
kosmo integrations:schema x.x_stream_users_compliance --json
ParameterTypeRequiredDescription
backfill_minutes integer no The number of minutes of backfill requested.
partition integer yes The partition number.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the User Compliance events will be provided.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp from which the User Compliance events will be provided.

x.x_get_users_me

Get my User

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_me --json
ParameterTypeRequiredDescription
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_get_users_public_keys

Get public keys for multiple users

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_public_keys --json
ParameterTypeRequiredDescription
ids array yes A list of User IDs, comma-separated. You can specify up to 100 IDs.
public_key.fields array no A comma separated list of PublicKey fields to display.

x.x_get_users_reposts_of_me

Get Reposts of me

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_reposts_of_me --json
ParameterTypeRequiredDescription
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get the next 'page' of results.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_search_users

Search Users

Operation
Read read
Schema command
kosmo integrations:schema x.x_search_users --json
ParameterTypeRequiredDescription
query string yes TThe the query string by which to query for users.
max_results integer no The maximum number of results.
next_token string no This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_get_users_by_id

Get User by ID

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_by_id --json
ParameterTypeRequiredDescription
id string yes The ID of the User to lookup.
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_get_users_affiliates

Get affiliates

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_affiliates --json
ParameterTypeRequiredDescription
id string yes The ID of the User to lookup.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get a specified 'page' of results.
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_get_users_blocking

Get blocking

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_blocking --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User for whom to return results.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get a specified 'page' of results.
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_get_users_bookmarks

Get Bookmarks

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_bookmarks --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User for whom to return results.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get the next 'page' of results.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_create_users_bookmark

Create Bookmark

Operation
Write write
Schema command
kosmo integrations:schema x.x_create_users_bookmark --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User for whom to add bookmarks.
body object yes Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_get_users_bookmark_folders

Get Bookmark folders

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_bookmark_folders --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User for whom to return results.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get the next 'page' of results.

x.x_get_users_bookmarks_by_folder_id

Get Bookmarks by folder ID

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_bookmarks_by_folder_id --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User for whom to return results.
folder_id string yes The ID of the Bookmark Folder that the authenticated User is trying to fetch Posts for.

x.x_delete_users_bookmark

Delete Bookmark

Operation
Write write
Schema command
kosmo integrations:schema x.x_delete_users_bookmark --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User whose bookmark is to be removed.
tweet_id string yes The ID of the Post that the source User is removing from bookmarks.

x.x_block_users_dms

Block DMs

Operation
Write write
Schema command
kosmo integrations:schema x.x_block_users_dms --json
ParameterTypeRequiredDescription
id string yes The ID of the target User that the authenticated user requesting to block dms for.

x.x_unblock_users_dms

Unblock DMs

Operation
Write write
Schema command
kosmo integrations:schema x.x_unblock_users_dms --json
ParameterTypeRequiredDescription
id string yes The ID of the target User that the authenticated user requesting to unblock dms for.

x.x_get_users_followed_lists

Get followed Lists

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_followed_lists --json
ParameterTypeRequiredDescription
id string yes The ID of the User to lookup.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get a specified 'page' of results.
list.fields array no A comma separated list of List fields to display.
expansions array no A comma separated list of fields to expand.
user.fields array no A comma separated list of User fields to display.

x.x_follow_list

Follow List

Operation
Write write
Schema command
kosmo integrations:schema x.x_follow_list --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User that will follow the List.
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_unfollow_list

Unfollow List

Operation
Write write
Schema command
kosmo integrations:schema x.x_unfollow_list --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User that will unfollow the List.
list_id string yes The ID of the List to unfollow.

x.x_get_users_followers

Get followers

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_followers --json
ParameterTypeRequiredDescription
id string yes The ID of the User to lookup.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get a specified 'page' of results.
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_get_users_following

Get following

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_following --json
ParameterTypeRequiredDescription
id string yes The ID of the User to lookup.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get a specified 'page' of results.
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_follow_user

Follow User

Operation
Write write
Schema command
kosmo integrations:schema x.x_follow_user --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User that is requesting to follow the target User.
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_get_users_liked_posts

Get liked Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_liked_posts --json
ParameterTypeRequiredDescription
id string yes The ID of the User to lookup.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get the next 'page' of results.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_like_post

Like Post

Operation
Write write
Schema command
kosmo integrations:schema x.x_like_post --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User that is requesting to like the Post.
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_unlike_post

Unlike Post

Operation
Write write
Schema command
kosmo integrations:schema x.x_unlike_post --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User that is requesting to unlike the Post.
tweet_id string yes The ID of the Post that the User is requesting to unlike.

x.x_get_users_list_memberships

Get List memberships

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_list_memberships --json
ParameterTypeRequiredDescription
id string yes The ID of the User to lookup.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get a specified 'page' of results.
list.fields array no A comma separated list of List fields to display.
expansions array no A comma separated list of fields to expand.
user.fields array no A comma separated list of User fields to display.

x.x_get_users_mentions

Get mentions

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_mentions --json
ParameterTypeRequiredDescription
id string yes The ID of the User to lookup.
since_id string no The minimum Post ID to be included in the result set. This parameter takes precedence over start_time if both are specified.
until_id string no The maximum Post ID to be included in the result set. This parameter takes precedence over end_time if both are specified.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get the next 'page' of results.
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the Posts will be provided. The since_id parameter takes precedence if it is also specified.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided. The until_id parameter takes precedence if it is also specified.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_get_users_muting

Get muting

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_muting --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User for whom to return results.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get the next 'page' of results.
user.fields array no A comma separated list of User fields to display.
expansions array no A comma separated list of fields to expand.
tweet.fields array no A comma separated list of Tweet fields to display.

x.x_mute_user

Mute User

Operation
Write write
Schema command
kosmo integrations:schema x.x_mute_user --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User that is requesting to mute the target User.
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_get_users_owned_lists

Get owned Lists

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_owned_lists --json
ParameterTypeRequiredDescription
id string yes The ID of the User to lookup.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get a specified 'page' of results.
list.fields array no A comma separated list of List fields to display.
expansions array no A comma separated list of fields to expand.
user.fields array no A comma separated list of User fields to display.

x.x_get_users_pinned_lists

Get pinned Lists

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_pinned_lists --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User for whom to return results.
list.fields array no A comma separated list of List fields to display.
expansions array no A comma separated list of fields to expand.
user.fields array no A comma separated list of User fields to display.

x.x_pin_list

Pin List

Operation
Write write
Schema command
kosmo integrations:schema x.x_pin_list --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User that will pin the List.
body object yes Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_unpin_list

Unpin List

Operation
Write write
Schema command
kosmo integrations:schema x.x_unpin_list --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User for whom to return results.
list_id string yes The ID of the List to unpin.

x.x_get_users_public_key

Get user public keys

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_public_key --json
ParameterTypeRequiredDescription
id string yes The ID of the User to lookup.
public_key.fields array no A comma separated list of PublicKey fields to display.

x.x_add_user_public_key

Add public key

Operation
Write write
Schema command
kosmo integrations:schema x.x_add_user_public_key --json
ParameterTypeRequiredDescription
id string yes The ID of the requesting user.
body object yes Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_repost_post

Repost Post

Operation
Write write
Schema command
kosmo integrations:schema x.x_repost_post --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User that is requesting to repost the Post.
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_unrepost_post

Unrepost Post

Operation
Write write
Schema command
kosmo integrations:schema x.x_unrepost_post --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User that is requesting to repost the Post.
source_tweet_id string yes The ID of the Post that the User is requesting to unretweet.

x.x_get_users_timeline

Get Timeline

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_timeline --json
ParameterTypeRequiredDescription
id string yes The ID of the authenticated source User to list Reverse Chronological Timeline Posts of.
since_id string no The minimum Post ID to be included in the result set. This parameter takes precedence over start_time if both are specified.
until_id string no The maximum Post ID to be included in the result set. This parameter takes precedence over end_time if both are specified.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get the next 'page' of results.
exclude array no The set of entities to exclude (e.g. 'replies' or 'retweets').
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the Posts will be provided. The since_id parameter takes precedence if it is also specified.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided. The until_id parameter takes precedence if it is also specified.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_get_users_posts

Get Posts

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_users_posts --json
ParameterTypeRequiredDescription
id string yes The ID of the User to lookup.
since_id string no The minimum Post ID to be included in the result set. This parameter takes precedence over start_time if both are specified.
until_id string no The maximum Post ID to be included in the result set. This parameter takes precedence over end_time if both are specified.
max_results integer no The maximum number of results.
pagination_token string no This parameter is used to get the next 'page' of results.
exclude array no The set of entities to exclude (e.g. 'replies' or 'retweets').
start_time string no YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the Posts will be provided. The since_id parameter takes precedence if it is also specified.
end_time string no YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided. The until_id parameter takes precedence if it is also specified.
tweet.fields array no A comma separated list of Tweet fields to display.
expansions array no A comma separated list of fields to expand.
media.fields array no A comma separated list of Media fields to display.
poll.fields array no A comma separated list of Poll fields to display.
user.fields array no A comma separated list of User fields to display.
place.fields array no A comma separated list of Place fields to display.

x.x_unfollow_user

Unfollow User

Operation
Write write
Schema command
kosmo integrations:schema x.x_unfollow_user --json
ParameterTypeRequiredDescription
source_user_id string yes The ID of the authenticated source User that is requesting to unfollow the target User.
target_user_id string yes The ID of the User that the source User is requesting to unfollow.

x.x_unmute_user

Unmute User

Operation
Write write
Schema command
kosmo integrations:schema x.x_unmute_user --json
ParameterTypeRequiredDescription
source_user_id string yes The ID of the authenticated source User that is requesting to unmute the target User.
target_user_id string yes The ID of the User that the source User is requesting to unmute.

x.x_get_webhooks

Get webhook

Operation
Read read
Schema command
kosmo integrations:schema x.x_get_webhooks --json
ParameterTypeRequiredDescription
webhook_config.fields array no A comma separated list of WebhookConfig fields to display.

x.x_create_webhooks

Create webhook

Operation
Write write
Schema command
kosmo integrations:schema x.x_create_webhooks --json
ParameterTypeRequiredDescription
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_create_webhook_replay_job

Create replay job for webhook

Operation
Write write
Schema command
kosmo integrations:schema x.x_create_webhook_replay_job --json
ParameterTypeRequiredDescription
body object no Request body for this X API operation. Use the shape documented by the official operation schema.

x.x_delete_webhooks

Delete webhook

Operation
Write write
Schema command
kosmo integrations:schema x.x_delete_webhooks --json
ParameterTypeRequiredDescription
webhook_id string yes The ID of the webhook to delete.

x.x_validate_webhooks

Validate webhook

Operation
Write write
Schema command
kosmo integrations:schema x.x_validate_webhooks --json
ParameterTypeRequiredDescription
webhook_id string yes The ID of the webhook to check.

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.