Posit · Schema

JobMetrics

Resource usage metrics collected for a job.

CompanyData ScienceAnalyticsDeveloper ToolsRPythonPublishingMachine LearningEnterpriseReproducibility

Properties

Name Type Description
content_guid string The unique identifier for the content item.
job_key string The job's unique key identifier.
samples array Array of metric samples collected during job execution. May be empty if no metrics were collected.
View JSON Schema on GitHub

JSON Schema

posit-job-metrics-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/posit/main/json-schema/posit-job-metrics-schema.json",
  "title": "JobMetrics",
  "description": "Resource usage metrics collected for a job.",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/posit-jobs-api-openapi.yml#/components/schemas/JobMetrics",
  "additionalProperties": false,
  "properties": {
    "content_guid": {
      "description": "The unique identifier for the content item.",
      "type": "string"
    },
    "job_key": {
      "description": "The job's unique key identifier.",
      "type": "string"
    },
    "samples": {
      "description": "Array of metric samples collected during job execution.\nMay be empty if no metrics were collected.",
      "items": {
        "$ref": "#/$defs/MetricSample"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "MetricSample": {
      "additionalProperties": false,
      "description": "A single resource usage sample for a job process.",
      "properties": {
        "timestamp": {
          "description": "The timestamp (RFC3339) when this sample was recorded.",
          "format": "date-time",
          "type": "string"
        },
        "cpu_fraction": {
          "description": "CPU usage as a fraction (0.0 to 1.0 per core).",
          "format": "double",
          "type": "number"
        },
        "memory_bytes": {
          "description": "Memory usage in bytes.",
          "format": "int64",
          "type": "integer"
        },
        "connections": {
          "description": "Number of active connections to the process.\nMay be null if connection counting is not available.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "process_id": {
          "description": "The process ID being monitored.",
          "type": "integer"
        }
      },
      "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-job-metrics"
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.