Timescale · Schema

AuthInfo

Information about the authenticated caller.

CompanyDatabasePostgreSQLTime SeriesAnalyticsCloud InfrastructureData PlatformVector SearchDeveloper ToolsOpen Source

Properties

Name Type Description
type string Type of authentication used.
api_key object
user object
View JSON Schema on GitHub

JSON Schema

timescale-auth-info-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/timescale/main/json-schema/timescale-auth-info-schema.json",
  "title": "AuthInfo",
  "description": "Information about the authenticated caller.",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/timescale-auth-api-openapi.yml#/components/schemas/AuthInfo",
  "type": "object",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "type": "string",
      "description": "Type of authentication used.",
      "enum": [
        "api_key",
        "user"
      ]
    },
    "api_key": {
      "$ref": "#/$defs/ApiKeyInfo"
    },
    "user": {
      "$ref": "#/$defs/UserInfo"
    }
  },
  "$defs": {
    "ApiKeyInfo": {
      "type": "object",
      "description": "Information about the API key used for authentication.",
      "required": [
        "prefix",
        "name",
        "created_at",
        "space_id",
        "space_name",
        "user_id",
        "user_email",
        "user_name"
      ],
      "properties": {
        "prefix": {
          "type": "string",
          "description": "Stable prefix identifier for the API key (starts with `gt_`), identifying the key without exposing the secret."
        },
        "name": {
          "type": "string",
          "description": "User-provided label for the API key."
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "Time the API key was created."
        },
        "space_id": {
          "type": "string",
          "description": "Space the API key is scoped to."
        },
        "space_name": {
          "type": "string",
          "description": "Name of the space the API key is scoped to."
        },
        "user_id": {
          "type": "string",
          "description": "ID of the user who created the API key."
        },
        "user_email": {
          "type": "string",
          "description": "Email of the user who created the API key."
        },
        "user_name": {
          "type": "string",
          "description": "Name of the user who created the API key."
        }
      }
    },
    "UserInfo": {
      "type": "object",
      "description": "Authenticated user details.",
      "required": [
        "id",
        "email",
        "name"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "User ID."
        },
        "email": {
          "type": "string",
          "description": "User email address."
        },
        "name": {
          "type": "string",
          "description": "User's full name."
        }
      }
    }
  }
}

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/timescale-auth-info"
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.