GET
/
workspacebuilds
/
{workspacebuild}
/
timings
curl --request GET \
  --url https://cloud.local.wirtual.dev/api/v2/workspacebuilds/{workspacebuild}/timings \
  --header 'Wirtual-Session-Token: <api-key>'
{
  "agent_connection_timings": [
    {
      "ended_at": "2023-11-07T05:31:56Z",
      "stage": "init",
      "started_at": "2023-11-07T05:31:56Z",
      "workspace_agent_id": "<string>",
      "workspace_agent_name": "<string>"
    }
  ],
  "agent_script_timings": [
    {
      "display_name": "<string>",
      "ended_at": "2023-11-07T05:31:56Z",
      "exit_code": 123,
      "stage": "init",
      "started_at": "2023-11-07T05:31:56Z",
      "status": "<string>",
      "workspace_agent_id": "<string>",
      "workspace_agent_name": "<string>"
    }
  ],
  "provisioner_timings": [
    {
      "action": "<string>",
      "ended_at": "2023-11-07T05:31:56Z",
      "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "resource": "<string>",
      "source": "<string>",
      "stage": "init",
      "started_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Wirtual-Session-Token
string
header
required

Path Parameters

workspacebuild
string
required

Workspace build ID

Response

200 - application/json
OK
agent_connection_timings
object[]
agent_script_timings
object[]

TODO: Consolidate agent-related timing metrics into a single struct when updating the API version

provisioner_timings
object[]