URL:
https://<root>/services/datapipelines/computeresources/<compute resource id>
Methods:
GET
Operations:
Terminate
Version Introduced:
12.2

Description

The resource for a specific compute resource id returns details for that compute resource, including status, runtime information, and worker statistics.

This resource contains the Terminate operation.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

Below is a sample request URL for a specific compute resource:

Use dark colors for code blocksCopy
1
https://organization.example.com/<context>/rest/services/datapipelines/computeresources/1a2b3c4d5e6f7g8h9i?f=json

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
	"id": "<compute resource id>",
	"username": "<user account name>",
	"status": "<active|terminated>",
	"mode": "<job|interactive>", // Job is for a run outside of the editor, interactive is for the editor
	"runId": "<run id>", // Not used for interactive compute resources
	"createdAt": "<timestamp when compute resource was created>",
	"runningAt": "<timestamp when compute resource started>",
	"lastUsedAt": "<timestamp when compute resource was last used>",
	"terminatedAt": "<timestamp when compute resource terminated>",
	"machineName": "<name of machine hosting the compute resource>",
	"workerStats": {
		"memory": {
			"currentUsageMib": <current memory usage in MiB>,
			"peakUsageMib": <peak memory usage in MiB>
		}
	}
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
	"id": "1a96a5773cc742578e611bde0680a85a",
	"username": "user_account_name",
	"status": "terminated",
	"mode": "job",
	"runId": "c8d38d76ce00484082788e62f21b5306",
	"createdAt": "2026-06-15T20:38:25.863950500Z",
	"runningAt": "2026-06-15T20:39:10.586021500Z",
	"lastUsedAt": "2026-06-15T20:40:08.138791400Z",
	"terminatedAt": "2026-06-15T20:40:08.243124300Z",
	"machineName": "MACHINE.EXAMPLE.COM",
	"workerStats": {
		"memory": {
			"currentUsageMib": 471.11,
			"peakUsageMib": 471.11
		}
	}
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.