Losant Data API

The Data API from Losant — 3 operation(s) for data.

GitHub OpenAPI

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /applications/{applicationId}/data/export Export device data as CSV · Creates a csv file from a query of devices and attributes over a time range #
Ask an LLM
“How do I export device data for a time range into a CSV file?”
“Can I export only devices matching a tag or query?”
Tell an agent
Export device data for application {applicationId} from {start} to {end}.
Export devices {deviceIds} in application {applicationId} matching {deviceQuery}.
POST /applications/{applicationId}/data/last-value-query Get the last known value of a device attribute · Returns the last known data for the given attribute #
Ask an LLM
“What was the most recent reading of a sensor attribute?”
“Can I get the latest value for several devices at once?”
Tell an agent
Get the last value of attribute {attribute} in application {applicationId}.
Get the latest {attribute} for devices {deviceIds} in {applicationId}.
POST /applications/{applicationId}/data/time-series-query Get a time series of device data · Returns the data for the given query #
Ask an LLM
“How do I chart a device's readings over time?”
“Can I get data as a time series with a given resolution?”
Tell an agent
Get time series data for {attributes} in application {applicationId} from {start} to {end}.
Pull {attributes} for devices {deviceIds} in {applicationId} as {resolution} resolution.

Specifications

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/losant:losant-data-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

losant-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Platform Data API
  version: 1.31.0
  description: User API for accessing platform data
servers:
- url: https://api.losant.com
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (50 KB total) ---
# Full source: https://artifacts.apis.io/losant/openapi/losant-data-api-openapi.yml