Ownkube Telemetry API

The Telemetry API from Ownkube — 6 operation(s) for telemetry.

GitHub OpenAPI

Operations 6

GET /v1/deployments/{deploymentId}/telemetry Get overview telemetry (CPU, memory, requests, latency, network) #
GET /v1/deployments/{deploymentId}/observability Get expanded observability series #
GET /v1/deployments/{deploymentId}/telemetry/database Get database telemetry #
GET /v1/deployments/{deploymentId}/telemetry/cache Get cache telemetry #
GET /v1/deployments/{deploymentId}/telemetry/function Get function telemetry #
GET /v1/deployments/{deploymentId}/revisions/{revisionId}/build-logs Get a revision's build log #

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/ownkube-io:ownkube-io-telemetry-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

ownkube-io-telemetry-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ownkube CLI Telemetry API
  version: 1.15.0
  description: API for the Ownkube CLI tool. Authenticate via browser-based flow, then use x-api-key header for subsequent requests.
servers:
- url: /api/cli
security:
- apiKey: []
tags:
- name: Telemetry
paths:
  /v1/deployments/{deploymentId}/telemetry:
    get:
      tags:
      - Telemetry
      summary: Get overview telemetry (CPU, memory, requests, latency, network)
      description: Reads the overview telemetry tiles — CPU, memory, request rate, p95 latency, and network in/out — over the requested window. `network` is pod network traffic in and out (bytes/sec rate plus a window total in bytes); it counts all traffic, including traffic between your services, so it reads higher than billed bandwidth. `network` is `null` for Compute functions. Returns `null` when the cluster isn't reachable yet.
      security:
      - apiKey: []
      parameters:
      - schema:
          type: string
          description: The deployment id.
        required: true
        description: The deployment id.
        name: deploymentId
        in: path
      - schema:
          type: integer
          minimum: 300
          maximum: 86400
          default: 3600
          description: How far back to read, in seconds (default 3600).
        required: false
        description: How far back to read, in seconds (default 3600).
        name: rangeSeconds
        in: query
      - schema:
          type: integer
          minimum: 15
          maximum: 3600
          default: 60
          description: Sample step in seconds (default 60).
        required: false
        description: Sample step in seconds (default 60).
        name: step
        in: query
      responses:
        '200':
          description: Telemetry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeploymentTelemetry'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '412':
          description: Precondition failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limited; retry after the Retry-After header's seconds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: getV1DeploymentsByDeploymentIdTelemetry
      x-operation-id-source: derived
  /v1/deployments/{deploymentId}/observability:
    get:
      tags:
      - Telemetry
      summary: Get expanded observability series
      description: Reads the expanded observability panel — per-status-class request rate, latency percentiles, CPU/memory time-series, and network in/out series — over the requested window. `network` is pod network traffic in and out (bytes/sec rate plus a window total in bytes); it counts all traffic, including traffic between your services, so it reads higher than billed bandwidth. `network` is `null` for Compute functions. `hasRequestData` is false for workloads whose gateway doesn't report per-deployment request telemetry. Returns `null` when the cluster isn't reachable yet.
      security:
      - apiKey: []
      parameters:
      - schema:
          type: string
          description: The deployment id.
        required: true
        description: The deployment id.
        name: deploymentId
        in: path
      - schema:
          type: integer
          minimum: 300
          maximum: 2592000
          default: 3600
          description: How far back to read, in seconds (default 3600).
        required: false
        description: How far back to read, in seconds (default 3600).
        name: rangeSeconds
        in: query
      - schema:
          type: integer
          minimum: 15
          maximum: 7200
          default: 60
          description: Sample step in seconds (default 60).
        required: false
        description: Sample step in seconds (default 60).
        name: step
        in: query
      responses:
        '200':
          description: Observability
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeploymentObservability'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '412':
          description: Precondition failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limited; retry after the Retry-After header's seconds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: getV1DeploymentsByDeploymentIdObservability
      x-operation-id-source: derived
  /v1/deployments/{deploymentId}/telemetry/database:
    get:
      tags:
      - Telemetry
      summary: Get database telemetry
      description: Reads database-shaped telemetry — connections, disk usage, database size, CPU, memory, transaction rate, and network in/out. `network` is pod network traffic in and out (bytes/sec rate plus a window total in bytes); it counts all traffic, including traffic between your services, so it reads higher than billed bandwidth. Returns `null` for non-database deployments or when the cluster isn't reachable yet.
      security:
      - apiKey: []
      parameters:
      - schema:
          type: string
          description: The deployment id.
        required: true
        description: The deployment id.
        name: deploymentId
        in: path
      - schema:
          type: integer
          minimum: 300
          maximum: 86400
          default: 3600
          description: How far back to read, in seconds (default 3600).
        required: false
        description: How far back to read, in seconds (default 3600).
        name: rangeSeconds
        in: query
      - schema:
          type: integer
          minimum: 15
          maximum: 3600
          default: 60
          description: Sample step in seconds (default 60).
        required: false
        description: Sample step in seconds (default 60).
        name: step
        in: query
      responses:
        '200':
          description: Database telemetry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatabaseTelemetry'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '412':
          description: Precondition failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limited; retry after the Retry-After header's seconds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: getV1DeploymentsByDeploymentIdTelemetryDatabase
      x-operation-id-source: derived
  /v1/deployments/{deploymentId}/telemetry/cache:
    get:
      tags:
      - Telemetry
      summary: Get cache telemetry
      description: Reads cache-shaped telemetry — connected clients, memory, ops/sec, hit rate, CPU, and network in/out. `network` is pod network traffic in and out (bytes/sec rate plus a window total in bytes); it counts all traffic, including traffic between your services, so it reads higher than billed bandwidth. Returns `null` for non-cache deployments or when the cluster isn't reachable yet.
      security:
      - apiKey: []
      parameters:
      - schema:
          type: string
          description: The deployment id.
        required: true
        description: The deployment id.
        name: deploymentId
        in: path
      - schema:
          type: integer
          minimum: 300
          maximum: 86400
          default: 3600
          description: How far back to read, in seconds (default 3600).
        required: false
        description: How far back to read, in seconds (default 3600).
        name: rangeSeconds
        in: query
      - schema:
          type: integer
          minimum: 15
          maximum: 3600
          default: 60
          description: Sample step in seconds (default 60).
        required: false
        description: Sample step in seconds (default 60).
        name: step
        in: query
      responses:
        '200':
          description: Cache telemetry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CacheTelemetry'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '412':
          description: Precondition failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limited; retry after the Retry-After header's seconds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: getV1DeploymentsByDeploymentIdTelemetryCache
      x-operation-id-source: derived
  /v1/deployments/{deploymentId}/telemetry/function:
    get:
      tags:
      - Telemetry
      summary: Get function telemetry
      description: Reads invocation-shaped telemetry — invocations, errors, duration, throttles, and concurrency — for a function deployment. Returns `null` for non-function deployments or when the function isn't provisioned yet.
      security:
      - apiKey: []
      parameters:
      - schema:
          type: string
          description: The deployment id.
        required: true
        description: The deployment id.
        name: deploymentId
        in: path
      - schema:
          type: integer
          minimum: 300
          maximum: 86400
          default: 3600
          description: How far back to read, in seconds (default 3600).
        required: false
        description: How far back to read, in seconds (default 3600).
        name: rangeSeconds
        in: query
      - schema:
          type: integer
          minimum: 60
          maximum: 3600
          default: 60
          description: Aggregation period in seconds (default 60).
        required: false
        description: Aggregation period in seconds (default 60).
        name: periodSeconds
        in: query
      responses:
        '200':
          description: Function telemetry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FunctionTelemetry'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '412':
          description: Precondition failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limited; retry after the Retry-After header's seconds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: getV1DeploymentsByDeploymentIdTelemetryFunction
      x-operation-id-source: derived
  /v1/deployments/{deploymentId}/revisions/{revisionId}/build-logs:
    get:
      tags:
      - Telemetry
      summary: Get a revision's build log
      description: 'Reads the build output for one revision — the live build pod while a build is in flight, else the durable log store once the build settles. Best-effort: returns an empty log rather than erroring when no build output is available.'
      security:
      - apiKey: []
      parameters:
      - schema:
          type: string
          description: The deployment id.
        required: true
        description: The deployment id.
        name: deploymentId
        in: path
      - schema:
          type: string
          description: The revision id whose build to read.
        required: true
        description: The revision id whose build to read.
        name: revisionId
        in: path
      - schema:
          type: integer
          minimum: 0
          exclusiveMinimum: true
          maximum: 10000
          description: Number of trailing log lines to return (default 2000).
        required: false
        description: Number of trailing log lines to return (default 2000).
        name: tailLines
        in: query
      responses:
        '200':
          description: Build log
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuildLogsResult'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '412':
          description: Precondition failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limited; retry after the Retry-After header's seconds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: getV1DeploymentsByDeploymentIdRevisionsByRevisionIdBuildLogs
      x-operation-id-source: derived
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message
        code:
          type: string
          description: Machine-readable error code
      required:
      - error
      - code
    DatabaseTelemetry:
      type: object
      nullable: true
      properties:
        windowLabel:
          type: string
        connections:
          nullable: true
        disk:
          nullable: true
        databaseSize:
          nullable: true
        cpu:
          nullable: true
        memory:
          nullable: true
        transactionsPerSec:
          nullable: true
        network:
          nullable: true
      required:
      - windowLabel
      additionalProperties:
        nullable: true
    DeploymentObservability:
      type: object
      nullable: true
      properties:
        windowLabel:
          type: string
        hasRequestData:
          type: boolean
        requestDataHint:
          type: string
          nullable: true
        status:
          nullable: true
        latency:
          nullable: true
        cpu:
          nullable: true
        memory:
          nullable: true
        network:
          nullable: true
      required:
      - windowLabel
      - hasRequestData
      - requestDataHint
      additionalProperties:
        nullable: true
    CacheTelemetry:
      type: object
      nullable: true
      properties:
        windowLabel:
          type: string
        connections:
          nullable: true
        memory:
          nullable: true
        cpu:
          nullable: true
        opsPerSec:
          nullable: true
        hitRate:
          nullable: true
        network:
          nullable: true
      required:
      - windowLabel
      additionalProperties:
        nullable: true
    FunctionTelemetry:
      type: object
      nullable: true
      properties: {}
      additionalProperties:
        nullable: true
    BuildLogsResult:
      type: object
      properties:
        logs:
          type: string
      required:
      - logs
    DeploymentTelemetry:
      type: object
      nullable: true
      properties:
        windowLabel:
          type: string
        cpu:
          nullable: true
        memory:
          nullable: true
        requestsPerMin:
          nullable: true
        p95LatencyMs:
          nullable: true
        network:
          nullable: true
      required:
      - windowLabel
      additionalProperties:
        nullable: true
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API key issued by the browser-based CLI authorization flow.