Losant Events API

The Events API from Losant — 5 operation(s) for events.

GitHub OpenAPI

Operations 9

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

GET /applications/{applicationId}/events List an application's events · Returns the events for an application #
Ask an LLM
“What events have been logged in my application?”
“Can I filter an application's events by state?”
Tell an agent
List events for application {application}.
Show events in application {application} with state {state}.
POST /applications/{applicationId}/events Log a new event · Create a new event for an application #
Ask an LLM
“How do I log a new event from a device?”
“Can I attach data and tags to a new event?”
Tell an agent
Log a {level} event {subject} in application {application}.
Create a {level} event {subject} for device {device} with data {data}.
PATCH /applications/{applicationId}/events Update matching events in bulk · Asynchronously updates information for matching events by subject and/or… #
Ask an LLM
“Can I change the state of several events at once?”
“How do I update events matching a filter?”
Tell an agent
Set the state of events matching {filter} in application {application} to {state}.
Update all events in application {application} with state {state} to level {level}.
POST /applications/{applicationId}/events/delete Delete events by filter · Delete events #
Ask an LLM
“How do I delete events older than a date?”
“Can I delete events by source type?”
Tell an agent destructive · confirm first
Delete events in application {application} with source type {sourceType}.
Delete events in application {application} created before {creationDate}.
POST /applications/{applicationId}/events/export Export an application's event data · Request an export of an application's event data #
Ask an LLM
“Can I export all events for an application?”
“Is it possible to exclude update events from an export?”
Tell an agent
Export events for application {application}.
Export application {application} events in {format} excluding updates.
GET /applications/{applicationId}/events/mostRecentBySeverity Get the most severe new event · Returns the first new event ordered by severity and then creation #
Ask an LLM
“What is the most severe event that has not been processed yet?”
“Can I find the newest event by severity?”
Tell an agent
Get the most recent event in application {application} by severity.
Find the newest {severity} event in application {application} matching {filter}.
GET /applications/{applicationId}/events/{eventId} Get one event · Retrieves information on an event #
Ask an LLM
“How do I look up a single event by ID?”
“What details are stored on one event?”
Tell an agent
Get event {event} in application {application}.
Show the details of event {event} in application {application}.
PATCH /applications/{applicationId}/events/{eventId} Update one event · Updates information about an event #
Ask an LLM
“How do I change the state of one event?”
“Can I add a comment to a single event?”
Tell an agent
Set event {event} in application {application} to state {state}.
Add comment {comment} to event {event} in application {application}.
DELETE /applications/{applicationId}/events/{eventId} Delete one event · Deletes an event #
Ask an LLM
“How do I delete a single event?”
“Can I remove one event by ID?”
Tell an agent destructive · confirm first
Delete event {event} in application {application}.
Remove the single event {event} from application {application}.

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-events-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-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Platform Events 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 (55 KB total) ---
# Full source: https://artifacts.apis.io/losant/openapi/losant-events-api-openapi.yml