---
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.

## Changes

- **2023-06-19** `148981c0ea86` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mattermost/apis/playbooks-api/changes/plugins/playbooks/api/v0/runs/:id/metadata/get.md)

---

[API](https://skmtc.dev/mattermost/apis/playbooks-api.md) · [All operations](https://skmtc.dev/mattermost/apis/playbooks-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mattermost/playbooks-api/revisions/2acd884508c4/schema)
