---
title: "GET /objectschema/{id}/attributes"
method: GET
path: "/objectschema/{id}/attributes"
---

# GET /objectschema/{id}/attributes

`GET /objectschema/{id}/attributes`

Find all object type attributes for this object schema

## Query parameters

- `onlyValueEditable` boolean
- `extended` boolean
- `query` string

## Response `200`

- ObjectTypeAttribute[]
  - `workspaceId` string, required
  - `globalId` string, required
  - `id` string, required
  - `objectType` ObjectType — The Assets object type
    - `workspaceId` string, required
    - `globalId` string, required
    - `id` string, required
    - `name` string, required
    - `description` string
    - `icon` Icon, required — A visual representation of something, usually associated as the icon of an object type
      - `id` string, required
      - `name` string, required
      - `url16` string, required — A url to the icon to display with small resolution
      - `url48` string, required — A url to the icon to display with large resolution
    - `position` integer, required
    - `created` string, date-time, required
    - `updated` string, date-time, required
    - `objectCount` integer, required
    - `parentObjectTypeId` integer — The id of the parent object type
    - `type` integer — The type of the attribute
    - `objectSchemaId` string, required
    - `inherited` boolean, required — Describes if this object type is configured for inheritance i.e. it's children inherits the attributes of this object type
    - `abstractObjectType` boolean, required
    - `parentObjectTypeInherited` boolean, required — Describes if this object types parent is inherited i.e. this object type has attributes that are inherited from one or more parents
  - `name` string
  - `label` boolean, required
  - `type` integer — | Value | Description| | ----- | ----------- | | 0 | Default| | 1 | Object reference| | 2 | User| | 4 | Group | | 7 | Status |
  - `description` string
  - `defaultType` DefaultType — | Id | Description | | -- | ----------- | | -1 | None | | 0 | Text | | 1 | Integer | | 2 | Boolean | | 3 | Double | | 4 | Date | | 5 | Time | | 6 | DateTime | | 7 | Url | | 8 | Email | | 9 | Textarea | | 10 | Select | | 11 | IP Address |
    - `id` integer, required
    - `name` string, required
  - `typeValue` string
  - `typeValueMulti` string[]
  - `additionalValue` string
  - `referenceType` ReferenceType
    - `workspaceId` string, required
    - `globalId` string, required
    - `id` string
    - `name` string, required
    - `description` string
    - `color` string
    - `url16` string
    - `removable` boolean
    - `objectSchemaId` string
    - `cdmData` ReferenceTypeCdmData
      - `types` ReferenceTypeCdmType[]
        - `key` string
        - `version` integer
        - `opinionated` boolean
  - `referenceObjectTypeId` string
  - `referenceObjectType` ObjectType — The Assets object type
    - `workspaceId` string, required
    - `globalId` string, required
    - `id` string, required
    - `name` string, required
    - `description` string
    - `icon` Icon, required — A visual representation of something, usually associated as the icon of an object type
      - `id` string, required
      - `name` string, required
      - `url16` string, required — A url to the icon to display with small resolution
      - `url48` string, required — A url to the icon to display with large resolution
    - `position` integer, required
    - `created` string, date-time, required
    - `updated` string, date-time, required
    - `objectCount` integer, required
    - `parentObjectTypeId` integer — The id of the parent object type
    - `type` integer — The type of the attribute
    - `objectSchemaId` string, required
    - `inherited` boolean, required — Describes if this object type is configured for inheritance i.e. it's children inherits the attributes of this object type
    - `abstractObjectType` boolean, required
    - `parentObjectTypeInherited` boolean, required — Describes if this object types parent is inherited i.e. this object type has attributes that are inherited from one or more parents
  - `editable` boolean
  - `system` boolean
  - `indexed` boolean, required — Describes if this object type attribute is indexed. For an indexed attribute the AQL search will be faster, but this will affect memory consumption.
  - `sortable` boolean
  - `summable` boolean
  - `minimumCardinality` integer
  - `maximumCardinality` integer
  - `suffix` string
  - `removable` boolean
  - `objectAttributeExists` boolean
  - `hidden` boolean
  - `includeChildObjectTypes` boolean
  - `uniqueAttribute` boolean
  - `regexValidation` string
  - `iql` string — Deprecated. Use `qlQuery` instead.
  - `qlQuery` string
  - `options` string
  - `position` integer, required

## Other responses

- `401` — Client must be authenticated to access this resource.
- `404` — Representation of the target resource do not exist
- `500` — Something went wrong. Please try again later. If the error persists, contact our support team.

---

[API](https://skmtc.net/atlassian/apis/rest.md) · [All operations](https://skmtc.net/atlassian/apis/rest/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/rest/versions/07137e668210/schema)
