Skip to main content
GET
/
user
/
key
Get API 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

User API key

key
string

Encrypted API key

decrypted
string

Actual API key, prefixed with sm_