Check if a job exists

head/jobs/{jobId}
Internal-Use Only

Returns whether or not a job with the specified ID exists, along with appropriate headers.

Request Samples

1

Response Samples

1{
2 "id": "04dc4509-f68f-4e70-903c-63b8b2fa0213",
3 "state": "running",
4 "creationTimeStamp": "2022-11-23T17:12:15.792773Z",
5 "endTimeStamp": "0001-01-01T00:00:00Z",
6 "version": 1,
7 "links": [
8 {
9 "method": "GET",
10 "rel": "self",
11 "href": "/relationships/jobs/04dc4509-f68f-4e70-903c-63b8b2fa0213",
12 "uri": "/relationships/jobs/04dc4509-f68f-4e70-903c-63b8b2fa0213",
13 "type": "application/vnd.sas.relationship.job.load"
14 },
15 {
16 "method": "GET",
17 "rel": "state",
18 "href": "/relationships/jobs/04dc4509-f68f-4e70-903c-63b8b2fa0213/state",
19 "uri": "/relationships/jobs/04dc4509-f68f-4e70-903c-63b8b2fa0213/state",
20 "type": "text/plain"
21 },
22 {
23 "method": "DELETE",
24 "rel": "delete",
25 "href": "/relationships/jobs/04dc4509-f68f-4e70-903c-63b8b2fa0213",
26 "uri": "/relationships/jobs/04dc4509-f68f-4e70-903c-63b8b2fa0213"
27 }
28 ]
29}

Path Parameters

NameTypeRequiredDescription
jobId
string
true

The job ID.

Responses

StatusMeaningDescription
200OKOk.HeadersSchema
404Not FoundNo job exists at the requested path.Schema