curl --request POST \ --url https://zeus.agentspro.cn/api/auth/api-token \ --header 'Content-Type: application/json' \ --data '{ "email": "[email protected]", "password": "your-password" }'
{ "token": "eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCIsImtpZCI6Inh4eCJ9...", "user": { "id": "user_abc123", "email": "[email protected]", "name": "Frank" }, "expires_in": "30d" }
用邮箱密码获取 JWT Token — 供外部调用者直接访问 AI Backend
Authorization: Bearer <token>
显示 user
user_id
30d