Canonical · Schema

OIDCSession contains session details for a current login.

CanonicalCloudLinuxOpen SourceUbuntuContainersBare MetalCharmsIdentity

Properties

Name Type Description
created_at string CreatedAt is when the session was started.
email string Email is the email of the user that holds the session.
expires_at string ExpiresAt is when the session will expire.
ip string IP is the IP address of the user that holds the session.
user_agent string UserAgent is the UserAgent of the user that holds the session.
username string Username is the name of the user that holds the session.
uuid string UUID is the session UUID.
View JSON Schema on GitHub

JSON Schema

canonical-oidcsession-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-oidcsession-schema.json",
  "title": "OIDCSession contains session details for a current login.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canonical-oidc-sessions-api-openapi.yml#/components/schemas/OIDCSession",
  "properties": {
    "created_at": {
      "description": "CreatedAt is when the session was started.",
      "format": "date-time",
      "type": "string",
      "x-go-name": "CreatedAt"
    },
    "email": {
      "description": "Email is the email of the user that holds the session.",
      "type": "string",
      "x-go-name": "Email"
    },
    "expires_at": {
      "description": "ExpiresAt is when the session will expire.",
      "format": "date-time",
      "type": "string",
      "x-go-name": "ExpiresAt"
    },
    "ip": {
      "description": "IP is the IP address of the user that holds the session.",
      "type": "string",
      "x-go-name": "IP"
    },
    "user_agent": {
      "description": "UserAgent is the UserAgent of the user that holds the session.",
      "type": "string",
      "x-go-name": "UserAgent"
    },
    "username": {
      "description": "Username is the name of the user that holds the session.",
      "type": "string",
      "x-go-name": "Username"
    },
    "uuid": {
      "description": "UUID is the session UUID.",
      "type": "string",
      "x-go-name": "UUID"
    }
  },
  "type": "object",
  "x-go-package": "github.com/canonical/lxd/shared/api"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/canonical-oidcsession"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.