API
AgentTerminal
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
POST |
/api/v1/organizations/{organization_id}/agents/{id}/spark/terminal/connect |
create |
Private computer connection |
Fields
| Field | Type | Required | Description |
|---|
create
POST /api/v1/organizations/{organization_id}/agents/{id}/spark/terminal/connect
Operation ID: spark_terminal_connect_api_v1_organization_persistent_agent.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
id |
path |
string |
Yes |
Request body
application/json
The request body is object.
Responses
200: Private computer connection
application/json
| Property | Type | Required | Description |
|---|---|---|---|
credentials |
object |
No | |
credentials.password |
string |
Yes | |
credentials.username |
string |
Yes | |
expires_at |
string,null (date-time) |
Yes | |
kind |
enum: desktop |
No | |
platform |
enum: linux, macos |
No | |
state |
enum: starting, ready |
Yes | |
url |
string,null |
Yes |
202: Preparing computer control
application/json
| Property | Type | Required | Description |
|---|---|---|---|
credentials |
object |
No | |
credentials.password |
string |
Yes | |
credentials.username |
string |
Yes | |
expires_at |
string,null (date-time) |
Yes | |
kind |
enum: desktop |
No | |
platform |
enum: linux, macos |
No | |
state |
enum: starting, ready |
Yes | |
url |
string,null |
Yes |