Skip to main content
POST
/
api
/
v1
/
auth
/
login
Auth:Cookie.Login
curl --request POST \
  --url https://api.cognee.ai/api/v1/auth/login \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'username=<string>' \
  --data 'password=<string>'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/x-www-form-urlencoded
username
string
required
password
string<password>
required
grant_type
string | null
scope
string
default:""
client_id
string | null
client_secret
string<password> | null

Response

Successful Response

The response is of type any.