Pi Durable Platformdocs
ReferenceSign-in

Development sign-in (only when DEV_AUTH=true on a loopback APP_URL)

POST
/auth/dev

Request Body

application/json
  1. body
account*string

Response Body

Success

application/json
  1. response
data*
curl -X POST 'https://agents.example.com/auth/dev' \  -H 'Content-Type: application/json' \  -d '{  "account": "admin"}'
{  "data": {    "ok": true  }}