> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Intercom List Activity Logs: Inputs, Cost & CLI Example

> List all activity logs. Intercom Intercom List Activity Logs docs include request fields, response shape, pricing notes, and Deepline CLI examples.

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=intercom_list_activity_logs:{"created_at_after":"{{created_at_after}}"}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name                        | Type     | Required | Default | Description                                                                         |
| --------------------------- | -------- | -------- | ------- | ----------------------------------------------------------------------------------- |
| `payload.created_at_after`  | `string` | Yes      |         | The start date that you request data for. It must be formatted as a UNIX timestamp. |
| `payload.created_at_before` | `string` | No       |         | The end date that you request data for. It must be formatted as a UNIX timestamp.   |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "You can get a log of activities by all admins in an app.",
    "properties": {
      "created_at_after": {
        "type": "string",
        "description": "The start date that you request data for. It must be formatted as a UNIX timestamp."
      },
      "created_at_before": {
        "type": "string",
        "description": "The end date that you request data for. It must be formatted as a UNIX timestamp."
      }
    },
    "required": [
      "created_at_after"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | Yes      |         | A paginated list of activity logs.             |
| `result.meta` | `object` | No       |         | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "A paginated list of activity logs.",
        "properties": {
          "type": {
            "type": "string",
            "description": "String representing the object's type. Always has the value `activity_log.list`."
          },
          "pages": {
            "type": [
              "object",
              "null"
            ],
            "description": "Cursor-based pagination is a technique used in the Intercom API to navigate through large amounts of data. A \"cursor\" or pointer is used to keep track of the current position in the result set, allowing the API to return the data in small chunks or \"pages\" as needed.",
            "properties": {
              "type": {
                "type": "string",
                "description": "the type of object `pages`.",
                "enum": [
                  "pages"
                ]
              },
              "page": {
                "type": "integer",
                "description": "The current page"
              },
              "next": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "per_page": {
                    "type": "integer",
                    "description": "The number of results to fetch per page."
                  },
                  "starting_after": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The cursor to use in the next request to get the next page of results."
                  }
                },
                "additionalProperties": false
              },
              "per_page": {
                "type": "integer",
                "description": "Number of results per page"
              },
              "total_pages": {
                "type": "integer",
                "description": "Total number of pages"
              }
            },
            "additionalProperties": false
          },
          "activity_logs": {
            "type": "array",
            "description": "An array of activity logs",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "description": "Activities performed by Admins.",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The id representing the activity."
                },
                "performed_by": {
                  "type": "object",
                  "description": "Details about the Admin involved in the activity.",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "String representing the object's type. Always has the value `admin`."
                    },
                    "id": {
                      "type": "string",
                      "description": "The id representing the admin."
                    },
                    "email": {
                      "type": "string",
                      "description": "The email of the admin."
                    },
                    "ip": {
                      "type": "string",
                      "description": "The IP address of the admin."
                    }
                  },
                  "additionalProperties": false
                },
                "metadata": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "Additional data provided about Admin activity.",
                  "properties": {
                    "sign_in_method": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The way the admin signed in."
                    },
                    "external_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The unique identifier for the contact which is provided by the Client."
                    },
                    "away_mode": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "The away mode status which is set to true when away and false when returned."
                    },
                    "away_status_reason": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The reason the Admin is away."
                    },
                    "reassign_conversations": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "Indicates if conversations should be reassigned while an Admin is away."
                    },
                    "source": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The action that initiated the status change."
                    },
                    "auto_changed": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Indicates if the status was changed automatically or manually."
                    },
                    "update_by": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "description": "The ID of the Admin who initiated the activity."
                    },
                    "update_by_name": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The name of the Admin who initiated the activity."
                    },
                    "conversation_assignment_limit": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "description": "The conversation assignment limit value for an admin."
                    },
                    "ticket_assignment_limit": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "description": "The ticket assignment limit value for an admin."
                    },
                    "team": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "Details about the team whose assignment limit was changed.",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "description": "The ID of the team."
                        },
                        "name": {
                          "type": "string",
                          "description": "The name of the team."
                        }
                      },
                      "additionalProperties": false
                    },
                    "team_assignment_limit": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "description": "The team assignment limit value (null if limit was removed)."
                    },
                    "enabled": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "Indicates if the setting is enabled or disabled."
                    },
                    "mode": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The mode of the setting (e.g., when_away_only, when_away_and_reassign)."
                    },
                    "consent_id": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "description": "The ID of the impersonation consent."
                    },
                    "expired_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The timestamp when the impersonation consent expires.",
                      "format": "date-time"
                    },
                    "before": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "The state of settings or values before the change. Structure varies by activity type."
                    },
                    "after": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "The state of settings or values after the change. Structure varies by activity type."
                    }
                  },
                  "additionalProperties": false
                },
                "created_at": {
                  "type": "integer",
                  "description": "The time the activity was created.",
                  "format": "date-time"
                },
                "activity_type": {
                  "type": "string",
                  "enum": [
                    "admin_conversation_assignment_limit_change",
                    "admin_ticket_assignment_limit_change",
                    "admin_avatar_change",
                    "admin_away_mode_change",
                    "admin_deletion",
                    "admin_deprovisioned",
                    "admin_impersonation_end",
                    "admin_impersonation_start",
                    "admin_impersonation_consent_approved",
                    "admin_impersonation_consent_revoked",
                    "admin_invite_change",
                    "admin_invite_creation",
                    "admin_invite_deletion",
                    "admin_login_failure",
                    "admin_login_success",
                    "admin_logout",
                    "admin_password_reset_request",
                    "admin_password_reset_success",
                    "admin_permission_change",
                    "admin_provisioned",
                    "admin_two_factor_auth_change",
                    "admin_unauthorized_sign_in_method",
                    "app_admin_join",
                    "app_authentication_method_change",
                    "app_data_deletion",
                    "app_data_export",
                    "app_google_sso_domain_change",
                    "app_identity_verification_change",
                    "app_name_change",
                    "app_outbound_address_change",
                    "app_package_installation",
                    "app_package_token_regeneration",
                    "app_package_uninstallation",
                    "app_team_creation",
                    "app_team_deletion",
                    "app_team_membership_modification",
                    "app_timezone_change",
                    "app_webhook_creation",
                    "app_webhook_deletion",
                    "articles_in_messenger_enabled_change",
                    "automatic_away_mode_setting_change",
                    "bulk_delete",
                    "bulk_export",
                    "campaign_deletion",
                    "campaign_state_change",
                    "conversation_deletion_schedule_creation",
                    "conversation_deletion_schedule_deletion",
                    "conversation_deletion_schedule_state_change",
                    "conversation_deletion_schedule_update",
                    "conversation_part_deletion",
                    "conversation_pdf_export",
                    "conversation_topic_change",
                    "conversation_topic_creation",
                    "conversation_topic_deletion",
                    "content_redaction_rule_creation",
                    "content_redaction_rule_deletion",
                    "content_redaction_rule_update",
                    "csv_import_completion",
                    "csv_import_creation",
                    "custom_authentication_token_creation",
                    "help_center_settings_change",
                    "inbound_conversations_change",
                    "inbox_access_change",
                    "macro_creation",
                    "macro_deletion",
                    "macro_update",
                    "macro_usage_export",
                    "malicious_domains_setting_change",
                    "message_deletion",
                    "message_state_change",
                    "messenger_api_secret_creation",
                    "messenger_api_secret_deletion",
                    "messenger_look_and_feel_change",
                    "messenger_search_required_change",
                    "messenger_spaces_change",
                    "oauth_token_revocation",
                    "office_hours_change",
                    "role_change",
                    "role_creation",
                    "role_deletion",
                    "ruleset_activation_title_preview",
                    "ruleset_creation",
                    "ruleset_deletion",
                    "search_browse_enabled_change",
                    "search_browse_required_change",
                    "seat_change",
                    "seat_revoke",
                    "security_settings_change",
                    "series_creation",
                    "series_deletion",
                    "series_settings_update",
                    "series_status_change",
                    "series_update",
                    "strip_inbound_email_links_change",
                    "temporary_expectation_change",
                    "team_assignment_limit_change",
                    "trusted_domains_setting_change",
                    "unassign_unsnoozed_at_capacity_setting_change",
                    "unassign_unsnoozed_when_away_setting_change",
                    "upfront_email_collection_change",
                    "allowed_attachment_filetypes_setting_change",
                    "attach_uploads_inline_setting_change",
                    "teammate_gifs_setting_change",
                    "user_camera_attachments_setting_change",
                    "user_conversation_attachments_setting_change",
                    "user_file_attachments_setting_change",
                    "user_gifs_setting_change",
                    "user_media_attachments_setting_change",
                    "user_voice_notes_setting_change",
                    "welcome_message_change",
                    "workspace_deletion_request",
                    "hide_csat_from_agents_setting_change"
                  ]
                },
                "activity_description": {
                  "type": "string",
                  "description": "A sentence or two describing the activity."
                }
              },
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute intercom_list_activity_logs --payload '{
  "created_at_after": "string"
}' --json
```

### CLI flags

| Flag                        | Description                                         |
| --------------------------- | --------------------------------------------------- |
| `--json`                    | Print machine-readable output.                      |
| `--wait`                    | Wait for terminal provider status when supported.   |
| `--debug`                   | Enable wait mode with additional status/log output. |
| `--wait-timeout SECONDS`    | Max seconds to wait in wait mode.                   |
| `--poll-interval SECONDS`   | Polling interval in seconds during wait mode.       |
| `--timeout SECONDS`         | Request timeout in seconds.                         |
| `--connect-timeout SECONDS` | Connection timeout in seconds.                      |

## Cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.
* Billing mode: `no_bill`.
