---
title: "List Attribute Values for Many Agents"
method: GET
path: "/api/v2/routing/agents/instance_values"
tags: ["Skill Based Routing"]
---

# List Attribute Values for Many Agents

`GET /api/v2/routing/agents/instance_values`

Accepts a comma-separated list of up to 100 agent ids and returns attribute values for each agent in the list.

#### Allowed For
* Admins
* [Agents in custom role with permission to manage skills](https://support.zendesk.com/hc/en-us/articles/4408882153882-Creating-custom-roles-and-assigning-agents)

#### Pagination
* [Cursor pagination](/api-reference/introduction/pagination/#cursor-pagination) only.
Note: `page[before]` and `page[after]` can't be used together in the same request.

## Query parameters

- `page[before]` string
- `page[after]` string
- `page[size]` integer
- `filter[agent_ids]` string, required

## Response `200`

Success response

- ManySkillBasedRoutingAttributeValuesResponse
  - `count` integer — The number of instance values returned
  - `instance_values` ManySkillBasedRoutingAttributeValues[]
    - `agent_id` integer — Id of the associated agent
    - `attribute_id` string — Id of the associated attribute
    - `attribute_value_id` string — Id of the associated attribute value
    - `created_at` string, date-time — The time of creation of the instance value
    - `id` string — Automatically assigned when an instance value is created
    - `name` string — Name of the associated attribute value
    - `updated_at` string, date-time — The time of the last update of the instance value
    - `url` string — The URL of the associated attribute value
  - `next_page` string, nullable — The URL for the next page of results
  - `previous_page` string, nullable — The URL for the previous page of results

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/botbrains-io/apis/support-api.md) · [All operations](https://skmtc.net/botbrains-io/apis/support-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/botbrains-io/support-api/versions/d53eac07ba68/schema)
