User API Keys

https://api.xata.io/user/keys/

This endpoint allows interacting with the API keys for a given user.

Get the List of User API Keys

GET  https://api.xata.io/user/keys/

Retrieve a list of existing user API keys

Possible Responses
Status CodeDescriptionExample Response/Type Definition
200OK
type GetUserAPIKeys = {
    keys: {
        name: string;
        createdAt: DateTime;
    }[];
};

/**
 * @format date-time
 */
type DateTime = string;
400Bad Request
type GetUserAPIKeys = {
    id?: string;
    message: string;
};
401Authentication Error
{
  "message": "invalid API key"
}
404Example response
type GetUserAPIKeys = {
    id?: string;
    message: string;
};
5XXUnexpected Error