Skip to content

Connectors

9 calls. Every request needs the Authorization header: see the overview.

GET /connectors

Every definition of the tenant, or of one namespace with { namespace }.

Who can call it: Admins and members, with an API key or a portal session. Try it in the API playground.

Response: Connector[] (200)

curl -X GET "https://api.maitento.com/connectors" \
-H "Authorization: $MAITENTO_AUTH"
DELETE /connectors/by-id/{id}

Deletes the definition (refused with a 400 while something still uses it or a run of it is going).

Who can call it: Admins and members, with an API key or a portal session. Try it in the API playground.

Path parameters

NameTypeRequiredDescription
iduuidyes

Response: no body (204)

curl -X DELETE "https://api.maitento.com/connectors/by-id/<id>" \
-H "Authorization: $MAITENTO_AUTH"
GET /connectors/by-id/{id}

The definition with this id. Throws NotFoundError when there is none.

Who can call it: Admins and members, with an API key or a portal session. Try it in the API playground.

Path parameters

NameTypeRequiredDescription
iduuidyes

Response: Connector (200)

curl -X GET "https://api.maitento.com/connectors/by-id/<id>" \
-H "Authorization: $MAITENTO_AUTH"
POST /connectors/by-id/{id}/versions/{version}/disable

Disables one version: everything pinned to it fails closed.

Who can call it: Admins and members, with an API key or a portal session. Try it in the API playground.

Path parameters

NameTypeRequiredDescription
iduuidyes
versionintegeryes

Response: Connector (200)

curl -X POST "https://api.maitento.com/connectors/by-id/<id>/versions/<version>/disable" \
-H "Authorization: $MAITENTO_AUTH"
POST /connectors/by-id/{id}/versions/{version}/enable

Enables a disabled version again.

Who can call it: Admins and members, with an API key or a portal session. Try it in the API playground.

Path parameters

NameTypeRequiredDescription
iduuidyes
versionintegeryes

Response: Connector (200)

curl -X POST "https://api.maitento.com/connectors/by-id/<id>/versions/<version>/enable" \
-H "Authorization: $MAITENTO_AUTH"
GET /namespaces/{namespaceName}/connectors

Every definition of the tenant, or of one namespace with { namespace }.

Who can call it: Admins and members, with an API key or a portal session. Try it in the API playground.

Path parameters

NameTypeRequiredDescription
namespaceNamestringyes

Response: Connector[] (200)

curl -X GET "https://api.maitento.com/namespaces/<namespaceName>/connectors" \
-H "Authorization: $MAITENTO_AUTH"
GET /namespaces/{namespaceName}/connectors/by-name/{name}

The definition with this name in the namespace. Throws NotFoundError when there is none.

Who can call it: Admins and members, with an API key or a portal session. Try it in the API playground.

Path parameters

NameTypeRequiredDescription
namespaceNamestringyes
namestringyes

Response: Connector (200)

curl -X GET "https://api.maitento.com/namespaces/<namespaceName>/connectors/by-name/<name>" \
-H "Authorization: $MAITENTO_AUTH"
POST /namespaces/{namespaceName}/connectors/mcp

Creates an MCP connector (it can be described and bound, but interactions cannot execute it today).

Who can call it: Admins and members, with an API key or a portal session. Try it in the API playground.

Path parameters

NameTypeRequiredDescription
namespaceNamestringyes

Request body: McpConnectorCreateRequest

FieldTypeRequiredDescription
destructiveHintboolean | nullThe MCP tool annotation destructiveHint: whether the tool may destroy or overwrite data.
idempotentHintboolean | nullThe MCP tool annotation idempotentHint: whether repeating a call with the same arguments has no further effect.
openWorldHintboolean | nullThe MCP tool annotation openWorldHint: whether the tool reaches systems outside the server.
readOnlyHintboolean | nullThe MCP tool annotation readOnlyHint: whether the tool only reads and changes nothing.
namestringyesThe connector’s name, unique within its namespace (under 150 characters).
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.
descriptionstringyesWhat the endpoint does, in a sentence (under 500 characters).
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.
postProcessResponseUnicodeCharactersbooleanWhether to replace typographic characters in the response (curly quotes, dashes, bullets, the ellipsis) with plain ones before it is read. Defaults to false.

Response: McpConnector (200)

curl -X POST "https://api.maitento.com/namespaces/<namespaceName>/connectors/mcp" \
-H "Authorization: $MAITENTO_AUTH" \
-H "Content-Type: application/json" \
-d '{"name":"...","url":"...","description":"...","authenticationType":"None"}'
POST /namespaces/{namespaceName}/connectors/open-api

Creates an OpenAPI connector: one HTTP endpoint Maitento may call.

Who can call it: Admins and members, with an API key or a portal session. Try it in the API playground.

Path parameters

NameTypeRequiredDescription
namespaceNamestringyes

Request body: OpenApiConnectorCreateRequest

FieldTypeRequiredDescription
httpMethodHttpMethodyesThe HTTP method.
pathParametersOpenApiParameterInput[]yesThe parameters in the URL’s path, one for each {name} in url ([] for none).
queryParametersOpenApiParameterInput[]yesThe query-string parameters ([] for none).
namestringyesThe connector’s name, unique within its namespace (under 150 characters).
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.
descriptionstringyesWhat the endpoint does, in a sentence (under 500 characters).
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.
postProcessResponseUnicodeCharactersbooleanWhether to replace typographic characters in the response (curly quotes, dashes, bullets, the ellipsis) with plain ones before it is read. Defaults to false.

Response: OpenApiConnector (200)

curl -X POST "https://api.maitento.com/namespaces/<namespaceName>/connectors/open-api" \
-H "Authorization: $MAITENTO_AUTH" \
-H "Content-Type: application/json" \
-d '{"httpMethod":{"method":"..."},"pathParameters":[],"queryParameters":[],"name":"...","url":"...","description":"...","authenticationType":"None"}'