veryfront__get_account_run_analyticsAccess
No external-service connection is required. Use a Veryfront credential with access to the requested resources. Call type: Read-only.Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
preset | string | No | Relative timeframe preset. Default: "30d". Values: "7d", "30d", "90d". |
timezone | string | No | IANA timezone for daily bucket boundaries. Default: "UTC". |
label | string[] or null | No | Project label filters as key or key=value, repeated or comma-separated. |
project_reference | string | No | Optional project UUID or slug to scope analytics to a single project. |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.request.json
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "veryfront__get_account_run_analytics",
"arguments": {}
}
}
Result
The published output shape is summarized below. Inspect both the MCP response content andisError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
summary | object | Yes | Structured summary details returned by the tool. |
timeframe | object | Yes | Structured timeframe details returned by the tool. |
series | object[] | Yes | List of series returned by the tool. |
statuses | object[] | Yes | List of statuses returned by the tool. |
models | object[] | Yes | List of models returned by the tool. |
tools | object[] | Yes | List of tools returned by the tool. |
projects | object[] | Yes | List of projects returned by the tool. |
recent_runs | object[] | Yes | List of recent runs returned by the tool. |
Full schemas
{
"type": "object",
"properties": {
"preset": {
"type": "string",
"enum": [
"7d",
"30d",
"90d"
],
"default": "30d",
"description": "Relative timeframe preset."
},
"timezone": {
"type": "string",
"default": "UTC",
"description": "IANA timezone for daily bucket boundaries."
},
"label": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"description": "One label item supplied to the tool."
},
"description": "Provide one or more label values."
},
{
"type": "null",
"description": "Provide the label."
}
],
"description": "Project label filters as key or key=value, repeated or comma-separated."
},
"project_reference": {
"type": "string",
"description": "Optional project UUID or slug to scope analytics to a single project."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Arguments for the get_account_run_analytics tool."
}
{
"type": "object",
"properties": {
"summary": {
"type": "object",
"properties": {
"total_runs": {
"type": "number",
"description": "Total agent runs in the timeframe."
},
"completed_runs": {
"type": "number",
"description": "Completed runs in the timeframe."
},
"failed_runs": {
"type": "number",
"description": "Failed runs in the timeframe."
},
"average_duration_ms": {
"type": [
"number",
"null"
],
"description": "Average finished run duration in milliseconds."
},
"p95_duration_ms": {
"type": [
"number",
"null"
],
"description": "95th percentile finished run duration in milliseconds."
},
"last_run_at": {
"type": [
"string",
"null"
],
"description": "Most recent run creation timestamp."
}
},
"required": [
"total_runs",
"completed_runs",
"failed_runs",
"average_duration_ms",
"p95_duration_ms",
"last_run_at"
],
"additionalProperties": false,
"description": "Structured summary details returned by the tool."
},
"timeframe": {
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "Inclusive timeframe start timestamp."
},
"to": {
"type": "string",
"description": "Exclusive timeframe end timestamp."
},
"granularity": {
"type": "string",
"enum": [
"day"
],
"description": "Analytics aggregation granularity."
},
"timezone": {
"type": "string",
"description": "IANA timezone used for buckets."
},
"bucket_count": {
"type": "number",
"description": "Number of buckets returned."
}
},
"required": [
"from",
"to",
"granularity",
"timezone",
"bucket_count"
],
"additionalProperties": false,
"description": "Structured timeframe details returned by the tool."
},
"series": {
"type": "array",
"items": {
"type": "object",
"properties": {
"bucket_start": {
"type": "string",
"description": "Bucket start timestamp."
},
"runs": {
"type": "number",
"description": "Runs created in the bucket."
},
"completed_runs": {
"type": "number",
"description": "Completed runs in the bucket."
},
"failed_runs": {
"type": "number",
"description": "Failed runs in the bucket."
}
},
"required": [
"bucket_start",
"runs",
"completed_runs",
"failed_runs"
],
"additionalProperties": false,
"description": "One sery item returned by the tool."
},
"description": "List of series returned by the tool."
},
"statuses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Status or outcome label."
},
"count": {
"type": "number",
"description": "Number of matching records."
}
},
"required": [
"status",
"count"
],
"additionalProperties": false,
"description": "One status item returned by the tool."
},
"description": "List of statuses returned by the tool."
},
"models": {
"type": "array",
"items": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"description": "AI provider."
},
"model": {
"type": "string",
"description": "AI model identifier."
},
"count": {
"type": "number",
"description": "Number of uses."
}
},
"required": [
"provider",
"model",
"count"
],
"additionalProperties": false,
"description": "One model item returned by the tool."
},
"description": "List of models returned by the tool."
},
"tools": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Recorded waiting tool name."
},
"count": {
"type": "number",
"description": "Runs with this recorded waiting tool."
}
},
"required": [
"name",
"count"
],
"additionalProperties": false,
"description": "One tool item returned by the tool."
},
"description": "List of tools returned by the tool."
},
"projects": {
"type": "array",
"items": {
"type": "object",
"properties": {
"project_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"description": "Project identifier associated with this result."
},
{
"type": "null",
"description": "Project identifier associated with this result."
}
],
"description": "Project ID, or null for unscoped usage."
},
"project_name": {
"type": "string",
"description": "Project display name."
},
"project_slug": {
"type": [
"string",
"null"
],
"description": "Project slug, or null when unavailable."
},
"count": {
"type": "number",
"description": "Number of matching records."
}
},
"required": [
"project_id",
"project_name",
"project_slug",
"count"
],
"additionalProperties": false,
"description": "One project item returned by the tool."
},
"description": "List of projects returned by the tool."
},
"recent_runs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Unique run UUID."
},
"status": {
"type": "string",
"enum": [
"pending",
"running",
"waiting",
"completed",
"failed",
"cancelled"
],
"description": "Current execution state."
},
"project_id": {
"type": "string",
"format": "uuid",
"description": "Project containing the run."
},
"target": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"agent",
"task",
"workflow",
"eval"
],
"description": "Execution definition type."
},
"id": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^\\S+$",
"description": "Unique identifier for the returned record."
},
{
"type": "null",
"description": "Unique identifier for the returned record."
}
],
"description": "Definition ID; null when unavailable on a historical run."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false,
"description": "Execution definition; its ID may be null only on historical runs."
},
"input": {
"description": "Business input supplied when the run was created."
},
"output": {
"$ref": "#/properties/recent_runs/items/properties/input",
"description": "Final business output; null until successful finalization."
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Stable failure code."
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "Human-readable failure message."
},
"details": {
"type": "object",
"additionalProperties": {
"$ref": "#/properties/recent_runs/items/properties/input",
"description": "Additional structured values returned by the tool."
},
"description": "Additional failure details."
}
},
"required": [
"code",
"message"
],
"additionalProperties": false,
"description": "Failure details, present only when the run failed."
},
"title": {
"type": "string",
"description": "Display title, omitted when unset."
},
"labels": {
"type": "object",
"additionalProperties": {
"type": "string",
"maxLength": 256,
"description": "Additional structured values returned by the tool."
},
"description": "Labels used to organize runs."
},
"parent_run_id": {
"type": "string",
"format": "uuid",
"description": "Immediate parent run ID, present on child runs."
},
"root_run_id": {
"type": "string",
"format": "uuid",
"description": "Top-level ancestor run ID, present on child runs."
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "When the run was accepted."
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "When the resource last changed, including usage updates."
},
"started_at": {
"type": "string",
"format": "date-time",
"description": "When the first execution attempt started, omitted before execution."
},
"finished_at": {
"type": "string",
"format": "date-time",
"description": "When the run completed, failed or was cancelled."
},
"config": {
"type": "object",
"additionalProperties": {
"$ref": "#/properties/recent_runs/items/properties/input",
"description": "A JSON value."
},
"description": "Definition-specific execution configuration."
},
"execution": {
"type": "object",
"properties": {
"runtime": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"main_branch"
],
"description": "Runtime selection kind."
}
},
"required": [
"type"
],
"additionalProperties": false,
"description": "Selected main-branch deployment."
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"environment"
],
"description": "Runtime selection kind."
},
"id": {
"type": "string",
"format": "uuid",
"description": "Environment UUID."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false,
"description": "Selected environment."
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"preview_branch"
],
"description": "Runtime selection kind."
},
"id": {
"type": "string",
"format": "uuid",
"description": "Preview branch UUID."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false,
"description": "Selected preview branch."
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"registered"
],
"description": "Runtime selection kind."
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Registered runtime identifier."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false,
"description": "Selected registered runtime."
}
],
"description": "Resolved logical runtime selection; main_branch identifies the selected main-branch deployment, not a worker process."
},
"timeout_seconds": {
"type": "integer",
"exclusiveMinimum": 0,
"description": "Deadline for the whole run in seconds, measured from its first start and including retries."
},
"retry_limit": {
"type": "integer",
"minimum": 0,
"description": "Maximum retries after the first attempt; only retryable failures are retried."
},
"attempt": {
"type": "integer",
"minimum": 1,
"description": "Current or last execution attempt, starting at 1; absent before execution."
},
"exit_code": {
"anyOf": [
{
"type": "integer",
"description": "The exit code returned by the tool."
},
{
"type": "null",
"description": "The exit code returned by the tool."
}
],
"description": "Runtime process exit code, or null when no exit code was recorded."
},
"duration_ms": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"description": "The duration ms returned by the tool."
},
{
"type": "null",
"description": "The duration ms returned by the tool."
}
],
"description": "Elapsed time from first start to finish, including waits and retries; null when not finished."
},
"tool_error_count": {
"type": "integer",
"minimum": 0,
"description": "Recorded failed tool invocations during this run."
},
"logs": {
"type": "string",
"description": "Captured runtime text logs, when available."
},
"start_mode": {
"type": "string",
"description": "Recorded execution start mode, when available."
},
"worker": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Agent worker ID."
},
"name": {
"type": "string",
"description": "Worker display name, omitted when the worker registered without one."
},
"claimed_at": {
"type": "string",
"format": "date-time",
"description": "When the worker claimed the run."
}
},
"required": [
"id",
"claimed_at"
],
"additionalProperties": false,
"description": "Agent worker that claimed and executed the run; present only on worker-executed runs."
}
},
"additionalProperties": false,
"description": "Resolved execution settings and diagnostics."
},
"control": {
"type": "object",
"properties": {
"waiting": {
"anyOf": [
{
"type": "object",
"properties": {
"resume_at": {
"type": "string",
"format": "date-time",
"description": "Scheduled automatic resume time."
},
"reason": {
"type": "string",
"enum": [
"manual_pause"
],
"description": "Condition required to resume the run."
}
},
"required": [
"reason"
],
"additionalProperties": false,
"description": "Waiting for manual resumption."
},
{
"type": "object",
"properties": {
"resume_at": {
"type": "string",
"format": "date-time",
"description": "Scheduled automatic resume time."
},
"reason": {
"type": "string",
"enum": [
"tool_result"
],
"description": "Condition required to resume the run."
},
"tool_call_id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Tool call awaiting a result."
}
},
"required": [
"reason",
"tool_call_id"
],
"additionalProperties": false,
"description": "Waiting for a tool result."
},
{
"type": "object",
"properties": {
"resume_at": {
"type": "string",
"format": "date-time",
"description": "Scheduled automatic resume time."
},
"reason": {
"type": "string",
"enum": [
"integration_connected"
],
"description": "Condition required to resume the run."
},
"integration": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Integration awaiting connection."
}
},
"required": [
"reason",
"integration"
],
"additionalProperties": false,
"description": "Waiting for an integration connection."
},
{
"type": "object",
"properties": {
"resume_at": {
"type": "string",
"format": "date-time",
"description": "Scheduled automatic resume time."
},
"reason": {
"type": "string",
"enum": [
"approval"
],
"description": "Condition required to resume the run."
},
"wait_id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Durable wait identifier."
},
"node_ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "One node id item returned by the tool."
},
"minItems": 1,
"description": "Workflow nodes awaiting approval."
}
},
"required": [
"reason",
"wait_id",
"node_ids"
],
"additionalProperties": false,
"description": "Waiting for workflow approval."
},
{
"type": "object",
"properties": {
"resume_at": {
"type": "string",
"format": "date-time",
"description": "Scheduled automatic resume time."
},
"reason": {
"type": "string",
"enum": [
"event"
],
"description": "Condition required to resume the run."
},
"wait_id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Durable wait identifier."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Event required to resume."
}
},
"required": [
"reason",
"wait_id",
"name"
],
"additionalProperties": false,
"description": "Waiting for a named event."
},
{
"type": "object",
"properties": {
"resume_at": {
"type": "string",
"format": "date-time",
"description": "Scheduled automatic resume time."
},
"reason": {
"type": "string",
"enum": [
"input_request"
],
"description": "Condition required to resume the run."
},
"input_request_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"description": "One input request id item returned by the tool."
},
"minItems": 1,
"description": "Input requests awaiting responses."
}
},
"required": [
"reason",
"input_request_ids"
],
"additionalProperties": false,
"description": "Waiting for input responses."
},
{
"type": "object",
"properties": {
"resume_at": {
"type": "string",
"format": "date-time",
"description": "Scheduled automatic resume time."
},
"reason": {
"type": "string",
"enum": [
"child_run"
],
"description": "Condition required to resume the run."
},
"dependencies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"run_id": {
"type": "string",
"format": "uuid",
"description": "Canonical UUID of the child run."
},
"correlation": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"tool_call"
],
"description": "Child invocation kind."
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Tool call identifier."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false,
"description": "Child started by a tool call."
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"workflow_node"
],
"description": "Child invocation kind."
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Workflow node identifier."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false,
"description": "Child started by a workflow node."
}
],
"description": "The correlation returned by the tool."
}
},
"required": [
"run_id",
"correlation"
],
"additionalProperties": false,
"description": "One dependency item returned by the tool."
},
"minItems": 1,
"description": "Child runs that must finish."
}
},
"required": [
"reason",
"dependencies"
],
"additionalProperties": false,
"description": "Waiting for child runs."
},
{
"type": "object",
"properties": {
"resume_at": {
"type": "string",
"format": "date-time",
"description": "Scheduled automatic resume time."
},
"reason": {
"type": "string",
"enum": [
"timer"
],
"description": "Condition required to resume the run."
}
},
"required": [
"resume_at",
"reason"
],
"additionalProperties": false,
"description": "Waiting until the scheduled resume time."
}
],
"description": "The current durable wait, with only the fields required to satisfy that wait."
},
"pause": {
"type": "object",
"properties": {
"requested_at": {
"type": "string",
"format": "date-time",
"description": "Time the pause was requested."
}
},
"required": [
"requested_at"
],
"additionalProperties": false,
"description": "When a pause was requested; control.waiting confirms when execution is paused."
},
"cancellation": {
"type": "object",
"properties": {
"requested_at": {
"type": "string",
"format": "date-time",
"description": "Time cancellation was requested."
},
"stopped_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"description": "The stopped at returned by the tool."
},
{
"type": "null",
"description": "The stopped at returned by the tool."
}
],
"description": "Time the runtime confirmed its stop; null until confirmed."
}
},
"required": [
"requested_at",
"stopped_at"
],
"additionalProperties": false,
"description": "Structured cancellation details returned by the tool."
}
},
"additionalProperties": false,
"description": "Pending control requests and the current wait."
},
"task_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Orchestration task ID, distinct from the execution definition."
},
"conversation_id": {
"type": "string",
"format": "uuid",
"description": "Conversation containing the run."
},
"input_message_id": {
"type": "string",
"format": "uuid",
"description": "Conversation message that supplied the input."
},
"output_message_id": {
"type": "string",
"format": "uuid",
"description": "Conversation message containing the result."
},
"batch_id": {
"type": "string",
"format": "uuid",
"description": "Batch containing the run."
},
"trigger": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"user"
],
"description": "The type returned by the tool."
},
"id": {
"type": "string",
"format": "uuid",
"description": "Unique identifier for the returned record."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false,
"description": "Structured trigger details returned by the tool."
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"api_key"
],
"description": "The type returned by the tool."
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Unique identifier for the returned record."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false,
"description": "Structured trigger details returned by the tool."
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"service_account"
],
"description": "The type returned by the tool."
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Unique identifier for the returned record."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false,
"description": "Structured trigger details returned by the tool."
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"system"
],
"description": "The type returned by the tool."
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Unique identifier for the returned record."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false,
"description": "Structured trigger details returned by the tool."
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"schedule"
],
"description": "The type returned by the tool."
},
"id": {
"type": "string",
"format": "uuid",
"description": "Unique identifier for the returned record."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false,
"description": "Structured trigger details returned by the tool."
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"webhook"
],
"description": "The type returned by the tool."
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Unique identifier for the returned record."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false,
"description": "Structured trigger details returned by the tool."
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"agent"
],
"description": "The type returned by the tool."
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^\\S+$",
"description": "Unique identifier for the returned record."
},
"tool_call_id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Tool call identifier associated with this result."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false,
"description": "Structured trigger details returned by the tool."
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"task"
],
"description": "The type returned by the tool."
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^\\S+$",
"description": "Unique identifier for the returned record."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false,
"description": "Structured trigger details returned by the tool."
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"workflow"
],
"description": "The type returned by the tool."
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^\\S+$",
"description": "Unique identifier for the returned record."
},
"node_id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "The node id returned by the tool."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false,
"description": "Structured trigger details returned by the tool."
}
],
"description": "How execution was initiated."
},
"usage": {
"type": "object",
"properties": {
"tokens": {
"type": "object",
"properties": {
"input": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"description": "The input returned by the tool."
},
{
"type": "null",
"description": "The input returned by the tool."
}
],
"description": "Input tokens excluding cache reads and writes."
},
"output": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"description": "The output returned by the tool."
},
{
"type": "null",
"description": "The output returned by the tool."
}
],
"description": "Output tokens including reasoning."
},
"cache": {
"type": "object",
"properties": {
"read": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"description": "The read returned by the tool."
},
{
"type": "null",
"description": "The read returned by the tool."
}
],
"description": "Tokens read from the provider cache."
},
"write": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"description": "The write returned by the tool."
},
{
"type": "null",
"description": "The write returned by the tool."
}
],
"description": "Tokens written to the provider cache."
}
},
"required": [
"read",
"write"
],
"additionalProperties": false,
"description": "Structured cache details returned by the tool."
},
"reasoning": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"description": "The reasoning returned by the tool."
},
{
"type": "null",
"description": "The reasoning returned by the tool."
}
],
"description": "Reasoning tokens included in output."
},
"total": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"description": "The total returned by the tool."
},
{
"type": "null",
"description": "The total returned by the tool."
}
],
"description": "Sum of input, output, cache-read and cache-write tokens."
}
},
"required": [
"input",
"output",
"cache",
"total"
],
"additionalProperties": false,
"description": "Input excludes cache reads/writes; output includes reasoning. Total is input + output + cache.read + cache.write. Null means unknown, never zero."
},
"cost": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"enum": [
"EUR"
],
"description": "Currency of reference usage value and provider costs."
},
"status": {
"type": "string",
"enum": [
"estimated",
"posted",
"unavailable"
],
"description": "Whether charges are estimated, posted or unavailable."
},
"provider": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d{1,8})?$",
"description": "The provider returned by the tool."
},
{
"type": "null",
"description": "The provider returned by the tool."
}
],
"description": "Recorded provider USD cost converted to EUR at the catalog reference rate; null when unknown."
},
"platform": {
"anyOf": [
{
"$ref": "#/properties/recent_runs/items/properties/usage/properties/cost/properties/provider/anyOf/0",
"description": "The platform returned by the tool."
},
{
"type": "null",
"description": "The platform returned by the tool."
}
],
"description": "Reference usage value minus estimated provider cost; null when either amount is unknown."
},
"total": {
"anyOf": [
{
"$ref": "#/properties/recent_runs/items/properties/usage/properties/cost/properties/provider/anyOf/0",
"description": "The total returned by the tool."
},
{
"type": "null",
"description": "The total returned by the tool."
}
],
"description": "Billed credits valued at EUR 0.10 per credit, independent of subscription or purchase discounts."
},
"credits": {
"anyOf": [
{
"$ref": "#/properties/recent_runs/items/properties/usage/properties/cost/properties/provider/anyOf/0",
"description": "The credits returned by the tool."
},
{
"type": "null",
"description": "The credits returned by the tool."
}
],
"description": "Billed credit units."
}
},
"required": [
"currency",
"status",
"provider",
"platform",
"total",
"credits"
],
"additionalProperties": false,
"description": "Estimated EUR usage value before tax: total values billed credits at EUR 0.10 each; provider converts recorded USD cost at the catalog reference rate; platform is total minus provider and can be negative. These amounts are visible to authorized run readers and do not represent invoice charges or actual purchase prices. Descendants sum the same per-run amounts. Credits are exact billed units. Signed decimal strings have at most eight fractional digits. Unknown provider costs leave provider and platform null. Status is independent of token capture; unavailable requires all amounts null. Posted amounts come from the billing ledger and may change through later adjustments."
},
"model_calls": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"description": "The model calls returned by the tool."
},
{
"type": "null",
"description": "The model calls returned by the tool."
}
],
"description": "Billed provider call count."
},
"capture_status": {
"type": "string",
"enum": [
"complete",
"partial",
"missing"
],
"description": "Token capture coverage."
}
},
"required": [
"tokens",
"cost",
"capture_status"
],
"additionalProperties": false,
"description": "Usage when available; unknown measurements are null."
},
"descendants": {
"type": "object",
"properties": {
"total": {
"type": "integer",
"minimum": 0,
"description": "Total descendants at every depth."
},
"active": {
"type": "integer",
"minimum": 0,
"description": "Descendants that are pending, running or waiting."
},
"has_failures": {
"type": "boolean",
"description": "Whether any descendant has failed."
},
"usage": {
"$ref": "#/properties/recent_runs/items/properties/usage",
"description": "Aggregate usage of every descendant, excluding this run."
}
},
"required": [
"total",
"active",
"has_failures"
],
"additionalProperties": false,
"description": "Counts and usage across all descendant runs, excluding this run."
},
"artifacts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"artifact_id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Immutable artifact identifier."
},
"type": {
"type": "string",
"minLength": 1,
"description": "Artifact kind."
},
"media_type": {
"type": "string",
"minLength": 1,
"description": "File media type."
},
"size_bytes": {
"type": "integer",
"minimum": 0,
"description": "File size in bytes."
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "SHA-256 digest of the file."
},
"href": {
"type": "string",
"format": "uri",
"description": "Authorized artifact URL."
}
},
"required": [
"artifact_id",
"type",
"media_type",
"size_bytes",
"sha256",
"href"
],
"additionalProperties": false,
"description": "An immutable file reference authorized through the run’s project and conversation permissions."
},
"description": "Files produced by the run."
},
"schemas": {
"type": "object",
"properties": {
"input": {
"anyOf": [
{
"type": "object",
"properties": {
"schema": {
"anyOf": [
{
"type": "boolean",
"description": "The schema returned by the tool."
},
{
"type": "object",
"additionalProperties": {
"$ref": "#/properties/recent_runs/items/properties/input",
"description": "A JSON value."
},
"description": "Structured schema details returned by the tool."
}
],
"description": "JSON Schema captured for this run; object schemas and boolean schemas are supported."
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "SHA-256 digest of the pinned schema."
}
},
"required": [
"schema",
"sha256"
],
"additionalProperties": false,
"description": "Structured input details returned by the tool."
},
{
"type": "null",
"description": "The input returned by the tool."
}
],
"description": "The input returned by the tool."
},
"output": {
"anyOf": [
{
"type": "object",
"properties": {
"schema": {
"anyOf": [
{
"type": "boolean",
"description": "The schema returned by the tool."
},
{
"type": "object",
"additionalProperties": {
"$ref": "#/properties/recent_runs/items/properties/input",
"description": "A JSON value."
},
"description": "Structured schema details returned by the tool."
}
],
"description": "JSON Schema captured for this run; object schemas and boolean schemas are supported."
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "SHA-256 digest of the pinned schema."
}
},
"required": [
"schema",
"sha256"
],
"additionalProperties": false,
"description": "Structured output details returned by the tool."
},
{
"type": "null",
"description": "The output returned by the tool."
}
],
"description": "The output returned by the tool."
}
},
"required": [
"input",
"output"
],
"additionalProperties": false,
"description": "Pinned schemas for business input and output; null means no declared schema."
},
"metadata": {
"type": "object",
"additionalProperties": {
"$ref": "#/properties/recent_runs/items/properties/input",
"description": "A JSON value."
},
"description": "Additional resource metadata."
}
},
"required": [
"id",
"status",
"project_id",
"target",
"input",
"output",
"created_at",
"updated_at"
],
"additionalProperties": false,
"description": "One execution resource returned by reads, creation, updates, and lifecycle actions. Omit irrelevant fields and empty groups. Errors appear only on failure; parent/root IDs only on child runs; timestamps appear when reached. Output is null until successful finalization."
},
"description": "List of recent runs returned by the tool."
}
},
"required": [
"summary",
"timeframe",
"series",
"statuses",
"models",
"tools",
"projects",
"recent_runs"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Structured result returned by the get_account_run_analytics tool."
}