ETA Estimations
Operations related to ETA Estimations for predicting completion times of long-running platform operations. May provide estimated time-to-completion for document imports, segment calculations, feed initial loading, data replications, and bulk exports, enabling users to plan workflows and monitor progress of asynchronous operations.
Estimates the eta for a pending feed session to be running (experimental route, do not use without understanding its computation)
get/feed_sessions/pending/{feed_session_id}/eta_estimation
Path parameters
feed_session_idinteger · int64Required
The feed session id for which the eta will be calculated
Query parameters
max_computation_depthinteger · int32Optional
The optional maximum depth of the trajectories considered in the calculus
simplified_computationbooleanOptional
It defines whether a simplified computation is made or not
debug_modebooleanOptional
It defines whether debug mode in the returned resource is activated or not
Responses
200
Success !
application/json
statusstring · enumRequiredPossible values:
400
Error response
application/json
401
Error response
application/json
403
Error response
application/json
404
Error response
application/json
500
Error response
application/json
503
Error response
application/json
get/feed_sessions/pending/{feed_session_id}/eta_estimation
GET /v1/feed_sessions/pending/{feed_session_id}/eta_estimation HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"eta": 0,
"computation_information": {
"target_organisation_information": {
"organisation_id": "text",
"trajectory_length": 0,
"induced_time": 0,
"pending_feed_sessions": {
"organisation_id": "text",
"pending_feed_sessions": [
{
"time_to_run": 0,
"nb_in_queue": 0,
"is_target": false,
"cumulative_time_to_run": 0,
"id": "text"
}
]
}
},
"time_factors_by_trajectory_lengths": [
{
"trajectory_length": 0,
"time_factor": 0,
"associated_probability": 0,
"trajectories_with_time_factors": [
{
"trajectory": [
{
"organisation_id": "text",
"feed_session_id": "text",
"nb_in_queue": 0,
"cumulative_time_to_run": 0
}
],
"time_factor": 0,
"associated_probability": 0
}
]
}
],
"sorted_organisations_pending_feed_sessions": [
{
"organisation_id": "text",
"pending_feed_sessions": [
{
"time_to_run": 0,
"nb_in_queue": 0,
"is_target": false,
"cumulative_time_to_run": 0,
"id": "text"
}
]
}
],
"final_eta_composition": {
"raw_eta": 0,
"probabilities_sum": 0,
"normalized_eta": 0
}
},
"info": "text"
}
}Last updated
Was this helpful?