JSON Structure

The Cloud Observability API is based on the JSON API standard. As such, all non-error responses are formatted as a JSON document with a top-level data field.

{ "data":[ 0:{ "type":"stream" "id":"dh9DvmPN" "attributes":{ "name":"component:"iOS" operation:"/api/get-transactions"" "query":"operation IN ("/api/get-transactions") AND service IN ("iOS")" "created-by":"user@lightstep.com" "created-time":"2019-10-28T18:08:26.581137Z" } "relationships":{ "project":{ "links":{ "related":"https://api.lightstep.com/public/v0.2/LightStep/projects/demo" } } "conditions":{ "links":{ "related":"https://api.lightstep.com/public/v0.2/LightStep/projects/demo/streams/dh9DvmPN/conditions" } } } "links":{ "self":"https://api.lightstep.com/public/v0.2/LightStep/projects/demo/streams/dh9DvmPN/timeseries" "ui":"https://app.lightstep.com/demo/operation/dh9DvmPN" "ui-p90":"https://app.lightstep.com/demo/operation/dh9DvmPN?filter_percentile=90.0" "ui-p95":"https://app.lightstep.com/demo/operation/dh9DvmPN?filter_percentile=95.0" "ui-p99":"https://app.lightstep.com/demo/operation/dh9DvmPN?filter_percentile=99.0" } } 1:{...} ] }