메인 콘텐츠로 건너뛰기

Documentation Index

Fetch the complete documentation index at: https://docs.llmgenerator.com/llms.txt

Use this file to discover all available pages before exploring further.

GET /api-keys/

단일 API 키의 상세 정보를 반환합니다. 보안상 전체 키 값은 반환되지 않습니다.

경로 매개변수

keyId
string
필수
조회할 API 키 ID입니다.

응답

id
string
API 키 고유 식별자입니다.
name
string
사용자가 지정한 키 이름입니다.
keyPreview
string
마스킹된 키 미리보기입니다(예: llm_1234...abcd).
isActive
boolean
키가 활성화되어 사용 가능한지 여부입니다.
lastUsedAt
string
마지막 사용 시각(ISO 8601)입니다.
createdAt
string
생성 시각(ISO 8601)입니다.
curl -X GET https://api.llmgenerator.com/api/v1/api-keys/llm_1706123456_abc123def456 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id": "llm_1706123456_abc123def456",
  "name": "Production Key",
  "keyPreview": "llm_1706...f456",
  "description": null,
  "permissions": [],
  "isActive": true,
  "lastUsedAt": "2026-01-20T15:30:00.000Z",
  "expiresAt": null,
  "createdAt": "2026-01-01T10:00:00.000Z"
}