Ably
ablyAbly is a real-time messaging platform helping developers build live features, including chat and data synchronization, with global scalability and robust reliability for modern applications
Acciones disponibles (11)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Query Batch PresenceABLY_BATCH_PRESENCEAcciónThis tool enables querying the presence states of multiple channels in a single api request. the api retrieves the member presence details of the specified channels in parallel.
ABLY_BATCH_PRESENCEAcciónThis tool enables querying the presence states of multiple channels in a single api request. the api retrieves the member presence details of the specified channels in parallel.
Parámetros de entrada
channelsstringObligatorioComma-separated list of channel names to query presence for
separatorstringCharacter used to separate channel names (default is comma)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Query Batch Presence HistoryABLY_BATCH_PRESENCE_HISTORYAcciónThis tool enables querying presence history for multiple channels in a single api request. it uses the get endpoint at https://rest.ably.io/presence to retrieve the member presence history details of the specified channels in parallel.
ABLY_BATCH_PRESENCE_HISTORYAcciónThis tool enables querying presence history for multiple channels in a single api request. it uses the get endpoint at https://rest.ably.io/presence to retrieve the member presence history details of the specified channels in parallel.
Parámetros de entrada
endintegerEnd time in milliseconds since epoch
limitintegerMaximum number of messages to return per channel (default 100, max 1000)
startintegerStart time in milliseconds since epoch
channelsstring[]ObligatorioList of channel names to query presence history for
directionstringDirection of results (backwards or forwards)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Ably ChannelABLY_CREATE_CHANNELAcciónCreates a new channel or retrieves an existing channel in ably. this tool allows you to programmatically create and initialize channels for real-time messaging. since ably creates channels implicitly when first used, this action publishes an empty initialization message to create/activate the channel.
ABLY_CREATE_CHANNELAcciónCreates a new channel or retrieves an existing channel in ably. this tool allows you to programmatically create and initialize channels for real-time messaging. since ably creates channels implicitly when first used, this action publishes an empty initialization message to create/activate the channel.
Parámetros de entrada
channel_idstringObligatorioThe name of the channel to create/initialize. Must be less than 1024 characters and can contain alphanumeric characters, hyphen, underscore, colon, and period.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Channel SubscriptionABLY_DELETE_CHANNEL_SUBSCRIPTIONAcciónThis tool allows you to unsubscribe devices or clients from push notifications for specific channels. the operation is asynchronous, so immediate requests after deletion may briefly still return the subscription.
ABLY_DELETE_CHANNEL_SUBSCRIPTIONAcciónThis tool allows you to unsubscribe devices or clients from push notifications for specific channels. the operation is asynchronous, so immediate requests after deletion may briefly still return the subscription.
Parámetros de entrada
channelstringThe name of the channel to unsubscribe from. If not set, all subscriptions on all channels will be deleted.
client_idstringFilter to restrict to subscriptions associated with that clientId. Cannot be used with deviceId.
device_idstringFilter to restrict to subscriptions for that deviceId. Cannot be used with clientId.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Channel DetailsABLY_GET_CHANNEL_DETAILSAcciónThis tool retrieves metadata and details for a specific channel in ably. it returns a channeldetails object containing information about the channel's status, occupancy, and other metadata. the endpoint provides visibility into channel activity, including metrics such as connections, presence, publishers, and subscribers, and requires appropriate permissions.
ABLY_GET_CHANNEL_DETAILSAcciónThis tool retrieves metadata and details for a specific channel in ably. it returns a channeldetails object containing information about the channel's status, occupancy, and other metadata. the endpoint provides visibility into channel activity, including metrics such as connections, presence, publishers, and subscribers, and requires appropriate permissions.
Parámetros de entrada
channel_idstringObligatorioThe ID of the channel to retrieve details for
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Channel HistoryABLY_GET_CHANNEL_HISTORYAcciónThis tool retrieves the message history for a specified ably channel. it uses the get /channels/{channelid}/messages endpoint to return a paginated list of messages in chronological order, subject to parameters such as 'channelid', 'limit', 'direction', 'start', and 'end'. the tool is useful for auditing, recovering missed messages, analyzing channel activity, and debugging message flows. authentication is required via basic or token authentication.
ABLY_GET_CHANNEL_HISTORYAcciónThis tool retrieves the message history for a specified ably channel. it uses the get /channels/{channelid}/messages endpoint to return a paginated list of messages in chronological order, subject to parameters such as 'channelid', 'limit', 'direction', 'start', and 'end'. the tool is useful for auditing, recovering missed messages, analyzing channel activity, and debugging message flows. authentication is required via basic or token authentication.
Parámetros de entrada
endintegerThe end of the query interval as a time in milliseconds since the epoch
limitintegerThe maximum number of records to return. A limit greater than 1,000 is invalid
startintegerThe start of the query interval as a time in milliseconds since the epoch
directionstringThe direction of this query. The direction determines the order of the returned result array
channel_idstringObligatorioThe ID of the channel to retrieve history for
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Channel Presence HistoryABLY_GET_PRESENCE_HISTORYAcciónThis tool retrieves the history of presence messages for a specified channel in ably. it allows you to query presence events on a channel within a given time period.
ABLY_GET_PRESENCE_HISTORYAcciónThis tool retrieves the history of presence messages for a specified channel in ably. it allows you to query presence events on a channel within a given time period.
Parámetros de entrada
endintegerThe end of the query interval as a time in milliseconds since the epoch. Defaults to current time.
limitintegerThe maximum number of records to return. Maximum value is 1000.
startintegerThe start of the query interval as a time in milliseconds since the epoch
directionstringThe direction of results. Can be either 'backwards' or 'forwards'.
channel_idstringObligatorioThe channel name to get presence history for
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Ably Service TimeABLY_GET_SERVICE_TIMEAcciónThis tool retrieves the current server time from ably's service in milliseconds since the epoch. it is particularly useful for time synchronization and generating valid tokenrequest timestamps to prevent replay attacks. the endpoint supports multiple content types, handles http errors, network issues, and is a fundamental tool for ensuring accurate timing in ably applications.
ABLY_GET_SERVICE_TIMEAcciónThis tool retrieves the current server time from ably's service in milliseconds since the epoch. it is particularly useful for time synchronization and generating valid tokenrequest timestamps to prevent replay attacks. the endpoint supports multiple content types, handles http errors, network issues, and is a fundamental tool for ensuring accurate timing in ably applications.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Application StatsABLY_GET_STATSAcciónThis tool retrieves your application's usage statistics from ably. the stats endpoint returns a paginated list of your application's usage statistics by minute, hour, day, or month. it supports optional parameters such as start, end, direction, limit, and unit to filter and format the returned data. the stats include metrics for: - message counts and data transferred - connection counts - channel usage - api request counts - push notification metrics - token request counts
ABLY_GET_STATSAcciónThis tool retrieves your application's usage statistics from ably. the stats endpoint returns a paginated list of your application's usage statistics by minute, hour, day, or month. it supports optional parameters such as start, end, direction, limit, and unit to filter and format the returned data. the stats include metrics for: - message counts and data transferred - connection counts - channel usage - api request counts - push notification metrics - token request counts
Parámetros de entrada
endintegerThe end of the query interval as a time in milliseconds since the epoch
unitstringThe unit of aggregation in the returned results
limitintegerThe maximum number of records to return. A limit greater than 1,000 is invalid
startintegerThe start of the query interval as a time in milliseconds since the epoch
directionstringThe direction of this query. The direction determines the order of the returned result array
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Push Channel SubscriptionsABLY_LIST_PUSH_CHANNEL_SUBSCRIPTIONSAcciónThis tool retrieves a list of all push notification channel subscriptions. it allows you to view all active push notification subscriptions for channels in your ably application. allows filtering by channel, deviceid, and clientid, supports pagination with limit parameter, and returns detailed push notification subscription information including channel, deviceid, and clientid.
ABLY_LIST_PUSH_CHANNEL_SUBSCRIPTIONSAcciónThis tool retrieves a list of all push notification channel subscriptions. it allows you to view all active push notification subscriptions for channels in your ably application. allows filtering by channel, deviceid, and clientid, supports pagination with limit parameter, and returns detailed push notification subscription information including channel, deviceid, and clientid.
Parámetros de entrada
limitintegerThe maximum number of records to return. A limit greater than 1,000 is invalid.
channelstringFilter to restrict to subscriptions associated with that channel
client_idstringFilter to restrict to subscriptions associated with that clientId
device_idstringFilter to restrict to subscriptions for that deviceId
concat_filtersbooleanFind all device registrations which match either clientId or deviceId
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Publish Message to ChannelABLY_PUBLISH_MESSAGE_TO_CHANNELAcciónThis tool will allow users to publish a message to a specified ably channel using a post request. it covers the essentials like channel name, message data, optional event name/type, and additional metadata for push notifications. it is an independent and fundamental operation within ably's real-time messaging platform.
ABLY_PUBLISH_MESSAGE_TO_CHANNELAcciónThis tool will allow users to publish a message to a specified ably channel using a post request. it covers the essentials like channel name, message data, optional event name/type, and additional metadata for push notifications. it is an independent and fundamental operation within ably's real-time messaging platform.
Parámetros de entrada
client_idstringOptional client identifier to associate with the message.
channel_idstringObligatorioThe name of the channel to publish the message to.
event_namestringOptional event name/type for the message.
message_idstringOptional unique message ID for idempotent publishing.
message_datastringObligatorioThe message payload. Can be a string or a JSON object.
push_notificationobjectOptional push notification configuration.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not