---
title: "Get all owners"
method: GET
path: "/plugins/playbooks/api/v0/runs/owners"
tags: ["PlaybookRuns"]
---

# Get all owners

`GET /plugins/playbooks/api/v0/runs/owners`

## Request

- Base URL: `http://localhost:8065/plugins/playbooks/api/v0`
- URL: `http://localhost:8065/plugins/playbooks/api/v0/plugins/playbooks/api/v0/runs/owners`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/mattermost/apis/playbooks-api/docs/plugins/playbooks/api/v0/runs/owners/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the owners of all playbook runs, filtered by team.

## Query parameters

- `team_id` string, required

## Response `200`

A list of owners.

- OwnerInfo[]
  - `user_id` string, required: A unique, 26 characters long, alphanumeric identifier for the owner.
  - `username` string, required: Owner's username.

## Other responses

- `400`: The request is malformed.
- `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

[Operation history](https://skmtc.dev/mattermost/apis/playbooks-api/changes/plugins/playbooks/api/v0/runs/owners/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.dev/mattermost/apis/playbooks-api/revisions/2acd884508c4?raw)
