Auth

POST /v1/auth/verify

Submit the emailed OTP code (no auth required). First-time: makes workspace durable. Repeat: key recovery (returns new apiKey).

unison-brain
POST /v1/auth/verify

Submit the emailed OTP code (no auth required). First-time: makes workspace durable. Repeat: key recovery (returns new apiKey).

Auth: none (public endpoint)

Body fields

NameRequiredNotes
emailyes
codeyes

Example

curl -X POST 'https://brain.unisonlabs.ai/v1/auth/verify' \
  -H "Authorization: Bearer $UNISON_TOKEN" \
  -H 'content-type: application/json' \
  -d '{"email": "...", "code": "..."}'

Returns the JSON described above on success, or an error envelope { "error": { "code", "message" } } on failure.