OVHcloud · Schema

metrics.api.Token

Structure holding the elements about a token

CloudInfrastructureHostingBare MetalDomainsDNSKubernetesStorageTelecommunicationsCompany

Properties

Name Type Description
access string The actual access token
createdAt string Token creation date
description string Description of the token
expiryAt string Token expiration date
id string Id of the token
isRevoked boolean Is your token revoked?
labels array Labels for the token if set
permission object Token permission: read or write
View JSON Schema on GitHub

JSON Schema

ovh-metrics-api-token-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-metrics-api-token-schema.json",
  "title": "metrics.api.Token",
  "description": "Structure holding the elements about a token",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-metrics-openapi.yml#/components/schemas/metrics.api.Token",
  "type": "object",
  "properties": {
    "access": {
      "type": "string",
      "description": "The actual access token",
      "format": "password",
      "readOnly": true
    },
    "createdAt": {
      "type": "string",
      "description": "Token creation date",
      "format": "date-time",
      "readOnly": true
    },
    "description": {
      "type": "string",
      "description": "Description of the token",
      "readOnly": true
    },
    "expiryAt": {
      "type": "string",
      "description": "Token expiration date",
      "format": "date-time",
      "readOnly": true
    },
    "id": {
      "type": "string",
      "description": "Id of the token",
      "readOnly": true
    },
    "isRevoked": {
      "type": "boolean",
      "description": "Is your token revoked?",
      "readOnly": true
    },
    "labels": {
      "type": "array",
      "description": "Labels for the token if set",
      "items": {
        "$ref": "#/$defs/metrics.api.Label"
      },
      "readOnly": true
    },
    "permission": {
      "allOf": [
        {
          "$ref": "#/$defs/metrics.api.PermissionEnum"
        }
      ],
      "description": "Token permission: read or write",
      "readOnly": true
    }
  },
  "$defs": {
    "metrics.api.Label": {
      "type": "object",
      "description": "Structure holding the elements about a label",
      "properties": {
        "key": {
          "type": "string",
          "description": "Label key"
        },
        "value": {
          "type": "string",
          "description": "Label value"
        }
      }
    },
    "metrics.api.PermissionEnum": {
      "type": "string",
      "description": "Metrics service token permissions",
      "enum": [
        "read",
        "write"
      ]
    }
  }
}

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/ovh-metrics-api-token"
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.