v1

latestOpenAPI 3.0.3BSL2026-07-17133415718.8 KB
Auth

OpenID Connect callback

This is the callback route for the OAuth provider, it should not be called directly. Redirects to browser with set-cookie header.

get/api/auth/callback

Response

Response that returns with set-cookie header

created_atstring date-time required
emailstring required
idstring uuid required
namestring nullable

Example response

{
  "email": "developers@trieve.ai",
  "id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
  "name": "Trieve",
  "orgs": [
    {
      "created_at": "2021-01-01 00:00:00.000",
      "id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
      "name": "Trieve",
      "registerable": true,
      "updated_at": "2021-01-01 00:00:00.000"
    }
  ],
  "user_orgs": [
    {
      "created_at": "2021-01-01 00:00:00.000",
      "id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
      "org_id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
      "role": 0,
      "updated_at": "2021-01-01 00:00:00.000",
      "user_id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3"
    }
  ]
}