Skip to main content
GET
/
api
/
v1
/
api-keys
/
{api_key_id}
curl "https://api.fileguard.io/api/v1/api-keys/key_m1n2o3p4q5r6" \
  -H "Authorization: Bearer fg_your_api_key"
{
  "status": "SUCCESS",
  "data": {
    "api_key_id": "key_m1n2o3p4q5r6",
    "tenant_id": "ten_a1b2c3d4e5f6",
    "name": "Production Upload Key",
    "key_prefix": "fg_aBc",
    "scopes": ["upload", "download", "metadata"],
    "status": "active",
    "expires_at": "2027-01-04T10:00:00Z",
    "last_used_at": "2026-01-04T12:30:00Z",
    "metadata": {},
    "created_at": "2026-01-04T10:00:00Z",
    "updated_at": "2026-01-04T10:00:00Z"
  },
  "timestamp": "2026-01-04T10:00:00Z"
}

Documentation Index

Fetch the complete documentation index at: https://fileguard.dev/docs/llms.txt

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

Retrieve details of a specific API key.

Path Parameters

api_key_id
string
required
API key identifier (e.g., key_m1n2o3p4q5r6)
curl "https://api.fileguard.io/api/v1/api-keys/key_m1n2o3p4q5r6" \
  -H "Authorization: Bearer fg_your_api_key"
{
  "status": "SUCCESS",
  "data": {
    "api_key_id": "key_m1n2o3p4q5r6",
    "tenant_id": "ten_a1b2c3d4e5f6",
    "name": "Production Upload Key",
    "key_prefix": "fg_aBc",
    "scopes": ["upload", "download", "metadata"],
    "status": "active",
    "expires_at": "2027-01-04T10:00:00Z",
    "last_used_at": "2026-01-04T12:30:00Z",
    "metadata": {},
    "created_at": "2026-01-04T10:00:00Z",
    "updated_at": "2026-01-04T10:00:00Z"
  },
  "timestamp": "2026-01-04T10:00:00Z"
}