Token Canopy · Schema

ViewerSessionCreateOut

The mint response — the ONLY response carrying the plaintext viewer credential. The credential authorizes the isolated viewer host's `/view/doc` and `/view/content` for this one pinned version, via an Authorization header only — it must never be placed in a URL, cookie, or persistent storage.

Artificial IntelligenceCollaborationWorkspacePrivacyEmail

Properties

Name Type Description
id string
drive_id string
artifact_id string
version_id string
expires_at string
created_at string
expires_in integer Seconds until the session expires, from mint time.
credential object Plaintext viewer credential. Present only on first execution of a mint; null on idempotent replay — mint a new session with a fresh Idempotency-Key to obtain a credential.
View JSON Schema on GitHub

JSON Schema

tokencanopy-com-viewer-session-create-out-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tokencanopy-com/json-schema/tokencanopy-com-viewer-session-create-out-schema.json",
  "title": "ViewerSessionCreateOut",
  "description": "The mint response — the ONLY response carrying the plaintext viewer\ncredential. The credential authorizes the isolated viewer host's\n`/view/doc` and `/view/content` for this one pinned version, via an\nAuthorization header only — it must never be placed in a URL, cookie,\nor persistent storage.",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tokencanopy-com-openapi.json#/components/schemas/ViewerSessionCreateOut",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^vwr_[a-f0-9]{16}$",
      "title": "Id"
    },
    "drive_id": {
      "type": "string",
      "pattern": "^drv_[a-f0-9]{16}$",
      "title": "Drive Id"
    },
    "artifact_id": {
      "type": "string",
      "pattern": "^art_[a-f0-9]{16}$",
      "title": "Artifact Id"
    },
    "version_id": {
      "type": "string",
      "pattern": "^ver_[a-f0-9]{16}$",
      "title": "Version Id"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "title": "Expires At"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "expires_in": {
      "type": "integer",
      "title": "Expires In",
      "description": "Seconds until the session expires, from mint time."
    },
    "credential": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Credential",
      "description": "Plaintext viewer credential. Present only on first execution of a mint; null on idempotent replay — mint a new session with a fresh Idempotency-Key to obtain a credential."
    }
  },
  "type": "object",
  "required": [
    "id",
    "drive_id",
    "artifact_id",
    "version_id",
    "expires_at",
    "created_at",
    "expires_in"
  ]
}

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/tokencanopy-com-viewer-session-create-out"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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