Losant Flows API

The Flows API from Losant — 11 operation(s) for flows.

GitHub OpenAPI

Operations 16

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}/flows List an application's flows · Returns the flows for an application #
Ask an LLM
“What flows are defined in my Losant application?”
“Can I filter an application's flows by flow class or trigger?”
Tell an agent
List the flows in application {applicationId}.
Show {flowClass} flows in {applicationId} matching {filter}.
POST /applications/{applicationId}/flows Create a flow in an application · Create a new flow for an application #
Ask an LLM
“How do I create a new workflow in an application?”
“Can I set the flow's triggers and nodes when creating it?”
Tell an agent
Create a flow named {name} in application {applicationId}.
Create flow {name} in {applicationId} with triggers {triggers} and nodes {nodes}.
POST /applications/{applicationId}/flows/import Import flows and versions into an application · Import a set of flows and flow versions #
Ask an LLM
“How do I bulk import flows and their versions into an application?”
“Can I bring in several flow versions at once?”
Tell an agent
Import flows {flows} into application {applicationId}.
Import flow versions {flowVersions} into {applicationId}.
GET /applications/{applicationId}/flows/palette Get extra nodes for the flow palette · Gets additional nodes that should be available in the palette #
Ask an LLM
“Which additional nodes are available in the flow palette?”
“What custom nodes should appear in my application's palette?”
Tell an agent
Get the palette nodes for application {applicationId}.
Show extra nodes available in {applicationId}'s flow palette.
GET /applications/{applicationId}/flows/version List flows by version · Returns the flows by version for an application #
Ask an LLM
“How do I see all the flows in a particular version of my application?”
“Can I filter the versioned flows by trigger?”
Tell an agent
List the flows in version {version} of application {applicationId}.
Show {flowClass} flows in {applicationId} at version {version} matching {filter}.
GET /applications/{applicationId}/flows/{flowId} Get a flow's details · Retrieves information on a flow #
Ask an LLM
“What triggers and nodes does a specific flow have?”
“Can I include custom node details when fetching a flow?”
Tell an agent
Get flow {flowId} in application {applicationId}.
Show flow {flowId} in {applicationId} with custom nodes {includeCustomNodes}.
PATCH /applications/{applicationId}/flows/{flowId} Update a flow's details · Updates information about a flow #
Ask an LLM
“How do I rename a flow or change its description?”
“Can I change a flow's triggers after it's created?”
Tell an agent
Rename flow {flowId} in application {applicationId} to {name}.
Set the description of flow {flowId} in {applicationId} to {description}.
DELETE /applications/{applicationId}/flows/{flowId} Delete a flow · Deletes a flow #
Ask an LLM
“How do I delete a workflow from an application?”
“Can I remove a flow I no longer use?”
Tell an agent destructive · confirm first
Delete flow {flowId} from application {applicationId}.
Remove workflow {flowId} in {applicationId}.
GET /applications/{applicationId}/flows/{flowId}/errors Get a flow's run errors · Get information about errors that occurred during runs of this workflow #
Ask an LLM
“What errors have occurred when my workflow ran?”
“Can I see errors for a specific device or time range?”
Tell an agent
Show the errors for flow {flowId} in application {applicationId}.
Get {duration} ms of errors for flow {flowId} in {applicationId} on device {deviceId}.
GET /applications/{applicationId}/flows/{flowId}/logs Get recent log entries for a flow · Retrieve the recent log entries about runs of this workflow #
Ask an LLM
“What has my workflow logged recently?”
“Can I fetch log entries since a certain time?”
Tell an agent
Get the recent log entries for flow {flowId} in application {applicationId}.
Show {limit} log entries for flow {flowId} in {applicationId} since {since}.
GET /applications/{applicationId}/flows/{flowId}/stats Get statistics about a flow's runs · Get statistics about workflow runs for this workflow #
Ask an LLM
“How many times has my workflow run and how long do runs take?”
“Can I get run stats for a single device?”
Tell an agent
Get run statistics for flow {flowId} in application {applicationId}.
Show {duration} ms of run stats for flow {flowId} in {applicationId} on device {deviceId}.
GET /applications/{applicationId}/flows/{flowId}/storage Get a flow's persistent storage values · Gets the current values in persistent storage #
Ask an LLM
“What values are stored in my workflow's persistent storage?”
“Can I read all storage entries for a flow?”
Tell an agent
Get the persistent storage values for flow {flowId} in application {applicationId}.
Show every stored value in {flowId} of {applicationId}.
PATCH /applications/{applicationId}/flows/{flowId}/storage Set a storage value in a flow · Sets a storage value #
Ask an LLM
“How do I store a value in a workflow's persistent storage?”
“Can I set a single storage key to a value?”
Tell an agent
Set storage key {key} to {value} in flow {flowId} of application {applicationId}.
Store {value} under {key} in {flowId} in {applicationId}.
DELETE /applications/{applicationId}/flows/{flowId}/storage Clear a flow's storage · Clear all storage entries #
Ask an LLM
“How do I wipe all persistent storage for a workflow?”
“Can I reset a flow's stored values?”
Tell an agent destructive · confirm first
Clear all storage entries for flow {flowId} in application {applicationId}.
Reset the persistent storage of {flowId} in {applicationId}.
GET /applications/{applicationId}/flows/{flowId}/storage-metadata Get storage metadata for a flow · Gets metadata about storage for this flow #
Ask an LLM
“What metadata is available about a flow's storage entries?”
“Can I see storage metadata for a workflow?”
Tell an agent
Get storage metadata for flow {flowId} in application {applicationId}.
Show metadata about storage entries in {flowId} of {applicationId}.
POST /applications/{applicationId}/flows/{flowId}/virtualButton Press a virtual button on a flow · Presses the specified virtual button on the flow #
Ask an LLM
“How do I trigger a virtual button on a workflow?”
“Can I send a payload when pressing a flow's virtual button?”
Tell an agent
Press virtual button {key} on flow {flowId} in application {applicationId}.
Trigger virtual button {key} on {flowId} in {applicationId} with payload {payload}.

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