---
updatedAt: 2026-08-26T15:32:08.000Z
agentTools:
  projectIndex: https://docs.livedatatech.com/llms.txt
---

# Get API Key

Returns metadata for a single API key including its shorthand, last-used timestamp, and description. Does not return the full key value.

> 🔒 **Required role:** `admin`

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Live Data Identity API",
    "version": "1.0",
    "description": "Manages authentication, authorization, and organization administration for the Live Data platform. Provides user and service account lifecycle management, role-based access control, OAuth integration, and invitation workflows for both internal systems and customer-facing applications.",
    "contact": {
      "email": "support@livedatatechnologies.com",
      "name": "LiveData Support",
      "url": "https://www.livedatatechnologies.com"
    }
  },
  "servers": [
    {
      "url": "https://gotlivedata.io/api/identity/v1",
      "description": "Production"
    }
  ],
  "security": [
    {
      "JWTAuth": []
    }
  ],
  "tags": [
    {
      "name": "API Keys",
      "description": "Create, manage, and revoke long-lived API keys for organizations."
    }
  ],
  "paths": {
    "/orgs/{orgId}/apiKeys/{apiKeyId}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "orgId",
          "in": "path",
          "required": true
        },
        {
          "schema": {
            "type": "string"
          },
          "name": "apiKeyId",
          "in": "path",
          "required": true
        }
      ],
      "get": {
        "summary": "Get API Key",
        "tags": [
          "API Keys"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIKey"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        },
        "operationId": "get-api-key",
        "x-stoplight": {
          "id": "7zsdc275v90mt"
        },
        "description": "Returns metadata for a single API key including its shorthand, last-used timestamp, and description. Does not return the full key value.\n\n> 🔒 **Required role:** `admin`",
        "security": [
          {
            "JWTAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "APIKey": {
        "title": "APIKey",
        "x-stoplight": {
          "id": "ta9qwqerpwgl5"
        },
        "type": "object",
        "description": "Long living API Key",
        "required": [
          "id",
          "key",
          "key_shorthand",
          "name",
          "description",
          "created_by",
          "org_id",
          "last_used_at",
          "created_at"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "x-stoplight": {
              "id": "gg2jthygqsgei"
            }
          },
          "key": {
            "type": "string",
            "x-stoplight": {
              "id": "f6nm0f2su6wmu"
            }
          },
          "key_shorthand": {
            "type": "string",
            "x-stoplight": {
              "id": "csf2f2uhb4g9f"
            }
          },
          "name": {
            "type": "string",
            "x-stoplight": {
              "id": "cx7lkzdfw7idy"
            }
          },
          "description": {
            "type": "string",
            "x-stoplight": {
              "id": "nehp0945wr32y"
            }
          },
          "created_by": {
            "type": "string",
            "x-stoplight": {
              "id": "y7vvgb3nnypkj"
            }
          },
          "org_id": {
            "type": "string",
            "x-stoplight": {
              "id": "rcs2bfhte4kgl"
            }
          },
          "last_used_at": {
            "type": "string",
            "x-stoplight": {
              "id": "5jw2nmvt10u7t"
            }
          },
          "created_at": {
            "type": "string",
            "x-stoplight": {
              "id": "t3incwht6padr"
            }
          },
          "updated_at": {
            "type": "string",
            "x-stoplight": {
              "id": "3wht9jvjo6oi0"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "JWTAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  }
}
```