---
title: "List all data attributes"
method: POST
path: "/dataAttributes.list"
tags: ["DataAttributes"]
---

# List all data attributes

`POST /dataAttributes.list`

## Request

- Base URL: `https://app.getoutline.com/api`
- URL: `https://app.getoutline.com/api/dataAttributes.list`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://app.getoutline.com/oauth/authorize`
    - Token URL: `https://app.getoutline.com/oauth/token` scopes: `read`, `write`

List all data attributes.

## Request body

- object
  - `offset` number
  - `limit` number
  - `sort` string
  - `direction` 'ASC' | 'DESC'

## Response `200`

OK

- object
  - `data` DataAttribute[]
    - `id` string, uuid: Unique identifier for the object.
    - `name` string: The name of this data attribute.
    - `description` string: A description of the data attribute.
    - `dataType` 'string' | 'number' | 'boolean' | 'list': The data type of the attribute value.
    - `options` DataAttributeOptions: Additional options for certain data attribute types.
      - `icon` string: An icon representing the data attribute from the outline-icons package.
      - `options` object[]: Valid options for list data type.
        - `value` string: The label/value of the option.
        - `color` string: Optional color for the option.
    - `pinned` boolean: Whether this data attribute is pinned to the top of documents.
    - `createdAt` string, date-time: The date and time that this object was created
    - `updatedAt` string, date-time: The date and time that this object was last changed
    - `deletedAt` string, date-time, nullable: The date and time that this object was deleted
  - `pagination` Pagination
    - `offset` number
    - `limit` number

## Other responses

- `401`: The API key is missing or otherwise invalid.
- `403`: The current API key is not authorized to perform this action.
- `429`: The request was rate limited.

## Changes

- **2026-02-22** `cfd047380fae`: 1 breaking, 1 warning
  - added `#/components/schemas/Sorting` to the request body `allOf` list
  - removed `subschema #2` from the request body `allOf` list
- **2026-02-01** `2b998aa571f9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/defaulr/apis/outline-api/changes/dataAttributes.list/post.md)

---

[API](https://skmtc.dev/defaulr/apis/outline-api.md) - [All operations](https://skmtc.dev/defaulr/apis/outline-api/llms.txt) - [OpenAPI document](https://skmtc.dev/defaulr/apis/outline-api/revisions/5ddf01ffba84?raw)
