> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kintra.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List attribute definitions

> Lists the attribute definitions under your tenant, each with its `key`, `type`, `is_system` flag, `description` and `deleted_at`. Set `include_deleted` to include definitions that have been deleted.



## OpenAPI

````yaml /openapi/kintra-app.json get /tenant/{tenantId}/attributes
openapi: 3.0.0
info:
  description: >-
    Tenant portal API for the Kintra loyalty platform. Requests are
    authenticated with an Auth0 bearer token and address a tenant by id in the
    path.
  title: Kintra Portal API
  version: 1.0.0
servers:
  - description: Production environment
    url: https://api.kintra.io/api/v1
security: []
paths:
  /tenant/{tenantId}/attributes:
    get:
      tags:
        - Attributes
      summary: List attribute definitions
      description: >-
        Lists the attribute definitions under your tenant, each with its `key`,
        `type`, `is_system` flag, `description` and `deleted_at`. Set
        `include_deleted` to include definitions that have been deleted.
      operationId: ListAttributes
      parameters:
        - in: path
          name: tenantId
          required: true
          schema:
            type: string
        - in: query
          name: include_deleted
          required: false
          schema:
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/ApiResponse_AttributeDefinitionResponse-Array_
          description: ''
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Feature disabled or insufficient permissions
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Tenant not found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Internal server error
      security:
        - auth0_jwt: []
components:
  schemas:
    ApiResponse_AttributeDefinitionResponse-Array_:
      additionalProperties: false
      properties:
        data:
          items:
            $ref: '#/components/schemas/AttributeDefinitionResponse'
          type: array
        errors:
          items:
            properties:
              message:
                type: string
              path:
                type: string
            required:
              - path
              - message
            type: object
          type: array
        message:
          type: string
        success:
          type: boolean
      required:
        - success
      type: object
    ApiResponse_null_:
      additionalProperties: false
      properties:
        data:
          enum:
            - null
          nullable: true
          type: number
        errors:
          items:
            properties:
              message:
                type: string
              path:
                type: string
            required:
              - path
              - message
            type: object
          type: array
        message:
          type: string
        success:
          type: boolean
      required:
        - success
      type: object
    AttributeDefinitionResponse:
      additionalProperties: false
      properties:
        created_at:
          format: date-time
          type: string
        created_by:
          nullable: true
          type: string
        deleted_at:
          format: date-time
          nullable: true
          type: string
        description:
          nullable: true
          type: string
        id:
          type: string
        is_system:
          type: boolean
        key:
          type: string
        system_key:
          nullable: true
          type: string
        tenant_id:
          type: string
        type:
          type: string
        updated_at:
          format: date-time
          type: string
      required:
        - id
        - tenant_id
        - key
        - type
        - is_system
        - system_key
        - description
        - created_by
        - created_at
        - updated_at
        - deleted_at
      type: object
  securitySchemes:
    auth0_jwt:
      bearerFormat: JWT
      description: Auth0 access token
      scheme: bearer
      type: http

````