---
agentTools:
  projectIndex: https://birddog-api-v1.readme.io/llms.txt
---

# /v1/assets/cloud/{assetId}

Get a specific cloud asset by assetId

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "BirdDog Security API",
    "version": "1.0.0",
    "description": "API for managing and retrieving Assets, Exposures, and other security data."
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "tags": [
    {
      "name": "Assets",
      "description": "All Assets"
    }
  ],
  "servers": [
    {
      "url": "https://api.birddogsecurity.com/v1",
      "description": "Production server"
    }
  ],
  "paths": {
    "/assets/cloud/{assetId}": {
      "get": {
        "operationId": "getCloudAsset",
        "summary": "/v1/assets/cloud/{assetId}",
        "tags": [
          "Assets"
        ],
        "description": "Get a specific cloud asset by assetId",
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The asset ID of the cloud asset."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 1
            },
            "description": "The page number to retrieve."
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 100
            },
            "description": "The number of records to retrieve per page."
          },
          {
            "name": "customer-id",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Optional header to specify customer ID other than default"
          }
        ],
        "responses": {
          "200": {
            "description": "The specific cloud asset details with pagination.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "recordCount": {
                      "type": "integer",
                      "description": "The total number of records available."
                    },
                    "currentPage": {
                      "type": "integer",
                      "description": "The current page number."
                    },
                    "totalPages": {
                      "type": "integer",
                      "description": "The total number of pages."
                    },
                    "pageLimit": {
                      "type": "integer",
                      "description": "The limit of records per page."
                    },
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "assetId": {
                            "type": "string",
                            "description": "The ID of the cloud asset."
                          },
                          "customerId": {
                            "type": "integer",
                            "description": "The ID of the customer."
                          },
                          "customerName": {
                            "type": "string",
                            "description": "The name of the customer."
                          },
                          "scanRunPremierDate": {
                            "type": "string",
                            "format": "date",
                            "description": "The date of the premier scan run."
                          },
                          "scanRunLatestDate": {
                            "type": "string",
                            "format": "date",
                            "description": "The date of the latest scan run."
                          },
                          "cloudAssetProvider": {
                            "type": "string",
                            "description": "The cloud provider of the asset."
                          },
                          "cloudAssetId": {
                            "type": "string",
                            "description": "The ID of the cloud asset (provider-specific)."
                          },
                          "bdsCloudCategory": {
                            "type": "string",
                            "description": "The BirdDog Security cloud category of the asset."
                          },
                          "cloudAssetEndpoint": {
                            "type": "string",
                            "description": "The endpoint associated with the cloud asset."
                          },
                          "cloudAssetIpAddress": {
                            "type": "string",
                            "description": "The IP address of the cloud asset."
                          },
                          "cloudAssetLocation": {
                            "type": "string",
                            "description": "The location of the cloud asset."
                          },
                          "cloudAssetName": {
                            "type": "string",
                            "description": "The name of the cloud asset."
                          },
                          "cloudAssetType": {
                            "type": "string",
                            "description": "The type of cloud asset."
                          },
                          "assetTagMetadata": {
                            "type": "string",
                            "description": "Metadata tags for the cloud asset."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized: API key is missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Error message detailing the issue."
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden: Customer is not accessible or does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Error message detailing the issue."
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Database or decryption error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Error message detailing the issue."
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 103,
      "1": 5,
      "2": 167,
      "3": 125,
      "4": 119,
      "5": 106,
      "6": 210,
      "7": 0,
      "8": 18,
      "9": 251,
      "10": 219,
      "11": 98
    }
  }
}
```