Skip to main content
POST
/
auth
/
admin
/
login
Admin login
curl -X POST http://localhost:6575/auth/admin/login \
  -H "Content-Type: application/json" \
  -H 'Authorization: Bearer <admin-jwt-or-access-token>' \
  -d '{
    "password": "MyNewSecurePwd!2"
  }'
{
  "token": "<jwt-token>",
  "message": "Login successful",
  "expires_in": 3600
}

Documentation Index

Fetch the complete documentation index at: https://docs.vectoraidb.actian.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
password
string
required

The admin user's password.

Response

Login successful. Returns a JWT token.

token
string

JWT token for authenticating subsequent requests.

message
string

Human-readable status message.

expires_in
integer

Number of seconds until the JWT token expires.