CAIN-42 CAIN Studio

API reference · schema

EvolveRequest

3 fields · used by 0 operations

Last reviewed 2026-11-09

Fields

FieldTypeMeaning
files requiredarray of CodebaseFile
max_attacksintegerdefault 4
max_fixesintegerdefault 3

Smallest valid example

{
  "files": [
    {
      "path": "path",
      "code": "code"
    }
  ],
  "max_attacks": 4,
  "max_fixes": 3
}

Nested schemas

CodebaseFile

JSON Schema

Show the raw definition
{
  "properties": {
    "files": {
      "items": {
        "$ref": "#/components/schemas/CodebaseFile"
      },
      "type": "array",
      "title": "Files"
    },
    "max_attacks": {
      "type": "integer",
      "title": "Max Attacks",
      "default": 4
    },
    "max_fixes": {
      "type": "integer",
      "title": "Max Fixes",
      "default": 3
    }
  },
  "type": "object",
  "required": [
    "files"
  ],
  "title": "EvolveRequest"
}

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 30-day trial of the full platform. Or try the sandbox first, with no account at all.

Create a free account →  ·  Try the sandbox  ·  See the whole ecosystem