Dropto · Schema

ListTokensResponse

Response of `GET /api/tokens`.

HostingArtificial IntelligenceStatic SitesDeveloper ToolsCloud

Properties

Name Type Description
accountTokens array What colleagues hold on the same account, and only what an owner is entitled to know about them. Empty for a member, and empty for an owner whose colleagues have none. A separate list rather than the
tokens array The caller's own tokens on this account, newest first, including revoked ones.
View JSON Schema on GitHub

JSON Schema

dropto-run-list-tokens-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dropto-run/json-schema/dropto-run-list-tokens-response-schema.json",
  "title": "ListTokensResponse",
  "description": "Response of `GET /api/tokens`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dropto-run-tokens-api-openapi.yml#/components/schemas/ListTokensResponse",
  "properties": {
    "accountTokens": {
      "description": "What colleagues hold on the same account, and only what an owner is entitled to know about them.\nEmpty for a member, and empty for an owner whose colleagues have none.\n\nA separate list rather than the same rows with fields blanked out, because a row that is sometimes\nmissing its prefix is a row whose type is a lie — and the screen showing it has to branch\non something either way.",
      "items": {
        "$ref": "#/$defs/AccountTokenSummary"
      },
      "type": "array"
    },
    "tokens": {
      "description": "The caller's own tokens on this account, newest first, including revoked ones.",
      "items": {
        "$ref": "#/$defs/TokenSummary"
      },
      "type": "array"
    }
  },
  "required": [
    "tokens",
    "accountTokens"
  ],
  "type": "object",
  "$defs": {
    "AccountTokenSummary": {
      "description": "Somebody else's token, as an owner of the account may see it.",
      "properties": {
        "email": {
          "description": "Whose it is.",
          "type": "string"
        },
        "id": {
          "description": "ULID of the token, which is what an owner revokes it by. A handle, not a credential.",
          "type": "string"
        },
        "lastUsedAt": {
          "description": "When a request last authenticated with it, or null if never.",
          "format": "date-time",
          "type": [
            "null",
            "string"
          ]
        },
        "name": {
          "description": "What they called it, which is what makes a list of them readable.",
          "type": "string"
        },
        "revoked": {
          "description": "Whether it has been revoked, as a flag rather than a date.",
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "email",
        "name",
        "lastUsedAt",
        "revoked"
      ],
      "type": "object"
    },
    "TokenSummary": {
      "description": "One token as its owner sees it. Never carries the plaintext, which was not kept.",
      "properties": {
        "createdAt": {
          "description": "When it was issued.",
          "format": "date-time",
          "type": "string"
        },
        "expiresAt": {
          "description": "When it stops working on its own, or null.",
          "format": "date-time",
          "type": [
            "null",
            "string"
          ]
        },
        "id": {
          "description": "ULID of the token.",
          "type": "string"
        },
        "lastUsedAt": {
          "description": "When a request last authenticated with it, or null if never.",
          "format": "date-time",
          "type": [
            "null",
            "string"
          ]
        },
        "name": {
          "description": "What its owner called it.",
          "type": "string"
        },
        "prefix": {
          "description": "Its first characters, which is all there is to tell two rows apart by.",
          "type": "string"
        },
        "revokedAt": {
          "description": "When it was revoked, or null while it stands.",
          "format": "date-time",
          "type": [
            "null",
            "string"
          ]
        },
        "source": {
          "description": "How it came to exist: `Manual` (this page), `CommandLine` (a sign-in on the person's machine)\nor `RemoteMcp` (a hosted chat's connector, where revoking it disconnects that connector).",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "prefix",
        "createdAt",
        "lastUsedAt",
        "expiresAt",
        "revokedAt",
        "source"
      ],
      "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/dropto-run-list-tokens-response"
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.