## PUT /v1/reviews/configs/{id}

Replace an API-managed code review config. Git-managed definitions must be edited in their repository.

Required permissions: write:configs.
API key: Supported.
CLI user token: Supported.
Session token: Not supported by session tokens, even with permissions.ellipsis enabled.
Higher permission levels include lower levels: read < write < delete.
Grant match patterns can further restrict access to individual resources.

### Request

```text
{
  "config": {
    "budget": {
      "session": float
    },
    "ellipsis": {
      "description": str,
      "enabled": bool,
      "kind": "code_review",
      "metadata": {
        "annotations": {
          "[str]": str
        },
        "labels": [
          str
        ]
      },
      "name": str,
      "version": str
    },
    "output": {
      "comments": {
        "max_per_review": int,
        "max_per_reviewer": int
      },
      "on_fail": str,
      "on_pass": str,
      "summary": bool
    },
    "pull_requests": {
      "base": [
        str
      ],
      "draft": bool,
      "for": {
        "bots": { # bool | list[str]
          "exclude": [
            str
          ],
          "include": [ # bool
            str
          ]
        },
        "teams": [
          str
        ],
        "users": { # bool | list[str]
          "exclude": [
            str
          ],
          "include": [ # bool
            str
          ]
        }
      },
      "head": [
        str
      ],
      "labels": [
        str
      ],
      "paths": [
        str
      ],
      "repositories": { # list[str]
        "exclude": [
          str
        ],
        "include": [
          str
        ]
      }
    },
    "reviewers": [
      {
        "budget": {
          "session": float
        },
        "claude_code": {
          "effort": str,
          "fallback_model": str,
          "max_turns": int,
          "model": str,
          "prompt": { # str | null
            "builtin": "find_bugs"
          },
          "settings": {
            "path": str,
            "repository": {
              "name": str,
              "owner": str,
              "ref": str
            }
          }
        },
        "codex": {
          "effort": str,
          "model": str,
          "prompt": { # str | null
            "builtin": "find_bugs"
          }
        },
        "comments": {
          "max": int
        },
        "environment": { # str
          "compute": {
            "cpu": int,
            "idle": str,
            "memory": { # str | null
              "gb": int,
              "mb": int
            },
            "timeout": str
          },
          "hooks": {
            "after_checkout": { # str | null
              "run": str
            },
            "before_start": { # str | null
              "run": str
            },
            "build_base": { # str | null
              "inputs": [
                str
              ],
              "run": str
            },
            "post_clone": str,
            "post_start": str,
            "validate": { # str | null
              "run": str
            }
          },
          "mcp": [ # list[str | McpServerRef | McpRemoteServer |
          # McpCommandServer]
            {
              "args": [
                str
              ],
              "command": str,
              "env": {
                "[str]": str
              },
              "name": str
            }
          ],
          "repositories": [
            {
              "name": str,
              "owner": str,
              "ref": str
            }
          ],
          "variables": [
            {
              "name": str,
              "value": str
            }
          ]
        },
        "gemini": {
          "model": str,
          "prompt": { # str | null
            "builtin": "find_bugs"
          }
        },
        "mcp": [ # list[str | McpServerRef | McpRemoteServer | McpCommandServer]
          {
            "args": [
              str
            ],
            "command": str,
            "env": {
              "[str]": str
            },
            "name": str
          }
        ],
        "name": str,
        "paths": [
          str
        ],
        "permissions": {
          "ellipsis": [ # str | null | list[str | EllipsisGrant]
            {
              "allow": [ # str
                str
              ]
            }
          ],
          "github": [ # str | null | list[str | GithubGrant]
            {
              "allow": [ # str
                str
              ],
              "base": str,
              "branch": str,
              "issue": [ # int | null
                int
              ],
              "limit": int,
              "pull_request": [ # int | null
                int
              ],
              "repository": [ # str | null
                str
              ]
            }
          ]
        },
        "skills": [
          {
            "path": str,
            "repository": {
              "name": str,
              "owner": str,
              "ref": str
            }
          }
        ]
      }
    ]
  }
}
```

### Response

```text
{
  "config": {
    "config": {
      "budget": {
        "session": float
      },
      "ellipsis": {
        "description": str,
        "enabled": bool,
        "kind": "code_review",
        "metadata": {
          "annotations": {
            "[str]": str
          },
          "labels": [
            str
          ]
        },
        "name": str,
        "version": str
      },
      "output": {
        "comments": {
          "max_per_review": int,
          "max_per_reviewer": int
        },
        "on_fail": str,
        "on_pass": str,
        "summary": bool
      },
      "pull_requests": {
        "base": [
          str
        ],
        "draft": bool,
        "for": {
          "bots": { # bool | list[str]
            "exclude": [
              str
            ],
            "include": [ # bool
              str
            ]
          },
          "teams": [
            str
          ],
          "users": { # bool | list[str]
            "exclude": [
              str
            ],
            "include": [ # bool
              str
            ]
          }
        },
        "head": [
          str
        ],
        "labels": [
          str
        ],
        "paths": [
          str
        ],
        "repositories": { # list[str]
          "exclude": [
            str
          ],
          "include": [
            str
          ]
        }
      },
      "reviewers": [
        {
          "budget": {
            "session": float
          },
          "claude_code": {
            "effort": str,
            "fallback_model": str,
            "max_turns": int,
            "model": str,
            "prompt": { # str | null
              "builtin": "find_bugs"
            },
            "settings": {
              "path": str,
              "repository": {
                "name": str,
                "owner": str,
                "ref": str
              }
            }
          },
          "codex": {
            "effort": str,
            "model": str,
            "prompt": { # str | null
              "builtin": "find_bugs"
            }
          },
          "comments": {
            "max": int
          },
          "environment": { # str
            "compute": {
              "cpu": int,
              "idle": str,
              "memory": { # str | null
                "gb": int,
                "mb": int
              },
              "timeout": str
            },
            "hooks": {
              "after_checkout": { # str | null
                "run": str
              },
              "before_start": { # str | null
                "run": str
              },
              "build_base": { # str | null
                "inputs": [
                  str
                ],
                "run": str
              },
              "post_clone": str,
              "post_start": str,
              "validate": { # str | null
                "run": str
              }
            },
            "mcp": [ # list[str | McpServerRef | McpRemoteServer |
            # McpCommandServer]
              {
                "args": [
                  str
                ],
                "command": str,
                "env": {
                  "[str]": str
                },
                "name": str
              }
            ],
            "repositories": [
              {
                "name": str,
                "owner": str,
                "ref": str
              }
            ],
            "variables": [
              {
                "name": str,
                "value": str
              }
            ]
          },
          "gemini": {
            "model": str,
            "prompt": { # str | null
              "builtin": "find_bugs"
            }
          },
          "mcp": [ # list[str | McpServerRef | McpRemoteServer |
          # McpCommandServer]
            {
              "args": [
                str
              ],
              "command": str,
              "env": {
                "[str]": str
              },
              "name": str
            }
          ],
          "name": str,
          "paths": [
            str
          ],
          "permissions": {
            "ellipsis": [ # str | null | list[str | EllipsisGrant]
              {
                "allow": [ # str
                  str
                ]
              }
            ],
            "github": [ # str | null | list[str | GithubGrant]
              {
                "allow": [ # str
                  str
                ],
                "base": str,
                "branch": str,
                "issue": [ # int | null
                  int
                ],
                "limit": int,
                "pull_request": [ # int | null
                  int
                ],
                "repository": [ # str | null
                  str
                ]
              }
            ]
          },
          "skills": [
            {
              "path": str,
              "repository": {
                "name": str,
                "owner": str,
                "ref": str
              }
            }
          ]
        }
      ]
    },
    "created_at": str,
    "edited_by": {
      "avatar_url": str,
      "id": int,
      "login": str,
      "name": str,
      "type": str
    },
    "id": str,
    "last_sync_error": str,
    "last_synced_commit_sha": str,
    "managed_by": str,
    "name": str,
    "pending_pull_request_url": str,
    "raw_yaml": str,
    "sha": str,
    "source_details": {
      "branch": str,
      "path": str,
      "repo_id": int
    },
    "updated_at": str
  }
}
```

### Python

```python
import os

from ellipsis import (
    ClaudeCodeConfig,
    CodeReviewConfig,
    CodeReviewIdentity,
    Ellipsis,
    Reviewer,
)

client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])

result = client.reviews.configs.update(
    "...",
    CodeReviewConfig(
        ellipsis=CodeReviewIdentity(name="code-review"),
        reviewers=[
            Reviewer(
                name="bugs",
                claude_code=ClaudeCodeConfig(
                    model="claude-opus-5-5",
                    prompt="Find bugs in this pull request.",
                ),
            ),
        ],
    ),
)
print(result)
```

### TypeScript

```typescript
import { Ellipsis } from '@ellipsis-dev/sdk';

const client = new Ellipsis({
  apiKey: process.env.ELLIPSIS_API_TOKEN!,
});

const request: Parameters<typeof client.reviews.configs.update>[1] = {
  ellipsis: { kind: 'code_review', name: 'code-review' },
  reviewers: [
    {
      name: 'bugs',
      claude_code: {
        model: 'claude-opus-5-5',
        prompt: 'Find bugs in this pull request.',
      },
    },
  ],
};

const result = await client.reviews.configs.update('...', request);
console.log(result);
```

### cURL

```bash
curl -X PUT "https://api.ellipsis.dev/v1/reviews/configs/{id}" \
  -H "Authorization: Bearer $ELLIPSIS_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "config": {
    "ellipsis": {
      "kind": "code_review",
      "name": "code-review"
    },
    "reviewers": [
      {
        "name": "bugs",
        "claude_code": {
          "model": "claude-opus-5-5",
          "prompt": "Find bugs in this pull request."
        }
      }
    ]
  }
}'
```

### Request schema

```json
{
  "properties": {
    "config": {
      "additionalProperties": false,
      "properties": {
        "budget": {
          "additionalProperties": false,
          "properties": {
            "session": {
              "anyOf": [
                {
                  "exclusiveMinimum": 0,
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "type": "object"
        },
        "ellipsis": {
          "additionalProperties": false,
          "properties": {
            "description": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "enabled": {
              "type": "boolean"
            },
            "kind": {
              "const": "code_review",
              "type": "string"
            },
            "metadata": {
              "additionalProperties": false,
              "properties": {
                "annotations": {
                  "items": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "labels": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            },
            "name": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "version": {
              "type": "string"
            }
          },
          "required": [
            "kind"
          ],
          "type": "object"
        },
        "output": {
          "additionalProperties": false,
          "properties": {
            "comments": {
              "additionalProperties": false,
              "properties": {
                "max_per_review": {
                  "minimum": 1,
                  "type": "integer"
                },
                "max_per_reviewer": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "on_fail": {
              "enum": [
                "comment",
                "request_changes"
              ],
              "type": "string"
            },
            "on_pass": {
              "enum": [
                "silent",
                "comment",
                "approve"
              ],
              "type": "string"
            },
            "summary": {
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "pull_requests": {
          "additionalProperties": false,
          "properties": {
            "base": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "draft": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "for": {
              "additionalProperties": false,
              "properties": {
                "bots": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "exclude": {
                          "type": "array"
                        },
                        "include": {
                          "type": "object"
                        }
                      },
                      "type": "object"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  ]
                },
                "teams": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "users": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "exclude": {
                          "type": "array"
                        },
                        "include": {
                          "type": "object"
                        }
                      },
                      "type": "object"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  ]
                }
              },
              "type": "object"
            },
            "head": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "labels": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "paths": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "repositories": {
              "anyOf": [
                {
                  "additionalProperties": false,
                  "properties": {
                    "exclude": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "include": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            }
          },
          "type": "object"
        },
        "reviewers": {
          "items": {
            "additionalProperties": false,
            "allOf": [
              {
                "oneOf": [
                  {
                    "properties": {
                      "claude_code": {
                        "type": "object"
                      },
                      "codex": {
                        "type": "null"
                      },
                      "gemini": {
                        "type": "null"
                      }
                    },
                    "required": [
                      "claude_code"
                    ]
                  },
                  {
                    "properties": {
                      "claude_code": {
                        "type": "null"
                      },
                      "codex": {
                        "type": "object"
                      },
                      "gemini": {
                        "type": "null"
                      }
                    },
                    "required": [
                      "codex"
                    ]
                  },
                  {
                    "properties": {
                      "claude_code": {
                        "type": "null"
                      },
                      "codex": {
                        "type": "null"
                      },
                      "gemini": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "gemini"
                    ]
                  }
                ]
              }
            ],
            "properties": {
              "budget": {
                "additionalProperties": false,
                "properties": {
                  "session": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "type": "object"
              },
              "claude_code": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "effort": {
                        "type": "object"
                      },
                      "fallback_model": {
                        "type": "object"
                      },
                      "max_turns": {
                        "type": "object"
                      },
                      "model": {
                        "type": "string"
                      },
                      "prompt": {
                        "type": "object"
                      },
                      "settings": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "model"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "codex": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "effort": {
                        "type": "object"
                      },
                      "model": {
                        "type": "string"
                      },
                      "prompt": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "model"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "comments": {
                "additionalProperties": false,
                "properties": {
                  "max": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "type": "object"
              },
              "environment": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "compute": {
                        "type": "object"
                      },
                      "hooks": {
                        "type": "object"
                      },
                      "mcp": {
                        "type": "array"
                      },
                      "repositories": {
                        "type": "array"
                      },
                      "variables": {
                        "type": "array"
                      }
                    },
                    "type": "object"
                  }
                ]
              },
              "gemini": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "model": {
                        "type": "string"
                      },
                      "prompt": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "model"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "mcp": {
                "items": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "object"
                    },
                    {
                      "type": "object"
                    },
                    {
                      "type": "object"
                    }
                  ]
                },
                "type": "array"
              },
              "name": {
                "type": "string"
              },
              "paths": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "permissions": {
                "additionalProperties": false,
                "properties": {
                  "ellipsis": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "github": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "type": "object"
              },
              "skills": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "repository": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "path"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "ellipsis",
        "reviewers"
      ],
      "type": "object"
    }
  },
  "required": [
    "config"
  ],
  "type": "object"
}
```

### Response schema

```json
{
  "properties": {
    "config": {
      "properties": {
        "config": {
          "additionalProperties": false,
          "properties": {
            "budget": {
              "additionalProperties": false,
              "properties": {
                "session": {
                  "anyOf": [
                    {
                      "exclusiveMinimum": 0,
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "type": "object"
            },
            "ellipsis": {
              "additionalProperties": false,
              "properties": {
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "enabled": {
                  "default": true,
                  "type": "boolean"
                },
                "kind": {
                  "const": "code_review",
                  "type": "string"
                },
                "metadata": {
                  "additionalProperties": false,
                  "properties": {
                    "annotations": {
                      "items": {
                        "type": "string"
                      },
                      "default": {},
                      "type": "object"
                    },
                    "labels": {
                      "default": [],
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "annotations",
                    "labels"
                  ],
                  "type": "object",
                  "x-ellipsis-returned-form-of": "ConfigMetadata"
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "version": {
                  "default": "v1",
                  "type": "string"
                }
              },
              "required": [
                "kind"
              ],
              "type": "object",
              "x-ellipsis-returned-form-of": "CodeReviewIdentity"
            },
            "output": {
              "additionalProperties": false,
              "properties": {
                "comments": {
                  "additionalProperties": false,
                  "properties": {
                    "max_per_review": {
                      "default": 64,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "max_per_reviewer": {
                      "default": 64,
                      "minimum": 1,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "max_per_review",
                    "max_per_reviewer"
                  ],
                  "type": "object",
                  "x-ellipsis-returned-form-of": "ReviewComments"
                },
                "on_fail": {
                  "enum": [
                    "comment",
                    "request_changes"
                  ],
                  "type": "string"
                },
                "on_pass": {
                  "enum": [
                    "silent",
                    "comment",
                    "approve"
                  ],
                  "type": "string"
                },
                "summary": {
                  "default": false,
                  "type": "boolean"
                }
              },
              "required": [
                "on_pass",
                "on_fail",
                "summary",
                "comments"
              ],
              "type": "object",
              "x-ellipsis-returned-form-of": "ReviewOutputConfig"
            },
            "pull_requests": {
              "additionalProperties": false,
              "properties": {
                "base": {
                  "default": [],
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "draft": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "for": {
                  "additionalProperties": false,
                  "properties": {
                    "bots": {
                      "anyOf": [
                        {
                          "type": "object"
                        },
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "array"
                        }
                      ],
                      "x-ellipsis-returned-form-of": "GithubAccountFilter"
                    },
                    "teams": {
                      "default": [],
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "users": {
                      "anyOf": [
                        {
                          "type": "object"
                        },
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "array"
                        }
                      ],
                      "x-ellipsis-returned-form-of": "GithubAccountFilter"
                    }
                  },
                  "required": [
                    "bots",
                    "teams",
                    "users"
                  ],
                  "type": "object",
                  "x-ellipsis-returned-form-of": "GithubAccountSelector"
                },
                "head": {
                  "default": [],
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "labels": {
                  "default": [],
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "paths": {
                  "default": [],
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "repositories": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "exclude": {
                          "type": "array"
                        },
                        "include": {
                          "type": "array"
                        }
                      },
                      "required": [
                        "exclude",
                        "include"
                      ],
                      "type": "object"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  ],
                  "x-ellipsis-returned-form-of": "RepositoryFilter"
                }
              },
              "type": "object",
              "x-ellipsis-returned-form-of": "CodeReviewPullRequests"
            },
            "reviewers": {
              "items": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "oneOf": [
                      {
                        "type": "object"
                      },
                      {
                        "type": "object"
                      },
                      {
                        "type": "object"
                      }
                    ]
                  }
                ],
                "properties": {
                  "budget": {
                    "additionalProperties": false,
                    "properties": {
                      "session": {
                        "type": "object"
                      }
                    },
                    "type": "object"
                  },
                  "claude_code": {
                    "anyOf": [
                      {
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "codex": {
                    "anyOf": [
                      {
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "comments": {
                    "additionalProperties": false,
                    "properties": {
                      "max": {
                        "type": "object"
                      }
                    },
                    "type": "object"
                  },
                  "environment": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "object"
                      }
                    ],
                    "default": {
                      "compute": {},
                      "hooks": {},
                      "mcp": [],
                      "repositories": [],
                      "variables": []
                    }
                  },
                  "gemini": {
                    "anyOf": [
                      {
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "mcp": {
                    "default": [],
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "name": {
                    "type": "string"
                  },
                  "paths": {
                    "default": [],
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "permissions": {
                    "additionalProperties": false,
                    "properties": {
                      "ellipsis": {
                        "type": "object"
                      },
                      "github": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "ellipsis",
                      "github"
                    ],
                    "type": "object",
                    "x-ellipsis-returned-form-of": "PermissionsConfig"
                  },
                  "skills": {
                    "default": [],
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "name"
                ],
                "type": "object",
                "x-ellipsis-returned-form-of": "Reviewer"
              },
              "type": "array"
            }
          },
          "required": [
            "ellipsis",
            "reviewers"
          ],
          "type": "object",
          "x-ellipsis-returned-form-of": "CodeReviewConfig"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "edited_by": {
          "anyOf": [
            {
              "properties": {
                "avatar_url": {
                  "type": "string"
                },
                "id": {
                  "type": "integer"
                },
                "login": {
                  "type": "string"
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "enum": [
                    "User",
                    "Organization",
                    "Bot",
                    "Mannequin"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "avatar_url",
                "id",
                "login",
                "name",
                "type"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "id": {
          "type": "string"
        },
        "last_sync_error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "last_synced_commit_sha": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "managed_by": {
          "enum": [
            "github",
            "api",
            "ellipsis"
          ],
          "type": "string"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "pending_pull_request_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "raw_yaml": {
          "type": "string"
        },
        "sha": {
          "type": "string"
        },
        "source_details": {
          "anyOf": [
            {
              "properties": {
                "branch": {
                  "type": "string"
                },
                "path": {
                  "type": "string"
                },
                "repo_id": {
                  "type": "integer"
                }
              },
              "required": [
                "repo_id",
                "path",
                "branch"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "updated_at": {
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "id",
        "sha",
        "created_at",
        "updated_at",
        "config",
        "raw_yaml",
        "managed_by"
      ],
      "type": "object"
    }
  },
  "required": [
    "config"
  ],
  "type": "object"
}
```
