Cloudpepper Instance Logs API

The Instance Logs API from Cloudpepper — 1 operation(s) for instance logs.

GitHub OpenAPI

Operations 2

GET /instances/{id}/logs Get instance logs #
HEAD /instances/{id}/logs Check instance logs availability #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cloudpepper-io:cloudpepper-io-instance-logs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cloudpepper-io-instance-logs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudpepper Io Instance Logs API
  version: 1.0.0
  description: 'Operations tagged Instance Logs across 2 of this provider''s published API definitions: cloudpepper-io-openapi.json, cloudpepper-io-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
- url: https://api.cloudpepper.io
  description: Resolved from the published relative server "/" against the host serving the spec (https://api.cloudpepper.io/openapi.json)
security:
- bearerAuth: []
tags:
- name: Instance Logs
paths:
  /instances/{id}/logs:
    parameters:
    - name: id
      in: path
      description: Instance id
      required: true
      schema:
        type: string
    - name: Range
      in: header
      description: Request a specific range of the log file (e.g., 'bytes=0-1000')
      required: false
      schema:
        type: string
    get:
      tags:
      - Instance Logs
      summary: Get instance logs
      description: 'Retrieves the Odoo server logs for the specified instance. This endpoint allows you to monitor application activity, troubleshoot issues, and diagnose errors in your Odoo instance. You can use the Range header to request specific portions of the log file, which is useful for large log files or continuous monitoring. Note that this endpoint requires the instance''s cloud server to have the Logs capability enabled.


        **Key Parameters:**

        - `id`: The unique identifier of the instance whose logs you want to retrieve'
      responses:
        '200':
          description: Full log content retrieved successfully
          content:
            text/plain:
              schema:
                type: string
        '206':
          description: Partial log content retrieved successfully
          headers:
            Content-Range:
              schema:
                type: string
                example: bytes 0-1000/5000
          content:
            text/plain:
              schema:
                type: string
        '403':
          description: Access denied or logs capability not enabled
        '404':
          description: Instance not found
      operationId: getInstancesByIdLogs
      x-operation-id-source: derived
    head:
      tags:
      - Instance Logs
      summary: Check instance logs availability
      description: Checks the availability and metadata of the log file without retrieving its content. This is useful to determine the size of the log file or check if logs are available before downloading them. The response will include the same headers as the GET method but without the response body.
      responses:
        '200':
          description: Log file exists and is accessible
        '403':
          description: Access denied or logs capability not enabled
        '404':
          description: Instance not found or log file not available
      operationId: headInstancesByIdLogs
      x-operation-id-source: derived
    servers:
    - url: /
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- cloudpepper-io-openapi.json
- cloudpepper-io-openapi.yml