Skip to main content
GET
/
user
/
{user_id}
/
auth
/
{server_name}
Get User Auth
curl --request GET \
  --url https://api.klavis.ai/user/{user_id}/auth/{server_name} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "userId": "<string>",
  "serverName": "<string>",
  "authData": {},
  "isAuthenticated": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Your Klavis AI API key.

Path Parameters

user_id
string
required

The identifier for the user

Minimum length: 1
server_name
string
required

The name of the MCP server (e.g., 'GitHub', 'Jira')

Response

Successful Response

success
boolean
required
userId
string
required

The user identifier

serverName
string
required

The name of the server

isAuthenticated
boolean
required

Whether the server has authentication data configured

authData
object | null

The authentication data if available

message
string | null
I