CAIN-42 CAIN Studio

API reference · schema

CodebaseRequest

1 fields · used by 0 operations

Last reviewed 2026-11-09

Fields

FieldTypeMeaning
files requiredarray of CodebaseFile

Smallest valid example

{
  "files": [
    {
      "path": "path",
      "code": "code"
    }
  ]
}

Nested schemas

CodebaseFile

JSON Schema

Show the raw definition
{
  "properties": {
    "files": {
      "items": {
        "$ref": "#/components/schemas/CodebaseFile"
      },
      "type": "array",
      "title": "Files"
    }
  },
  "type": "object",
  "required": [
    "files"
  ],
  "title": "CodebaseRequest"
}

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