Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.truthlocks.com/llms.txt

Use this file to discover all available pages before exploring further.

Returns a time-series of trust score computations for a specific agent. Use this endpoint to visualize trust trends, detect score degradation, and audit score changes following incidents. Results are ordered chronologically (oldest first).

Authentication

Requires X-API-Key header or Bearer JWT token. Tenant-scoped via X-Tenant-ID.

Path Parameters

agent_id
string
required
The unique identifier of the machine agent. Format: maip-agent:ULID.

Query Parameters

from
string
ISO 8601 start timestamp for the history window. Defaults to 30 days ago.
to
string
ISO 8601 end timestamp for the history window. Defaults to now.
limit
integer
default:"100"
Maximum number of records to return. Range: 1-1000.

Response

agent_id
string
The agent identifier.
history
array
Array of historical trust score records, ordered by computed_at ascending.
total
integer
Total number of records matching the query window (before limit is applied).