Losant Device Recipes API

The Device Recipes API from Losant — 3 operation(s) for device recipes.

GitHub OpenAPI

Operations 6

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}/device-recipes List device recipes for an application · Returns the device recipes for an application #
Ask an LLM
“Which device recipes are defined for my application?”
“Can I filter device recipes by a field?”
Tell an agent
List device recipes for application {applicationId}.
Show device recipes in application {applicationId} matching {filterField} {filter}.
POST /applications/{applicationId}/device-recipes Create a device recipe · Create a new device recipe for an application #
Ask an LLM
“How do I define a new recipe for devices in my application?”
“Can a device recipe be a gateway or a child of another device?”
Tell an agent
Create device recipe {name} in application {applicationId}.
Create recipe {name} for device {deviceName} in application {applicationId}.
GET /applications/{applicationId}/device-recipes/{deviceRecipeId} Get a device recipe · Retrieves information on a device recipe #
Ask an LLM
“What are the settings of one device recipe?”
“Can I fetch a device recipe by its ID?”
Tell an agent
Get device recipe {deviceRecipeId} in application {applicationId}.
Show the configuration of recipe {deviceRecipeId} in {applicationId}.
PATCH /applications/{applicationId}/device-recipes/{deviceRecipeId} Update a device recipe · Updates information about a device recipe #
Ask an LLM
“Can I rename an existing device recipe?”
“Is it possible to change the gateway a device recipe points to?”
Tell an agent
Rename device recipe {deviceRecipeId} in application {applicationId} to {name}.
Set the gateway of recipe {deviceRecipeId} in {applicationId} to {gatewayId}.
DELETE /applications/{applicationId}/device-recipes/{deviceRecipeId} Delete a device recipe · Deletes a device recipe #
Ask an LLM
“How do I remove a device recipe I no longer use?”
“Can I delete a device recipe by its ID?”
Tell an agent destructive · confirm first
Delete device recipe {deviceRecipeId} from application {applicationId}.
Remove recipe {deviceRecipeId} in {applicationId}.
POST /applications/{applicationId}/device-recipes/{deviceRecipeId}/bulkCreate Bulk create devices from a recipe · Bulk creates devices using this recipe from a CSV #
Ask an LLM
“How do I create many devices from a recipe using a CSV?”
“Can I make bulk-created devices have unique secret keys?”
Tell an agent
Bulk create devices from recipe {deviceRecipeId} in application {applicationId} using CSV {csv}.
Create {count} devices from recipe {deviceRecipeId} in {applicationId} from {csv}, making keys unique.

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