Clarity · Schema

OutcomesResponse

Artificial IntelligenceCustomer ExperienceAI AgentsEnterprise

Properties

Name Type Description
range object
previous_range object
previous object
reports_created integer
mini_apps_published integer
dashboard_pins integer
conversation_shares integer
artifact_links integer
shares_created integer
files_produced integer
routines array
View JSON Schema on GitHub

JSON Schema

onclarity-com-outcomes-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/onclarity-com/json-schema/onclarity-com-outcomes-response-schema.json",
  "title": "OutcomesResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/onclarity-com-agent-usage-api-openapi.yml#/components/schemas/OutcomesResponse",
  "properties": {
    "range": {
      "$ref": "#/$defs/src__agent_usage__schemas__DateRange"
    },
    "previous_range": {
      "anyOf": [
        {
          "$ref": "#/$defs/src__agent_usage__schemas__DateRange"
        },
        {
          "type": "null"
        }
      ]
    },
    "previous": {
      "anyOf": [
        {
          "$ref": "#/$defs/OutcomeCounts"
        },
        {
          "type": "null"
        }
      ]
    },
    "reports_created": {
      "type": "integer",
      "title": "Reports Created",
      "default": 0
    },
    "mini_apps_published": {
      "type": "integer",
      "title": "Mini Apps Published",
      "default": 0
    },
    "dashboard_pins": {
      "type": "integer",
      "title": "Dashboard Pins",
      "default": 0
    },
    "conversation_shares": {
      "type": "integer",
      "title": "Conversation Shares",
      "default": 0
    },
    "artifact_links": {
      "type": "integer",
      "title": "Artifact Links",
      "default": 0
    },
    "shares_created": {
      "type": "integer",
      "title": "Shares Created",
      "default": 0
    },
    "files_produced": {
      "type": "integer",
      "title": "Files Produced",
      "default": 0
    },
    "routines": {
      "items": {
        "$ref": "#/$defs/RoutineOutcomeRow"
      },
      "type": "array",
      "title": "Routines",
      "default": []
    }
  },
  "type": "object",
  "required": [
    "range"
  ],
  "$defs": {
    "OutcomeCounts": {
      "properties": {
        "reports_created": {
          "type": "integer",
          "title": "Reports Created",
          "default": 0
        },
        "mini_apps_published": {
          "type": "integer",
          "title": "Mini Apps Published",
          "default": 0
        },
        "dashboard_pins": {
          "type": "integer",
          "title": "Dashboard Pins",
          "default": 0
        },
        "conversation_shares": {
          "type": "integer",
          "title": "Conversation Shares",
          "default": 0
        },
        "artifact_links": {
          "type": "integer",
          "title": "Artifact Links",
          "default": 0
        },
        "shares_created": {
          "type": "integer",
          "title": "Shares Created",
          "default": 0
        },
        "files_produced": {
          "type": "integer",
          "title": "Files Produced",
          "default": 0
        }
      },
      "type": "object",
      "title": "OutcomeCounts",
      "description": "The scalar outcome counts for one window — used for the prior-period comparison."
    },
    "RoutineOutcomeRow": {
      "properties": {
        "routine_id": {
          "type": "integer",
          "title": "Routine Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "runs": {
          "type": "integer",
          "title": "Runs",
          "default": 0
        },
        "succeeded": {
          "type": "integer",
          "title": "Succeeded",
          "default": 0
        },
        "failed": {
          "type": "integer",
          "title": "Failed",
          "default": 0
        },
        "needs_input": {
          "type": "integer",
          "title": "Needs Input",
          "default": 0
        },
        "last_run_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Run At"
        }
      },
      "type": "object",
      "required": [
        "routine_id",
        "name"
      ],
      "title": "RoutineOutcomeRow"
    },
    "src__agent_usage__schemas__DateRange": {
      "properties": {
        "from": {
          "type": "string",
          "format": "date",
          "title": "From"
        },
        "to": {
          "type": "string",
          "format": "date",
          "title": "To"
        }
      },
      "type": "object",
      "required": [
        "from",
        "to"
      ],
      "title": "DateRange",
      "description": "Effective (post-clamp) INCLUSIVE date range a response covers."
    }
  }
}

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/onclarity-com-outcomes-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. See our Privacy Policy and Terms.

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