{ "opencollection": "1.0.0", "info": { "name": "Samsara Inputs API", "version": "2024-11-18" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Inputs", "type": "folder" }, "items": [ { "info": { "name": "[beta] List Asset Inputs Data in an Organization.", "type": "http" }, "http": { "method": "GET", "url": "https://api.samsara.com/assets/inputs/stream", "params": [ { "name": "ids", "value": "", "type": "query", "description": "Comma-separated list of asset IDs. Limited to 100 ID's for each request." }, { "name": "type", "value": "", "type": "query", "description": "Input stat type to query for. Valid values: `auxInput1`, `auxInput2`, `auxInput3`, `auxInput4`, `auxInput5`, `auxInput6`, `auxInput7`, `auxInput8`, `auxInput9`, `auxInput10`, `auxInput11`, `auxInput12`, `auxInput13`, `analogInput1Voltage`, `analogInput2Voltage`, `analogInput1Current`, `analogInput2Current`, `batteryVoltage`" }, { "name": "after", "value": "", "type": "query", "description": " If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results." }, { "name": "startTime", "value": "", "type": "query", "description": "A start time in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00)." }, { "name": "endTime", "value": "", "type": "query", "description": " An end time in RFC 3339 format. Defaults to never if not provided; if not provided then pagination will not cease, and a valid pagination cursor will always be returned. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00)." }, { "name": "includeExternalIds", "value": "", "type": "query", "description": "Optional boolean indicating whether to return external IDs on supported entities" }, { "name": "includeTags", "value": "", "type": "query", "description": "Optional boolean indicating whether to return tags on supported entities" }, { "name": "includeAttributes", "value": "", "type": "query", "description": "Optional boolean indicating whether to return attributes on supported entities" } ] }, "docs": "This endpoint will return data collected from the inputs of your organization's assets based on the time parameters passed in. Results are paginated. If you include an endTime, the endpoint will return data up until that point. If you dont include an endTime, you can continue to poll the API real-time with the pagination cursor that gets returned on every call. The endpoint will only return data up until the endTime that has been processed by the server at the time of the original request. You w" } ] } ], "bundled": true }