Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the SmartThings API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fsmartthings.com%2Fsmartthings" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fsmartthings.com%2Fsmartthings" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with SmartThings API.
Send commands to a specific device through POST /devices/{deviceId}/commands, such as switching a light or locking a door
Read the full status of a device or one of its components via GET /devices/{deviceId}/status and GET /devices/{deviceId}/components/{componentId}/status
Check whether a device is online with GET /devices/{deviceId}/health
Run a saved scene such as 'Good Night' with POST /scenes/{sceneId}/execute
GET STARTED
Organise a home into locations and rooms, creating and renaming rooms under /locations/{locationId}/rooms
Register event subscriptions and schedules for an installed SmartApp under /installedapps/{installedAppId}
Patterns agents use SmartThings API for, with concrete tasks.
★ AI home assistant controlling devices through Jentic
A home assistant agent connected through Jentic searches for 'send a command to a SmartThings device', receives the executeCommands operation with its schema, and acts on a single device id. Before acting it can call getDeviceHealth to confirm the device is online and getDeviceStatus afterwards to confirm the change took effect, so the agent reports what actually happened rather than what it requested.
Search Jentic for 'send a command to a SmartThings device', call GET /devices to find the device labelled 'Living Room Lamp', check GET /devices/{deviceId}/health, then POST /devices/{deviceId}/commands to switch it off and confirm with GET /devices/{deviceId}/status
Bedtime and away routines with scenes
Households group several device actions into SmartThings scenes such as 'Good Night' or 'Away'. The SmartThings API lists those scenes with GET /scenes and runs one with POST /scenes/{sceneId}/execute, so a single call can lock doors, turn off lights and adjust the thermostat exactly as the scene was configured in the SmartThings app.
Call GET /scenes, find the scene named 'Good Night', and run it with POST /scenes/{sceneId}/execute
Device health monitoring
Owners of battery-powered sensors and locks need to know when a device drops offline. Polling GET /devices and then GET /devices/{deviceId}/health for each device gives a per-device online or offline picture that can feed a daily report or an alert when a critical device such as a leak sensor stops reporting.
List devices with GET /devices, call GET /devices/{deviceId}/health for each one, and report any device whose health shows it is offline
SmartApp event subscriptions and schedules
Developers building SmartApps use the installed-app endpoints to wire up event handling. POST /installedapps/{installedAppId}/subscriptions registers a subscription so the app is notified of device events, and POST /installedapps/{installedAppId}/schedules adds a recurring schedule, with matching list and delete operations to clean up when the app is reconfigured.
Call GET /installedapps to find the installed app id, list its current subscriptions with GET /installedapps/{installedAppId}/subscriptions, then create a new subscription with POST /installedapps/{installedAppId}/subscriptions
38 endpoints — the smartthings api controls the devices, locations, rooms and scenes in a samsung smartthings home, letting a caller read device status and health and send commands to switches, sensors and other connected hardware.
METHOD
PATH
DESCRIPTION
/devices
List devices
/devices/{deviceId}/status
Get device status
/devices/{deviceId}/commands
Execute device commands
/devices/{deviceId}/health
Get device health
/scenes
List scenes
/scenes/{sceneId}/execute
Execute a scene
/locations/{locationId}/rooms
List rooms in a location
/installedapps/{installedAppId}/subscriptions
Create an event subscription
/devices
List devices
/devices/{deviceId}/status
Get device status
/devices/{deviceId}/commands
Execute device commands
/devices/{deviceId}/health
Get device health
/scenes
List scenes
/scenes/{sceneId}/execute
Execute a scene
/locations/{locationId}/rooms
List rooms in a location
/installedapps/{installedAppId}/subscriptions
Create an event subscription
What agents get from Jentic-routed access to this vendor.
Setup
Wiring SmartThings by hand means generating a Personal Access Token or running an OAuth2 flow, then threading device, location and installed-app ids through every call. Through Jentic you install once, import the SmartThings API from the API Directory, store the token once, and your agent calls it.
Permission scoping
SmartThings puts the device id in the URL path (/devices/{deviceId}/commands), so a rule can pin your agent to one device: it can read and command that lamp and nothing else. You choose the operations it may call, so destructive ones like device deletion or location deletion are not included unless you add them.
Credential isolation
Your SmartThings token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'turn off a light' or 'run a scene', and Jentic returns the matching SmartThings operation with its input schema so the agent calls the right endpoint without browsing the reference docs.
Alternatives and complements available in the Jentic catalogue.
Specific to using SmartThings API through Jentic.
What authentication does the SmartThings API use?
Per its OpenAPI spec, the SmartThings API authenticates with a bearer token in the Authorization header, which can be a SmartThings Personal Access Token or an OAuth2 token. Through Jentic the token is stored encrypted by your own Jentic One instance and injected when the call runs, so the agent never handles it.
Can I send commands to a device with the SmartThings API?
Yes. POST /devices/{deviceId}/commands executes commands against one device, for example switching it on or off. Pair it with GET /devices/{deviceId}/status to read the resulting state and GET /devices/{deviceId}/health to check the device is online before you send anything.
What are the rate limits for the SmartThings API?
The OpenAPI spec does not specify rate limits. Check the SmartThings developer documentation at https://developer.smartthings.com for current limits, and have your agent read device status only when it needs it rather than polling continuously.
How do I run a SmartThings scene through Jentic?
Install Jentic One with `curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh`, add the SmartThings API from the Jentic API Directory, and store your SmartThings token. Your agent then searches for 'run a SmartThings scene', calls GET /scenes to find the scene id, and runs it with POST /scenes/{sceneId}/execute. To run it on your own infrastructure, install Jentic One from its GitHub repo.
Can I limit what my agent is allowed to do with the SmartThings API?
Yes. For example, write a rule that allows GET /devices/{deviceId}/status and POST /devices/{deviceId}/commands for the id of your living room lamp only. The agent can then check and switch that lamp, but it cannot command your door lock, delete devices, or change locations, and every call it makes is logged.
Can the SmartThings API organise devices into rooms?
Yes. Rooms belong to a location: GET /locations/{locationId}/rooms lists them, POST /locations/{locationId}/rooms creates a new one, and PUT /locations/{locationId}/rooms/{roomId} updates an existing room. GET /locations returns the location ids you need first.
For Agents
List and control SmartThings devices, read their status and health, run scenes, and manage locations, rooms, subscriptions, and schedules for installed apps.
Use for: Turn off the living room lights in my SmartThings home, Check whether the front door lock is online, Get the current temperature reading from my hallway sensor, Run the Good Night scene
Not supported: Does not handle device firmware updates, video camera streaming, or energy billing. Use for controlling SmartThings devices, scenes, rooms, and SmartApp subscriptions only.
The SmartThings API controls the devices, locations, rooms and scenes in a Samsung SmartThings home, letting a caller read device status and health and send commands to switches, sensors and other connected hardware. It also runs saved scenes, organises devices into locations and rooms, and lets SmartApps register event subscriptions and schedules against an installed app. Requests go to api.smartthings.com with a bearer token, either a SmartThings Personal Access Token or an OAuth2 token.
This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.
Base layer of spec validity and structural soundness.
Aggregated quality score from linter diagnostics, weighted by severity.
Percentage of `$ref` references that resolve successfully.
Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).
Structural correctness score based on schema issues using logarithmic dampening.
Clarity, completeness, and ingestion readiness for developers and tooling.
How richly the API is illustrated with examples.
Percentage of examples that conform to their schemas.
Percentage of operations with complete response definitions (success, client error, server error).
Health of API ingestion, bundling, and resolution within Jentic pipelines.
Semantic breadth, depth, and agent comprehension for AI systems.
Coverage of descriptions across API elements.
Coverage of RFC 9457 Problem Details for error responses.
Coverage, uniqueness, and casing consistency of operationIds for AI inference.
Coverage of summaries across operations/tags/info.
Functional utility, complexity comfort, and AI orchestration readiness.
Agent comfort level based on API operational and structural complexity.
Trust, risk posture, and security compliance.
Average quality of security schemes based on authentication method strength (weakest link for OAuth2).
Findability, semantic richness, and reasoning readiness.
Clarity and depth of descriptions across API elements.
Score it yourself
Every API in the directory is allowlisted, so you can re-score it with no key required.
npx @jentic/api-scorecard-cli score <openapi-url>