Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Terminal Use Logs API

The Logs API from Terminal Use — 3 operation(s) for logs.

Terminal Use Logs API is one of 28 APIs that Terminal Use publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Logs. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 3 operations across 3 paths, and defines 20 schemas. It is described by OpenAPI 3.1.0, at version 0.1.0.

Requests are made against the base URL https://api.terminaluse.com.

3 operations 3 paths 20 schemas 2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.1.0
Base URL
https://api.terminaluse.com
Resource Areas
1

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Logs 3
GET
/logs
List Agent Logs
logs_list 12 params → 200422
POST
/logs/otlp
Ingest Agent Logs (OTLP Format)
logs_ingest_otlp body → 200422
GET
/logs/stream
Stream Agent Logs
logs_stream 5 params → 200422

Schemas 20

The contract defines 20 schemas that model the data the API accepts and returns. The most detailed are LogQueryEntry (13 properties), LogStreamLogEvent (12 properties), OTLPLogRecord (7 properties), OTLPAttributeValue (6 properties). Each schema is shown below with its type and property counts.

OTLPResource
object
OTLP resource with attributes.
1 property
OTLPAttribute
object
OTLP key-value attribute.
2 properties 2 required
ValidationError
object
3 properties 3 required
LogQueryEntry
object
A log entry returned from queries.
13 properties 6 required
OTLPBodyValue
object
OTLP body value for log record messages. Unlike OTLPAttributeValue, this class does NOT have maxlength constraints on stringValue. This allows the OTLPLogRecor…
6 properties
OTLPScope
object
OTLP instrumentation scope.
2 properties
OTLPScopeLogs
object
OTLP scope logs containing log records.
2 properties
LogStreamEvent
Union of all possible log stream SSE events. Use the 'type' field to discriminate between event types: - "connected": Stream connection established - "log": A…
LogStreamLogEvent
object
A log entry in the SSE stream. Wraps LogQueryEntry fields with a type discriminator for SDK parsing.
12 properties 6 required
OTLPLogIngestionResponse
object
Response from OTLP log ingestion endpoint.
2 properties 1 required
LogListResponse
object
Response from logs list endpoint.
3 properties 3 required
LogStreamErrorEvent
object
Sent when an error occurs in the log stream. After this event, the stream may close or attempt recovery.
2 properties 1 required
LogSource
string
Source of the log entry.
LogStreamConnectedEvent
object
Sent when SSE log stream connection is established. Indicates the client is now subscribed and will receive new logs. Only logs generated AFTER this event will…
2 properties 1 required
LogLevel
string
Log level for entries.
OTLPAttributeValue
object
OTLP attribute value supporting multiple types. Per OTLP JSON spec, intValue is transmitted as a string to avoid JSON number precision issues with int64 values…
6 properties
OTLPLogRecord
object
OTLP log record. The body field (message content) is limited to MAXMESSAGELENGTH (64KB). Messages exceeding this limit are truncated with a "[TRUNCATED]" indic…
7 properties
HTTPValidationError
object
1 property
OTLPResourceLogs
object
OTLP resource logs container.
2 properties
OTLPLogIngestionRequest
object
OTLP log data in JSON format.
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

terminal-use-logs-api-openapi.yml Raw ↑

Other APIs Terminal Use publishes across the network.

Terminal Use Agent APIKeys API
Terminal Use Agent Task Tracker API
Terminal Use Agents API
Terminal Use API Keys API
Terminal Use Authentication API
Terminal Use Branch Events API
Terminal Use Branches API
Terminal Use Builds API
Terminal Use CLI Authentication API
Terminal Use Environments API
Terminal Use Events API
Terminal Use Filesystems API