{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chatterlab-ai/json-schema/chatterlab-ai-post-agents-id-sources-request-schema.json",
  "title": "PostAgentsIdSourcesRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/chatterlab-ai-openapi-generated.yml#/components/schemas/PostAgentsIdSourcesRequest",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "One of website, text, qa, file"
    },
    "url": {
      "type": "string",
      "description": "URL for website or file"
    },
    "mode": {
      "type": "string",
      "description": "links, sitemap or single (for website)"
    },
    "excludePaths": {
      "type": "string",
      "description": "Array of paths to exclude (for website)"
    },
    "title": {
      "type": "string",
      "description": "Title for text source"
    },
    "content": {
      "type": "string",
      "description": "Content for text source"
    },
    "question": {
      "type": "string",
      "description": "Question for Q&A source"
    },
    "answer": {
      "type": "string",
      "description": "Answer for Q&A source"
    },
    "name": {
      "type": "string",
      "description": "Optional name for file source"
    }
  },
  "required": [
    "type"
  ]
}