---
agentTools:
  projectIndex: https://docs.agilite.io/llms.txt
---

# /data

Returns all Tier Structures Profiles as an Array

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Agilit-e Tier Structures",
    "version": "7"
  },
  "servers": [
    {
      "url": "https://api.agilite.io/tierstructures"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "api-key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/data": {
      "get": {
        "summary": "/data",
        "description": "Returns all Tier Structures Profiles as an Array",
        "operationId": "data-17",
        "parameters": [
          {
            "name": "log-profile-key",
            "in": "header",
            "description": "Profile Key of the Batch Logging Profile configured for logging",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "profile-keys": {
                    "type": "string",
                    "description": "Filter result by Profile Key(s) (separate using commas)"
                  },
                  "record-ids": {
                    "type": "string",
                    "description": "Filter result by Record Ids(s) (separate using commas)"
                  },
                  "slim-result": {
                    "type": "boolean",
                    "description": "Removes record properties that are not usually relevant in API transactions",
                    "default": true
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[\n    {\n        \"_id\": \"\",\n        \"data\": {\n            \"values\": [\n                {\n                    \"label\": \"label\",\n                    \"value\": \"value\"\n                }\n            ],\n            \"tierEntries\": [\n                {\n                    \"_id\": \"\",\n                    \"isActive\": true,\n                    \"key\": \"tier_entry_1\",\n                    \"description\": \"description\",\n                    \"notes\": \"notes\",\n                    \"values\": [\n                        {\n                            \"label\": \"label\",\n                            \"value\": \"value\"\n                        }\n                    ],\n                    \"tierEntries\": []\n                }\n            ],\n            \"isActive\": true,\n            \"key\": \"tier1\",\n            \"description\": \"description\",\n            \"notes\": \"notes\"\n        }\n    }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "_id": {
                        "type": "string",
                        "example": ""
                      },
                      "data": {
                        "type": "object",
                        "properties": {
                          "values": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string",
                                  "example": "label"
                                },
                                "value": {
                                  "type": "string",
                                  "example": "value"
                                }
                              }
                            }
                          },
                          "tierEntries": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "_id": {
                                  "type": "string",
                                  "example": ""
                                },
                                "isActive": {
                                  "type": "boolean",
                                  "example": true,
                                  "default": true
                                },
                                "key": {
                                  "type": "string",
                                  "example": "tier_entry_1"
                                },
                                "description": {
                                  "type": "string",
                                  "example": "description"
                                },
                                "notes": {
                                  "type": "string",
                                  "example": "notes"
                                },
                                "values": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "label": {
                                        "type": "string",
                                        "example": "label"
                                      },
                                      "value": {
                                        "type": "string",
                                        "example": "value"
                                      }
                                    }
                                  }
                                },
                                "tierEntries": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {}
                                  }
                                }
                              }
                            }
                          },
                          "isActive": {
                            "type": "boolean",
                            "example": true,
                            "default": true
                          },
                          "key": {
                            "type": "string",
                            "example": "tier1"
                          },
                          "description": {
                            "type": "string",
                            "example": "description"
                          },
                          "notes": {
                            "type": "string",
                            "example": "notes"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"statusCode\": 400,\n    \"errorMessage\": \"An Error Occurred\",\n    \"additionalMessages\": [\"An Error Occured\"]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "statusCode": {
                      "type": "integer",
                      "example": 400,
                      "default": 0
                    },
                    "errorMessage": {
                      "type": "string",
                      "example": "An Error Occurred"
                    },
                    "additionalMessages": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "example": "An Error Occured"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "5fc0c5ba525f16005dcefb9b:5fc0c5ba525f16005dcefc07"
}
```