Roark · Schema

AutoimproveJob

One Autoimprove job: Roark autonomously improving one agent toward one objective metric. Roark only ever changes the staging agent (a shadow clone by default); production changes exactly once, when verified changes are promoted.

CompanyVoice AITestingEvaluationBenchmarking

Properties

Name Type Description
id string
organizationId string
projectId string
agentId string
stagingAgentId string
stagingKind string
customerIntegrationId stringnull
objectiveMetricDefinitionId string
objectiveLabel string
targetValue number
baselineValue numbernull
currentValue numbernull
trigger string
issueId stringnull
objectiveId stringnull
validationRunPlanId stringnull
status string
workingMemory stringnull
finalReport stringnull
maxIterations integer
maxSimCalls integer
iterationCount integer
simCallsUsed integer
initiatedByUserId stringnull
concludedAt stringnull When the job reached a terminal status (ISO 8601).
createdAt string When the job was created (ISO 8601).
updatedAt string When the job last changed (ISO 8601).
View JSON Schema on GitHub

JSON Schema

roark-autoimprove-job-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/roark/json-schema/roark-autoimprove-job-schema.json",
  "title": "AutoimproveJob",
  "description": "One Autoimprove job: Roark autonomously improving one agent toward one objective metric. Roark only ever changes the staging agent (a shadow clone by default); production changes exactly once, when verified changes are promoted.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/roark-autoimprove-api-openapi.yml#/components/schemas/AutoimproveJob",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "organizationId": {
      "type": "string",
      "format": "uuid"
    },
    "projectId": {
      "type": "string",
      "format": "uuid"
    },
    "agentId": {
      "type": "string",
      "format": "uuid"
    },
    "stagingAgentId": {
      "type": "string",
      "format": "uuid"
    },
    "stagingKind": {
      "type": "string",
      "enum": [
        "DESIGNATED",
        "SHADOW",
        "CHANNEL"
      ]
    },
    "customerIntegrationId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "objectiveMetricDefinitionId": {
      "type": "string",
      "format": "uuid"
    },
    "objectiveLabel": {
      "type": "string"
    },
    "targetValue": {
      "type": "number"
    },
    "baselineValue": {
      "type": [
        "number",
        "null"
      ]
    },
    "currentValue": {
      "type": [
        "number",
        "null"
      ]
    },
    "trigger": {
      "type": "string",
      "enum": [
        "ISSUE",
        "RUN_THRESHOLD_FAILED",
        "USER",
        "DEGRADATION"
      ]
    },
    "issueId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "objectiveId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "validationRunPlanId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "status": {
      "type": "string",
      "enum": [
        "RUNNING",
        "NEEDS_INPUT",
        "PAUSED",
        "AWAITING_PROMOTE",
        "PROMOTED",
        "NO_FIX",
        "CANCELLED",
        "FAILED"
      ]
    },
    "workingMemory": {
      "type": [
        "string",
        "null"
      ]
    },
    "finalReport": {
      "type": [
        "string",
        "null"
      ]
    },
    "maxIterations": {
      "type": "integer"
    },
    "maxSimCalls": {
      "type": "integer"
    },
    "iterationCount": {
      "type": "integer"
    },
    "simCallsUsed": {
      "type": "integer"
    },
    "initiatedByUserId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "concludedAt": {
      "type": [
        "string",
        "null"
      ],
      "description": "When the job reached a terminal status (ISO 8601)."
    },
    "createdAt": {
      "type": "string",
      "description": "When the job was created (ISO 8601)."
    },
    "updatedAt": {
      "type": "string",
      "description": "When the job last changed (ISO 8601)."
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "agentId",
    "stagingAgentId",
    "stagingKind",
    "customerIntegrationId",
    "objectiveMetricDefinitionId",
    "objectiveLabel",
    "targetValue",
    "baselineValue",
    "currentValue",
    "trigger",
    "issueId",
    "objectiveId",
    "validationRunPlanId",
    "status",
    "workingMemory",
    "finalReport",
    "maxIterations",
    "maxSimCalls",
    "iterationCount",
    "simCallsUsed",
    "initiatedByUserId",
    "concludedAt",
    "createdAt",
    "updatedAt"
  ]
}

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/roark-autoimprove-job"
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.