Skip to main content
Get details of a specific API key

Tool details

FieldValue
Nameget_api_key
GroupAPI Keys

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "api_key_id": {
      "type": "string",
      "description": "API key ID"
    }
  },
  "required": [
    "api_key_id"
  ],
  "additionalProperties": false,
  "description": "Input schema for the get_api_key tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the returned record."
    },
    "project_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Project identifier associated with this result."
    },
    "user_id": {
      "type": "string",
      "description": "The user id associated with this tool result."
    },
    "name": {
      "type": "string",
      "description": "Human-readable name for the returned record."
    },
    "key_prefix": {
      "type": "string",
      "description": "The key prefix associated with this tool result."
    },
    "last_used_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "The last used at associated with this tool result."
    },
    "expires_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "The expires at associated with this tool result."
    },
    "created_at": {
      "type": "string",
      "description": "Creation timestamp in ISO 8601 format."
    },
    "updated_at": {
      "type": "string",
      "description": "Last update timestamp in ISO 8601 format."
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "One scope item associated with this tool result."
      },
      "description": "List of scopes associated with this tool result."
    }
  },
  "required": [
    "id",
    "project_id",
    "user_id",
    "name",
    "key_prefix",
    "last_used_at",
    "expires_at",
    "created_at",
    "updated_at",
    "scopes"
  ],
  "additionalProperties": false,
  "description": "One data item associated with this tool result.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}