Get a process run
Start a process run
Cancel a process run
[Deprecated] Start a process run
[Deprecated] Cancel a process run
Get process run status
Get a list of data steps in a process run
Get a run status of a step in a process run
Restart a step in a process run
Returns a process run at the given id.
GET /v1/processruns/{processRunId}
| Name | Type | Description |
|---|---|---|
| processRunId | string |
The process run id to request. |
The query parameters are not expected.
The request body must be empty.
Successful response contains a Process Run.
The error response contains an Error.
Request
curl https://app.solvexia.com/api/v1/processruns/pr-114278 -X GET -H "Authorization: Bearer syPHeMY5H--kdRtfpoXTgYFF7LHgVOhIjOQ5QkIvSD68VZvc2_uAew.P07tEVThD5SqNCV_tFwbAg"Response
{
"id": "pr-114278",
"name": "processapitest : run #1",
"process": "p-114273",
"alertEmailAddress": "",
"alertSMS": "",
"description": "Description here",
"lastModifiedBy": "usa.john.adams",
"dateModified": "2020-06-15T02:24:14.2700000",
"dateCreated": "2020-06-15T02:24:14.2700000"
}Start a process run.
POST /v1/processruns/{processRunId}/start
| Name | Type | Description |
|---|---|---|
| processRunId | string |
The process run id to start. |
The query parameters are not expected.
The request body must be empty.
The successful response contains an instance of Process Run Status.
The error response contains an Error.
Request
curl -X POST "https://app.solvexia.com/api/v1/processruns/pr-114278/start" -H "Authorization: Bearer syPHeMY5H--kdRtfpoXTgYFF7LHgVOhIjOQ5QkIvSD68VZvc2_uAew.P07tEVThD5SqNCV_tFwbAg"Response
{
"id": "pr-114278",
"dateStarted": null,
"dateFinished": null,
"runDurationInSeconds": null,
"status": "Scheduled"
}Cancel a process run.
POST /v1/processruns/{processRunId}/cancel
| Name | Type | Description |
|---|---|---|
| processRunId | string |
The process run id to cancel. |
The query parameters are not expected.
The request body must be empty.
The successful response contains an instance of Process Run Status.
The error response contains an Error.
Request
curl -X POST "https://app.solvexia.com/api/v1/processruns/pr-263/cancel" -H "Authorization: Bearer syPHeMY5H--kdRtfpoXTgYFF7LHgVOhIjOQ5QkIvSD68VZvc2_uAew.P07tEVThD5SqNCV_tFwbAg"Response
{
"id": "pr-263",
"dateFinished": null,
"dateStarted": "",
"runDurationInSec": 48,
"status": "Cancelled"
}Starts a process run.
POST /v1/requests
The path parameters are not expected.
The query parameters are not expected.
The request body must contain an instance of Process Run Request. request property must be ProcessRun_StartRq.
{
"request": "ProcessRun_StartRq",
"processRunId": "pr-114278"
}The successful response contains an instance of Process Run Status.
The error response contains an Error.
Request
curl -X POST "https://app.solvexia.com/api/v1/requests" -H "Authorization: Bearer syPHeMY5H--kdRtfpoXTgYFF7LHgVOhIjOQ5QkIvSD68VZvc2_uAew.P07tEVThD5SqNCV_tFwbAg" -H "Content-Type: application/json" -d '{"request":"ProcessRun_StartRq","processRunId":"pr-114278"}'Response
{
"id": "pr-114278",
"dateStarted": null,
"dateFinished": null,
"runDurationInSeconds": null,
"status": "Scheduled"
}Cancels a currently running process run.
POST /v1/requests
The path parameters are not expected.
The query parameters are not expected.
The request body must contain an instance of Process Run Request. request property must be ProcessRun_CancelRq.
{
"request": "ProcessRun_CancelRq",
"processRunId": "pr-114278"
}The successful response contains an instance of Process Run Status.
The error response contains an Error.
Request
curl -X POST "https://app.solvexia.com/api/v1/requests" -H "Authorization: Bearer syPHeMY5H--kdRtfpoXTgYFF7LHgVOhIjOQ5QkIvSD68VZvc2_uAew.P07tEVThD5SqNCV_tFwbAg" -H "Content-Type: application/json" -d '{"request":"ProcessRun_CancelRq","processRunId":"pr-114278"}'Response
{
"id": "pr-263",
"dateFinished": null,
"dateStarted": "",
"runDurationInSec": 48,
"status": "Cancelled"
}Returns run status of a process run.
GET /v1/processRuns/{processRunId}/runstatus
| Name | Type | Description |
|---|---|---|
| processRunId | string |
The process run id to request a run status for. |
The query parameters are not expected.
The request body must be empty.
The successful response contains an instance of Process Run Status.
The error response contains an Error.
Request
curl -X GET "https://app.solvexia.com/api/v1/processruns/pr-114278/runstatus" -H "Authorization: Bearer syPHeMY5H--kdRtfpoXTgYFF7LHgVOhIjOQ5QkIvSD68VZvc2_uAew.P07tEVThD5SqNCV_tFwbAg"Response
{
"id": "pr-114278",
"dateStarted": "2025-02-05T22:40:19.923",
"dateFinished": "2025-02-05T22:55:51.923",
"runDurationInSeconds": 932,
"status": "Cancelled"
}Returns a list of data steps for a process run.
GET /v1/processruns/{processRunId}/steps
| Name | Type | Description |
|---|---|---|
| processrunId | string |
The process run id to request a list of data steps from. |
The query parameters are not expected.
The request body must be empty.
The successful response contains an array of instances of Data Step.
The error response contains an Error.
Request
curl "https:/app.solvexia.com/api/v1/processruns/pr-114278/steps" -X GET -H "Authorization: Bearer syPHeMY5H--kdRtfpoXTgYFF7LHgVOhIjOQ5QkIvSD68VZvc2_uAew.P07tEVThD5SqNCV_tFwbAg"Response
[
{
"isEnabled": true,
"stepOrder": "1.1",
"id": "ds-114279",
"name": "New data step"
},
{
"isEnabled": true,
"stepOrder": "1.2",
"id": "ds-114278",
"name": "New data step 2"
}
]Return a run status of a step in a process run.
GET /v1/processruns/{processRunId}/steps/{stepId}/runstatus
| Name | Type | Description |
|---|---|---|
| processRunId | string |
The process run id of a step. |
| stepId | string |
The step id to request a run status for. |
The query parameters are not expected.
The request body must be empty.
The successful response contains an instances of Step Run Status.
The error response contains an Error.
Request
curl -X GET "https://app.solvexia.com/api/v1/processruns/pr-114278/steps/as-20682/runstatus" -H "Authorization: Bearer syPHeMY5H--kdRtfpoXTgYFF7LHgVOhIjOQ5QkIvSD68VZvc2_uAew.P07tEVThD5SqNCV_tFwbAg"Response
{
"id": "as-20682",
"dateFinished": null,
"dateStarted": "2025-01-13T03:51:03.27Z",
"runDurationInSec": 2,
"status": "Cancelled",
"completionMessage": ""
}Restart a process run from a step.
POST /v1/processruns/{processRunId}/steps/{stepId}/restartfromhere
| Name | Type | Description |
|---|---|---|
| processRunId | string |
The process run id of a step. |
| stepId | string |
The step id to request a restart. |
The query parameters are not expected.
The request body must be empty.
The successful response contains an instances of Step Run Status.
The error response contains an Error.
Request
curl -X POST "https://app.solvexia.com/api/v1/processruns/pr-114278/steps/as-20682/restartfromhere" -H "Authorization: Bearer syPHeMY5H--kdRtfpoXTgYFF7LHgVOhIjOQ5QkIvSD68VZvc2_uAew.P07tEVThD5SqNCV_tFwbAg"Response
{
"id": "as-20682",
"dateFinished": null,
"dateStarted": "2025-01-13T03:51:03.27Z",
"runDurationInSec": 2,
"status": "Running",
"completionMessage": "step is currently running"
}