[BETA] Create ElasticSearch Logs external integration endpoint

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://openapi-v2.exoscale.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Exoscale APIv2 MCP server": {
  "url": "https://openapi-v2.exoscale.com/mcp"
}
Close
POST /dbaas-external-endpoint-elasticsearch/{name}

[BETA] Create ElasticSearch Logs external integration endpoint

Path parameters

  • name string Required
application/json

Body Required

  • settings object
    Hide settings attributes Show settings attributes object
    • ca string

      PEM encoded CA certificate

      Maximum length is 16384.

    • url string Required

      Elasticsearch connection URL

      Minimum length is 12, maximum length is 2048.

    • index-prefix string Required

      Elasticsearch index prefix

      Minimum length is 1, maximum length is 1000. Format should match the following pattern: ^[a-z0-9][a-z0-9-_.]+$.

    • index-days-max integer(int64)

      Maximum number of days of logs to keep

      Minimum value is 1, maximum value is 10000.

    • timeout integer(int64)

      Elasticsearch request timeout limit

      Minimum value is 10.0, maximum value is 120.0.

Responses

  • 200 application/json

    200

    Hide response attributes Show response attributes object
    • id string(uuid)

      Operation ID

    • reason string

      Operation failure reason

      Values are incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, or conflict.

    • reference object

      Related resource reference

      Hide reference attributes Show reference attributes object
      • id string(uuid)

        Reference ID

      • command string

        Command name

    • message string

      Operation message

    • state string

      Operation status

      Values are failure, pending, success, or timeout.

POST /dbaas-external-endpoint-elasticsearch/{name}
curl \
 --request POST 'https://api-ch-gva-2.exoscale.com/v2/dbaas-external-endpoint-elasticsearch/{name}' \
 --header "Content-Type: application/json" \
 --data '{"settings":{"ca":"string","url":"string","index-prefix":"string","index-days-max":42,"timeout":42}}'
Request examples
{
  "settings": {
    "ca": "string",
    "url": "string",
    "index-prefix": "string",
    "index-days-max": 42,
    "timeout": 42
  }
}
Response examples (200)
{
  "id": "string",
  "reason": "incorrect",
  "reference": {
    "id": "string",
    "link": "string",
    "command": "string"
  },
  "message": "string",
  "state": "failure"
}