---
updatedAt: 2025-06-05T21:08:36.000Z
agentTools:
  projectIndex: https://docs.securitytrails.com/llms.txt
---

# Report Type

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Action Center API",
    "description": "This API provides endpoints for accessing and managing security trail data. \nThe `/reports/{project_id}/{report_type}` endpoint allows retrieving a single gzipped CSV file for a specific project and report type.\n",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.securitytrails.com/v2/action_center",
      "description": "API base URL"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "APIKEY"
      }
    }
  },
  "paths": {
    "/reports/{project_id}/{report_type}": {
      "get": {
        "summary": "Report Type",
        "operationId": "reports-report-type",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "project_id",
            "required": true,
            "description": "The unique identifier of the project.",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "report_type",
            "required": true,
            "description": "The type of report to retrieve. Must be one of the valid report types.\n",
            "schema": {
              "type": "string",
              "enum": [
                "exposures-issue",
                "exposures-host",
                "vulnerable-products",
                "admin-pages",
                "deployment-hardening",
                "harvested-information",
                "ports-host",
                "ports-ip",
                "product-inventory",
                "remote-access",
                "websec-config",
                "all-hostname",
                "all-apex",
                "all-ip",
                "dns-records",
                "domain-management",
                "expired-ssl",
                "expiring-ssl"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved the gzipped CSV file.",
            "content": {
              "application/gzip": {
                "schema": {
                  "type": "string",
                  "format": "binary",
                  "description": "The gzipped CSV file for the requested report."
                }
              }
            }
          },
          "400": {
            "description": "Invalid `report_type` provided or bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Invalid report type: {report_type}. Valid types are: exposures-issue, exposures-host, vulnerable-products, admin-pages, deployment-hardening, harvested-information, ports-host, ports-ip, product-inventory, remote-access, websec-config, all-hostname, all-apex, all-ip, dns-records, domain-management, expired-ssl, expiring-ssl."
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Unexpected error retrieving the report. Please try again later."
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```