---
title: "List provider roles"
method: GET
path: "/provider/{provider}/roles"
tags: ["providers"]
---

# List provider roles

`GET /provider/{provider}/roles`

Get a list of roles available in a specific provider

## Path parameters

- `provider` string, required

## Query parameters

- `q` string

## Response `200`

Provider roles

- ModelsProviderRolesResponse
  - `provider` string
  - `roles` ModelsProviderRole[]
    - `description` string
    - `id` string
    - `name` string
    - `title` string
  - `version` string

## Other responses

- `404` — Provider not found
- `500` — Internal server error

---

[API](https://skmtc.dev/thand-io/apis/thand-agent-api.md) · [All operations](https://skmtc.dev/thand-io/apis/thand-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thand-io/apis/thand-agent-api/revisions/811b21b91b26?raw)
