GET
/
user
/
key
curl --request GET \
  --url https://ragapi.sno.ai/v1/user/key \
  --header 'Authorization: Bearer <token>'
{
  "key": "<string>",
  "decrypted": "<string>"
}

Retrieves the API key for the current user. The response includes both the encrypted key (as stored) and the decrypted (actual) API key.

Authorizations

Authorization
string
header
required

Enter your API key as a Bearer token. Example: 'Bearer YOUR_API_KEY'

Response

200
application/json

User API key

The response is of type object.