REST API Reference > Mass Ingestion Streaming REST API > history resource
  

history resource

Use the history resource to get the history of a streaming ingestion job.

GET request

To request the history of a streaming ingestion job, use the following URL:
<server URI>/sisvc/monitor/v1/history/dataflows/<dataflow ID>

GET request example

To get the history of a streaming ingestion job, you might send a request similar to the following example:
POST https://usw1-ing.dm2-us.informaticacloud.com/siscv/monitor/v1/history/dataflows/1948938e-3923-4602-aba8-f122e3d66faf
Content-Type: application/json
Accept:application/json
IDS-SESSION-ID:2l0oeVx22Rujiej7yTokmT

GET response

Returns the job history object if successful or an error object if an error occurs.
If successful, the response includes the following information about the history of a streaming ingestion job:
Parameter
Type
Description
dataflowName
String
Streaming ingestion job name.
dataflowId
Integer
Streaming ingestion job ID.
deployedAt
Integer
The start time of deploying the job, in UTC time.
undeployedAt
Integer
The time when the job finished undeploying, in UTC.
runID
Integer
Run ID of the streaming ingestion job. The ID changes for every deployment.

GET response example

If the request to get the history of a streaming ingestion job is successful, you might receive a response similar to the following example:
[
{
"dataflowId": "1948938e-3923-4602-aba8-f122e3d66faf",
"dataflowName": "testmonitor",
"deployedAt": 1644809910000,
"undeployedAt": 1644811453000,
"dataflowVersion": 1,
"runId": 42559,
"overall": null,
"intervals": {},
"graph": null
},
{
"dataflowId": "1948938e-3923-4602-aba8-f122e3d66faf",
"dataflowName": "testmonitor",
"deployedAt": 1644811513000,
"undeployedAt": 1644838813000,
"dataflowVersion": 1,
"runId": 42561,
"overall": null,
"intervals": {},
"graph": null
}
]