KosmoKrator

productivity

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.

Twitter / X CLI Setup

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

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

# Configure and verify this integration.
kosmokrator integrations:configure 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 reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

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

Command Patterns

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

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

Discovery

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

Discovery commands
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

Automation Contexts

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

CLI Functions

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

x.x_get_account_activity_subscription_count

Get subscription count

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

x.x_validate_account_activity_subscription

Validate subscription

Read read
Parameters
webhook_id
Generic call
kosmo integrations:call x.x_validate_account_activity_subscription '{"webhook_id":"example_webhook_id"}' --json
Shortcut
kosmo integrations:x x_validate_account_activity_subscription '{"webhook_id":"example_webhook_id"}' --json

x.x_create_account_activity_subscription

Create subscription

Write write
Parameters
webhook_id, body
Generic call
kosmo integrations:call x.x_create_account_activity_subscription '{"webhook_id":"example_webhook_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_create_account_activity_subscription '{"webhook_id":"example_webhook_id","body":"example_body"}' --json

x.x_get_account_activity_subscriptions

Get subscriptions

Read read
Parameters
webhook_id
Generic call
kosmo integrations:call x.x_get_account_activity_subscriptions '{"webhook_id":"example_webhook_id"}' --json
Shortcut
kosmo integrations:x x_get_account_activity_subscriptions '{"webhook_id":"example_webhook_id"}' --json

x.x_delete_account_activity_subscription

Delete subscription

Write write
Parameters
webhook_id, user_id
Generic call
kosmo integrations:call x.x_delete_account_activity_subscription '{"webhook_id":"example_webhook_id","user_id":"example_user_id"}' --json
Shortcut
kosmo integrations:x x_delete_account_activity_subscription '{"webhook_id":"example_webhook_id","user_id":"example_user_id"}' --json

x.x_activity_stream

Activity Stream

Read read
Parameters
backfill_minutes, start_time, end_time
Generic call
kosmo integrations:call x.x_activity_stream '{"backfill_minutes":1,"start_time":"example_start_time","end_time":"example_end_time"}' --json
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

Delete X activity subscriptions by IDs

Write write
Parameters
ids
Generic call
kosmo integrations:call x.x_delete_activity_subscriptions_by_ids '{"ids":"example_ids"}' --json
Shortcut
kosmo integrations:x x_delete_activity_subscriptions_by_ids '{"ids":"example_ids"}' --json

x.x_get_activity_subscriptions

Get X activity subscriptions

Read read
Parameters
max_results, pagination_token
Generic call
kosmo integrations:call x.x_get_activity_subscriptions '{"max_results":1,"pagination_token":"example_pagination_token"}' --json
Shortcut
kosmo integrations:x x_get_activity_subscriptions '{"max_results":1,"pagination_token":"example_pagination_token"}' --json

x.x_create_activity_subscription

Create X activity subscription

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_create_activity_subscription '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_create_activity_subscription '{"body":"example_body"}' --json

x.x_delete_activity_subscription

Deletes X activity subscription

Write write
Parameters
subscription_id
Generic call
kosmo integrations:call x.x_delete_activity_subscription '{"subscription_id":"example_subscription_id"}' --json
Shortcut
kosmo integrations:x x_delete_activity_subscription '{"subscription_id":"example_subscription_id"}' --json

x.x_update_activity_subscription

Update X activity subscription

Write write
Parameters
subscription_id, body
Generic call
kosmo integrations:call x.x_update_activity_subscription '{"subscription_id":"example_subscription_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_update_activity_subscription '{"subscription_id":"example_subscription_id","body":"example_body"}' --json

x.x_get_chat_conversations

Get Chat Conversations

Read read
Parameters
max_results, pagination_token, chat_conversation.fields, expansions, user.fields
Generic 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
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

Create Chat Group Conversation

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_create_chat_conversation '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_create_chat_conversation '{"body":"example_body"}' --json

x.x_initialize_chat_group

Initialize Chat Group

Write write
Parameters
none
Generic call
kosmo integrations:call x.x_initialize_chat_group '{}' --json
Shortcut
kosmo integrations:x x_initialize_chat_group '{}' --json

x.x_get_chat_conversation

Get Chat Conversation

Read read
Parameters
id, max_results, pagination_token, chat_message_event.fields
Generic 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
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

Initialize Conversation Keys

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_initialize_chat_conversation_keys '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_initialize_chat_conversation_keys '{"id":"example_id","body":"example_body"}' --json

x.x_add_chat_group_members

Add members to a Chat group conversation

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_add_chat_group_members '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_add_chat_group_members '{"id":"example_id","body":"example_body"}' --json

x.x_send_chat_message

Send Chat Message

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_send_chat_message '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_send_chat_message '{"id":"example_id","body":"example_body"}' --json

x.x_mark_chat_conversation_read

Mark Conversation as Read

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_mark_chat_conversation_read '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_mark_chat_conversation_read '{"id":"example_id","body":"example_body"}' --json

x.x_send_chat_typing_indicator

Send Typing Indicator

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

x.x_chat_media_upload_initialize

Initialize Chat Media Upload

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_chat_media_upload_initialize '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_chat_media_upload_initialize '{"body":"example_body"}' --json

x.x_chat_media_upload_append

Append Chat Media Upload

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_chat_media_upload_append '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_chat_media_upload_append '{"id":"example_id","body":"example_body"}' --json

x.x_chat_media_upload_finalize

Finalize Chat Media Upload

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_chat_media_upload_finalize '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_chat_media_upload_finalize '{"id":"example_id","body":"example_body"}' --json

x.x_chat_media_download

Download Chat Media

Read read
Parameters
id, media_hash_key
Generic call
kosmo integrations:call x.x_chat_media_download '{"id":"example_id","media_hash_key":"example_media_hash_key"}' --json
Shortcut
kosmo integrations:x x_chat_media_download '{"id":"example_id","media_hash_key":"example_media_hash_key"}' --json

x.x_search_communities

Search Communities

Read read
Parameters
query, max_results, next_token, pagination_token, community.fields
Generic 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
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

Get Community by ID

Read read
Parameters
id, community.fields
Generic call
kosmo integrations:call x.x_get_communities_by_id '{"id":"example_id","community.fields":"example_community.fields"}' --json
Shortcut
kosmo integrations:x x_get_communities_by_id '{"id":"example_id","community.fields":"example_community.fields"}' --json

x.x_get_compliance_jobs

Get Compliance Jobs

Read read
Parameters
type, status, compliance_job.fields
Generic call
kosmo integrations:call x.x_get_compliance_jobs '{"type":"example_type","status":"example_status","compliance_job.fields":"example_compliance_job.fields"}' --json
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

Create Compliance Job

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_create_compliance_jobs '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_create_compliance_jobs '{"body":"example_body"}' --json

x.x_get_compliance_jobs_by_id

Get Compliance Job by ID

Read read
Parameters
id, compliance_job.fields
Generic call
kosmo integrations:call x.x_get_compliance_jobs_by_id '{"id":"example_id","compliance_job.fields":"example_compliance_job.fields"}' --json
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

Terminate multiple connections

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_delete_connections_by_uuids '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_delete_connections_by_uuids '{"body":"example_body"}' --json

x.x_get_connection_history

Get Connection History

Read read
Parameters
status, endpoints, max_results, pagination_token, connection.fields
Generic 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
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

Terminate all connections

Write write
Parameters
none
Generic call
kosmo integrations:call x.x_delete_all_connections '{}' --json
Shortcut
kosmo integrations:x x_delete_all_connections '{}' --json

x.x_delete_connections_by_endpoint

Terminate connections by endpoint

Write write
Parameters
endpoint_id
Generic call
kosmo integrations:call x.x_delete_connections_by_endpoint '{"endpoint_id":"example_endpoint_id"}' --json
Shortcut
kosmo integrations:x x_delete_connections_by_endpoint '{"endpoint_id":"example_endpoint_id"}' --json

x.x_create_direct_messages_conversation

Create DM conversation

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_create_direct_messages_conversation '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_create_direct_messages_conversation '{"body":"example_body"}' --json

x.x_dm_conversations_media_download

Download DM Media

Read read
Parameters
dm_id, media_id, resource_id
Generic 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
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

Get DM events for a DM conversation

Read read
Parameters
participant_id, max_results, pagination_token, event_types, dm_event.fields, expansions, media.fields, user.fields, tweet.fields
Generic 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
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

Create DM message by participant ID

Write write
Parameters
participant_id, body
Generic call
kosmo integrations:call x.x_create_direct_messages_by_participant_id '{"participant_id":"example_participant_id","body":"example_body"}' --json
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

Create DM message by conversation ID

Write write
Parameters
dm_conversation_id, body
Generic call
kosmo integrations:call x.x_create_direct_messages_by_conversation_id '{"dm_conversation_id":"example_dm_conversation_id","body":"example_body"}' --json
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

Get DM events for a DM conversation

Read read
Parameters
id, max_results, pagination_token, event_types, dm_event.fields, expansions, media.fields, user.fields, tweet.fields
Generic 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
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

Get DM events

Read read
Parameters
max_results, pagination_token, event_types, dm_event.fields, expansions, media.fields, user.fields, tweet.fields
Generic 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
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

Delete DM event

Write write
Parameters
event_id
Generic call
kosmo integrations:call x.x_delete_direct_messages_events '{"event_id":"example_event_id"}' --json
Shortcut
kosmo integrations:x x_delete_direct_messages_events '{"event_id":"example_event_id"}' --json

x.x_get_direct_messages_events_by_id

Get DM event by ID

Read read
Parameters
event_id, dm_event.fields, expansions, media.fields, user.fields, tweet.fields
Generic 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
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

Evaluate a Community Note

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_evaluate_community_notes '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_evaluate_community_notes '{"body":"example_body"}' --json

x.x_get_insights28_hr

Get 28-hour Post insights

Read read
Parameters
tweet_ids, granularity, requested_metrics, engagement.fields
Generic 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
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

Get historical Post insights

Read read
Parameters
tweet_ids, end_time, start_time, granularity, requested_metrics, engagement.fields
Generic 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
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

Stream Likes compliance data

Read read
Parameters
backfill_minutes, start_time, end_time
Generic call
kosmo integrations:call x.x_stream_likes_compliance '{"backfill_minutes":1,"start_time":"example_start_time","end_time":"example_end_time"}' --json
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

Stream all Likes

Read read
Parameters
backfill_minutes, partition, start_time, end_time, like_with_tweet_author.fields, expansions, media.fields, user.fields, tweet.fields
Generic 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
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

Stream sampled Likes

Read read
Parameters
backfill_minutes, partition, start_time, end_time, like_with_tweet_author.fields, expansions, media.fields, user.fields, tweet.fields
Generic 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
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

Create List

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_create_lists '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_create_lists '{"body":"example_body"}' --json

x.x_delete_lists

Delete List

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

x.x_get_lists_by_id

Get List by ID

Read read
Parameters
id, list.fields, expansions, user.fields
Generic 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
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

Update List

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_update_lists '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_update_lists '{"id":"example_id","body":"example_body"}' --json

x.x_get_lists_followers

Get List followers

Read read
Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields
Generic 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
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

Get List members

Read read
Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields
Generic 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
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

Add List member

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_add_lists_member '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_add_lists_member '{"id":"example_id","body":"example_body"}' --json

x.x_remove_lists_member_by_user_id

Remove List member

Write write
Parameters
id, user_id
Generic call
kosmo integrations:call x.x_remove_lists_member_by_user_id '{"id":"example_id","user_id":"example_user_id"}' --json
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

Get List Posts

Read read
Parameters
id, max_results, pagination_token, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Get Media by media keys

Read read
Parameters
media_keys, media.fields
Generic call
kosmo integrations:call x.x_get_media_by_media_keys '{"media_keys":"example_media_keys","media.fields":"example_media.fields"}' --json
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

Get Media analytics

Read read
Parameters
media_keys, end_time, start_time, granularity, media_analytics.fields
Generic 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
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

Create Media metadata

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_create_media_metadata '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_create_media_metadata '{"body":"example_body"}' --json

x.x_delete_media_subtitles

Delete Media subtitles

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_delete_media_subtitles '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_delete_media_subtitles '{"body":"example_body"}' --json

x.x_create_media_subtitles

Create Media subtitles

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_create_media_subtitles '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_create_media_subtitles '{"body":"example_body"}' --json

x.x_get_media_upload_status

Get Media upload status

Read read
Parameters
media_id, command
Generic call
kosmo integrations:call x.x_get_media_upload_status '{"media_id":"example_media_id","command":"example_command"}' --json
Shortcut
kosmo integrations:x x_get_media_upload_status '{"media_id":"example_media_id","command":"example_command"}' --json

x.x_media_upload

Upload media

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_media_upload '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_media_upload '{"body":"example_body"}' --json

x.x_initialize_media_upload

Initialize media upload

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_initialize_media_upload '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_initialize_media_upload '{"body":"example_body"}' --json

x.x_append_media_upload

Append Media upload

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_append_media_upload '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_append_media_upload '{"id":"example_id","body":"example_body"}' --json

x.x_finalize_media_upload

Finalize Media upload

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

x.x_get_media_by_media_key

Get Media by media key

Read read
Parameters
media_key, media.fields
Generic call
kosmo integrations:call x.x_get_media_by_media_key '{"media_key":"example_media_key","media.fields":"example_media.fields"}' --json
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

Search News

Read read
Parameters
query, max_results, max_age_hours, news.fields
Generic call
kosmo integrations:call x.x_search_news '{"query":"example_query","max_results":1,"max_age_hours":1,"news.fields":"example_news.fields"}' --json
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

Get news stories by ID

Read read
Parameters
id, news.fields
Generic call
kosmo integrations:call x.x_get_news '{"id":"example_id","news.fields":"example_news.fields"}' --json
Shortcut
kosmo integrations:x x_get_news '{"id":"example_id","news.fields":"example_news.fields"}' --json

x.x_create_community_notes

Create a Community Note

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_create_community_notes '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_create_community_notes '{"body":"example_body"}' --json

x.x_search_community_notes_written

Search for Community Notes Written

Read read
Parameters
test_mode, pagination_token, max_results, note.fields
Generic 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
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

Search for Posts Eligible for Community Notes

Read read
Parameters
test_mode, pagination_token, max_results, post_selection, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Delete a Community Note

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

x.x_get_open_api_spec

Get OpenAPI Spec.

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

x.x_get_spaces_by_ids

Get Spaces by IDs

Read read
Parameters
ids, space.fields, expansions, user.fields, topic.fields
Generic 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
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

Get Spaces by creator IDs

Read read
Parameters
user_ids, space.fields, expansions, user.fields, topic.fields
Generic 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
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

Search Spaces

Read read
Parameters
query, state, max_results, space.fields, expansions, user.fields, topic.fields
Generic 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
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

Get space by ID

Read read
Parameters
id, space.fields, expansions, user.fields, topic.fields
Generic 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
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

Get Space ticket buyers

Read read
Parameters
id, pagination_token, max_results, user.fields, expansions, tweet.fields
Generic 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
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

Get Space Posts

Read read
Parameters
id, max_results, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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_trends_by_woeid

Get Trends by WOEID

Read read
Parameters
woeid, max_trends, trend.fields
Generic call
kosmo integrations:call x.x_get_trends_by_woeid '{"woeid":1,"max_trends":1,"trend.fields":"example_trend.fields"}' --json
Shortcut
kosmo integrations:x x_get_trends_by_woeid '{"woeid":1,"max_trends":1,"trend.fields":"example_trend.fields"}' --json

x.x_get_posts_by_ids

Get Posts by IDs

Read read
Parameters
ids, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Create or Edit Post

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_create_posts '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_create_posts '{"body":"example_body"}' --json

x.x_get_posts_analytics

Get Post analytics

Read read
Parameters
ids, end_time, start_time, granularity, analytics.fields
Generic 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
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

Stream Posts compliance data

Read read
Parameters
backfill_minutes, partition, start_time, end_time
Generic 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
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

Get count of all Posts

Read read
Parameters
query, start_time, end_time, since_id, until_id, next_token, pagination_token, granularity, search_count.fields
Generic 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
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

Get count of recent Posts

Read read
Parameters
query, start_time, end_time, since_id, until_id, next_token, pagination_token, granularity, search_count.fields
Generic 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
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

Stream all Posts

Read read
Parameters
backfill_minutes, partition, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Stream English Posts

Read read
Parameters
backfill_minutes, partition, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Stream Japanese Posts

Read read
Parameters
backfill_minutes, partition, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Stream Korean Posts

Read read
Parameters
backfill_minutes, partition, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Stream Portuguese Posts

Read read
Parameters
backfill_minutes, partition, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Stream Post labels

Read read
Parameters
backfill_minutes, start_time, end_time
Generic call
kosmo integrations:call x.x_stream_labels_compliance '{"backfill_minutes":1,"start_time":"example_start_time","end_time":"example_end_time"}' --json
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

Stream sampled Posts

Read read
Parameters
backfill_minutes, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Stream 10% sampled Posts

Read read
Parameters
backfill_minutes, partition, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Search all Posts

Read read
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 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
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

Search recent Posts

Read read
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 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
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

Stream filtered Posts

Read read
Parameters
backfill_minutes, start_time, end_time, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Get stream rules

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

x.x_update_rules

Update stream rules

Write write
Parameters
dry_run, delete_all, body
Generic call
kosmo integrations:call x.x_update_rules '{"dry_run":true,"delete_all":true,"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_update_rules '{"dry_run":true,"delete_all":true,"body":"example_body"}' --json

x.x_get_rule_counts

Get stream rule counts

Read read
Parameters
rules_count.fields
Generic call
kosmo integrations:call x.x_get_rule_counts '{"rules_count.fields":"example_rules_count.fields"}' --json
Shortcut
kosmo integrations:x x_get_rule_counts '{"rules_count.fields":"example_rules_count.fields"}' --json

x.x_get_webhooks_stream_links

Get stream links

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

x.x_delete_webhooks_stream_link

Delete stream link

Write write
Parameters
webhook_id
Generic call
kosmo integrations:call x.x_delete_webhooks_stream_link '{"webhook_id":"example_webhook_id"}' --json
Shortcut
kosmo integrations:x x_delete_webhooks_stream_link '{"webhook_id":"example_webhook_id"}' --json

x.x_create_webhooks_stream_link

Create stream link

Write write
Parameters
webhook_id, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic call
kosmo integrations:call x.x_create_webhooks_stream_link '{"webhook_id":"example_webhook_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
Shortcut
kosmo integrations:x x_create_webhooks_stream_link '{"webhook_id":"example_webhook_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_delete_posts

Delete Post

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

x.x_get_posts_by_id

Get Post by ID

Read read
Parameters
id, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Get Liking Users

Read read
Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields
Generic 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
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

Get Quoted Posts

Read read
Parameters
id, max_results, pagination_token, exclude, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Get Reposted by

Read read
Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields
Generic 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
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

Get Reposts

Read read
Parameters
id, max_results, pagination_token, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Hide reply

Write write
Parameters
tweet_id, body
Generic call
kosmo integrations:call x.x_hide_posts_reply '{"tweet_id":"example_tweet_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_hide_posts_reply '{"tweet_id":"example_tweet_id","body":"example_body"}' --json

x.x_get_usage

Get usage

Read read
Parameters
days, usage.fields
Generic call
kosmo integrations:call x.x_get_usage '{"days":1,"usage.fields":"example_usage.fields"}' --json
Shortcut
kosmo integrations:x x_get_usage '{"days":1,"usage.fields":"example_usage.fields"}' --json

x.x_get_users_by_ids

Get Users by IDs

Read read
Parameters
ids, user.fields, expansions, tweet.fields
Generic 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
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

Get Users by usernames

Read read
Parameters
usernames, user.fields, expansions, tweet.fields
Generic 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
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

Get User by username

Read read
Parameters
username, user.fields, expansions, tweet.fields
Generic 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
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

Stream Users compliance data

Read read
Parameters
backfill_minutes, partition, start_time, end_time
Generic 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
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

Get my User

Read read
Parameters
user.fields, expansions, tweet.fields
Generic call
kosmo integrations:call x.x_get_users_me '{"user.fields":"example_user.fields","expansions":"example_expansions","tweet.fields":"example_tweet.fields"}' --json
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_trends_personalized_trends

Get personalized Trends

Read read
Parameters
personalized_trend.fields
Generic call
kosmo integrations:call x.x_get_trends_personalized_trends '{"personalized_trend.fields":"example_personalized_trend.fields"}' --json
Shortcut
kosmo integrations:x x_get_trends_personalized_trends '{"personalized_trend.fields":"example_personalized_trend.fields"}' --json

x.x_get_users_public_keys

Get public keys for multiple users

Read read
Parameters
ids, public_key.fields
Generic call
kosmo integrations:call x.x_get_users_public_keys '{"ids":"example_ids","public_key.fields":"example_public_key.fields"}' --json
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

Get Reposts of me

Read read
Parameters
max_results, pagination_token, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Search Users

Read read
Parameters
query, max_results, next_token, user.fields, expansions, tweet.fields
Generic 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
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

Get User by ID

Read read
Parameters
id, user.fields, expansions, tweet.fields
Generic 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
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

Get affiliates

Read read
Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields
Generic 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
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

Get blocking

Read read
Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields
Generic 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
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

Get Bookmarks

Read read
Parameters
id, max_results, pagination_token, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Create Bookmark

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_create_users_bookmark '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_create_users_bookmark '{"id":"example_id","body":"example_body"}' --json

x.x_get_users_bookmark_folders

Get Bookmark folders

Read read
Parameters
id, max_results, pagination_token
Generic call
kosmo integrations:call x.x_get_users_bookmark_folders '{"id":"example_id","max_results":1,"pagination_token":"example_pagination_token"}' --json
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

Get Bookmarks by folder ID

Read read
Parameters
id, folder_id
Generic call
kosmo integrations:call x.x_get_users_bookmarks_by_folder_id '{"id":"example_id","folder_id":"example_folder_id"}' --json
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

Delete Bookmark

Write write
Parameters
id, tweet_id
Generic call
kosmo integrations:call x.x_delete_users_bookmark '{"id":"example_id","tweet_id":"example_tweet_id"}' --json
Shortcut
kosmo integrations:x x_delete_users_bookmark '{"id":"example_id","tweet_id":"example_tweet_id"}' --json

x.x_block_users_dms

Block DMs

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

x.x_unblock_users_dms

Unblock DMs

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

x.x_get_users_followed_lists

Get followed Lists

Read read
Parameters
id, max_results, pagination_token, list.fields, expansions, user.fields
Generic 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
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

Follow List

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_follow_list '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_follow_list '{"id":"example_id","body":"example_body"}' --json

x.x_unfollow_list

Unfollow List

Write write
Parameters
id, list_id
Generic call
kosmo integrations:call x.x_unfollow_list '{"id":"example_id","list_id":"example_list_id"}' --json
Shortcut
kosmo integrations:x x_unfollow_list '{"id":"example_id","list_id":"example_list_id"}' --json

x.x_get_users_followers

Get followers

Read read
Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields
Generic 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
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

Get following

Read read
Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields
Generic 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
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

Follow User

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_follow_user '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_follow_user '{"id":"example_id","body":"example_body"}' --json

x.x_get_users_liked_posts

Get liked Posts

Read read
Parameters
id, max_results, pagination_token, tweet.fields, expansions, media.fields, poll.fields, user.fields, place.fields
Generic 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
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

Like Post

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_like_post '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_like_post '{"id":"example_id","body":"example_body"}' --json

x.x_unlike_post

Unlike Post

Write write
Parameters
id, tweet_id
Generic call
kosmo integrations:call x.x_unlike_post '{"id":"example_id","tweet_id":"example_tweet_id"}' --json
Shortcut
kosmo integrations:x x_unlike_post '{"id":"example_id","tweet_id":"example_tweet_id"}' --json

x.x_get_users_list_memberships

Get List memberships

Read read
Parameters
id, max_results, pagination_token, list.fields, expansions, user.fields
Generic 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
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

Get mentions

Read read
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 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
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

Get muting

Read read
Parameters
id, max_results, pagination_token, user.fields, expansions, tweet.fields
Generic 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
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

Mute User

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_mute_user '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_mute_user '{"id":"example_id","body":"example_body"}' --json

x.x_get_users_owned_lists

Get owned Lists

Read read
Parameters
id, max_results, pagination_token, list.fields, expansions, user.fields
Generic 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
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

Get pinned Lists

Read read
Parameters
id, list.fields, expansions, user.fields
Generic 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
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

Pin List

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_pin_list '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_pin_list '{"id":"example_id","body":"example_body"}' --json

x.x_unpin_list

Unpin List

Write write
Parameters
id, list_id
Generic call
kosmo integrations:call x.x_unpin_list '{"id":"example_id","list_id":"example_list_id"}' --json
Shortcut
kosmo integrations:x x_unpin_list '{"id":"example_id","list_id":"example_list_id"}' --json

x.x_get_users_public_key

Get user public keys

Read read
Parameters
id, public_key.fields
Generic call
kosmo integrations:call x.x_get_users_public_key '{"id":"example_id","public_key.fields":"example_public_key.fields"}' --json
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

Add public key

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_add_user_public_key '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_add_user_public_key '{"id":"example_id","body":"example_body"}' --json

x.x_repost_post

Repost Post

Write write
Parameters
id, body
Generic call
kosmo integrations:call x.x_repost_post '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:x x_repost_post '{"id":"example_id","body":"example_body"}' --json

x.x_unrepost_post

Unrepost Post

Write write
Parameters
id, source_tweet_id
Generic call
kosmo integrations:call x.x_unrepost_post '{"id":"example_id","source_tweet_id":"example_source_tweet_id"}' --json
Shortcut
kosmo integrations:x x_unrepost_post '{"id":"example_id","source_tweet_id":"example_source_tweet_id"}' --json

x.x_get_users_timeline

Get Timeline

Read read
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 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
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

Get Posts

Read read
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 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
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

Unfollow User

Write write
Parameters
source_user_id, target_user_id
Generic call
kosmo integrations:call x.x_unfollow_user '{"source_user_id":"example_source_user_id","target_user_id":"example_target_user_id"}' --json
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

Unmute User

Write write
Parameters
source_user_id, target_user_id
Generic call
kosmo integrations:call x.x_unmute_user '{"source_user_id":"example_source_user_id","target_user_id":"example_target_user_id"}' --json
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

Get webhook

Read read
Parameters
webhook_config.fields
Generic call
kosmo integrations:call x.x_get_webhooks '{"webhook_config.fields":"example_webhook_config.fields"}' --json
Shortcut
kosmo integrations:x x_get_webhooks '{"webhook_config.fields":"example_webhook_config.fields"}' --json

x.x_create_webhooks

Create webhook

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_create_webhooks '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_create_webhooks '{"body":"example_body"}' --json

x.x_create_webhook_replay_job

Create replay job for webhook

Write write
Parameters
body
Generic call
kosmo integrations:call x.x_create_webhook_replay_job '{"body":"example_body"}' --json
Shortcut
kosmo integrations:x x_create_webhook_replay_job '{"body":"example_body"}' --json

x.x_delete_webhooks

Delete webhook

Write write
Parameters
webhook_id
Generic call
kosmo integrations:call x.x_delete_webhooks '{"webhook_id":"example_webhook_id"}' --json
Shortcut
kosmo integrations:x x_delete_webhooks '{"webhook_id":"example_webhook_id"}' --json

x.x_validate_webhooks

Validate webhook

Write write
Parameters
webhook_id
Generic call
kosmo integrations:call x.x_validate_webhooks '{"webhook_id":"example_webhook_id"}' --json
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 0 parameters
Schema command
kosmo integrations:schema x.x_get_account_activity_subscription_count --json
ParameterTypeRequiredDescription
No parameters.
x.x_validate_account_activity_subscription 1 parameters
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 2 parameters
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 1 parameters
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 2 parameters
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 3 parameters
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 1 parameters
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 2 parameters
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 1 parameters
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 1 parameters
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 2 parameters
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 5 parameters
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 1 parameters
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 0 parameters
Schema command
kosmo integrations:schema x.x_initialize_chat_group --json
ParameterTypeRequiredDescription
No parameters.
x.x_get_chat_conversation 4 parameters
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 2 parameters
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 2 parameters
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 2 parameters
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 2 parameters
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 1 parameters
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 1 parameters
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 2 parameters
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 2 parameters
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 2 parameters
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 5 parameters
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 2 parameters
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 3 parameters
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 1 parameters
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 2 parameters
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 1 parameters
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 5 parameters
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 0 parameters
Schema command
kosmo integrations:schema x.x_delete_all_connections --json
ParameterTypeRequiredDescription
No parameters.
x.x_delete_connections_by_endpoint 1 parameters
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 1 parameters
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 3 parameters
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 9 parameters
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 2 parameters
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 2 parameters
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 9 parameters
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 8 parameters
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 1 parameters
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 6 parameters
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 1 parameters
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 4 parameters
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 6 parameters
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 3 parameters
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 9 parameters
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 9 parameters
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 1 parameters
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 1 parameters
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 4 parameters
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 2 parameters
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 6 parameters
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 6 parameters
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 2 parameters
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 2 parameters
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 9 parameters
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 2 parameters
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 5 parameters
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 1 parameters
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 1 parameters
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 1 parameters
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 2 parameters
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 1 parameters
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 1 parameters
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 2 parameters
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 1 parameters
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 2 parameters
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 4 parameters
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 2 parameters
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 1 parameters
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 4 parameters
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 10 parameters
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 1 parameters
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 0 parameters
Schema command
kosmo integrations:schema x.x_get_open_api_spec --json
ParameterTypeRequiredDescription
No parameters.
x.x_get_spaces_by_ids 5 parameters
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 5 parameters
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 7 parameters
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 5 parameters
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 6 parameters
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 8 parameters
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 7 parameters
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 1 parameters
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 5 parameters
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 4 parameters
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 9 parameters
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 9 parameters
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 10 parameters
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 10 parameters
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 10 parameters
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 10 parameters
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 10 parameters
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 3 parameters
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 7 parameters
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 10 parameters
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 15 parameters
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 15 parameters
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 9 parameters
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 3 parameters
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 3 parameters
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 1 parameters
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 1 parameters
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 7 parameters
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 6 parameters
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 10 parameters
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 6 parameters
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 9 parameters
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 2 parameters
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 2 parameters
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 4 parameters
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 4 parameters
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 4 parameters
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 4 parameters
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 3 parameters
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 2 parameters
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 8 parameters
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 6 parameters
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 4 parameters
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 6 parameters
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 6 parameters
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 9 parameters
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 2 parameters
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 3 parameters
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 2 parameters
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 2 parameters
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 1 parameters
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 1 parameters
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 6 parameters
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 2 parameters
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 2 parameters
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 6 parameters
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 6 parameters
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 2 parameters
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 9 parameters
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 2 parameters
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 2 parameters
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 6 parameters
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 13 parameters
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 6 parameters
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 2 parameters
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 6 parameters
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 4 parameters
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 2 parameters
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 2 parameters
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 2 parameters
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 2 parameters
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 2 parameters
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 2 parameters
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 14 parameters
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 14 parameters
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 2 parameters
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 2 parameters
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 1 parameters
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 1 parameters
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 1 parameters
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 1 parameters
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 1 parameters
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.