---
title: "Retrieve AttributeTypes"
method: GET
path: "/v3/attributeTypes"
tags: ["Attribute Types"]
---

# Retrieve AttributeTypes

`GET /v3/attributeTypes`

Returns a list of all AttributeTypes

## Query parameters

- `tql` string
- `fields` string[]
- `count` string
- `sorting` string

## Response `200`

The AttributeTypes

- AttributeType[]
  - `id` integer
  - `name` string
  - `description` string
  - `maxSize` integer
  - `allowMarkdown` boolean
  - `errorMessage` string
  - `autoGenerated` boolean
  - `validationRule` ValidationRule
    - `id` integer
    - `name` string
    - `text` string
    - `type` string
    - `description` string
    - `version` string
  - `attributeTypeMappings` AttributeTypeMapping[]
    - `id` integer
    - `type` string
    - `maxAllowed` integer
    - `ownerName` string
  - `settings` AttributeTypeSettings[]
    - `id` integer
    - `typeName` string
    - `displayed` boolean
    - `message` string
    - `sortOrder` integer
    - `ownerName` string
    - `pinnedByDefault` boolean
    - `associable` boolean

---

[API](https://skmtc.dev/threatconnect/apis/threatconnect-api.md) · [All operations](https://skmtc.dev/threatconnect/apis/threatconnect-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/threatconnect/threatconnect-api/revisions/730b8a350ae7/schema)
