{
  "args": {
    "app_id": {
      "desc": "The ID of the app to get activities from.",
      "example": "A12345",
      "required": false
    },
    "component_id": {
      "desc": "The component ID of log events to be returned. Will be `FnXXXXXX` for functions, and `WfXXXXXX` for workflows",
      "example": "Wf013SMGL4V9",
      "required": false,
      "type": "string"
    },
    "component_type": {
      "desc": "The component type of log events to be returned. Acceptable values are `events_api`, `workflows`, `functions` and `tables`.",
      "example": "workflows",
      "required": false,
      "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`. See pagination for more detail.",
      "example": "bG9nX2lkOjc5NjQ1NA==",
      "required": false,
      "type": "string"
    },
    "limit": {
      "desc": "The maximum number of items to return.",
      "example": "100",
      "required": false,
      "type": "integer"
    },
    "log_event_type": {
      "desc": "The event type of log events to be returned.",
      "example": "test_log_event",
      "required": false,
      "type": "string"
    },
    "max_date_created": {
      "desc": "The latest timestamp of the log to retrieve (epoch microseconds).",
      "example": "1646665572336299",
      "required": false,
      "type": "integer"
    },
    "min_date_created": {
      "desc": "The earliest timestamp of the log to retrieve (epoch microseconds).",
      "example": "1646665572336251",
      "required": false,
      "type": "integer"
    },
    "min_log_level": {
      "desc": "The minimum log level of the log events to be returned. Defaults to `info`. Acceptable values (in order of relative importance from smallest to largest) are `trace`, `debug`, `info`, `warn`, `error` and `fatal`.",
      "example": "info",
      "required": false,
      "type": "string"
    },
    "sort_direction": {
      "desc": "The direction you want the data sorted by (always by timestamp) _Acceptable values:_ `asc` `desc`",
      "example": "asc",
      "required": false,
      "type": "string"
    },
    "source": {
      "desc": "The source of log events to be returned. Acceptable values are `slack` and `developer`.",
      "example": "slack",
      "required": false,
      "type": "string"
    },
    "team_id": {
      "desc": "The team who owns this log.",
      "example": "T12345",
      "required": false,
      "type": "string"
    },
    "trace_id": {
      "desc": "The trace ID of log events to be returned.",
      "example": "Tr432f2",
      "required": false,
      "type": "string"
    }
  },
  "desc": "Get logs for a specified team/org",
  "errors": {
    "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 for `cursor` was not valid or is no longer valid.",
    "invalid_team": "Team ID provided is not valid"
  },
  "rate_limit": {
    "label": "Tier 3: 50+ per minute",
    "url": "https://docs.slack.dev/apis/web-api/rate-limits"
  },
  "scopes": {
    "user": [
      {
        "name": "admin.app_activities:read",
        "url": "https://docs.slack.dev/reference/scopes/admin.app_activities.read"
      }
    ]
  }
}

