Skip to main content
GET
/
auth
/
api-keys
List Api Keys
curl --request GET \
  --url http://localhost:8000/auth/api-keys
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "key_prefix": "<string>",
    "is_active": true,
    "created_at": "2023-11-07T05:31:56Z",
    "scopes": [
      "<string>"
    ],
    "last_used_at": "2023-11-07T05:31:56Z",
    "revoked_at": "2023-11-07T05:31:56Z"
  }
]

Headers

authorization
string | null
x-api-key
string | null
x-tenant-id
string | null

Cookies

factio_access_token
string | null

Response

Successful Response

id
string<uuid>
required

API key ID

name
string
required

API key name

key_prefix
string
required

Key prefix for identification

is_active
boolean
required

Whether the key is active

created_at
string<date-time>
required

Creation timestamp

scopes
string[] | null

API key scopes

last_used_at
string<date-time> | null

Last usage timestamp

revoked_at
string<date-time> | null

Revocation timestamp