Skip to content

OpenApiConnectorCreateRequest

Creates a connector to one HTTP endpoint.

Kind: an object, used in requests.

FieldTypeRequiredDescription
httpMethodHttpMethodyesThe HTTP method. Constraints: required (empty or whitespace-only strings are rejected).
pathParametersOpenApiParameterInput[]yesThe parameters in the URL’s path, one for each {name} in url ([] for none). Constraints: required (empty or whitespace-only strings are rejected).
queryParametersOpenApiParameterInput[]yesThe query-string parameters ([] for none). Constraints: required (empty or whitespace-only strings are rejected).
namestringyesThe connector’s name, unique within its namespace (under 150 characters). Constraints: maxLength: 150, required (empty or whitespace-only strings are rejected).
urlstringyesThe endpoint’s URL. For an HTTP connector, {name} in it marks a path parameter; for an MCP connector, it is the MCP server’s URL. Constraints: format: url, required (empty or whitespace-only strings are rejected).
descriptionstringyesWhat the endpoint does, in a sentence (under 500 characters). Constraints: maxLength: 500, required (empty or whitespace-only strings are rejected).
requestSchemaJsonstring | nullThe JSON Schema of the request body, as text. The model’s arguments are checked against it before a call is made. Omitted: no body is sent.
responseSchemaJsonstring | nullThe JSON Schema the endpoint’s response must match, as text. Omitted: the response is not checked.
authenticationTypeConnectorAuthenticationTypeyesThe kind of credential the endpoint needs. The credential itself is given where a tool uses the connector. Constraints: required (empty or whitespace-only strings are rejected).
postProcessResponseUnicodeCharactersbooleanWhether to replace typographic characters in the response (curly quotes, dashes, bullets, the ellipsis) with plain ones before it is read. Defaults to false.
{
"httpMethod": {
"method": "..."
},
"pathParameters": [
{
"description": "...",
"name": "...",
"dataType": "String",
"isRequired": false
}
],
"queryParameters": [
{
"description": "...",
"name": "...",
"dataType": "String",
"isRequired": false
}
],
"name": "...",
"url": "...",
"description": "...",
"requestSchemaJson": "...",
"responseSchemaJson": "...",
"authenticationType": "None",
"postProcessResponseUnicodeCharacters": false
}