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

# List Tags

> The project's tags with how many images carry each, most used first. Free.

Every tag in the project with how many images carry it, most used first. Use it
to build tag filters, or pass `q` for autocomplete:

```bash theme={null}
curl "https://api.dreep.cloud/api/v1/tags?q=sne" \
  -H "Authorization: Bearer drp_live_xxxxx"
```

```json theme={null}
{ "tags": [{ "name": "sneaker", "imageCount": 12 }, { "name": "sneakers", "imageCount": 3 }] }
```

To list the images behind a tag, pass it to
[List Media](https://docs.dreep.cloud/api-reference/media/list-media.md#filtering-by-tag).


## OpenAPI

````yaml GET /api/v1/tags
openapi: 3.0.0
info:
  title: Dreep API
  description: The universal media processing and storage API.
  version: 1.0.0
servers:
  - url: https://api.dreep.cloud
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /api/v1/tags:
    get:
      tags:
        - Image Tags
      summary: List Tags
      description: >-
        The project's tags with how many images carry each, most used first.
        Free.
      parameters:
        - name: q
          in: query
          description: Only tags starting with this text, for autocomplete.
          schema:
            type: string
            example: sne
        - name: limit
          in: query
          schema:
            type: integer
            default: 50
            maximum: 200
      responses:
        '200':
          description: The project's tags
          content:
            application/json:
              schema:
                type: object
                properties:
                  tags:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          example: sneaker
                        imageCount:
                          type: integer
                          example: 12
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: boolean
          example: true
        message:
          type: string
          example: Invalid request parameters
        code:
          type: string
          example: invalid_request
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.