---
title: "Retrieve a quarantined asset by id"
url: "https://earlyaccess.developers.bynder.com/apis/antivirus-api-1/versions/771fba7c-08c7-416e-9990-6e7f1c0ceaf2/paths/v7-quarantine-v1-assets-asset_id/get"
---

> Full API specification: https://earlyaccess.developers.bynder.com/apis/antivirus-api-1/versions/771fba7c-08c7-416e-9990-6e7f1c0ceaf2.md

# Retrieve a quarantined asset by id

`GET` `/v7/quarantine/v1/assets/{asset_id}`

## Path parameters

- `asset_id` (string, required)

## Responses

- `200` - Quarantined asset details
- `404` - Asset not found

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Antivirus API
  version: 1.0.0
servers:
  - url: https://{your-bynder-domain}
paths:
  /v7/quarantine/v1/assets/{asset_id}:
    get:
      parameters:
        - in: path
          name: asset_id
          required: true
          schema:
            example: 00000000-0000-0000-0000-000000000000
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                properties:
                  accountId:
                    example: 9c06c1e3-f0cb-427a-88f0-a545c475047f
                    type: string
                  assetId:
                    example: 5c554910-11f4-49a3-b7bf-04c21c99af05
                    type: string
                  assetName:
                    example: example-asset-name
                    type: string
                  dateAdded:
                    example: 2024-06-28T10:42:02
                    format: date-time
                    type: string
                  dateModified:
                    example: 2024-06-28T10:42:11
                    format: date-time
                    type: string
                  fileSize:
                    example: 0
                    type: integer
                  fileType:
                    example: None
                    type: string
                  id:
                    example: a69f3104-0107-48af-a522-b437cd700b34
                    type: string
                  isRemoved:
                    example: false
                    type: boolean
                  isSafe:
                    example: false
                    type: boolean
                  requesterId:
                    example: 0b403671-8047-4fb9-9c59-ab4273973fb5
                    type: string
                  reviewStatus:
                    enum:
                      - APPROVED
                      - REJECTED
                    example: null
                    type: string
                  reviewedById:
                    example: null
                    type: string
                  scanFailureReason:
                    example: client_error
                    type: string
                  scanStatus:
                    enum:
                      - PENDING
                      - CLEARED
                      - INFECTED
                      - SKIPPED
                    example: SKIPPED
                    type: string
                  uploadEventType:
                    example: LEGACY
                    type: string
                type: object
          description: Quarantined asset details
        "404":
          content:
            application/json:
              schema:
                properties:
                  message:
                    example: Asset not found
                    type: string
                type: object
          description: Asset not found
      security:
        - OAuth2:
            - Audit quarantined assets
        - permanentToken:
            - Audit quarantined assets
      summary: Retrieve a quarantined asset by id
      tags:
        - Quarantine
security:
  - OAuth2:
      - Audit quarantined assets
  - permanentToken:
      - Audit quarantined assets
components:
  securitySchemes:
    OAuth2:
      flows:
        authorizationCode:
          authorizationUrl: https://{your-auth-url}
          scopes:
            Audit quarantined assets: ""
          tokenUrl: https://{your-bynder-domain}/v6/authentication/oauth2/token
        clientCredentials:
          scopes:
            Audit quarantined assets: ""
          tokenUrl: https://{your-bynder-domain}/v6/authentication/oauth2/token
      type: oauth2
    permanentToken:
      in: header
      name: Authorization
      type: apiKey
```
