> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Connect AI agents to Mezmo

The Mezmo connector lets your AI agent act in each user's Mezmo account. Each user connects their own Mezmo API key once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 54 tools.

**Authentication:** API Key
**Categories:** Monitoring, Developer Tools
**Tools:** 54: 29 read, 15 write, 10 destructive
**Users sign in with:** API key
**Built by:** Scalekit connector
**Try it:** [Playground in the Scalekit dashboard](https://app.scalekit.com/ws/signup?sk_intent=playground&provider=MEZMO)

## Setup

1. ### Install the SDK

   **Node.js**

   ```bash
   npm install @scalekit-sdk/node dotenv
   ```

   **Python**

   ```bash
   pip install scalekit-sdk-python python-dotenv
   ```

2. ### Set your credentials

   Add your Scalekit credentials to your `.env` file. Find values in **[app.scalekit.com](https://app.scalekit.com)** > **Developers** > **API Credentials**.

   ```sh title=".env"
   SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
   SCALEKIT_CLIENT_ID=<your-client-id>
   SCALEKIT_CLIENT_SECRET=<your-client-secret>
   ```

3. ### Create the Mezmo connection

   In **AgentKit > Connections**, create a Mezmo connection. The name you give it is the `connection_name` your code passes. See [Configure connections](/agentkit/connections/).

4. ### Authorize a user and make your first call

   **Node.js** (`quickstart.mts`)

   ```typescript
   import { ScalekitClient } from '@scalekit-sdk/node'
   import 'dotenv/config'
   import { createInterface } from 'node:readline/promises'

   const scalekit = new ScalekitClient(
     process.env.SCALEKIT_ENVIRONMENT_URL,
     process.env.SCALEKIT_CLIENT_ID,
     process.env.SCALEKIT_CLIENT_SECRET,
   )
   const actions = scalekit.actions

   const connector = 'mezmo'
   const identifier = 'user_123'

   // Generate an authorization link for the user
   const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
   console.log('Authorize Mezmo:', link)
   const rl = createInterface({ input: process.stdin, output: process.stdout })
   await rl.question('Press Enter after authorizing...')
   rl.close()

   // Make your first call
   const result = await actions.executeTool({
     connector,
     identifier,
     toolName: 'mezmo_archiving_get',
     toolInput: {},
   })
   console.log(result)
   ```

   ```bash
   npx tsx quickstart.mts
   ```

   **Python** (`quickstart.py`)

   ```python
   import os
   from scalekit import ScalekitClient
   from dotenv import load_dotenv
   load_dotenv()

   scalekit_client = ScalekitClient(
       env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
       client_id=os.getenv("SCALEKIT_CLIENT_ID"),
       client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),
   )
   actions = scalekit_client.actions

   connection_name = "mezmo"
   identifier = "user_123"

   # Generate an authorization link for the user
   link_response = actions.get_authorization_link(
       connection_name=connection_name,
       identifier=identifier,
   )
   print("Authorize Mezmo:", link_response.link)
   input("Press Enter after authorizing...")

   # Make your first call
   result = actions.execute_tool(
       tool_input={},
       tool_name="mezmo_archiving_get",
       connection_name=connection_name,
       identifier=identifier,
   )
   print(result)
   ```

   ```bash
   python quickstart.py
   ```

   Each user opens the link once and enters their Mezmo credentials there. See [Authorize a user](/agentkit/tools/authorize/) for the full flow and statuses.

## Tools

Pass the exact name to `execute_tool`, with an input like each tool's example. To ask for a tool that's missing, use the [request form](https://scalekitsupport.portal.usepylon.com/forms/request-a-connector-tool).

**Node.js**

```typescript
const result = await actions.executeTool({
  toolName: 'mezmo_archiving_get',
  toolInput: {},
  connector: 'mezmo',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="mezmo_archiving_get",
    tool_input={},
    connection_name="mezmo",
    identifier="user_123",
)
```

`result.data` is the app's response as JSON, and `result.execution_id` (`executionId` in Node.js) is the ID of the call.

### `mezmo_archiving_get`

Get Archive Configuration · Read-only

Get the account's log archiving configuration.
Returns the storage integration and bucket settings (credentials are not returned).
Use Delete Archive Configuration to stop archiving.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `mezmo_board_get`

Get Board · Read-only

Get one board by ID.
Returns its title, categories and graphs.
Use List Boards to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `board_id` (`string`, required): ID of a board. Example: 5f3a1b2c4d5e6f7890123456.

Example input: `{"board_id":"<board_id>"}`

### `mezmo_boards_list`

List Boards · Read-only

List the dashboards (boards) in the account.
Returns boards with id, title and categories.
Use Get Board for one board's graphs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `mezmo_categories_list`

List Categories · Read-only

List the categories used to group views, boards or screens.
Returns categories with id and name.
Use Create Category to add one.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `type` (`string`, required): Category type: views, boards or screens. Example: views. One of: `views`, `boards`, `screens`.

Example input: `{"type":"views"}`

### `mezmo_category_get`

Get Category · Read-only

Get one category by type and ID.
Returns its name.
Use List Categories to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `id` (`string`, required): ID of category. Example: 5f3a1b2c4d5e6f7890123456.
- `type` (`string`, required): Category type: views, boards or screens. Example: views. One of: `views`, `boards`, `screens`.

Example input: `{"id":"<id>","type":"views"}`

### `mezmo_exclusion_get`

Get Exclusion Rule · Read-only

Get one exclusion rule by ID.
Returns its title, hosts, apps, query and flags.
Use List Exclusion Rules to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `id` (`string`, required): ID of an exclusion rule. Example: 5f3a1b2c4d5e6f7890123456.

Example input: `{"id":"<id>"}`

### `mezmo_exclusions_list`

List Exclusion Rules · Read-only

List ingestion exclusion rules that drop or index-only matching logs.
Returns rules with id, title, hosts, apps, query and active and index-only flags.
Usage quota rules are not included.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `mezmo_group_get`

Get Group · Read-only

Get one log group by ID.
Returns its name, access scope and members.
Use List Groups to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `group_id` (`string`, required): ID of a group. Example: 61b2c3d4e5f6a7b8c9d0e1f2.

Example input: `{"group_id":"<group_id>"}`

### `mezmo_groups_list`

List Groups · Read-only

List the log groups (RBAC access scopes) in the account.
Returns groups with id, name and access scope query.
Use Get Group for one group.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `mezmo_index_rate_alert_get`

Get Index Rate Alert · Read-only

Get the account's index rate alert settings, which warn when log volume spikes.
Returns thresholds, frequency, channels and enabled flag.
Use Update Index Rate Alert to change them.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `mezmo_ingestion_status_get`

Get Ingestion Status · Read-only

Check whether log ingestion is active or suspended.
Returns the ingestion status.
Use Resume Ingestion if it is suspended.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `mezmo_logs_export`

Export Logs · Read-only

Export log lines matching a time range, query, hosts, apps and levels as JSON, paged.
Returns the log lines (with timestamp, host, app, level and message) and a pagination_id for the next page.
Use Get Usage for volume totals instead of individual lines.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `from` (`string`, required): Start time (inclusive), as a Unix timestamp in seconds or milliseconds. Example: 1763251200.
- `to` (`string`, required): End time (inclusive), as a Unix timestamp in seconds or milliseconds. Example: 1763337600.
- `apps` (`string`, optional): Comma-separated app names to filter by. Example: ["api-server"].
- `hosts` (`string`, optional): Comma-separated host names to filter by. Example: ["web-01"].
- `levels` (`string`, optional): Comma-separated log levels to filter by. Example: ["error"].
- `pagination_id` (`string`, optional): Pagination ID from the previous response, to get the next page. Omit on the first call. Example: eyJwYWdlIjoyfQ.
- `prefer` (`string`, optional): head returns the first matching lines, tail (default) the last. Example: tail.
- `query` (`string`, optional): Mezmo search query, for example level:error app:api-server. Example: level:error app:api-server.
- `size` (`string`, optional): Maximum number of log lines to return. Example: 1000.

Example input: `{"from":"<from>","to":"<to>"}`

### `mezmo_member_get`

Get Member · Read-only

Get one member by email.
Returns their role and groups.
Use List Members to browse.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `email` (`string`, required): Email of a member. Example: testemail@gmail.com.

Example input: `{"email":"<email>"}`

### `mezmo_members_list`

List Members · Read-only

List the members of the organization.
Returns each member's email, role and groups.
Use Get Member for one member.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `mezmo_parsing_template_get`

Get Parsing Template · Read-only

Get one custom parsing template by ID.
Returns its name, matching query and parsing rules.
Use List Parsing Templates to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `template_id` (`string`, required): ID of a template. Example: t1u2v3w4x5.

Example input: `{"template_id":"<template_id>"}`

### `mezmo_parsing_templates_list`

List Parsing Templates · Read-only

List custom log parsing templates.
Returns templates with id, name and parsing rules.
Use Get Parsing Template for one template.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `mezmo_preset_alert_get`

Get Preset Alert · Read-only

Get one preset alert by ID.
Returns its name and channels.
Use List Preset Alerts to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `preset_id` (`string`, required): ID of a preset alert. Example: p1q2r3s4t5.

Example input: `{"preset_id":"<preset_id>"}`

### `mezmo_preset_alerts_list`

List Preset Alerts · Read-only

List the preset (reusable) alerts in the account.
Returns preset alerts with id, name and channels.
Use Get Preset Alert for one alert.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `mezmo_screen_get`

Get Screen · Read-only

Get one screen by ID.
Returns its title, ratio, background, categories and widgets.
Use List Screens to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `id` (`string`, required): Id. Example: 5f3a1b2c4d5e6f7890123456.

Example input: `{"id":"<id>"}`

### `mezmo_screens_list`

List Screens · Read-only

List screens (TV-style dashboards) by id and title.
Returns screens with id and title.
Use Get Screen for one screen's widgets.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `mezmo_usage_app_get`

Get Usage by App · Read-only

Get one app's log volume for a time range.
Returns the app's byte totals.
Use List Usage by App for every app.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `from` (`string`, required): Start of the time range, ISO 8601 date-time. Example: 2026-11-01T00:00:00Z.
- `name` (`string`, required): App name. Example: api-server.
- `to` (`string`, required): End of the time range, ISO 8601 date-time. Example: 2026-11-16T00:00:00Z.
- `retention` (`string`, optional): Only include data in a variable retention pool, for example 7d. Example: 7d.

Example input: `{"from":"<from>","name":"<name>","to":"<to>"}`

### `mezmo_usage_apps_list`

List Usage by App · Read-only

List log volume by app for a time range.
Returns each app's name and total bytes.
Use Get Usage by App for one app.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `from` (`string`, required): Start of the time range, ISO 8601 date-time. Example: 2026-11-01T00:00:00Z.
- `to` (`string`, required): End of the time range, ISO 8601 date-time. Example: 2026-11-16T00:00:00Z.
- `limit` (`integer`, optional): Maximum number of results. Example: 25.
- `retention` (`string`, optional): Only include data in a variable retention pool, for example 7d. Example: 7d.

Example input: `{"from":"<from>","to":"<to>"}`

### `mezmo_usage_get`

Get Usage · Read-only

Get the account's total log volume for a time range.
Returns plan, restored and variable-retention byte totals for the period.
Use List Usage by App, Host or Tag for a breakdown.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `from` (`string`, required): Start of the time range, ISO 8601 date-time. Example: 2026-11-01T00:00:00Z.
- `to` (`string`, required): End of the time range, ISO 8601 date-time. Example: 2026-11-16T00:00:00Z.

Example input: `{"from":"<from>","to":"<to>"}`

### `mezmo_usage_host_get`

Get Usage by Host · Read-only

Get one host's log volume for a time range.
Returns the host's byte totals.
Use List Usage by Host for every host.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `from` (`string`, required): Start of the time range, ISO 8601 date-time. Example: 2026-11-01T00:00:00Z.
- `name` (`string`, required): Host name. Example: web-01.
- `to` (`string`, required): End of the time range, ISO 8601 date-time. Example: 2026-11-16T00:00:00Z.
- `retention` (`string`, optional): Only include data in a variable retention pool, for example 7d. Example: 7d.

Example input: `{"from":"<from>","name":"<name>","to":"<to>"}`

### `mezmo_usage_hosts_list`

List Usage by Host · Read-only

List log volume by host for a time range.
Returns each host's name and total bytes.
Use Get Usage by Host for one host.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `from` (`string`, required): Start of the time range, ISO 8601 date-time. Example: 2026-11-01T00:00:00Z.
- `to` (`string`, required): End of the time range, ISO 8601 date-time. Example: 2026-11-16T00:00:00Z.
- `limit` (`integer`, optional): Maximum number of results. Example: 25.
- `retention` (`string`, optional): Only include data in a variable retention pool, for example 7d. Example: 7d.

Example input: `{"from":"<from>","to":"<to>"}`

### `mezmo_usage_tag_get`

Get Usage by Tag · Read-only

Get one tag's log volume for a time range.
Returns the tag's byte totals.
Use List Usage by Tag for every tag.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `from` (`string`, required): Start of the time range, ISO 8601 date-time. Example: 2026-11-01T00:00:00Z.
- `name` (`string`, required): Tag name. Example: production.
- `to` (`string`, required): End of the time range, ISO 8601 date-time. Example: 2026-11-16T00:00:00Z.
- `retention` (`string`, optional): Only include data in a variable retention pool, for example 7d. Example: 7d.

Example input: `{"from":"<from>","name":"<name>","to":"<to>"}`

### `mezmo_usage_tags_list`

List Usage by Tag · Read-only

List log volume by tag for a time range.
Returns each tag's name and total bytes.
Use Get Usage by Tag for one tag.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `from` (`string`, required): Start of the time range, ISO 8601 date-time. Example: 2026-11-01T00:00:00Z.
- `to` (`string`, required): End of the time range, ISO 8601 date-time. Example: 2026-11-16T00:00:00Z.
- `limit` (`integer`, optional): Maximum number of results. Example: 25.
- `retention` (`string`, optional): Only include data in a variable retention pool, for example 7d. Example: 7d.

Example input: `{"from":"<from>","to":"<to>"}`

### `mezmo_view_get`

Get View · Read-only

Get one saved view by ID.
Returns its name, query, filters, categories and alert channels.
Use List Views to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `view_id` (`string`, required): ID of a view. Example: a1b2c3d4e5.

Example input: `{"view_id":"<view_id>"}`

### `mezmo_views_list`

List Views · Read-only

List the saved views (filtered log searches) in the account.
Returns views with id, name, query, hosts, apps, levels, categories and attached alerts.
Use Get View for one view.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `mezmo_board_create`

Create Board · Write

Create an empty dashboard (board).
Returns the new board with its id.
Use List Boards to see existing boards.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `account` (`string`, optional): Account number of the organization. Example: 0000000000.
- `category` (`array`, optional): Categories to put the board in. Example: ["Payments"].
- `title` (`string`, optional): Title of the board. Example: Payments errors.

Example input: `{}`

### `mezmo_category_create`

Create Category · Write

Create a category for grouping views, boards or screens.
Returns the new category with its id.
Use List Categories to see existing ones.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `type` (`string`, required): Category type: views, boards or screens. Example: views. One of: `views`, `boards`, `screens`.
- `name` (`string`, optional): Name of the category. Example: Payments.

Example input: `{"type":"views"}`

### `mezmo_category_update`

Update Category · Write

Rename a category.
Returns the updated category.
Use List Categories to find the ID.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `id` (`string`, required): ID of category. Example: 5f3a1b2c4d5e6f7890123456.
- `type` (`string`, required): Category type: views, boards or screens. Example: views. One of: `views`, `boards`, `screens`.
- `name` (`string`, optional): New name of the category. Example: Payments.

Example input: `{"id":"<id>","type":"views"}`

### `mezmo_exclusion_create`

Create Exclusion Rule · Write

Create an ingestion exclusion rule to drop (or only index) logs matching hosts, apps or a query.
Returns the new rule.
Use it to cut log volume, for example health-check noise.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `title` (`string`, required): Title of the exclusion rule. Example: Payments errors.
- `active` (`boolean`, optional): Active. Example: false.
- `apps` (`array`, optional): Apps whose logs the rule excludes. Example: ["api-server"].
- `hosts` (`array`, optional): Hosts whose logs the rule excludes. Example: ["web-01"].
- `indexonly` (`boolean`, optional): Indexonly. Example: true.
- `query` (`string`, optional): Mezmo search query, for example level:error app:api-server. Example: level:error app:api-server.

Example input: `{"title":"<title>"}`

### `mezmo_exclusion_update`

Update Exclusion Rule · Write

Update an exclusion rule's title, hosts, apps, query or active and index-only flags.
Returns the updated rule.
Set active false to pause it.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `id` (`string`, required): ID of the rule. Example: exclude-healthchecks.
- `title` (`string`, required): Title of the exclusion rule. Example: Payments errors.
- `active` (`boolean`, optional): Active. Example: false.
- `apps` (`array`, optional): Apps whose logs the rule excludes. Example: ["api-server"].
- `hosts` (`array`, optional): Hosts whose logs the rule excludes. Example: ["web-01"].
- `indexonly` (`boolean`, optional): Indexonly. Example: true.
- `query` (`string`, optional): Mezmo search query, for example level:error app:api-server. Example: level:error app:api-server.

Example input: `{"id":"<id>","title":"<title>"}`

### `mezmo_index_rate_alert_update`

Update Index Rate Alert · Write

Update the index rate alert: line and standard-deviation thresholds, frequency, channels and enabled flag.
Returns the updated settings.
Use Get Index Rate Alert to read the current values.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `channels` (`object`, optional): Where to notify: an object with email (address list), slack (webhook URLs), pagerduty (keys) and webhook (configs) arrays. Example: {"email": ["oncall@example.com"]}.
- `enabled` (`boolean`, optional): Enabled. Example: true.
- `frequency` (`string`, optional): Notify recipients once per hour, or once per day, (starting when the threshold is passed the first time) until the index rate drops below the thresholds. When the index rate drops below the thresholds, alerting stops. Example: hourly. One of: `hourly`, `daily`.
- `max_lines` (`integer`, optional): Lines per period above which the alert fires. Example: 10000.
- `max_z_score` (`integer`, optional): Standard deviations above the 30-day average above which the alert fires. Example: 3.
- `threshold_alert` (`string`, optional): Determines if you want alerts to be triggered if both the max lines and standard deviation have been triggered, or if one of the thresholds has been reached. Example: separate. One of: `separate`, `both`.

Example input: `{}`

### `mezmo_ingestion_resume`

Resume Ingestion · Write

Resume log ingestion after a suspension.
Returns the new ingestion status.
Use Get Ingestion Status to check it.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `mezmo_ingestion_suspend`

Start Ingestion Suspension · Write

Start suspending log ingestion (step 1 of 2). Nothing stops yet.
Returns a confirmation token.
Use Confirm Ingestion Suspension with the token to actually stop ingestion.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs: none.

Example input: `{}`

### `mezmo_member_create`

Add Member · Write

Invite a user to the organization with a role and optional groups.
Returns the new member.
Roles are admin, readonly or member; owner cannot be set through the API.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `email` (`string`, required): Email of a member. Example: testemail@gmail.com.
- `role` (`string`, required): role of member. Owner shall not be created or set through api. Example: member. One of: `owner`, `admin`, `readonly`, `member`.
- `groups` (`array`, optional): Log group IDs the member belongs to. Example: ["61b2c3d4e5f6a7b8c9d0e1f2"].

Example input: `{"email":"<email>","role":"owner"}`

### `mezmo_member_update`

Update Member · Write

Set a member's role and groups, creating the member if missing. Fields left out are cleared.
Returns the updated member.
Use Get Member first to keep current values.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `email` (`string`, required): Email of a member. Example: testemail@gmail.com.
- `role` (`string`, required): role of member. Owner shall not be created or set through api. Example: member. One of: `admin`, `readonly`, `member`.
- `groups` (`array`, optional): Log group IDs the member belongs to. Example: ["61b2c3d4e5f6a7b8c9d0e1f2"].

Example input: `{"email":"<email>","role":"admin"}`

### `mezmo_preset_alert_create`

Create Preset Alert · Write

Create a reusable alert with notification channels that views can attach.
Returns the new preset alert with its presetid.
Use Create View or Update View to attach it.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `channels` (`array`, optional): Alert notification channels. Each has an integration (email, webhook, slack or pagerduty) and its target (emails, url or key), plus trigger settings such as triggerlimit, triggerinterval, immediate, operator (presence or absence) and terminal. Example: [{"integration": "email", "emails": ["oncall@example.com"], "triggerlimit": "15", "triggerinterval": "30", "immediate": true, "operator": "presence", "terminal": true}].
- `name` (`string`, optional): Name of the preset alert. Example: Error spike.

Example input: `{}`

### `mezmo_preset_alert_update`

Update Preset Alert · Write

Update a preset alert's name or channels.
Returns the updated alert.
Use Get Preset Alert to read the current values.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `preset_id` (`string`, required): ID of a preset alert. Example: p1q2r3s4t5.
- `channels` (`array`, optional): Alert notification channels. Each has an integration (email, webhook, slack or pagerduty) and its target (emails, url or key), plus trigger settings such as triggerlimit, triggerinterval, immediate, operator (presence or absence) and terminal. Example: [{"integration": "email", "emails": ["oncall@example.com"], "triggerlimit": "15", "triggerinterval": "30", "immediate": true, "operator": "presence", "terminal": true}].
- `name` (`string`, optional): Name of the preset alert. Example: Error spike.

Example input: `{"preset_id":"<preset_id>"}`

### `mezmo_screen_create`

Create Screen · Write

Create a screen with an aspect ratio, background and widgets.
Returns the new screen.
Use List Screens to see existing screens.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `background` (`string`, required): The background color to use when viewing the screen. Example: dark. One of: `dark`, `light`.
- `ratio` (`string`, required): The width to height aspect ratio of this screen. Example: 3:2. One of: `3:2`, `4:3`, `5:4`, `16:9`, `16:10`, `21:9`.
- `rotate90_degrees` (`boolean`, required): Whether the screen is rotated 90 degrees. Setting to true effectively swaps the width to height ratio. Example: true.
- `title` (`string`, required): Title of the screen. Example: Payments errors.
- `categories` (`array`, optional): A list of string categories the screen belongs to. Example: ["Ops"].
- `widgets` (`array`, optional): Widgets on the screen. Each needs an id, a type (count, gauge, table or time-shifted-graph), an operation (count, min, max, avg and so on), a field (__ALL__LINES__ for all lines), a duration (for example hourly) and a position with start and end [x, y] corners; filter adds a line query. Example: [{"id": "w1", "type": "count", "operation": "count", "field": "__ALL__LINES__", "duration": "hourly", "filter": "level:error", "position": {"start": [1, 1], "end": [4, 3]}}].

Example input: `{"background":"dark","ratio":"3:2","rotate90_degrees":true,"title":"<title>"}`

### `mezmo_view_create`

Create View · Write

Create a saved view from a search query and filters, optionally with alerts.
Returns the new view with its viewID.
Use Create Preset Alert to make a reusable alert to attach.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): Name of the view. Example: Payments errors.
- `apps` (`array`, optional): App names to match. Example: ["api-server"].
- `category` (`array`, optional): Categories (groups) to put the view in. Example: ["Payments"].
- `channels` (`array`, optional): Alert notification channels. Each has an integration (email, webhook, slack or pagerduty) and its target (emails, url or key), plus trigger settings such as triggerlimit, triggerinterval, immediate, operator (presence or absence) and terminal. Example: [{"integration": "email", "emails": ["oncall@example.com"], "triggerlimit": "15", "triggerinterval": "30", "immediate": true, "operator": "presence", "terminal": true}].
- `hosts` (`array`, optional): Host names to match. Example: ["web-01"].
- `levels` (`array`, optional): Log levels to match, for example error or warn. Example: ["error"].
- `presetid` (`string`, optional): ID of a preset alert. Example: p1q2r3s4t5.
- `query` (`string`, optional): Mezmo search query, for example level:error app:api-server. Example: level:error app:api-server.
- `tags` (`array`, optional): Tags to match. Example: ["production"].

Example input: `{"name":"<name>"}`

### `mezmo_view_update`

Update View · Write

Replace a view's name, query, filters, categories or alerts.
Returns the updated view.
Use Get View first; fields left out are cleared.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `name` (`string`, required): Name of the view. Example: Payments errors.
- `view_id` (`string`, required): ID of a view. Example: a1b2c3d4e5.
- `apps` (`array`, optional): App names to match. Example: ["api-server"].
- `category` (`array`, optional): Categories (groups) to put the view in. Example: ["Payments"].
- `channels` (`array`, optional): Alert notification channels. Each has an integration (email, webhook, slack or pagerduty) and its target (emails, url or key), plus trigger settings such as triggerlimit, triggerinterval, immediate, operator (presence or absence) and terminal. Example: [{"integration": "email", "emails": ["oncall@example.com"], "triggerlimit": "15", "triggerinterval": "30", "immediate": true, "operator": "presence", "terminal": true}].
- `hosts` (`array`, optional): Host names to match. Example: ["web-01"].
- `levels` (`array`, optional): Log levels to match, for example error or warn. Example: ["error"].
- `presetid` (`string`, optional): ID of a preset alert. Example: p1q2r3s4t5.
- `query` (`string`, optional): Mezmo search query, for example level:error app:api-server. Example: level:error app:api-server.
- `tags` (`array`, optional): Tags to match. Example: ["production"].

Example input: `{"name":"<name>","view_id":"<view_id>"}`

### `mezmo_archiving_delete`

Delete Archive Configuration · Destructive

Delete the log archiving configuration, stopping archives to object storage.
Returns a confirmation.
Use Get Archive Configuration to check it first.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `mezmo_board_delete`

Delete Board · Destructive

Delete a board.
Returns a confirmation.
Use List Boards to find the ID.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `board_id` (`string`, required): ID of a board. Example: 5f3a1b2c4d5e6f7890123456.

Example input: `{"board_id":"<board_id>"}`

### `mezmo_category_delete`

Delete Category · Destructive

Delete a category.
Returns a confirmation.
Use List Categories to find the ID.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `id` (`string`, required): ID of category. Example: 5f3a1b2c4d5e6f7890123456.
- `type` (`string`, required): Category type: views, boards or screens. Example: views. One of: `views`, `boards`, `screens`.

Example input: `{"id":"<id>","type":"views"}`

### `mezmo_exclusion_delete`

Delete Exclusion Rule · Destructive

Delete an exclusion rule.
Returns a confirmation.
Use List Exclusion Rules to find the ID.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `id` (`string`, required): ID of an exclusion rule. Example: 5f3a1b2c4d5e6f7890123456.

Example input: `{"id":"<id>"}`

### `mezmo_ingestion_suspend_confirm`

Confirm Ingestion Suspension · Destructive

Confirm and stop all log ingestion for the account (step 2 of 2). New logs are dropped until resumed.
Returns the new ingestion status.
Use Resume Ingestion to start again.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `token` (`string`, required): Token returned by Start Ingestion Suspension. Example: 03290da0-79a9-4090-9189-efb853d049ec.

Example input: `{"token":"<token>"}`

### `mezmo_member_delete`

Remove Member · Destructive

Remove a member from the organization (the user account is not deleted).
Returns a confirmation.
Use List Members to find the email.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `email` (`string`, required): Email of a member. Example: testemail@gmail.com.

Example input: `{"email":"<email>"}`

### `mezmo_parsing_template_delete`

Delete Parsing Template · Destructive

Delete a custom parsing template.
Returns a confirmation.
Use List Parsing Templates to find the ID.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `template_id` (`string`, required): ID of the template. Example: t1u2v3w4x5.

Example input: `{"template_id":"<template_id>"}`

### `mezmo_preset_alert_delete`

Delete Preset Alert · Destructive

Delete a preset alert.
Returns a confirmation.
Use List Preset Alerts to find the ID.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `preset_id` (`string`, required): ID of a preset alert. Example: p1q2r3s4t5.

Example input: `{"preset_id":"<preset_id>"}`

### `mezmo_screen_delete`

Delete Screen · Destructive

Delete a screen.
Returns a confirmation.
Use List Screens to find the ID.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `id` (`string`, required): Id. Example: 5f3a1b2c4d5e6f7890123456.

Example input: `{"id":"<id>"}`

### `mezmo_view_delete`

Delete View · Destructive

Delete a view and its attached alerts.
Returns a confirmation.
Use List Views to find the ID.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `view_id` (`string`, required): ID of a view. Example: a1b2c3d4e5.

Example input: `{"view_id":"<view_id>"}`

## Related

Other Monitoring connectors ([all 48](/agentkit/connectors/?category=monitoring)):

- [Datadog](/agentkit/connectors/datadog/): Scalekit connector, API key, 105 tools
- [1Password](/agentkit/connectors/onepassword/): Scalekit connector, Access token, 4 tools
- [Malwarebytes](/agentkit/connectors/malwarebytes/): Scalekit connector, Service account, 74 tools


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
