Skip to main content
GET
/
api
/
core
/
user
/
profile
Get user profile
curl --request GET \
  --url https://api.example.com/api/core/user/profile \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "email": "<string>",
  "preferred_language": "en",
  "preferred_model": "<string>",
  "favorite_use_cases": [
    "<string>"
  ],
  "login_history": [
    {
      "timestamp": "2023-11-07T05:31:56Z",
      "method": "<string>",
      "ip_address": "<string>",
      "user_agent": "<string>"
    }
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "oauth_tokens": {}
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Format: 'Bearer '

Response

200 - application/json

Successful Response

Model for storing user profile and settings

id
string
required
email
string | null
preferred_language
enum<string>
default:en
Available options:
de,
en
preferred_model
string | null
favorite_use_cases
string[]
login_history
LoginHistory · object[]
created_at
string<date-time>
updated_at
string<date-time>
oauth_tokens
Oauth Tokens · object