---
title: "List workspace attrs"
method: GET
path: "/attrs"
tags: ["Attrs"]
---

# List workspace attrs

`GET /attrs`

## Request

- Base URL: `https://api.distill.io/v2`
- URL: `https://api.distill.io/v2/attrs`
- Auth: one of:
  - API key in cookie `connect.sid`
  - HTTP bearer
  - API key in query parameter `api_key`

Auth: Read — Workspace member with read access or higher.

## Response `200`

Success

- object
  - `data` object[], required
    - `id` string, uuid, required
    - `workspace_id` string, uuid, required
    - `name` string, required
    - `value` string, required
    - `state` integer, required
    - `prefs` object, nullable
    - `ts_exp` string, date-time, nullable
    - `ts_mod` string, date-time, nullable, required
    - `ts` string, date-time, nullable, required
  - `total_count` integer, required
  - `count` integer
  - `offset` integer

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/distill/apis/distill-io-api-v2.md) - [All operations](https://skmtc.dev/distill/apis/distill-io-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/distill/apis/distill-io-api-v2/revisions/c55722ccfe14?raw)
