---
title: "Get playbook run metadata"
method: GET
path: "/plugins/playbooks/api/v0/runs/{id}/metadata"
tags: ["PlaybookRuns"]
---

# Get playbook run metadata

`GET /plugins/playbooks/api/v0/runs/{id}/metadata`

## Path parameters

- `id` string, required

## Response `200`

Playbook run metadata.

- PlaybookRunMetadata
  - `channel_name` string — Name of the channel associated to the playbook run.
  - `channel_display_name` string — Display name of the channel associated to the playbook run.
  - `team_name` string — Name of the team the playbook run is in.
  - `num_members` integer — Number of users that have been members of the playbook run at any point.
  - `total_posts` integer — Number of posts in the channel associated to the playbook run.

## Other responses

- `403` — Access to the resource is forbidden for this user.
- `500` — There was an internal error in the server.

---

[API](https://skmtc.net/mattermost/apis/playbooks-api.md) · [All operations](https://skmtc.net/mattermost/apis/playbooks-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mattermost/playbooks-api/versions/3b509bbdf17e/schema)
