---
updatedAt: 2026-06-24T21:48:09.000Z
agentTools:
  projectIndex: https://docs.sandflysecurity.com/llms.txt
---

# Get all SSH key tags

Gets all unique SSH key tags.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "contact": {
      "email": "info@sandflysecurity.com"
    },
    "description": "Sandfly Security Server API",
    "license": {
      "name": "Sandfly Security, Ltd.",
      "url": "https://www.sandflysecurity.com"
    },
    "title": "Sandfly API",
    "version": "5.8.0"
  },
  "servers": [
    {
      "url": "https://{sandfly-api-host}/v4"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/tags/sshkeys": {
      "get": {
        "description": "Gets all unique SSH key tags.",
        "operationId": "getSshKeyTags",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TagSummary"
                }
              }
            },
            "description": "SSH key tags retrieved"
          },
          "402": {
            "description": "Product license does not allow SSH Hunter features."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StandardResponse"
                }
              }
            },
            "description": "Unexpected error"
          }
        },
        "summary": "Get all SSH key tags",
        "tags": [
          "Tags"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "StandardResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/StandardResponseStatus"
          }
        ],
        "properties": {
          "data": {
            "description": "Data that can go along with the status.",
            "type": "string"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "StandardResponseStatus": {
        "properties": {
          "detail": {
            "description": "Extended explanation of status.",
            "type": "string"
          },
          "formattedDetail": {
            "description": "Optional additional details about the status (typically an error) that, if present and not an empty string, should be displayed as pre-formatted, monospaced text.",
            "type": "string"
          },
          "status": {
            "description": "HTTP status code.",
            "format": "int32",
            "maximum": 599,
            "minimum": 100,
            "type": "integer"
          },
          "title": {
            "description": "Short description of status.",
            "type": "string"
          }
        },
        "required": [
          "status",
          "title",
          "detail"
        ],
        "type": "object"
      },
      "TagSummary": {
        "description": "An collection of tags with totals.",
        "items": {
          "type": "object",
          "required": [
            "tag",
            "total"
          ],
          "properties": {
            "tag": {
              "type": "string",
              "description": "Unique display name for tag."
            },
            "total": {
              "type": "integer",
              "description": "Total number of tags."
            }
          }
        },
        "type": "array"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "JWT",
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```