POST
/
workspaces
/
{workspace}
/
usage
curl --request POST \
  --url https://cloud.local.wirtual.dev/api/v2/workspaces/{workspace}/usage \
  --header 'Content-Type: application/json' \
  --header 'Wirtual-Session-Token: <api-key>' \
  --data '{
  "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "app_name": "vscode"
}'

Authorizations

Wirtual-Session-Token
string
header
required

Path Parameters

workspace
string
required

Workspace ID

Body

application/json
Post workspace usage request
agent_id
string
app_name
enum<string>
Available options:
vscode,
jetbrains,
reconnecting-pty,
ssh