To generate your session token, you need to run the following command:
curl -X POST \\ -H "Content-Type: application/json" \\ -d '{"username": "[email protected]", "password": "fakepassword"}' \\ http://metabase.example.com:3000/api/session Then copy the value of the
id field returned by a successful call to that API.
Note that by default, sessions are good for 14 days and needs to be regenerated.