Get the job run information of a given jobId for a sequence
/api/20210901/catalog/sequences/{sequenceId}/history/{jobId}
Request
-
jobId(required): string(byte)
-
sequenceId(required): string(byte)
The object ID of the sequence with Base64 encoding. For example, if your sequence has the object ID 'User1'.'sequence1', enter the Base64 encoded value, J1VzZXIxJy4nc2VxdWVuY2UxJw==.
-
includeTasks: boolean(byte)
possible values:\ true or false. Default value is true. If true, all task histories will be included in job histories. If false, only job histories will be returned.
There's no request body for this operation.
Back to TopResponse
- application/json
200 Response
object-
jobEndTimestamp: string
time when job finishes running
-
jobExecutionTimestamp": string
time when job starts running
-
jobIdentifier: string
job run identifier
-
jobName: string
job run name
-
jobNumberOfTasks: number
number of tasks in this job
-
jobOriginOfRequest: string
source where job is requested from Manual, or Schedule
-
jobQueuedDuration: string
time the job stayed in queue
-
jobRunDuration: string
time takes for job to run
-
jobRunType: string
type of job
-
jobStartTimestamp: string
time when job is requested
-
jobStatus: string
status of job
-
jobTasks:
jobTasks
object-
taskAverageReadThroughput: number
average read throughput for task
-
taskDataSizeInBytes: number
total data processed by task in bytes
-
taskEndTimestamp: string
task end time
-
taskName: string
task run name
-
taskNumberOfSuccessfulRows: number
number of successful rows processed in this task
-
taskRunDuration: string
time takes for task to run
-
taskSourceName: string
source connection name
-
taskStartTimestamp": string
task start time
-
taskStatus: string
status of task
-
taskTargetName: string
target connection name
403 Response
object-
code(required): string
Short error code that defines the error, meant for programmatic parsing.
-
message(required): string
Human-readable error string.
404 Response
object-
code(required): string
Short error code that defines the error, meant for programmatic parsing.
-
message(required): string
Human-readable error string.
500 Response
object-
code(required): string
Short error code that defines the error, meant for programmatic parsing.
-
message(required): string
Human-readable error string.
Examples
In this example, you return the detailed history of a specific job run
for the ID 1234ABCD5678EFGH9012IJKL3456MNOP and a given sequenceID.
The object ID of the data set is 'john.smith@mycompany.com'.'MySalesSequences' which
has the Base64URL-safe encoded sequenceID value:
J2pvaG4uc21pdGhAbXljb21wYW55LmNvbScuJ015U2FsZXNTZXF1ZW5jZXMn.
cURL Example:
curl -i \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--request GET 'https://<hostname>/api/20210901/catalog/sequences/J2pvaG4uc21pdGhAbXljb21wYW55LmNvbScuJ015U2FsZXNTZXF1ZW5jZXMn/history/1234ABCD5678EFGH9012IJKL3456MNOP' \
This example returns both job and task history for a specific job.
Example of Request Body
Not applicable.
Example of Response Body
[
{
"jobName":"'john.smith@mycompany.com'.'MySalesSequence: Enrich MySales Report'",
"jobIdentifier":"1234ABCD5678EFGH9012IJKL3456MNOP",
"jobStartTimestamp":"2024-06-06T21:23:47.0+0000",
"jobExecutionStartTimestamp":"2024-06-06T21:24:02.0+0000",
"jobStatus":"IN_PROGRESS",
"jobRunType":"SEQUENCE",
"jobQueuedDuration":"PT34.691S",
"jobRunDuration":"PT19.691S",
"jobOriginOfRequest":"Manual",
"jobNumberOfTasks":"3",
"jobTasks":[
{"taskName":"DFLW : MySalesDataFlow: Enrich MySales Report",
"taskStartTimestamp":"2024-06-06T21:24:09.0+0000",
"taskEndTimestamp":"2024-06-06T21:24:14.0+0000",
"taskStatus":"SUCCEEDED",
"taskDuration":"PT5S"},
{"taskName":"DSET : MySalesDataSet 1",
"taskStartTimestamp":"2024-06-06T21:24:14.0+0000",
"taskStatus":"IN_PROGRESS",
"taskSourceName":"'john.smith@mycompany.com'.'MySalesDataSet - Set 1'",
"taskTargetName":"Data Set Storage",
"taskAverageReadThroughput":"1220",
"taskDuration":"PT7.691S"},
{"taskName":"DSET : MySalesDataSet 2",
"taskStatus":"ACCEPTED",
"taskSourceName":"Internal Data Set Storage",
"taskTargetName":"Data Set Storage",
"taskDuration":"PT477141H24M21.691S"}]
}
]
cURL Example with Parameters:
If you want to exclude task history, apply the query parameter
includeTasks=false.
curl -i \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--request GET 'https://<hostname>/api/20210901/catalog/sequences/J2pvaG4uc21pdGhAbXljb21wYW55LmNvbScuJ015U2FsZXNTZXF1ZW5jZXMn/history/1234ABCD5678EFGH9012IJKL3456MNOP?includeTasks=false' \