{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flint-network/json-schema/flint-network-otp-verify-response-schema.json",
  "title": "OtpVerifyResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flint-network-agent-sessions-api-openapi.yml#/components/schemas/OtpVerifyResponse",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "session_token": {
      "type": "string",
      "description": "Bearer agent session token (\"flint_sess_\" prefix). Pass it as Authorization: Bearer <session_token> on later calls. Treat it like a password; never log it."
    },
    "expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "user": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "email": {
          "type": "string",
          "format": "email"
        },
        "email_verified": {
          "type": "boolean"
        }
      }
    }
  }
}