2023-02-09 04:09:38 +11:00
|
|
|
[
|
|
|
|
|
{
|
2024-12-20 00:06:22 +02:00
|
|
|
"id": "===========[workspace ID]===========",
|
|
|
|
|
"created_at": "====[timestamp]=====",
|
|
|
|
|
"updated_at": "====[timestamp]=====",
|
|
|
|
|
"owner_id": "==========[first user ID]===========",
|
2025-05-29 13:12:13 -03:00
|
|
|
"owner_name": "testuser",
|
2024-01-30 14:07:06 -03:00
|
|
|
"owner_avatar_url": "",
|
2024-12-20 00:06:22 +02:00
|
|
|
"organization_id": "===========[first org ID]===========",
|
2024-09-26 13:20:44 -05:00
|
|
|
"organization_name": "coder",
|
2024-12-20 00:06:22 +02:00
|
|
|
"template_id": "===========[template ID]============",
|
2023-02-09 04:09:38 +11:00
|
|
|
"template_name": "test-template",
|
|
|
|
|
"template_display_name": "",
|
|
|
|
|
"template_icon": "",
|
|
|
|
|
"template_allow_user_cancel_workspace_jobs": false,
|
2024-12-20 00:06:22 +02:00
|
|
|
"template_active_version_id": "============[version ID]============",
|
2023-10-19 18:21:52 -05:00
|
|
|
"template_require_active_version": false,
|
2025-07-29 03:41:49 +02:00
|
|
|
"template_use_classic_parameter_flow": false,
|
2023-02-09 04:09:38 +11:00
|
|
|
"latest_build": {
|
2024-12-20 00:06:22 +02:00
|
|
|
"id": "========[workspace build ID]========",
|
|
|
|
|
"created_at": "====[timestamp]=====",
|
|
|
|
|
"updated_at": "====[timestamp]=====",
|
|
|
|
|
"workspace_id": "===========[workspace ID]===========",
|
2023-02-09 04:09:38 +11:00
|
|
|
"workspace_name": "test-workspace",
|
2024-12-20 00:06:22 +02:00
|
|
|
"workspace_owner_id": "==========[first user ID]===========",
|
2025-05-30 11:00:26 -03:00
|
|
|
"workspace_owner_name": "testuser",
|
2024-12-20 00:06:22 +02:00
|
|
|
"template_version_id": "============[version ID]============",
|
|
|
|
|
"template_version_name": "===========[version name]===========",
|
2023-02-09 04:09:38 +11:00
|
|
|
"build_number": 1,
|
|
|
|
|
"transition": "start",
|
2024-12-20 00:06:22 +02:00
|
|
|
"initiator_id": "==========[first user ID]===========",
|
2023-02-09 04:09:38 +11:00
|
|
|
"initiator_name": "testuser",
|
|
|
|
|
"job": {
|
2024-12-20 00:06:22 +02:00
|
|
|
"id": "======[workspace build job ID]======",
|
|
|
|
|
"created_at": "====[timestamp]=====",
|
|
|
|
|
"started_at": "====[timestamp]=====",
|
|
|
|
|
"completed_at": "====[timestamp]=====",
|
2023-02-09 04:09:38 +11:00
|
|
|
"status": "succeeded",
|
2024-12-20 00:06:22 +02:00
|
|
|
"worker_id": "====[workspace build worker ID]=====",
|
|
|
|
|
"file_id": "=====[workspace build file ID]======",
|
2023-02-09 04:09:38 +11:00
|
|
|
"tags": {
|
2023-12-18 16:44:52 +00:00
|
|
|
"owner": "",
|
2023-02-09 04:09:38 +11:00
|
|
|
"scope": "organization"
|
2023-06-20 15:07:18 -05:00
|
|
|
},
|
|
|
|
|
"queue_position": 0,
|
2025-01-20 11:18:53 +02:00
|
|
|
"queue_size": 0,
|
|
|
|
|
"organization_id": "===========[first org ID]===========",
|
2025-10-06 10:56:43 +02:00
|
|
|
"initiator_id": "==========[first user ID]===========",
|
2025-01-20 11:18:53 +02:00
|
|
|
"input": {
|
|
|
|
|
"workspace_build_id": "========[workspace build ID]========"
|
|
|
|
|
},
|
2025-02-10 10:00:34 -03:00
|
|
|
"type": "workspace_build",
|
|
|
|
|
"metadata": {
|
|
|
|
|
"template_version_name": "",
|
|
|
|
|
"template_id": "00000000-0000-0000-0000-000000000000",
|
|
|
|
|
"template_name": "",
|
|
|
|
|
"template_display_name": "",
|
|
|
|
|
"template_icon": ""
|
2025-07-30 19:09:53 -05:00
|
|
|
},
|
|
|
|
|
"logs_overflowed": false
|
2023-02-09 04:09:38 +11:00
|
|
|
},
|
|
|
|
|
"reason": "initiator",
|
|
|
|
|
"resources": [],
|
2024-12-20 00:06:22 +02:00
|
|
|
"deadline": "====[timestamp]=====",
|
2023-03-08 01:14:58 +11:00
|
|
|
"max_deadline": null,
|
2023-02-09 04:09:38 +11:00
|
|
|
"status": "running",
|
2024-12-11 13:38:13 +02:00
|
|
|
"daily_cost": 0,
|
|
|
|
|
"matched_provisioners": {
|
|
|
|
|
"count": 0,
|
|
|
|
|
"available": 0,
|
|
|
|
|
"most_recently_seen": null
|
2025-04-14 15:34:50 +02:00
|
|
|
},
|
2025-06-24 12:36:37 +02:00
|
|
|
"template_version_preset_id": null,
|
2025-08-19 10:41:33 +02:00
|
|
|
"has_external_agent": false
|
2023-02-09 04:09:38 +11:00
|
|
|
},
|
2025-03-31 10:55:44 -04:00
|
|
|
"latest_app_status": null,
|
2023-02-09 04:09:38 +11:00
|
|
|
"outdated": false,
|
|
|
|
|
"name": "test-workspace",
|
|
|
|
|
"autostart_schedule": "CRON_TZ=US/Central 30 9 * * 1-5",
|
|
|
|
|
"ttl_ms": 28800000,
|
2024-12-20 00:06:22 +02:00
|
|
|
"last_used_at": "====[timestamp]=====",
|
2023-06-28 16:12:49 -05:00
|
|
|
"deleting_at": null,
|
2023-08-24 13:25:54 -05:00
|
|
|
"dormant_at": null,
|
2023-07-10 12:40:11 +03:00
|
|
|
"health": {
|
|
|
|
|
"healthy": true,
|
|
|
|
|
"failing_agents": []
|
2023-10-06 13:27:12 +04:00
|
|
|
},
|
2023-12-15 13:38:47 -05:00
|
|
|
"automatic_updates": "never",
|
2024-01-24 13:39:19 +00:00
|
|
|
"allow_renames": false,
|
2024-12-02 21:02:36 +00:00
|
|
|
"favorite": false,
|
2025-07-15 14:11:04 +01:00
|
|
|
"next_start_at": "====[timestamp]=====",
|
2026-09-11 03:48:56 +02:00
|
|
|
"is_prebuild": false
|
2023-02-09 04:09:38 +11:00
|
|
|
}
|
|
|
|
|
]
|