---
title: "Get information about an API key, including name, status, permissions and users who created or modified this key."
method: GET
path: "/v1/api-key"
tags: ["v1"]
---

# Get information about an API key, including name, status, permissions and users who created or modified this key.

`GET /v1/api-key`

## Response `200`

Success

- ApiKey
  - `acls` string[], required — A list of ACLs authorized with the API key, e.g. `"api-key:endpoint:*"`, `"api-key:model:*"`.
  - `api_key_blocked` boolean, required — Indicates whether the API key is blocked.
  - `api_key_disabled` boolean, required — Indicates whether the API key is disabled.
  - `api_key_id` string, required — ID of the API key.
  - `create_time` string, required — Creation time of the API key in Unix timestamp.
  - `modified_by` string, required — User ID of the user who last modified the API key.
  - `modify_time` string, required — Last modification time of the API key in Unix timestamp.
  - `name` string, required — The name of the API key specified by user.
  - `redacted_api_key` string, required — The redacted API key.
  - `team_blocked` boolean, required — Indicates whether the team that owns the API key.
  - `team_id` string, required — The team ID of the team that owns the API key.
  - `user_id` string, required — User ID the API key belongs to.

## Other responses

- `400` — Bad request. The request is invalid or an invalid API key is provided.

---

[API](https://skmtc.net/x/apis/xai-s-rest-api.md) · [All operations](https://skmtc.net/x/apis/xai-s-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/x/xai-s-rest-api/versions/8f6014272113/schema)
