---
title: "Get roles for workflow conditions"
method: GET
path: "/public/v2/workflows/roles/"
tags: ["Approval Policies"]
---

# Get roles for workflow conditions

`GET /public/v2/workflows/roles/`

Returns all active roles that can be used in workflow conditions.

## Response `200`

OK

- PublicRoleMetadataSchemaOut[]
  - `id` integer, required
  - `name` string, required
  - `descriptive_name` string, required

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/dualentry/apis/dualentry-public-api.md) · [All operations](https://skmtc.net/dualentry/apis/dualentry-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dualentry/dualentry-public-api/revisions/bd3299445a5e/schema)
