diff --git a/package-lock.json b/package-lock.json index ee700b4..a89c56a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,8 @@ "license": "ISC", "dependencies": { "@iarna/toml": "^2.2.5", + "axios": "^1.10.0", + "axis": "^1.0.0", "toml": "^3.0.0" }, "devDependencies": { @@ -87,6 +89,32 @@ "dev": true, "license": "Python-2.0" }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" + }, + "node_modules/axios": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.10.0.tgz", + "integrity": "sha512-/1xYAC4MP/HEG+3duIhFr4ZQXR4sQXOIe+o6sdqzeykGLx6Upp/1p8MHqhINOvGeP7xyNHe7tsiJByc4SSVUxw==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/axis": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/axis/-/axis-1.0.0.tgz", + "integrity": "sha512-2E3nE/hIsUAGoijbEa2FVoxgJBwn/pnbEVn94JRhagke9hPK8OIjD4raE44TRfjZgx3olSvCeXVCNnUn6/oang==", + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -104,6 +132,54 @@ "balanced-match": "^1.0.0" } }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/entities": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", @@ -117,6 +193,184 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/follow-redirects": { + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "license": "MIT", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/form-data": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.3.tgz", + "integrity": "sha512-qsITQPfmvMOSAdeyZ+12I1c+CKSstAFAwu+97zrnWAbIr5u8wfsExUzCesVLC8NgHuRUqNN4Zy6UPWUTRGslcA==", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/linkify-it": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz", @@ -152,6 +406,15 @@ "markdown-it": "bin/markdown-it.mjs" } }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/mdurl": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", @@ -159,6 +422,27 @@ "dev": true, "license": "MIT" }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, "node_modules/minimatch": { "version": "9.0.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", @@ -175,6 +459,12 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "license": "MIT" + }, "node_modules/punycode.js": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", diff --git a/package.json b/package.json index 6d49061..a2d7eb1 100644 --- a/package.json +++ b/package.json @@ -15,13 +15,15 @@ "release:patch:all": "npm run release:python patch && npm run release:ts patch", "release:minor:all": "npm run release:python minor && npm run release:ts minor", "release:major:all": "npm run release:python major && npm run release:ts major", - "download-spec": "curl -fs -o ./vectorize_api.json https://platform.vectorize.io/api/openapi", - "download-spec:dev": "curl -fs -o ./vectorize_api.json http://localhost:3000/api/openapi" + "download-spec": "curl -fs -o ./vectorize_api.json https://platform.vectorize.io/api/openapi", + "download-spec:dev": "curl -fs -o ./vectorize_api.json http://localhost:3000/api/openapi" }, "author": "", "license": "ISC", "dependencies": { "@iarna/toml": "^2.2.5", + "axios": "^1.10.0", + "axis": "^1.0.0", "toml": "^3.0.0" }, "devDependencies": { diff --git a/src/python/vectorize_client/models/advanced_query.py b/src/python/vectorize_client/models/advanced_query.py index 023f3d0..319191e 100644 --- a/src/python/vectorize_client/models/advanced_query.py +++ b/src/python/vectorize_client/models/advanced_query.py @@ -31,6 +31,7 @@ class AdvancedQuery(BaseModel): match_type: Optional[StrictStr] = Field(default=None, alias="match-type") text_boost: Optional[Union[StrictFloat, StrictInt]] = Field(default=1.0, alias="text-boost") filters: Optional[Dict[str, Any]] = None + additional_properties: Dict[str, Any] = {} __properties: ClassVar[List[str]] = ["mode", "text-fields", "match-type", "text-boost", "filters"] @field_validator('mode') @@ -83,8 +84,10 @@ def to_dict(self) -> Dict[str, Any]: * `None` is only added to the output dict for nullable fields that were set at model initialization. Other fields with value `None` are ignored. + * Fields in `self.additional_properties` are added to the output dict. """ excluded_fields: Set[str] = set([ + "additional_properties", ]) _dict = self.model_dump( @@ -92,6 +95,11 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # puts key-value pairs in additional_properties in the top level + if self.additional_properties is not None: + for _key, _value in self.additional_properties.items(): + _dict[_key] = _value + return _dict @classmethod @@ -110,6 +118,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "text-boost": obj.get("text-boost") if obj.get("text-boost") is not None else 1.0, "filters": obj.get("filters") }) + # store additional fields in additional_properties + for _key in obj.keys(): + if _key not in cls.__properties: + _obj.additional_properties[_key] = obj.get(_key) + return _obj diff --git a/src/ts/src/models/AdvancedQuery.ts b/src/ts/src/models/AdvancedQuery.ts index 4a1372c..86d975e 100644 --- a/src/ts/src/models/AdvancedQuery.ts +++ b/src/ts/src/models/AdvancedQuery.ts @@ -19,6 +19,7 @@ import { mapValues } from '../runtime'; * @interface AdvancedQuery */ export interface AdvancedQuery { + [key: string]: any | any; /** * * @type {string} @@ -90,6 +91,7 @@ export function AdvancedQueryFromJSONTyped(json: any, ignoreDiscriminator: boole } return { + ...json, 'mode': json['mode'] == null ? undefined : json['mode'], 'textFields': json['text-fields'] == null ? undefined : json['text-fields'], 'matchType': json['match-type'] == null ? undefined : json['match-type'], @@ -109,6 +111,7 @@ export function AdvancedQueryToJSONTyped(value?: AdvancedQuery | null, ignoreDis return { + ...value, 'mode': value['mode'], 'text-fields': value['textFields'], 'match-type': value['matchType'], diff --git a/vectorize_api.json b/vectorize_api.json index e6e6ac9..ec86736 100644 --- a/vectorize_api.json +++ b/vectorize_api.json @@ -1 +1 @@ -{"openapi":"3.0.0","info":{"title":"Vectorize API (Beta)","version":"0.0.1","description":"API for Vectorize services","contact":{"name":"Vectorize","url":"https://vectorize.io"}},"servers":[{"url":"https://api.vectorize.io/v1","description":"Vectorize API"}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"CreatePipelineResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}},"required":["message","data"]},"AdvancedQuery":{"type":"object","properties":{"mode":{"type":"string","enum":["text","vector","hybrid"], "default":"vector"},"text-fields":{"type":"array","items":{"type":"string"}},"match-type":{"type":"string","enum":["match","match_phrase","multi_match"]},"text-boost": {"type": "number", "format": "float", "default": 1.0},"filters": {"type": "object", "additionalProperties": true}},"additionalProperties": false},"SourceConnectorType":{"type":"string","enum":["AWS_S3","AZURE_BLOB","CONFLUENCE","DISCORD","DROPBOX","GOOGLE_DRIVE_OAUTH","GOOGLE_DRIVE","GOOGLE_DRIVE_OAUTH_MULTI","GOOGLE_DRIVE_OAUTH_MULTI_CUSTOM","FIRECRAWL","GCS","INTERCOM","ONE_DRIVE","SHAREPOINT","WEB_CRAWLER","FILE_UPLOAD","SALESFORCE","ZENDESK"]},"SourceConnectorSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"$ref":"#/components/schemas/SourceConnectorType"},"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["id","type"],"additionalProperties":false},"DestinationConnectorType":{"type":"string","enum":["CAPELLA","DATASTAX","ELASTIC","PINECONE","SINGLESTORE","MILVUS","POSTGRESQL","QDRANT","SUPABASE","WEAVIATE","AZUREAISEARCH","VECTORIZE","CHROMA","MONGODB"]},"DestinationConnectorSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"$ref":"#/components/schemas/DestinationConnectorType"},"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["id","type"],"additionalProperties":false},"AIPlatformType":{"type":"string","enum":["BEDROCK","VERTEX","OPENAI","VOYAGE","VECTORIZE"]},"AIPlatformConfigSchema":{"type":"object","properties":{"embeddingModel":{"type":"string","enum":["VECTORIZE_OPEN_AI_TEXT_EMBEDDING_2","VECTORIZE_OPEN_AI_TEXT_EMBEDDING_3_LARGE","VECTORIZE_OPEN_AI_TEXT_EMBEDDING_3_SMALL","VECTORIZE_VOYAGE_AI_2","VECTORIZE_VOYAGE_AI_3","VECTORIZE_VOYAGE_AI_3_LITE","VECTORIZE_VOYAGE_AI_3_LARGE","VECTORIZE_VOYAGE_AI_FINANCE_2","VECTORIZE_VOYAGE_AI_MULTILINGUAL_2","VECTORIZE_VOYAGE_AI_LAW_2","VECTORIZE_VOYAGE_AI_CODE_2","VECTORIZE_TITAN_TEXT_EMBEDDING_2","VECTORIZE_TITAN_TEXT_EMBEDDING_1","OPEN_AI_TEXT_EMBEDDING_2","OPEN_AI_TEXT_EMBEDDING_3_SMALL","OPEN_AI_TEXT_EMBEDDING_3_LARGE","VOYAGE_AI_2","VOYAGE_AI_3","VOYAGE_AI_3_LITE","VOYAGE_AI_3_LARGE","VOYAGE_AI_FINANCE_2","VOYAGE_AI_MULTILINGUAL_2","VOYAGE_AI_LAW_2","VOYAGE_AI_CODE_2","TITAN_TEXT_EMBEDDING_1","TITAN_TEXT_EMBEDDING_2","VERTEX_TEXT_EMBEDDING_4","VERTEX_TEXT_EMBEDDING_GECKO_3","VERTEX_GECKO_MULTILINGUAL_1","VERTEX_MULTILINGUAL_EMBEDDING_2"]},"chunkingStrategy":{"type":"string","enum":["FIXED","SENTENCE","PARAGRAPH","MARKDOWN"]},"chunkSize":{"type":"integer","minimum":1},"chunkOverlap":{"type":"integer","minimum":0},"dimensions":{"type":"integer","minimum":1},"extractionStrategy":{"type":"string","enum":["FAST","IRIS","MIXED"]}},"additionalProperties":false},"AIPlatformSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"$ref":"#/components/schemas/AIPlatformType"},"config":{"$ref":"#/components/schemas/AIPlatformConfigSchema"}},"required":["id","type","config"],"additionalProperties":false},"ScheduleSchemaType":{"type":"string","enum":["manual","realtime","custom"]},"ScheduleSchema":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ScheduleSchemaType"}},"required":["type"]},"PipelineConfigurationSchema":{"type":"object","properties":{"sourceConnectors":{"type":"array","items":{"$ref":"#/components/schemas/SourceConnectorSchema"},"minItems":1},"destinationConnector":{"$ref":"#/components/schemas/DestinationConnectorSchema"},"aiPlatform":{"$ref":"#/components/schemas/AIPlatformSchema"},"pipelineName":{"type":"string","minLength":1},"schedule":{"$ref":"#/components/schemas/ScheduleSchema"}},"required":["sourceConnectors","destinationConnector","aiPlatform","pipelineName","schedule"],"additionalProperties":false},"PipelineListSummary":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"documentCount":{"type":"number"},"sourceConnectorAuthIds":{"type":"array","items":{"type":"string"}},"destinationConnectorAuthIds":{"type":"array","items":{"type":"string"}},"aiPlatformAuthIds":{"type":"array","items":{"type":"string"}},"sourceConnectorTypes":{"type":"array","items":{"type":"string"}},"destinationConnectorTypes":{"type":"array","items":{"type":"string"}},"aiPlatformTypes":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","nullable":true},"createdBy":{"type":"string"},"status":{"type":"string"},"configDoc":{"type":"object","additionalProperties":{"nullable":true}}},"required":["id","name","documentCount","sourceConnectorAuthIds","destinationConnectorAuthIds","aiPlatformAuthIds","sourceConnectorTypes","destinationConnectorTypes","aiPlatformTypes","createdAt","createdBy"]},"GetPipelinesResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PipelineListSummary"}}},"required":["message","data"]},"SourceConnector":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"configDoc":{"type":"object","additionalProperties":{"nullable":true}},"createdAt":{"type":"string","nullable":true},"createdById":{"type":"string"},"lastUpdatedById":{"type":"string"},"createdByEmail":{"type":"string"},"lastUpdatedByEmail":{"type":"string"},"errorMessage":{"type":"string"},"verificationStatus":{"type":"string"}},"required":["id","type","name"]},"DestinationConnector":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"configDoc":{"type":"object","additionalProperties":{"nullable":true}},"createdAt":{"type":"string","nullable":true},"createdById":{"type":"string"},"lastUpdatedById":{"type":"string"},"createdByEmail":{"type":"string"},"lastUpdatedByEmail":{"type":"string"},"errorMessage":{"type":"string"},"verificationStatus":{"type":"string"}},"required":["id","type","name"]},"AIPlatform":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"configDoc":{"type":"object","additionalProperties":{"nullable":true}},"createdAt":{"type":"string","nullable":true},"createdById":{"type":"string"},"lastUpdatedById":{"type":"string"},"createdByEmail":{"type":"string"},"lastUpdatedByEmail":{"type":"string"},"errorMessage":{"type":"string"},"verificationStatus":{"type":"string"}},"required":["id","type","name"]},"PipelineSummary":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"documentCount":{"type":"number"},"sourceConnectorAuthIds":{"type":"array","items":{"type":"string"}},"destinationConnectorAuthIds":{"type":"array","items":{"type":"string"}},"aiPlatformAuthIds":{"type":"array","items":{"type":"string"}},"sourceConnectorTypes":{"type":"array","items":{"type":"string"}},"destinationConnectorTypes":{"type":"array","items":{"type":"string"}},"aiPlatformTypes":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","nullable":true},"createdBy":{"type":"string"},"status":{"type":"string"},"configDoc":{"type":"object","additionalProperties":{"nullable":true}},"sourceConnectors":{"type":"array","items":{"$ref":"#/components/schemas/SourceConnector"}},"destinationConnectors":{"type":"array","items":{"$ref":"#/components/schemas/DestinationConnector"}},"aiPlatforms":{"type":"array","items":{"$ref":"#/components/schemas/AIPlatform"}}},"required":["id","name","documentCount","sourceConnectorAuthIds","destinationConnectorAuthIds","aiPlatformAuthIds","sourceConnectorTypes","destinationConnectorTypes","aiPlatformTypes","createdAt","createdBy","sourceConnectors","destinationConnectors","aiPlatforms"]},"GetPipelineResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PipelineSummary"}},"required":["message","data"]},"DeletePipelineResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"PipelineEvents":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"timestamp":{"type":"string","nullable":true},"details":{"type":"object","additionalProperties":{"nullable":true}},"summary":{"type":"object","additionalProperties":{"nullable":true}}},"required":["id","type","timestamp"]},"GetPipelineEventsResponse":{"type":"object","properties":{"message":{"type":"string"},"nextToken":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PipelineEvents"}}},"required":["message","data"]},"PipelineMetrics":{"type":"object","properties":{"timestamp":{"type":"string","nullable":true},"newObjects":{"type":"number"},"changedObjects":{"type":"number"},"deletedObjects":{"type":"number"}},"required":["timestamp","newObjects","changedObjects","deletedObjects"]},"GetPipelineMetricsResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PipelineMetrics"}}},"required":["message","data"]},"Document":{"type":"object","properties":{"relevancy":{"type":"number"},"id":{"type":"string"},"text":{"type":"string"},"chunk_id":{"type":"string"},"total_chunks":{"type":"string"},"origin":{"type":"string"},"origin_id":{"type":"string"},"similarity":{"type":"number"},"source":{"type":"string"},"unique_source":{"type":"string"},"source_display_name":{"type":"string"},"pipeline_id":{"type":"string"},"org_id":{"type":"string"}},"required":["relevancy","id","text","chunk_id","total_chunks","origin","origin_id","similarity","source","unique_source","source_display_name"],"additionalProperties":true},"RetrieveDocumentsResponse":{"type":"object","properties":{"question":{"type":"string"},"documents":{"type":"array","items":{"$ref":"#/components/schemas/Document"}},"average_relevancy":{"type":"number"},"ndcg":{"type":"number"}},"required":["question","documents","average_relevancy","ndcg"]},"RetrieveContextMessage":{"type":"object","properties":{"role":{"type":"string"},"content":{"type":"string"}},"required":["role","content"]},"RetrieveContext":{"type":"object","properties":{"messages":{"type":"array","items":{"$ref":"#/components/schemas/RetrieveContextMessage"}}},"required":["messages"]},"RetrieveDocumentsRequest":{"type":"object","properties":{"question":{"type":"string"},"numResults":{"type":"number","minimum":1},"rerank":{"type":"boolean","default":true},"metadata-filters":{"type":"array","items":{"type":"object","additionalProperties":{"nullable":true}}},"context":{"$ref":"#/components/schemas/RetrieveContext"},"advanced-query":{"$ref":"#/components/schemas/AdvancedQuery"}},"required":["question","numResults"]},"StartPipelineResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"StopPipelineResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"StartDeepResearchResponse":{"type":"object","properties":{"researchId":{"type":"string"}},"required":["researchId"]},"N8NConfig":{"type":"object","properties":{"account":{"type":"string"},"webhookPath":{"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"required":["account","webhookPath"]},"StartDeepResearchRequest":{"type":"object","properties":{"query":{"type":"string"},"webSearch":{"type":"boolean","default":false},"schema":{"type":"string"},"n8n":{"$ref":"#/components/schemas/N8NConfig"}},"required":["query"]},"DeepResearchResult":{"type":"object","properties":{"success":{"type":"boolean"},"events":{"type":"array","items":{"type":"string"}},"markdown":{"type":"string"},"error":{"type":"string"}},"required":["success"]},"GetDeepResearchResponse":{"type":"object","properties":{"ready":{"type":"boolean"},"data":{"$ref":"#/components/schemas/DeepResearchResult"}},"required":["ready"]},"CreatedSourceConnector":{"type":"object","properties":{"name":{"type":"string"},"id":{"type":"string"}},"required":["name","id"]},"CreateSourceConnectorResponse":{"type":"object","properties":{"message":{"type":"string"},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/CreatedSourceConnector"}}},"required":["message","connectors"]},"CreateSourceConnector":{"type":"object","properties":{"name":{"type":"string"},"type":{"$ref":"#/components/schemas/SourceConnectorType"},"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["name","type"]},"CreateSourceConnectorRequest":{"type":"array","items":{"$ref":"#/components/schemas/CreateSourceConnector"},"minItems":1},"UpdateSourceConnectorResponseData":{"type":"object","properties":{"updatedConnector":{"$ref":"#/components/schemas/SourceConnector"},"pipelineIds":{"type":"array","items":{"type":"string"}}},"required":["updatedConnector"]},"UpdateSourceConnectorResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UpdateSourceConnectorResponseData"}},"required":["message","data"]},"UpdateSourceConnectorRequest":{"type":"object","properties":{"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["config"]},"DeleteSourceConnectorResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"CreatedDestinationConnector":{"type":"object","properties":{"name":{"type":"string"},"id":{"type":"string"}},"required":["name","id"]},"CreateDestinationConnectorResponse":{"type":"object","properties":{"message":{"type":"string"},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/CreatedDestinationConnector"}}},"required":["message","connectors"]},"CreateDestinationConnector":{"type":"object","properties":{"name":{"type":"string"},"type":{"$ref":"#/components/schemas/DestinationConnectorType"},"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["name","type"]},"CreateDestinationConnectorRequest":{"type":"array","items":{"$ref":"#/components/schemas/CreateDestinationConnector"},"minItems":1},"UpdatedDestinationConnectorData":{"type":"object","properties":{"updatedConnector":{"$ref":"#/components/schemas/DestinationConnector"},"pipelineIds":{"type":"array","items":{"type":"string"}}},"required":["updatedConnector"]},"UpdateDestinationConnectorResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UpdatedDestinationConnectorData"}},"required":["message","data"]},"UpdateDestinationConnectorRequest":{"type":"object","properties":{"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["config"]},"DeleteDestinationConnectorResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"CreatedAIPlatformConnector":{"type":"object","properties":{"name":{"type":"string"},"id":{"type":"string"}},"required":["name","id"]},"CreateAIPlatformConnectorResponse":{"type":"object","properties":{"message":{"type":"string"},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/CreatedAIPlatformConnector"}}},"required":["message","connectors"]},"CreateAIPlatformConnector":{"type":"object","properties":{"name":{"type":"string"},"type":{"$ref":"#/components/schemas/AIPlatformType"},"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["name","type"]},"CreateAIPlatformConnectorRequest":{"type":"array","items":{"$ref":"#/components/schemas/CreateAIPlatformConnector"},"minItems":1},"UpdatedAIPlatformConnectorData":{"type":"object","properties":{"updatedConnector":{"$ref":"#/components/schemas/AIPlatform"},"pipelineIds":{"type":"array","items":{"type":"string"}}},"required":["updatedConnector"]},"UpdateAIPlatformConnectorResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UpdatedAIPlatformConnectorData"}},"required":["message","data"]},"UpdateAIPlatformConnectorRequest":{"type":"object","properties":{"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["config"]},"DeleteAIPlatformConnectorResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"UploadFile":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"size":{"type":"number"},"extension":{"type":"string"},"lastModified":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["key","name","size","lastModified","metadata"]},"GetUploadFilesResponse":{"type":"object","properties":{"message":{"type":"string"},"files":{"type":"array","items":{"$ref":"#/components/schemas/UploadFile"}}},"required":["message","files"]},"StartFileUploadToConnectorResponse":{"type":"object","properties":{"uploadUrl":{"type":"string"}},"required":["uploadUrl"]},"StartFileUploadToConnectorRequest":{"type":"object","properties":{"name":{"type":"string"},"contentType":{"type":"string"},"metadata":{"type":"string"}},"required":["name","contentType"]},"DeleteFileResponse":{"type":"object","properties":{"message":{"type":"string"},"fileName":{"type":"string"}},"required":["message","fileName"]},"StartExtractionResponse":{"type":"object","properties":{"message":{"type":"string"},"extractionId":{"type":"string"}},"required":["message","extractionId"]},"ExtractionType":{"type":"string","enum":["iris"],"default":"iris"},"ExtractionChunkingStrategy":{"type":"string","enum":["markdown"],"default":"markdown"},"MetadataExtractionStrategySchema":{"type":"object","properties":{"id":{"type":"string"},"schema":{"type":"string"}},"required":["id","schema"]},"MetadataExtractionStrategy":{"type":"object","properties":{"schemas":{"type":"array","items":{"$ref":"#/components/schemas/MetadataExtractionStrategySchema"}},"inferSchema":{"type":"boolean"}}},"StartExtractionRequest":{"type":"object","properties":{"fileId":{"type":"string"},"type":{"$ref":"#/components/schemas/ExtractionType"},"chunkingStrategy":{"$ref":"#/components/schemas/ExtractionChunkingStrategy"},"chunkSize":{"type":"number","default":256},"metadata":{"$ref":"#/components/schemas/MetadataExtractionStrategy"}},"required":["fileId"]},"ExtractionResult":{"type":"object","properties":{"success":{"type":"boolean"},"chunks":{"type":"array","items":{"type":"string"}},"text":{"type":"string"},"metadata":{"type":"string"},"metadataSchema":{"type":"string"},"chunksMetadata":{"type":"array","items":{"type":"string"}},"chunksSchema":{"type":"array","items":{"type":"string"}},"error":{"type":"string"}},"required":["success"]},"ExtractionResultResponse":{"type":"object","properties":{"ready":{"type":"boolean"},"data":{"$ref":"#/components/schemas/ExtractionResult"}},"required":["ready"]},"StartFileUploadResponse":{"type":"object","properties":{"fileId":{"type":"string"},"uploadUrl":{"type":"string"}},"required":["fileId","uploadUrl"]},"StartFileUploadRequest":{"type":"object","properties":{"name":{"type":"string"},"contentType":{"type":"string"}},"required":["name","contentType"]},"AddUserFromSourceConnectorResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"AddUserToSourceConnectorRequest":{"type":"object","properties":{"userId":{"type":"string"},"selectedFiles":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string"},"mimeType":{"type":"string"}},"required":["name","mimeType"]}},"refreshToken":{"type":"string"}},"required":["userId","selectedFiles","refreshToken"]},"UpdateUserInSourceConnectorResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"UpdateUserInSourceConnectorRequest":{"type":"object","properties":{"userId":{"type":"string"},"selectedFiles":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string"},"mimeType":{"type":"string"}},"required":["name","mimeType"]}},"refreshToken":{"type":"string"}},"required":["userId"]},"RemoveUserFromSourceConnectorResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"RemoveUserFromSourceConnectorRequest":{"type":"object","properties":{"userId":{"type":"string"}},"required":["userId"]}},"parameters":{}},"paths":{"/org/{organization}/pipelines":{"post":{"operationId":"createPipeline","summary":"Create a new source pipeline. Config fields for sources: Amazon S3 (AWS_S3): \nCheck for updates every (seconds) (idle-time): number, Path Prefix (path-prefix): text, Path Metadata Regex (path-metadata-regex): text, Path Regex Group Names (path-regex-group-names): array oftext) | Azure Blob Storage (AZURE_BLOB): \nPolling Interval (seconds) (idle-time): number, Path Prefix (path-prefix): text, Path Metadata Regex (path-metadata-regex): text, Path Regex Group Names (path-regex-group-names): array oftext) | Confluence (CONFLUENCE): \nSpaces (spaces): array oftext, Root Parents (root-parents): array oftext) | Discord (DISCORD): \nEmoji Filter (emoji): array oftext, Author Filter (author): array oftext, Ignore Author Filter (ignore-author): array oftext, Limit (limit): number) | Dropbox (DROPBOX): \nRead from these folders (optional) (path-prefix): array oftext) | Google Drive OAuth (GOOGLE_DRIVE_OAUTH): \nPolling Interval (seconds) (idle-time): number) | Google Drive (Service Account) (GOOGLE_DRIVE): \nRestrict ingest to these folder URLs (optional) (root-parents): array oftext, Polling Interval (seconds) (idle-time): number) | Google Drive Multi-User (Vectorize) (GOOGLE_DRIVE_OAUTH_MULTI): \nPolling Interval (seconds) (idle-time): number) | Google Drive Multi-User (White Label) (GOOGLE_DRIVE_OAUTH_MULTI_CUSTOM): \nPolling Interval (seconds) (idle-time): number) | Firecrawl (FIRECRAWL): \n) | GCP Cloud Storage (GCS): \nCheck for updates every (seconds) (idle-time): number, Path Prefix (path-prefix): text, Path Metadata Regex (path-metadata-regex): text, Path Regex Group Names (path-regex-group-names): array oftext) | Intercom (INTERCOM): \nReindex Interval (seconds) (reindexIntervalSeconds): number, Limit (limit): number, Tags (tags): array oftext) | OneDrive (ONE_DRIVE): \nRead starting from this folder (optional) (path-prefix): text) | SharePoint (SHAREPOINT): \nSite Name(s) (sites): array oftext) | Web Crawler (WEB_CRAWLER): \nAdditional Allowed URLs or prefix(es) (allowed-domains-opt): array ofurl, Forbidden Paths (forbidden-paths): array oftext, Throttle (ms) (min-time-between-requests): number, Max Error Count (max-error-count): number, Max URLs (max-urls): number, Max Depth (max-depth): number, Reindex Interval (seconds) (reindex-interval-seconds): number) | File Upload (FILE_UPLOAD): \n). Config fields for destinations: Couchbase Capella (CAPELLA): \nBucket Name (bucket): text, Scope Name (scope): text, Collection Name (collection): text, Search Index Name (index): text) | DataStax Astra (DATASTAX): \nCollection Name (collection): text) | Elasticsearch (ELASTIC): \nIndex Name (index): text) | Pinecone (PINECONE): \nIndex Name (index): text, Namespace (namespace): text) | SingleStore (SINGLESTORE): \nTable Name (table): text) | Milvus (MILVUS): \nCollection Name (collection): text) | PostgreSQL (POSTGRESQL): \nTable Name (table): text) | Qdrant (QDRANT): \nCollection Name (collection): text) | Supabase (SUPABASE): \nTable Name (table): text) | Weaviate (WEAVIATE): \nCollection Name (collection): text) | Azure AI Search (AZUREAISEARCH): \nIndex Name (index): text) | Built-in (VECTORIZE): \n) | Chroma (CHROMA): \nIndex Name (index): text) | MongoDB (MONGODB): \nIndex Name (index): text). Config fields for AI platforms: ","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineConfigurationSchema"}}}},"responses":{"200":{"description":"Pipeline created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePipelineResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"get":{"operationId":"getPipelines","summary":"Get all existing pipelines","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"responses":{"200":{"description":"Get all pipelines","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPipelinesResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}":{"get":{"operationId":"getPipeline","summary":"Get a pipeline","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"}],"responses":{"200":{"description":"Pipeline fetched successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPipelineResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"delete":{"operationId":"deletePipeline","summary":"Delete a pipeline","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"}],"responses":{"200":{"description":"Pipeline deleted successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletePipelineResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}/events":{"get":{"operationId":"getPipelineEvents","summary":"Get pipeline events","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"},{"schema":{"type":"string"},"required":false,"name":"nextToken","in":"query"}],"responses":{"200":{"description":"Pipeline events fetched successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPipelineEventsResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}/metrics":{"get":{"operationId":"getPipelineMetrics","summary":"Get pipeline metrics","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"}],"responses":{"200":{"description":"Pipeline metrics fetched successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPipelineMetricsResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}/retrieval":{"post":{"operationId":"retrieveDocuments","summary":"Retrieve documents from a pipeline","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetrieveDocumentsRequest"}}}},"responses":{"200":{"description":"Documents retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetrieveDocumentsResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}/start":{"post":{"operationId":"startPipeline","summary":"Start a pipeline","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"}],"responses":{"200":{"description":"Pipeline started successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartPipelineResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}/stop":{"post":{"operationId":"stopPipeline","summary":"Stop a pipeline","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"}],"responses":{"200":{"description":"Pipeline stopped successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StopPipelineResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}/deep-research":{"post":{"operationId":"startDeepResearch","summary":"Start a deep research","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartDeepResearchRequest"}}}},"responses":{"200":{"description":"Deep Research started successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartDeepResearchResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}/deep-research/{researchId}":{"get":{"operationId":"getDeepResearchResult","summary":"Get deep research result","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"},{"schema":{"type":"string"},"required":true,"name":"researchId","in":"path"}],"responses":{"200":{"description":"Get Deep Research was successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDeepResearchResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/connectors/sources":{"post":{"operationId":"createSourceConnector","summary":"Create a new source connector. Config values: Amazon S3 (AWS_S3): \nName (name): text, Access Key (access-key): text, Secret Key (secret-key): text, Bucket Name (bucket-name): text, Endpoint (endpoint): url, Region (region): text, Allow as archive destination (archiver): boolean) | Azure Blob Storage (AZURE_BLOB): \nName (name): text, Storage Account Name (storage-account-name): text, Storage Account Key (storage-account-key): text, Container (container): text, Endpoint (endpoint): url) | Confluence (CONFLUENCE): \nName (name): text, Username (username): text, API Token (api-token): text, Domain (domain): text) | Discord (DISCORD): \nName (name): text, Server ID (guild-id): text, Bot token (bot-token): text, Channel ID (channel-ids): array oftext) | Dropbox (DROPBOX): \nName (name): text) | Google Drive OAuth (GOOGLE_DRIVE_OAUTH): \nName (name): text) | Google Drive (Service Account) (GOOGLE_DRIVE): \nName (name): text, Service Account JSON (service-account-json): textarea) | Google Drive Multi-User (Vectorize) (GOOGLE_DRIVE_OAUTH_MULTI): \nName (name): text) | Google Drive Multi-User (White Label) (GOOGLE_DRIVE_OAUTH_MULTI_CUSTOM): \nName (name): text, OAuth2 Client Id (oauth2-client-id): text, OAuth2 Client Secret (oauth2-client-secret): text) | Firecrawl (FIRECRAWL): \nName (name): text, API Key (api-key): text) | GCP Cloud Storage (GCS): \nName (name): text, Service Account JSON (service-account-json): textarea, Bucket (bucket-name): text) | Intercom (INTERCOM): \nName (name): text, Access Token (intercomAccessToken): text) | OneDrive (ONE_DRIVE): \nName (name): text, Client Id (ms-client-id): text, Tenant Id (ms-tenant-id): text, Client Secret (ms-client-secret): text, Users (users): array oftext) | SharePoint (SHAREPOINT): \nName (name): text, Client Id (ms-client-id): text, Tenant Id (ms-tenant-id): text, Client Secret (ms-client-secret): text) | Web Crawler (WEB_CRAWLER): \nName (name): text, Seed URL(s) (seed-urls): array ofurl) | File Upload (FILE_UPLOAD): \nName (name): text)","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSourceConnectorRequest"}}}},"responses":{"200":{"description":"Connector successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSourceConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"get":{"operationId":"getSourceConnectors","summary":"Get all existing source connectors","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"responses":{"200":{"description":"Get all source connectors","content":{"application/json":{"schema":{"type":"object","properties":{"sourceConnectors":{"type":"array","items":{"$ref":"#/components/schemas/SourceConnector"}}},"required":["sourceConnectors"]}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/connectors/sources/{sourceConnectorId}":{"get":{"operationId":"getSourceConnector","summary":"Get a source connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"sourceConnectorId","in":"path"}],"responses":{"200":{"description":"Get a source connector","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceConnector"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"patch":{"operationId":"updateSourceConnector","summary":"Update a source connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"sourceConnectorId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSourceConnectorRequest"}}}},"responses":{"200":{"description":"Source connector successfully updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSourceConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"delete":{"operationId":"deleteSourceConnector","summary":"Delete a source connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"sourceConnectorId","in":"path"}],"responses":{"200":{"description":"Source connector successfully deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteSourceConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/connectors/destinations":{"post":{"operationId":"createDestinationConnector","summary":"Create a new destination connector. Config values: Couchbase Capella (CAPELLA): \nName (name): text, Cluster Access Name (username): text, Cluster Access Password (password): text, Connection String (connection-string): text) | DataStax Astra (DATASTAX): \nName (name): text, API Endpoint (endpoint_secret): text, Application Token (token): text) | Elasticsearch (ELASTIC): \nName (name): text, Host (host): text, Port (port): text, API Key (api-key): text) | Pinecone (PINECONE): \nName (name): text, API Key (api-key): text) | SingleStore (SINGLESTORE): \nName (name): text, Host (host): text, Port (port): number, Database (database): text, Username (username): text, Password (password): text) | Milvus (MILVUS): \nName (name): text, Public Endpoint (url): text, Token (token): text, Username (username): text, Password (password): text) | PostgreSQL (POSTGRESQL): \nName (name): text, Host (host): text, Port (port): number, Database (database): text, Username (username): text, Password (password): text) | Qdrant (QDRANT): \nName (name): text, Host (host): text, API Key (api-key): text) | Supabase (SUPABASE): \nName (name): text, Host (host): text, Port (port): number, Database (database): text, Username (username): text, Password (password): text) | Weaviate (WEAVIATE): \nName (name): text, Endpoint (host): text, API Key (api-key): text) | Azure AI Search (AZUREAISEARCH): \nName (name): text, Azure AI Search Service Name (service-name): text, API Key (api-key): text) | Built-in (VECTORIZE): \n) | Chroma (CHROMA): \nName (name): text, API Key (apiKey): text) | MongoDB (MONGODB): \nName (name): text, API Key (apiKey): text)","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDestinationConnectorRequest"}}}},"responses":{"200":{"description":"Connector successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDestinationConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"get":{"operationId":"getDestinationConnectors","summary":"Get all existing destination connectors","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"responses":{"200":{"description":"Get all destination connectors","content":{"application/json":{"schema":{"type":"object","properties":{"destinationConnectors":{"type":"array","items":{"$ref":"#/components/schemas/DestinationConnector"}}},"required":["destinationConnectors"]}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/connectors/destinations/{destinationConnectorId}":{"get":{"operationId":"getDestinationConnector","summary":"Get a destination connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"destinationConnectorId","in":"path"}],"responses":{"200":{"description":"Get a destination connector","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationConnector"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"patch":{"operationId":"updateDestinationConnector","summary":"Update a destination connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"destinationConnectorId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDestinationConnectorRequest"}}}},"responses":{"200":{"description":"Destination connector successfully updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDestinationConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"delete":{"operationId":"deleteDestinationConnector","summary":"Delete a destination connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"destinationConnectorId","in":"path"}],"responses":{"200":{"description":"Destination connector successfully deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteDestinationConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/connectors/aiplatforms":{"post":{"operationId":"createAIPlatformConnector","summary":"Create a new AI Platform connector. Config values: Amazon Bedrock (BEDROCK): \nName (name): text, Access Key (access-key): text, Secret Key (key): text) | Google Vertex AI (VERTEX): \nName (name): text, Service Account Json (key): textarea, Region (region): text) | OpenAI (OPENAI): \nName (name): text, API Key (key): text) | Voyage AI (VOYAGE): \nName (name): text, API Key (key): text) | Built-in (VECTORIZE): \n)","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAIPlatformConnectorRequest"}}}},"responses":{"200":{"description":"Connector successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAIPlatformConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"get":{"operationId":"getAIPlatformConnectors","summary":"Get all existing AI Platform connectors","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"responses":{"200":{"description":"Get all existing AI Platform connectors","content":{"application/json":{"schema":{"type":"object","properties":{"aiPlatformConnectors":{"type":"array","items":{"$ref":"#/components/schemas/AIPlatform"}}},"required":["aiPlatformConnectors"]}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/connectors/aiplatforms/{aiplatformId}":{"get":{"operationId":"getAIPlatformConnector","summary":"Get an AI platform connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"aiplatformId","in":"path"}],"responses":{"200":{"description":"Get an AI platform connector","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIPlatform"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"patch":{"operationId":"updateAIPlatformConnector","summary":"Update an AI Platform connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"aiplatformId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAIPlatformConnectorRequest"}}}},"responses":{"200":{"description":"AI Platform connector successfully updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAIPlatformConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"delete":{"operationId":"deleteAIPlatform","summary":"Delete an AI platform connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"aiplatformId","in":"path"}],"responses":{"200":{"description":"AI Platform connector successfully deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAIPlatformConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/uploads/{connectorId}/files":{"get":{"operationId":"getUploadFilesFromConnector","summary":"Get uploaded files from a file upload connector","tags":["Uploads"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"connectorId","in":"path"}],"responses":{"200":{"description":"Files retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUploadFilesResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"put":{"operationId":"startFileUploadToConnector","summary":"Upload a file to a file upload connector","tags":["Uploads"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"connectorId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartFileUploadToConnectorRequest"}}}},"responses":{"200":{"description":"File ready to be uploaded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartFileUploadToConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"delete":{"operationId":"deleteFileFromConnector","summary":"Delete a file from a file upload connector","tags":["Uploads"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"connectorId","in":"path"}],"responses":{"200":{"description":"File deleted successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteFileResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/extraction":{"post":{"operationId":"startExtraction","summary":"Start content extraction from a file","tags":["Extraction"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartExtractionRequest"}}}},"responses":{"200":{"description":"Extraction started successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartExtractionResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/extraction/{extractionId}":{"get":{"operationId":"getExtractionResult","summary":"Get extraction result","tags":["Extraction"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"extractionId","in":"path"}],"responses":{"200":{"description":"Extraction started successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtractionResultResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/files":{"post":{"operationId":"startFileUpload","summary":"Upload a generic file to the platform","tags":["Files"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartFileUploadRequest"}}}},"responses":{"200":{"description":"File upload started successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartFileUploadResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/connectors/sources/{sourceConnectorId}/users":{"post":{"operationId":"addUserToSourceConnector","summary":"Add a user to a source connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"sourceConnectorId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddUserToSourceConnectorRequest"}}}},"responses":{"200":{"description":"User successfully added to the source connector","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddUserFromSourceConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"patch":{"operationId":"updateUserInSourceConnector","summary":"Update a source connector user","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"sourceConnectorId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserInSourceConnectorRequest"}}}},"responses":{"200":{"description":"User successfully updated in the source connector","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserInSourceConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"delete":{"operationId":"deleteUserFromSourceConnector","summary":"Delete a source connector user","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"sourceConnectorId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveUserFromSourceConnectorRequest"}}}},"responses":{"200":{"description":"User successfully removed from the source connector","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveUserFromSourceConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}}}} \ No newline at end of file +{"openapi":"3.0.0","info":{"title":"Vectorize API (Beta)","version":"0.0.1","description":"API for Vectorize services","contact":{"name":"Vectorize","url":"https://vectorize.io"}},"servers":[{"url":"https://api.vectorize.io/v1","description":"Vectorize API"}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"CreatePipelineResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}},"required":["message","data"]},"AdvancedQuery":{"type":"object","properties":{"mode":{"type":"string","enum":["text","vector","hybrid"], "default":"vector"},"text-fields":{"type":"array","items":{"type":"string"}},"match-type":{"type":"string","enum":["match","match_phrase","multi_match"]},"text-boost": {"type": "number", "format": "float", "default": 1.0},"filters": {"type": "object", "additionalProperties": true}},"additionalProperties": true},"SourceConnectorType":{"type":"string","enum":["AWS_S3","AZURE_BLOB","CONFLUENCE","DISCORD","DROPBOX","GOOGLE_DRIVE_OAUTH","GOOGLE_DRIVE","GOOGLE_DRIVE_OAUTH_MULTI","GOOGLE_DRIVE_OAUTH_MULTI_CUSTOM","FIRECRAWL","GCS","INTERCOM","ONE_DRIVE","SHAREPOINT","WEB_CRAWLER","FILE_UPLOAD","SALESFORCE","ZENDESK"]},"SourceConnectorSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"$ref":"#/components/schemas/SourceConnectorType"},"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["id","type"],"additionalProperties":false},"DestinationConnectorType":{"type":"string","enum":["CAPELLA","DATASTAX","ELASTIC","PINECONE","SINGLESTORE","MILVUS","POSTGRESQL","QDRANT","SUPABASE","WEAVIATE","AZUREAISEARCH","VECTORIZE","CHROMA","MONGODB"]},"DestinationConnectorSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"$ref":"#/components/schemas/DestinationConnectorType"},"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["id","type"],"additionalProperties":false},"AIPlatformType":{"type":"string","enum":["BEDROCK","VERTEX","OPENAI","VOYAGE","VECTORIZE"]},"AIPlatformConfigSchema":{"type":"object","properties":{"embeddingModel":{"type":"string","enum":["VECTORIZE_OPEN_AI_TEXT_EMBEDDING_2","VECTORIZE_OPEN_AI_TEXT_EMBEDDING_3_LARGE","VECTORIZE_OPEN_AI_TEXT_EMBEDDING_3_SMALL","VECTORIZE_VOYAGE_AI_2","VECTORIZE_VOYAGE_AI_3","VECTORIZE_VOYAGE_AI_3_LITE","VECTORIZE_VOYAGE_AI_3_LARGE","VECTORIZE_VOYAGE_AI_FINANCE_2","VECTORIZE_VOYAGE_AI_MULTILINGUAL_2","VECTORIZE_VOYAGE_AI_LAW_2","VECTORIZE_VOYAGE_AI_CODE_2","VECTORIZE_TITAN_TEXT_EMBEDDING_2","VECTORIZE_TITAN_TEXT_EMBEDDING_1","OPEN_AI_TEXT_EMBEDDING_2","OPEN_AI_TEXT_EMBEDDING_3_SMALL","OPEN_AI_TEXT_EMBEDDING_3_LARGE","VOYAGE_AI_2","VOYAGE_AI_3","VOYAGE_AI_3_LITE","VOYAGE_AI_3_LARGE","VOYAGE_AI_FINANCE_2","VOYAGE_AI_MULTILINGUAL_2","VOYAGE_AI_LAW_2","VOYAGE_AI_CODE_2","TITAN_TEXT_EMBEDDING_1","TITAN_TEXT_EMBEDDING_2","VERTEX_TEXT_EMBEDDING_4","VERTEX_TEXT_EMBEDDING_GECKO_3","VERTEX_GECKO_MULTILINGUAL_1","VERTEX_MULTILINGUAL_EMBEDDING_2"]},"chunkingStrategy":{"type":"string","enum":["FIXED","SENTENCE","PARAGRAPH","MARKDOWN"]},"chunkSize":{"type":"integer","minimum":1},"chunkOverlap":{"type":"integer","minimum":0},"dimensions":{"type":"integer","minimum":1},"extractionStrategy":{"type":"string","enum":["FAST","IRIS","MIXED"]}},"additionalProperties":false},"AIPlatformSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"$ref":"#/components/schemas/AIPlatformType"},"config":{"$ref":"#/components/schemas/AIPlatformConfigSchema"}},"required":["id","type","config"],"additionalProperties":false},"ScheduleSchemaType":{"type":"string","enum":["manual","realtime","custom"]},"ScheduleSchema":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ScheduleSchemaType"}},"required":["type"]},"PipelineConfigurationSchema":{"type":"object","properties":{"sourceConnectors":{"type":"array","items":{"$ref":"#/components/schemas/SourceConnectorSchema"},"minItems":1},"destinationConnector":{"$ref":"#/components/schemas/DestinationConnectorSchema"},"aiPlatform":{"$ref":"#/components/schemas/AIPlatformSchema"},"pipelineName":{"type":"string","minLength":1},"schedule":{"$ref":"#/components/schemas/ScheduleSchema"}},"required":["sourceConnectors","destinationConnector","aiPlatform","pipelineName","schedule"],"additionalProperties":false},"PipelineListSummary":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"documentCount":{"type":"number"},"sourceConnectorAuthIds":{"type":"array","items":{"type":"string"}},"destinationConnectorAuthIds":{"type":"array","items":{"type":"string"}},"aiPlatformAuthIds":{"type":"array","items":{"type":"string"}},"sourceConnectorTypes":{"type":"array","items":{"type":"string"}},"destinationConnectorTypes":{"type":"array","items":{"type":"string"}},"aiPlatformTypes":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","nullable":true},"createdBy":{"type":"string"},"status":{"type":"string"},"configDoc":{"type":"object","additionalProperties":{"nullable":true}}},"required":["id","name","documentCount","sourceConnectorAuthIds","destinationConnectorAuthIds","aiPlatformAuthIds","sourceConnectorTypes","destinationConnectorTypes","aiPlatformTypes","createdAt","createdBy"]},"GetPipelinesResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PipelineListSummary"}}},"required":["message","data"]},"SourceConnector":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"configDoc":{"type":"object","additionalProperties":{"nullable":true}},"createdAt":{"type":"string","nullable":true},"createdById":{"type":"string"},"lastUpdatedById":{"type":"string"},"createdByEmail":{"type":"string"},"lastUpdatedByEmail":{"type":"string"},"errorMessage":{"type":"string"},"verificationStatus":{"type":"string"}},"required":["id","type","name"]},"DestinationConnector":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"configDoc":{"type":"object","additionalProperties":{"nullable":true}},"createdAt":{"type":"string","nullable":true},"createdById":{"type":"string"},"lastUpdatedById":{"type":"string"},"createdByEmail":{"type":"string"},"lastUpdatedByEmail":{"type":"string"},"errorMessage":{"type":"string"},"verificationStatus":{"type":"string"}},"required":["id","type","name"]},"AIPlatform":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"configDoc":{"type":"object","additionalProperties":{"nullable":true}},"createdAt":{"type":"string","nullable":true},"createdById":{"type":"string"},"lastUpdatedById":{"type":"string"},"createdByEmail":{"type":"string"},"lastUpdatedByEmail":{"type":"string"},"errorMessage":{"type":"string"},"verificationStatus":{"type":"string"}},"required":["id","type","name"]},"PipelineSummary":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"documentCount":{"type":"number"},"sourceConnectorAuthIds":{"type":"array","items":{"type":"string"}},"destinationConnectorAuthIds":{"type":"array","items":{"type":"string"}},"aiPlatformAuthIds":{"type":"array","items":{"type":"string"}},"sourceConnectorTypes":{"type":"array","items":{"type":"string"}},"destinationConnectorTypes":{"type":"array","items":{"type":"string"}},"aiPlatformTypes":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","nullable":true},"createdBy":{"type":"string"},"status":{"type":"string"},"configDoc":{"type":"object","additionalProperties":{"nullable":true}},"sourceConnectors":{"type":"array","items":{"$ref":"#/components/schemas/SourceConnector"}},"destinationConnectors":{"type":"array","items":{"$ref":"#/components/schemas/DestinationConnector"}},"aiPlatforms":{"type":"array","items":{"$ref":"#/components/schemas/AIPlatform"}}},"required":["id","name","documentCount","sourceConnectorAuthIds","destinationConnectorAuthIds","aiPlatformAuthIds","sourceConnectorTypes","destinationConnectorTypes","aiPlatformTypes","createdAt","createdBy","sourceConnectors","destinationConnectors","aiPlatforms"]},"GetPipelineResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"$ref":"#/components/schemas/PipelineSummary"}},"required":["message","data"]},"DeletePipelineResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"PipelineEvents":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"timestamp":{"type":"string","nullable":true},"details":{"type":"object","additionalProperties":{"nullable":true}},"summary":{"type":"object","additionalProperties":{"nullable":true}}},"required":["id","type","timestamp"]},"GetPipelineEventsResponse":{"type":"object","properties":{"message":{"type":"string"},"nextToken":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PipelineEvents"}}},"required":["message","data"]},"PipelineMetrics":{"type":"object","properties":{"timestamp":{"type":"string","nullable":true},"newObjects":{"type":"number"},"changedObjects":{"type":"number"},"deletedObjects":{"type":"number"}},"required":["timestamp","newObjects","changedObjects","deletedObjects"]},"GetPipelineMetricsResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PipelineMetrics"}}},"required":["message","data"]},"Document":{"type":"object","properties":{"relevancy":{"type":"number"},"id":{"type":"string"},"text":{"type":"string"},"chunk_id":{"type":"string"},"total_chunks":{"type":"string"},"origin":{"type":"string"},"origin_id":{"type":"string"},"similarity":{"type":"number"},"source":{"type":"string"},"unique_source":{"type":"string"},"source_display_name":{"type":"string"},"pipeline_id":{"type":"string"},"org_id":{"type":"string"}},"required":["relevancy","id","text","chunk_id","total_chunks","origin","origin_id","similarity","source","unique_source","source_display_name"],"additionalProperties":true},"RetrieveDocumentsResponse":{"type":"object","properties":{"question":{"type":"string"},"documents":{"type":"array","items":{"$ref":"#/components/schemas/Document"}},"average_relevancy":{"type":"number"},"ndcg":{"type":"number"}},"required":["question","documents","average_relevancy","ndcg"]},"RetrieveContextMessage":{"type":"object","properties":{"role":{"type":"string"},"content":{"type":"string"}},"required":["role","content"]},"RetrieveContext":{"type":"object","properties":{"messages":{"type":"array","items":{"$ref":"#/components/schemas/RetrieveContextMessage"}}},"required":["messages"]},"RetrieveDocumentsRequest":{"type":"object","properties":{"question":{"type":"string"},"numResults":{"type":"number","minimum":1},"rerank":{"type":"boolean","default":true},"metadata-filters":{"type":"array","items":{"type":"object","additionalProperties":{"nullable":true}}},"context":{"$ref":"#/components/schemas/RetrieveContext"},"advanced-query":{"$ref":"#/components/schemas/AdvancedQuery"}},"required":["question","numResults"]},"StartPipelineResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"StopPipelineResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"StartDeepResearchResponse":{"type":"object","properties":{"researchId":{"type":"string"}},"required":["researchId"]},"N8NConfig":{"type":"object","properties":{"account":{"type":"string"},"webhookPath":{"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"required":["account","webhookPath"]},"StartDeepResearchRequest":{"type":"object","properties":{"query":{"type":"string"},"webSearch":{"type":"boolean","default":false},"schema":{"type":"string"},"n8n":{"$ref":"#/components/schemas/N8NConfig"}},"required":["query"]},"DeepResearchResult":{"type":"object","properties":{"success":{"type":"boolean"},"events":{"type":"array","items":{"type":"string"}},"markdown":{"type":"string"},"error":{"type":"string"}},"required":["success"]},"GetDeepResearchResponse":{"type":"object","properties":{"ready":{"type":"boolean"},"data":{"$ref":"#/components/schemas/DeepResearchResult"}},"required":["ready"]},"CreatedSourceConnector":{"type":"object","properties":{"name":{"type":"string"},"id":{"type":"string"}},"required":["name","id"]},"CreateSourceConnectorResponse":{"type":"object","properties":{"message":{"type":"string"},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/CreatedSourceConnector"}}},"required":["message","connectors"]},"CreateSourceConnector":{"type":"object","properties":{"name":{"type":"string"},"type":{"$ref":"#/components/schemas/SourceConnectorType"},"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["name","type"]},"CreateSourceConnectorRequest":{"type":"array","items":{"$ref":"#/components/schemas/CreateSourceConnector"},"minItems":1},"UpdateSourceConnectorResponseData":{"type":"object","properties":{"updatedConnector":{"$ref":"#/components/schemas/SourceConnector"},"pipelineIds":{"type":"array","items":{"type":"string"}}},"required":["updatedConnector"]},"UpdateSourceConnectorResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UpdateSourceConnectorResponseData"}},"required":["message","data"]},"UpdateSourceConnectorRequest":{"type":"object","properties":{"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["config"]},"DeleteSourceConnectorResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"CreatedDestinationConnector":{"type":"object","properties":{"name":{"type":"string"},"id":{"type":"string"}},"required":["name","id"]},"CreateDestinationConnectorResponse":{"type":"object","properties":{"message":{"type":"string"},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/CreatedDestinationConnector"}}},"required":["message","connectors"]},"CreateDestinationConnector":{"type":"object","properties":{"name":{"type":"string"},"type":{"$ref":"#/components/schemas/DestinationConnectorType"},"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["name","type"]},"CreateDestinationConnectorRequest":{"type":"array","items":{"$ref":"#/components/schemas/CreateDestinationConnector"},"minItems":1},"UpdatedDestinationConnectorData":{"type":"object","properties":{"updatedConnector":{"$ref":"#/components/schemas/DestinationConnector"},"pipelineIds":{"type":"array","items":{"type":"string"}}},"required":["updatedConnector"]},"UpdateDestinationConnectorResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UpdatedDestinationConnectorData"}},"required":["message","data"]},"UpdateDestinationConnectorRequest":{"type":"object","properties":{"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["config"]},"DeleteDestinationConnectorResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"CreatedAIPlatformConnector":{"type":"object","properties":{"name":{"type":"string"},"id":{"type":"string"}},"required":["name","id"]},"CreateAIPlatformConnectorResponse":{"type":"object","properties":{"message":{"type":"string"},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/CreatedAIPlatformConnector"}}},"required":["message","connectors"]},"CreateAIPlatformConnector":{"type":"object","properties":{"name":{"type":"string"},"type":{"$ref":"#/components/schemas/AIPlatformType"},"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["name","type"]},"CreateAIPlatformConnectorRequest":{"type":"array","items":{"$ref":"#/components/schemas/CreateAIPlatformConnector"},"minItems":1},"UpdatedAIPlatformConnectorData":{"type":"object","properties":{"updatedConnector":{"$ref":"#/components/schemas/AIPlatform"},"pipelineIds":{"type":"array","items":{"type":"string"}}},"required":["updatedConnector"]},"UpdateAIPlatformConnectorResponse":{"type":"object","properties":{"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UpdatedAIPlatformConnectorData"}},"required":["message","data"]},"UpdateAIPlatformConnectorRequest":{"type":"object","properties":{"config":{"type":"object","additionalProperties":{"nullable":true}}},"required":["config"]},"DeleteAIPlatformConnectorResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"UploadFile":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"size":{"type":"number"},"extension":{"type":"string"},"lastModified":{"type":"string","nullable":true},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["key","name","size","lastModified","metadata"]},"GetUploadFilesResponse":{"type":"object","properties":{"message":{"type":"string"},"files":{"type":"array","items":{"$ref":"#/components/schemas/UploadFile"}}},"required":["message","files"]},"StartFileUploadToConnectorResponse":{"type":"object","properties":{"uploadUrl":{"type":"string"}},"required":["uploadUrl"]},"StartFileUploadToConnectorRequest":{"type":"object","properties":{"name":{"type":"string"},"contentType":{"type":"string"},"metadata":{"type":"string"}},"required":["name","contentType"]},"DeleteFileResponse":{"type":"object","properties":{"message":{"type":"string"},"fileName":{"type":"string"}},"required":["message","fileName"]},"StartExtractionResponse":{"type":"object","properties":{"message":{"type":"string"},"extractionId":{"type":"string"}},"required":["message","extractionId"]},"ExtractionType":{"type":"string","enum":["iris"],"default":"iris"},"ExtractionChunkingStrategy":{"type":"string","enum":["markdown"],"default":"markdown"},"MetadataExtractionStrategySchema":{"type":"object","properties":{"id":{"type":"string"},"schema":{"type":"string"}},"required":["id","schema"]},"MetadataExtractionStrategy":{"type":"object","properties":{"schemas":{"type":"array","items":{"$ref":"#/components/schemas/MetadataExtractionStrategySchema"}},"inferSchema":{"type":"boolean"}}},"StartExtractionRequest":{"type":"object","properties":{"fileId":{"type":"string"},"type":{"$ref":"#/components/schemas/ExtractionType"},"chunkingStrategy":{"$ref":"#/components/schemas/ExtractionChunkingStrategy"},"chunkSize":{"type":"number","default":256},"metadata":{"$ref":"#/components/schemas/MetadataExtractionStrategy"}},"required":["fileId"]},"ExtractionResult":{"type":"object","properties":{"success":{"type":"boolean"},"chunks":{"type":"array","items":{"type":"string"}},"text":{"type":"string"},"metadata":{"type":"string"},"metadataSchema":{"type":"string"},"chunksMetadata":{"type":"array","items":{"type":"string"}},"chunksSchema":{"type":"array","items":{"type":"string"}},"error":{"type":"string"}},"required":["success"]},"ExtractionResultResponse":{"type":"object","properties":{"ready":{"type":"boolean"},"data":{"$ref":"#/components/schemas/ExtractionResult"}},"required":["ready"]},"StartFileUploadResponse":{"type":"object","properties":{"fileId":{"type":"string"},"uploadUrl":{"type":"string"}},"required":["fileId","uploadUrl"]},"StartFileUploadRequest":{"type":"object","properties":{"name":{"type":"string"},"contentType":{"type":"string"}},"required":["name","contentType"]},"AddUserFromSourceConnectorResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"AddUserToSourceConnectorRequest":{"type":"object","properties":{"userId":{"type":"string"},"selectedFiles":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string"},"mimeType":{"type":"string"}},"required":["name","mimeType"]}},"refreshToken":{"type":"string"}},"required":["userId","selectedFiles","refreshToken"]},"UpdateUserInSourceConnectorResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"UpdateUserInSourceConnectorRequest":{"type":"object","properties":{"userId":{"type":"string"},"selectedFiles":{"type":"object","additionalProperties":{"type":"object","properties":{"name":{"type":"string"},"mimeType":{"type":"string"}},"required":["name","mimeType"]}},"refreshToken":{"type":"string"}},"required":["userId"]},"RemoveUserFromSourceConnectorResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"RemoveUserFromSourceConnectorRequest":{"type":"object","properties":{"userId":{"type":"string"}},"required":["userId"]}},"parameters":{}},"paths":{"/org/{organization}/pipelines":{"post":{"operationId":"createPipeline","summary":"Create a new source pipeline. Config fields for sources: Amazon S3 (AWS_S3): \nCheck for updates every (seconds) (idle-time): number, Path Prefix (path-prefix): text, Path Metadata Regex (path-metadata-regex): text, Path Regex Group Names (path-regex-group-names): array oftext) | Azure Blob Storage (AZURE_BLOB): \nPolling Interval (seconds) (idle-time): number, Path Prefix (path-prefix): text, Path Metadata Regex (path-metadata-regex): text, Path Regex Group Names (path-regex-group-names): array oftext) | Confluence (CONFLUENCE): \nSpaces (spaces): array oftext, Root Parents (root-parents): array oftext) | Discord (DISCORD): \nEmoji Filter (emoji): array oftext, Author Filter (author): array oftext, Ignore Author Filter (ignore-author): array oftext, Limit (limit): number) | Dropbox (DROPBOX): \nRead from these folders (optional) (path-prefix): array oftext) | Google Drive OAuth (GOOGLE_DRIVE_OAUTH): \nPolling Interval (seconds) (idle-time): number) | Google Drive (Service Account) (GOOGLE_DRIVE): \nRestrict ingest to these folder URLs (optional) (root-parents): array oftext, Polling Interval (seconds) (idle-time): number) | Google Drive Multi-User (Vectorize) (GOOGLE_DRIVE_OAUTH_MULTI): \nPolling Interval (seconds) (idle-time): number) | Google Drive Multi-User (White Label) (GOOGLE_DRIVE_OAUTH_MULTI_CUSTOM): \nPolling Interval (seconds) (idle-time): number) | Firecrawl (FIRECRAWL): \n) | GCP Cloud Storage (GCS): \nCheck for updates every (seconds) (idle-time): number, Path Prefix (path-prefix): text, Path Metadata Regex (path-metadata-regex): text, Path Regex Group Names (path-regex-group-names): array oftext) | Intercom (INTERCOM): \nReindex Interval (seconds) (reindexIntervalSeconds): number, Limit (limit): number, Tags (tags): array oftext) | OneDrive (ONE_DRIVE): \nRead starting from this folder (optional) (path-prefix): text) | SharePoint (SHAREPOINT): \nSite Name(s) (sites): array oftext) | Web Crawler (WEB_CRAWLER): \nAdditional Allowed URLs or prefix(es) (allowed-domains-opt): array ofurl, Forbidden Paths (forbidden-paths): array oftext, Throttle (ms) (min-time-between-requests): number, Max Error Count (max-error-count): number, Max URLs (max-urls): number, Max Depth (max-depth): number, Reindex Interval (seconds) (reindex-interval-seconds): number) | File Upload (FILE_UPLOAD): \n). Config fields for destinations: Couchbase Capella (CAPELLA): \nBucket Name (bucket): text, Scope Name (scope): text, Collection Name (collection): text, Search Index Name (index): text) | DataStax Astra (DATASTAX): \nCollection Name (collection): text) | Elasticsearch (ELASTIC): \nIndex Name (index): text) | Pinecone (PINECONE): \nIndex Name (index): text, Namespace (namespace): text) | SingleStore (SINGLESTORE): \nTable Name (table): text) | Milvus (MILVUS): \nCollection Name (collection): text) | PostgreSQL (POSTGRESQL): \nTable Name (table): text) | Qdrant (QDRANT): \nCollection Name (collection): text) | Supabase (SUPABASE): \nTable Name (table): text) | Weaviate (WEAVIATE): \nCollection Name (collection): text) | Azure AI Search (AZUREAISEARCH): \nIndex Name (index): text) | Built-in (VECTORIZE): \n) | Chroma (CHROMA): \nIndex Name (index): text) | MongoDB (MONGODB): \nIndex Name (index): text). Config fields for AI platforms: ","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineConfigurationSchema"}}}},"responses":{"200":{"description":"Pipeline created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePipelineResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"get":{"operationId":"getPipelines","summary":"Get all existing pipelines","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"responses":{"200":{"description":"Get all pipelines","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPipelinesResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}":{"get":{"operationId":"getPipeline","summary":"Get a pipeline","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"}],"responses":{"200":{"description":"Pipeline fetched successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPipelineResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"delete":{"operationId":"deletePipeline","summary":"Delete a pipeline","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"}],"responses":{"200":{"description":"Pipeline deleted successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletePipelineResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}/events":{"get":{"operationId":"getPipelineEvents","summary":"Get pipeline events","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"},{"schema":{"type":"string"},"required":false,"name":"nextToken","in":"query"}],"responses":{"200":{"description":"Pipeline events fetched successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPipelineEventsResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}/metrics":{"get":{"operationId":"getPipelineMetrics","summary":"Get pipeline metrics","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"}],"responses":{"200":{"description":"Pipeline metrics fetched successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPipelineMetricsResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}/retrieval":{"post":{"operationId":"retrieveDocuments","summary":"Retrieve documents from a pipeline","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetrieveDocumentsRequest"}}}},"responses":{"200":{"description":"Documents retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetrieveDocumentsResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}/start":{"post":{"operationId":"startPipeline","summary":"Start a pipeline","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"}],"responses":{"200":{"description":"Pipeline started successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartPipelineResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}/stop":{"post":{"operationId":"stopPipeline","summary":"Stop a pipeline","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"}],"responses":{"200":{"description":"Pipeline stopped successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StopPipelineResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}/deep-research":{"post":{"operationId":"startDeepResearch","summary":"Start a deep research","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartDeepResearchRequest"}}}},"responses":{"200":{"description":"Deep Research started successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartDeepResearchResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/pipelines/{pipeline}/deep-research/{researchId}":{"get":{"operationId":"getDeepResearchResult","summary":"Get deep research result","tags":["Pipelines"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"pipeline","in":"path"},{"schema":{"type":"string"},"required":true,"name":"researchId","in":"path"}],"responses":{"200":{"description":"Get Deep Research was successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDeepResearchResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/connectors/sources":{"post":{"operationId":"createSourceConnector","summary":"Create a new source connector. Config values: Amazon S3 (AWS_S3): \nName (name): text, Access Key (access-key): text, Secret Key (secret-key): text, Bucket Name (bucket-name): text, Endpoint (endpoint): url, Region (region): text, Allow as archive destination (archiver): boolean) | Azure Blob Storage (AZURE_BLOB): \nName (name): text, Storage Account Name (storage-account-name): text, Storage Account Key (storage-account-key): text, Container (container): text, Endpoint (endpoint): url) | Confluence (CONFLUENCE): \nName (name): text, Username (username): text, API Token (api-token): text, Domain (domain): text) | Discord (DISCORD): \nName (name): text, Server ID (guild-id): text, Bot token (bot-token): text, Channel ID (channel-ids): array oftext) | Dropbox (DROPBOX): \nName (name): text) | Google Drive OAuth (GOOGLE_DRIVE_OAUTH): \nName (name): text) | Google Drive (Service Account) (GOOGLE_DRIVE): \nName (name): text, Service Account JSON (service-account-json): textarea) | Google Drive Multi-User (Vectorize) (GOOGLE_DRIVE_OAUTH_MULTI): \nName (name): text) | Google Drive Multi-User (White Label) (GOOGLE_DRIVE_OAUTH_MULTI_CUSTOM): \nName (name): text, OAuth2 Client Id (oauth2-client-id): text, OAuth2 Client Secret (oauth2-client-secret): text) | Firecrawl (FIRECRAWL): \nName (name): text, API Key (api-key): text) | GCP Cloud Storage (GCS): \nName (name): text, Service Account JSON (service-account-json): textarea, Bucket (bucket-name): text) | Intercom (INTERCOM): \nName (name): text, Access Token (intercomAccessToken): text) | OneDrive (ONE_DRIVE): \nName (name): text, Client Id (ms-client-id): text, Tenant Id (ms-tenant-id): text, Client Secret (ms-client-secret): text, Users (users): array oftext) | SharePoint (SHAREPOINT): \nName (name): text, Client Id (ms-client-id): text, Tenant Id (ms-tenant-id): text, Client Secret (ms-client-secret): text) | Web Crawler (WEB_CRAWLER): \nName (name): text, Seed URL(s) (seed-urls): array ofurl) | File Upload (FILE_UPLOAD): \nName (name): text)","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSourceConnectorRequest"}}}},"responses":{"200":{"description":"Connector successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSourceConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"get":{"operationId":"getSourceConnectors","summary":"Get all existing source connectors","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"responses":{"200":{"description":"Get all source connectors","content":{"application/json":{"schema":{"type":"object","properties":{"sourceConnectors":{"type":"array","items":{"$ref":"#/components/schemas/SourceConnector"}}},"required":["sourceConnectors"]}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/connectors/sources/{sourceConnectorId}":{"get":{"operationId":"getSourceConnector","summary":"Get a source connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"sourceConnectorId","in":"path"}],"responses":{"200":{"description":"Get a source connector","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceConnector"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"patch":{"operationId":"updateSourceConnector","summary":"Update a source connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"sourceConnectorId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSourceConnectorRequest"}}}},"responses":{"200":{"description":"Source connector successfully updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSourceConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"delete":{"operationId":"deleteSourceConnector","summary":"Delete a source connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"sourceConnectorId","in":"path"}],"responses":{"200":{"description":"Source connector successfully deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteSourceConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/connectors/destinations":{"post":{"operationId":"createDestinationConnector","summary":"Create a new destination connector. Config values: Couchbase Capella (CAPELLA): \nName (name): text, Cluster Access Name (username): text, Cluster Access Password (password): text, Connection String (connection-string): text) | DataStax Astra (DATASTAX): \nName (name): text, API Endpoint (endpoint_secret): text, Application Token (token): text) | Elasticsearch (ELASTIC): \nName (name): text, Host (host): text, Port (port): text, API Key (api-key): text) | Pinecone (PINECONE): \nName (name): text, API Key (api-key): text) | SingleStore (SINGLESTORE): \nName (name): text, Host (host): text, Port (port): number, Database (database): text, Username (username): text, Password (password): text) | Milvus (MILVUS): \nName (name): text, Public Endpoint (url): text, Token (token): text, Username (username): text, Password (password): text) | PostgreSQL (POSTGRESQL): \nName (name): text, Host (host): text, Port (port): number, Database (database): text, Username (username): text, Password (password): text) | Qdrant (QDRANT): \nName (name): text, Host (host): text, API Key (api-key): text) | Supabase (SUPABASE): \nName (name): text, Host (host): text, Port (port): number, Database (database): text, Username (username): text, Password (password): text) | Weaviate (WEAVIATE): \nName (name): text, Endpoint (host): text, API Key (api-key): text) | Azure AI Search (AZUREAISEARCH): \nName (name): text, Azure AI Search Service Name (service-name): text, API Key (api-key): text) | Built-in (VECTORIZE): \n) | Chroma (CHROMA): \nName (name): text, API Key (apiKey): text) | MongoDB (MONGODB): \nName (name): text, API Key (apiKey): text)","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDestinationConnectorRequest"}}}},"responses":{"200":{"description":"Connector successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDestinationConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"get":{"operationId":"getDestinationConnectors","summary":"Get all existing destination connectors","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"responses":{"200":{"description":"Get all destination connectors","content":{"application/json":{"schema":{"type":"object","properties":{"destinationConnectors":{"type":"array","items":{"$ref":"#/components/schemas/DestinationConnector"}}},"required":["destinationConnectors"]}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/connectors/destinations/{destinationConnectorId}":{"get":{"operationId":"getDestinationConnector","summary":"Get a destination connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"destinationConnectorId","in":"path"}],"responses":{"200":{"description":"Get a destination connector","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationConnector"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"patch":{"operationId":"updateDestinationConnector","summary":"Update a destination connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"destinationConnectorId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDestinationConnectorRequest"}}}},"responses":{"200":{"description":"Destination connector successfully updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDestinationConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"delete":{"operationId":"deleteDestinationConnector","summary":"Delete a destination connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"destinationConnectorId","in":"path"}],"responses":{"200":{"description":"Destination connector successfully deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteDestinationConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/connectors/aiplatforms":{"post":{"operationId":"createAIPlatformConnector","summary":"Create a new AI Platform connector. Config values: Amazon Bedrock (BEDROCK): \nName (name): text, Access Key (access-key): text, Secret Key (key): text) | Google Vertex AI (VERTEX): \nName (name): text, Service Account Json (key): textarea, Region (region): text) | OpenAI (OPENAI): \nName (name): text, API Key (key): text) | Voyage AI (VOYAGE): \nName (name): text, API Key (key): text) | Built-in (VECTORIZE): \n)","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAIPlatformConnectorRequest"}}}},"responses":{"200":{"description":"Connector successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAIPlatformConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"get":{"operationId":"getAIPlatformConnectors","summary":"Get all existing AI Platform connectors","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"responses":{"200":{"description":"Get all existing AI Platform connectors","content":{"application/json":{"schema":{"type":"object","properties":{"aiPlatformConnectors":{"type":"array","items":{"$ref":"#/components/schemas/AIPlatform"}}},"required":["aiPlatformConnectors"]}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/connectors/aiplatforms/{aiplatformId}":{"get":{"operationId":"getAIPlatformConnector","summary":"Get an AI platform connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"aiplatformId","in":"path"}],"responses":{"200":{"description":"Get an AI platform connector","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIPlatform"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"patch":{"operationId":"updateAIPlatformConnector","summary":"Update an AI Platform connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"aiplatformId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAIPlatformConnectorRequest"}}}},"responses":{"200":{"description":"AI Platform connector successfully updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAIPlatformConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"delete":{"operationId":"deleteAIPlatform","summary":"Delete an AI platform connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"aiplatformId","in":"path"}],"responses":{"200":{"description":"AI Platform connector successfully deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAIPlatformConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/uploads/{connectorId}/files":{"get":{"operationId":"getUploadFilesFromConnector","summary":"Get uploaded files from a file upload connector","tags":["Uploads"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"connectorId","in":"path"}],"responses":{"200":{"description":"Files retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUploadFilesResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"put":{"operationId":"startFileUploadToConnector","summary":"Upload a file to a file upload connector","tags":["Uploads"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"connectorId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartFileUploadToConnectorRequest"}}}},"responses":{"200":{"description":"File ready to be uploaded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartFileUploadToConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"delete":{"operationId":"deleteFileFromConnector","summary":"Delete a file from a file upload connector","tags":["Uploads"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"connectorId","in":"path"}],"responses":{"200":{"description":"File deleted successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteFileResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/extraction":{"post":{"operationId":"startExtraction","summary":"Start content extraction from a file","tags":["Extraction"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartExtractionRequest"}}}},"responses":{"200":{"description":"Extraction started successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartExtractionResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/extraction/{extractionId}":{"get":{"operationId":"getExtractionResult","summary":"Get extraction result","tags":["Extraction"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"extractionId","in":"path"}],"responses":{"200":{"description":"Extraction started successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtractionResultResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/files":{"post":{"operationId":"startFileUpload","summary":"Upload a generic file to the platform","tags":["Files"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartFileUploadRequest"}}}},"responses":{"200":{"description":"File upload started successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartFileUploadResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}},"/org/{organization}/connectors/sources/{sourceConnectorId}/users":{"post":{"operationId":"addUserToSourceConnector","summary":"Add a user to a source connector","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"sourceConnectorId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddUserToSourceConnectorRequest"}}}},"responses":{"200":{"description":"User successfully added to the source connector","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddUserFromSourceConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"patch":{"operationId":"updateUserInSourceConnector","summary":"Update a source connector user","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"sourceConnectorId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserInSourceConnectorRequest"}}}},"responses":{"200":{"description":"User successfully updated in the source connector","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserInSourceConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}},"delete":{"operationId":"deleteUserFromSourceConnector","summary":"Delete a source connector user","tags":["Connectors"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"organization","in":"path"},{"schema":{"type":"string"},"required":true,"name":"sourceConnectorId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveUserFromSourceConnectorRequest"}}}},"responses":{"200":{"description":"User successfully removed from the source connector","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveUserFromSourceConnectorResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"details":{"type":"string"},"failedUpdates":{"type":"array","items":{"type":"string"}},"successfulUpdates":{"type":"array","items":{"type":"string"}}},"required":["error"]}}}}}}}}} \ No newline at end of file