LogBrew · Schema

TraceSpanResponse

A native trace span returned to API clients.

ObservabilityLoggingMonitoringAnalyticsError Tracking

Properties

Name Type Description
attributes object Structured span attributes.
duration_ms integer Span duration in milliseconds.
environment string Deployment environment.
id string Unique span row identifier.
name string Human-readable span name.
operation string Operation category.
parent_span_id stringnull Parent span ID.
project_id string Owning project ID.
release string Application release.
sdk_name string SDK package name.
sdk_version string SDK semantic version.
service_name string Logical service name.
span_id string Span ID unique within a trace.
started_at string Span start timestamp.
status stringnull Span status.
trace_id string Distributed trace ID.
View JSON Schema on GitHub

JSON Schema

logbrew-trace-span-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/logbrew/json-schema/logbrew-trace-span-response-schema.json",
  "title": "TraceSpanResponse",
  "description": "A native trace span returned to API clients.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/logbrew-traces-api-openapi.yml#/components/schemas/TraceSpanResponse",
  "properties": {
    "attributes": {
      "description": "Structured span attributes."
    },
    "duration_ms": {
      "description": "Span duration in milliseconds.",
      "format": "int64",
      "type": "integer"
    },
    "environment": {
      "description": "Deployment environment.",
      "type": "string"
    },
    "id": {
      "description": "Unique span row identifier.",
      "format": "uuid",
      "type": "string"
    },
    "name": {
      "description": "Human-readable span name.",
      "type": "string"
    },
    "operation": {
      "description": "Operation category.",
      "type": "string"
    },
    "parent_span_id": {
      "description": "Parent span ID.",
      "type": [
        "string",
        "null"
      ]
    },
    "project_id": {
      "description": "Owning project ID.",
      "format": "uuid",
      "type": "string"
    },
    "release": {
      "description": "Application release.",
      "type": "string"
    },
    "sdk_name": {
      "description": "SDK package name.",
      "type": "string"
    },
    "sdk_version": {
      "description": "SDK semantic version.",
      "type": "string"
    },
    "service_name": {
      "description": "Logical service name.",
      "type": "string"
    },
    "span_id": {
      "description": "Span ID unique within a trace.",
      "type": "string"
    },
    "started_at": {
      "description": "Span start timestamp.",
      "format": "date-time",
      "type": "string"
    },
    "status": {
      "description": "Span status.",
      "type": [
        "string",
        "null"
      ]
    },
    "trace_id": {
      "description": "Distributed trace ID.",
      "type": "string"
    }
  },
  "required": [
    "id",
    "project_id",
    "trace_id",
    "span_id",
    "parent_span_id",
    "name",
    "operation",
    "status",
    "started_at",
    "duration_ms",
    "attributes",
    "environment",
    "release",
    "service_name",
    "sdk_name",
    "sdk_version"
  ],
  "type": "object"
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/logbrew-trace-span-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.