Slack. Web. Admin. Apps. Activities
(SlackKit v1.0.0-alpha.0)
View Source
Summary
Functions
Get logs for a specified team/org
Functions
Get logs for a specified team/org
API reference
Rate limit: Tier 3: 50+ per minute
Scopes:
- User token:
admin.app_activities:read
Optional Params
app_id- The ID of the app to get activities from. ex:A12345component_id- The component ID of log events to be returned. Will beFnXXXXXXfor functions, andWfXXXXXXfor workflows ex:Wf013SMGL4V9component_type- The component type of log events to be returned. Acceptable values areevents_api,workflows,functionsandtables. ex:workflowscursor- Paginate through collections of data by setting thecursorparameter to anext_cursorattribute returned by a previous request'sresponse_metadata. See pagination for more detail. ex:bG9nX2lkOjc5NjQ1NA==limit- The maximum number of items to return. ex:100log_event_type- The event type of log events to be returned. ex:test_log_eventmax_date_created- The latest timestamp of the log to retrieve (epoch microseconds). ex:1646665572336299min_date_created- The earliest timestamp of the log to retrieve (epoch microseconds). ex:1646665572336251min_log_level- The minimum log level of the log events to be returned. Defaults toinfo. Acceptable values (in order of relative importance from smallest to largest) aretrace,debug,info,warn,errorandfatal. ex:infosort_direction- The direction you want the data sorted by (always by timestamp) Acceptable values:ascdescex:ascsource- The source of log events to be returned. Acceptable values areslackanddeveloper. ex:slackteam_id- The team who owns this log. ex:T12345trace_id- The trace ID of log events to be returned. ex:Tr432f2
Errors the API can return:
invalid_app- App ID provided is not valid for team and user.invalid_app_id- App ID provided is not valid.invalid_args- Required arguments either were not provided or contain invalid values.invalid_cursor- Value passed forcursorwas not valid or is no longer valid.invalid_team- Team ID provided is not valid
See the Common Errors guide for errors returned by every Web API method.