> ## 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.

# Get Media Tags

> An image's saved tags, and whether background tagging has finished. Free.

Returns an image's saved tags, your own first, then Dreep's by confidence.

After an upload with `autoTag=true`, check `tagStatus` here to see when tagging
has finished. See [the statuses](https://docs.dreep.cloud/guides/image-tags.md#tag-images-as-you-upload-them).


## OpenAPI

````yaml GET /api/v1/media/{mediaId}/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/media/{mediaId}/tags:
    get:
      tags:
        - Image Tags
      summary: Get Media Tags
      description: >-
        An image's saved tags, and whether background tagging has finished.
        Free.
      parameters:
        - name: mediaId
          in: path
          required: true
          description: The image's ID.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The image's tags
          content:
            application/json:
              schema:
                type: object
                properties:
                  tagStatus:
                    $ref: '#/components/schemas/TagStatus'
                  tags:
                    type: array
                    items:
                      $ref: '#/components/schemas/SavedTag'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    TagStatus:
      type: string
      nullable: true
      enum:
        - pending
        - done
        - failed
        - skipped
      description: >
        Where tagging has got to. `skipped` means the account had no credit left
        for tagging. Null when tagging was never asked for.
    SavedTag:
      type: object
      properties:
        name:
          type: string
          example: sneaker
        confidence:
          type: number
          nullable: true
          description: From 0 to 100. Null for tags you set yourself.
          example: 98.2
        source:
          type: string
          enum:
            - ai
            - manual
          description: '`ai` when Dreep added it, `manual` when you did.'
    Error:
      type: object
      properties:
        error:
          type: boolean
          example: true
        message:
          type: string
          example: Invalid request parameters
        code:
          type: string
          example: invalid_request
  responses:
    BadRequest:
      description: Bad Request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer

````

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