Restack · Schema

Agent Run

Represents the status and result of a Restack AI agent execution run.

AI AgentsWorkflowsOrchestrationEnterprisePython

Properties

Name Type Description
runId string Unique identifier for the agent run.
agentName string The name of the agent that was executed.
status string Current execution status of the agent run.
input object Input parameters provided when scheduling the agent.
output object Output returned by the agent upon completion.
error string Error message if the agent run failed.
createdAt string ISO 8601 timestamp when the agent run was created.
completedAt string ISO 8601 timestamp when the agent run completed.
View JSON Schema on GitHub

JSON Schema

restack-agent-run-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/restack/refs/heads/main/json-schema/restack-agent-run-schema.json",
  "title": "Agent Run",
  "description": "Represents the status and result of a Restack AI agent execution run.",
  "type": "object",
  "properties": {
    "runId": {
      "type": "string",
      "description": "Unique identifier for the agent run.",
      "pattern": "^run_[a-zA-Z0-9]+$"
    },
    "agentName": {
      "type": "string",
      "description": "The name of the agent that was executed."
    },
    "status": {
      "type": "string",
      "description": "Current execution status of the agent run.",
      "enum": ["queued", "running", "completed", "failed"]
    },
    "input": {
      "type": "object",
      "description": "Input parameters provided when scheduling the agent.",
      "additionalProperties": true
    },
    "output": {
      "type": "object",
      "description": "Output returned by the agent upon completion.",
      "additionalProperties": true
    },
    "error": {
      "type": "string",
      "description": "Error message if the agent run failed."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the agent run was created."
    },
    "completedAt": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the agent run completed."
    }
  },
  "required": ["runId", "status"]
}

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/restack-agent-run"
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 email required.

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