---
updatedAt: 2026-08-05T12:31:19.000Z
agentTools:
  siteIndex: https://docs.jfrog.com/llms.txt
  projectIndex: https://docs.jfrog.com/artifactory/llms.txt
---

# Get Token Infos

Returns information about tokens (e.g. token ID, issuer, subject, expiry). Requires admin permission.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "JFrog Distribution API",
    "description": "REST API for JFrog Distribution - manages distribution of release bundles to edge nodes. Supports both Release Bundles V1 and V2 workflows including distribution, remote deletion, air-gap export, signing key management, and distribution tracking.",
    "version": "1.0.0",
    "contact": {
      "name": "JFrog Support"
    }
  },
  "servers": [
    {
      "url": "https://{jfrog_url}/distribution/api",
      "description": "JFrog Platform",
      "variables": {
        "jfrog_url": {
          "default": "myserver.jfrog.io",
          "description": "Your JFrog Platform hostname (e.g., mycompany.jfrog.io)"
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Token",
      "description": "Access token creation, listing, and revocation"
    }
  ],
  "paths": {
    "/v1/security/token": {
      "get": {
        "tags": [
          "Token"
        ],
        "summary": "Get Token Infos",
        "description": "Returns information about tokens (e.g. token ID, issuer, subject, expiry). Requires admin permission.",
        "operationId": "getTokenInfos",
        "responses": {
          "200": {
            "description": "Success - List of token info",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokensResponse"
                }
              }
            }
          },
          "401": {
            "description": "Bad Credentials - The provided authentication is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageStatusResponse"
                }
              }
            }
          },
          "403": {
            "description": "Permission Denied - Admin permission required.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageStatusResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "MessageStatusResponse": {
        "type": "object",
        "description": "Common response body with message and HTTP status code. Used for ping success and for many error responses (401, 500) across the API.",
        "properties": {
          "message": {
            "type": "string",
            "description": "Human-readable message"
          },
          "status_code": {
            "type": "integer",
            "description": "HTTP status code"
          },
          "detail": {
            "type": "string",
            "description": "Optional extra detail (e.g. path that is forbidden for 401)"
          }
        }
      },
      "TokenInfo": {
        "type": "object",
        "description": "Token metadata (for list endpoint)",
        "properties": {
          "token_id": {
            "type": "string",
            "description": "Unique token identifier"
          },
          "issuer": {
            "type": "string",
            "description": "Token issuer"
          },
          "subject": {
            "type": "string",
            "description": "Token subject (username)"
          },
          "issued_at": {
            "type": "integer",
            "format": "int64",
            "description": "Issued-at time (epoch seconds)"
          },
          "expiry": {
            "type": "integer",
            "format": "int64",
            "description": "Expiration time (epoch seconds)"
          },
          "refreshable": {
            "type": "boolean",
            "description": "Whether the token can be refreshed"
          }
        }
      },
      "TokensResponse": {
        "type": "object",
        "description": "List of token info",
        "properties": {
          "tokens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TokenInfo"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "BasicAuth": {
        "type": "http",
        "scheme": "basic"
      },
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "BasicAuth": []
    },
    {
      "BearerAuth": []
    }
  ]
}
```