# Retrieve filterable data by model.

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /filters:
    get:
      summary: Retrieve filterable data by model.
      deprecated: false
      description: >-
        This endpoint allows retrieving filterable data such as cities, regions,
        agencies, tender activities, and other related entities. The returned
        data includes identifiers and names that can be used in other API
        endpoints to filter results effectively. This endpoint is designed to
        provide necessary reference data for constructing meaningful queries in
        the API.
      tags:
        - Filters Data
        - Filters
      parameters:
        - name: model
          in: query
          description: The type of model to filter by.
          required: true
          schema:
            type: string
            enum:
              - city
              - region
              - tender_activities
              - sub_tender_activities
              - agency
              - types
            examples:
              - city
        - name: Authorization
          in: header
          description: ''
          example: Bearer {{api-key}}
          schema:
            type: string
            default: Bearer {{api-key}}
      responses:
        '200':
          description: Successful response with filterable data.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/FilterItem'
                x-apidog-orders:
                  - data
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: OK
        '400':
          description: Bad request due to missing or invalid parameters.
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Bad Request
        '401':
          description: Unauthorized. The API key is missing or invalid.
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Unauthorized
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Server Error
      security: []
      x-apidog-folder: Filters Data
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/772525/apis/api-12815014-run
components:
  schemas:
    FilterItem:
      type: object
      properties:
        text:
          type: string
          description: The name of the filterable item.
          examples:
            - الخفجي
        id:
          type: integer
          description: The unique identifier for the item.
          examples:
            - 1
      x-apidog-orders:
        - text
        - id
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes:
    Tenders Alerts:
      type: bearer
      scheme: bearer
    hmacSignature:
      type: apikey
      in: header
      name: X-Webhook-Signature
      description: >-
        HMAC SHA256 signature of the request body using your webhook secret.
        Format: sha256=<hash>
servers:
  - url: https://api.tendersalerts.com/api/integration
    description: Prod Env
security: []

```
