SmartTouch Remote Access API (1.0.0)

Download OpenAPI specification:

Configure and monitor the SmartTouch Remote Access Service.

This API covers the operational surface of the Remote Access Service itself: broker health, protocol configuration, and agent registration policy. For session lifecycle operations, see the Session API. For device agent status, see the Device API.

What this API covers

Resource Description
/remote-access/health Broker health and active connection count
/remote-access/config Service-level protocol and TTL configuration
/remote-access/protocols Enabled session protocols and their role requirements
/remote-access/broker Broker connection metrics and node status
/remote-access/agents All connected agent instances across devices

Role requirements

Operation Minimum role
Read health and metrics developer
Read configuration developer
Update configuration platform-engineer
View all agents platform-engineer
Disconnect an agent administrator

Authentication

All endpoints require a bearer token obtained via stctl auth token.

Base URL

https://api.<your-platform-domain>/v1

Related APIs

Health

Remote Access Service and broker health

Get Remote Access Service health

Returns the health status of the Remote Access Service and its session broker. Use this endpoint to confirm the service is operational before opening sessions.

Responses

Response samples

Content type
application/json
{
  • "status": 200,
  • "data": {
    }
}

Configuration

Service-level configuration for protocols, TTLs, and session limits

Get Remote Access Service configuration

Returns the active service-level configuration for the Remote Access Service.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "status": 200,
  • "data": {
    }
}

Update Remote Access Service configuration

Update one or more service-level configuration values. Only the fields included in the request body are changed.

Changes take effect within 30 seconds. Active sessions are not interrupted.

Requires the platform-engineer role.

Authorizations:
bearerAuth
Request Body schema: application/json
required
default_ttl_seconds
integer [ 60 .. 28800 ]
max_ttl_seconds
integer [ 60 .. 28800 ]
max_sessions_per_device
integer [ 1 .. 10 ]
allowed_protocols
Array of strings non-empty
Items Enum: "diagnostics" "shell" "file-transfer"
agent_heartbeat_interval_seconds
integer [ 10 .. 300 ]
agent_reconnect_backoff_seconds
integer [ 1 .. 60 ]

Responses

Request samples

Content type
application/json
Example
{
  • "default_ttl_seconds": 1800
}

Response samples

Content type
application/json
{
  • "status": 200,
  • "data": {
    }
}

Protocols

Session protocol definitions and role requirements

List session protocols

Returns the full list of session protocols supported by the platform, including each protocol's description, required role, and enabled state.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "status": 200,
  • "data": [
    ]
}

Broker

Broker node status and connection metrics

Get broker status

Returns connection metrics and node-level status for the session broker. Use this endpoint to diagnose broker capacity or connectivity issues. Requires the platform-engineer role.

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "status": 200,
  • "data": {
    }
}

Agents

Connected Remote Access Agent instances

List connected agents

Returns all Remote Access Agent instances currently connected to the broker. Each entry maps to a device. Use this endpoint to audit which devices are online. Requires the platform-engineer role.

Authorizations:
bearerAuth
query Parameters
broker_node
string
Example: broker_node=broker-node-01

Filter agents connected to a specific broker node

page
integer
Default: 1
per_page
integer <= 500
Default: 100

Responses

Response samples

Content type
application/json
{
  • "status": 200,
  • "data": [
    ],
  • "meta": {
    }
}

Disconnect an agent

Forcibly disconnects the Remote Access Agent for a device from the broker. All open sessions to this device are closed immediately.

The agent will attempt to reconnect according to its backoff policy. Use this endpoint to force a reconnect cycle when an agent appears stuck.

Requires the administrator role.

Authorizations:
bearerAuth
path Parameters
deviceId
required
string
Example: sensor-001

Device ID of the connected agent

Responses

Response samples

Content type
application/json
{
  • "status": 200,
  • "data": {
    }
}