Current section
Files
Jump to
Current section
Files
priv/docs/methods/admin.analytics.messages.metadata.json
{
"args": {
"channel": {
"desc": "Channel ID for channel containing the messages to query.",
"required": true,
"type": "string"
},
"cursor": {
"desc": "Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See pagination for more details.",
"example": "abcd...",
"required": false,
"type": "string"
},
"latest_ts": {
"desc": "Most recent timestamp to include in the results. If not passed, defaults to current time.",
"required": false,
"type": "string"
},
"oldest_ts": {
"desc": "Oldest timestamp to include in the results",
"required": false,
"type": "string"
}
},
"desc": "Retrieves metadata for a list of messages from a given channel.",
"errors": {
"admin_analytics_disabled": "We're having issues returning your analytics. Please wait and try again.",
"analytics_unavailable": "We were unable to find analytics for you.",
"channel_not_found": "The specified channel was not found",
"different_team_owns_message_metadata_for_channel": "Message metadata must be accessed by an actor from the same team that owns the channel. This may be the org or a specific enterprise workspace.",
"not_an_enterprise": "The user token does not belong to an enterprise.",
"restricted_plan_level": "This feature is not available for your current product plan."
},
"rate_limit": {
"label": "1200 requests per minute with a burst allowance of 2000.",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "admin.analytics:read",
"url": "https://docs.slack.dev/reference/scopes/admin.analytics.read"
}
]
}
}