Posit · Schema

OAuthSession

OAuthSession represents an OAuth session for a given user associated to an OAuth integration.

CompanyData ScienceAnalyticsDeveloper ToolsRPythonPublishingMachine LearningEnterpriseReproducibility

Properties

Name Type Description
id string The internal numeric identifier of this OAuth session.
guid string The unique identifier of this OAuth session which is used in REST API requests.
user_guid stringnull The unique identifier of the user that is associated with this OAuth session.
oauth_integration_guid string The unique identifier of the OAuth integration that is associated with this OAuth session.
has_refresh_token boolean Indicates whether this OAuth session has a refresh token.
created_time string The timestamp (RFC3339) indicating when this OAuth session was created.
updated_time string The timestamp (RFC3339) indicating when this OAuth session was last updated.
View JSON Schema on GitHub

JSON Schema

posit-oauth-session-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/posit/main/json-schema/posit-oauth-session-schema.json",
  "title": "OAuthSession",
  "description": "OAuthSession represents an OAuth session for a given user associated to an OAuth integration.",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/posit-oauth-sessions-api-openapi.yml#/components/schemas/OAuthSession",
  "additionalProperties": false,
  "properties": {
    "id": {
      "description": "The internal numeric identifier of this OAuth session.",
      "type": "string"
    },
    "guid": {
      "description": "The unique identifier of this OAuth session which is used in REST API\nrequests.",
      "format": "uuid",
      "type": "string"
    },
    "user_guid": {
      "description": "The unique identifier of the user that is associated with this OAuth\nsession.",
      "format": "uuid",
      "type": [
        "string",
        "null"
      ]
    },
    "oauth_integration_guid": {
      "description": "The unique identifier of the OAuth integration that is associated with this\nOAuth session.",
      "format": "uuid",
      "type": "string"
    },
    "has_refresh_token": {
      "description": "Indicates whether this OAuth session has a refresh token.",
      "type": "boolean"
    },
    "created_time": {
      "description": "The timestamp (RFC3339) indicating when this OAuth session was created.",
      "format": "date-time",
      "type": "string"
    },
    "updated_time": {
      "description": "The timestamp (RFC3339) indicating when this OAuth session was last updated.",
      "format": "date-time",
      "type": "string"
    }
  },
  "type": "object"
}

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/posit-oauth-session"
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.