Skip to main content
POST
/
api
/
core
/
user
/
profile
/
favorites
/
use-cases
Add favorite use case
curl --request POST \
  --url https://api.example.com/api/core/user/profile/favorites/use-cases \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "use_case_id": "<string>"
}
'
{
  "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 '

Body

application/json
use_case_id
string
required

Response

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