Sageox Logs API

Collect frontend application logs for centralized error tracking and debugging. Accepts batches of structured log entries from web and CLI clients with severity levels and metadata.

GitHub OpenAPI

Operations 1

POST /api/logs/frontend Frontend log ingestion #

Specifications

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/sageox:sageox-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

sageox-logs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SageOx Logs API
  version: 1.0.0
  description: '# API Reference


    ## Overview


    SageOx is a platform that captures team knowledge from discussions, decisions, and work context into a Ledger (per-repo historical record) and Team Context (team-wide shared knowledge).'
  contact:
    name: SageOx Team
  license:
    name: MIT
servers:
- url: http://localhost:3000
  description: Devcontainer
- url: https://test.sageox.ai
  description: Test
- url: https://sageox.ai
  description: Production
security:
- bearerAuth: []
tags:
- name: Logs
  description: Collect frontend application logs for centralized error tracking and debugging. Accepts batches of structured log entries from web and CLI clients with severity levels and metadata.
paths:
  /api/logs/frontend:
    post:
      operationId: postFrontendLogs
      summary: Frontend log ingestion
      description: 'Receives a batch of structured logs from the web frontend and forwards

        them to the backend''s slog pipeline tagged with `source=frontend`. Used

        by the BFF to capture client-side errors, console warnings, and lifecycle

        events alongside server logs.'
      tags:
      - Logs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - logs
              - timestamp
              properties:
                logs:
                  type: array
                  description: Batch of frontend log entries.
                  items:
                    type: object
                    required:
                    - level
                    - message
                    - timestamp
                    properties:
                      level:
                        type: string
                        enum:
                        - debug
                        - info
                        - warn
                        - error
                        description: Log severity. Unknown values default to info on the server.
                      message:
                        type: string
                      timestamp:
                        type: string
                        format: date-time
                        description: ISO 8601 timestamp captured at the client.
                      context:
                        type: string
                        description: Optional logger name / module hint.
                      meta:
                        type: object
                        additionalProperties: true
                        description: Free-form structured metadata merged into the server log line.
                      url:
                        type: string
                        description: Page URL where the log was emitted.
                      userAgent:
                        type: string
                timestamp:
                  type: string
                  format: date-time
                  description: Wall-clock time the batch was sent.
      responses:
        '200':
          description: Logs accepted
          content:
            application/json:
              schema:
                type: object
                required:
                - received
                - timestamp
                properties:
                  received:
                    type: integer
                    description: Number of log entries received in this batch.
                  timestamp:
                    type: string
                    format: date-time
        '400':
          description: Malformed request body
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'JWT token obtained from the auth service (/api/auth/token).

        Token is validated using JWKS from the auth service.

        Required claims: sub (user_id), email, name, tier.

        '