Add createdAt / completedAt fields in /v2/jobs/{job_id} response payload
We are currently experiencing regular timeout issues when using the enqueue_and_get_inference method from the Mindee Ruby client.
Switching to a webhook-based flow would require significant architectural changes on our side, which we would prefer to avoid for now.
We noticed in the documentation that it is possible to configure polling_options to increase the timeout duration. However, while investigating how to fine-tune these options, we realized that the GET /v2/jobs/{job_id} endpoint does not return the job createdAt or completedAt timestamps.
Without these timestamps, we cannot measure the actual processing time of a job and adjust our polling strategy accurately.
Could you please consider adding the following fields to the /v2/jobs/{job_id} response payload?
createdAtcompletedAt
Please let us know if this information is already available through another endpoint or if there is a recommended workaround.
Thank you in advance for your help !
Log in to comment and vote
Comments4
Ianaré Sévi
Mar 2
Hi, we’ve added support for retrieving the job’s completion date-time in the latest version of the Ruby client.
Docs are here:
https://docs.mindee.com/integrations/client-libraries-sdk/send-a-file-or-url#get-processing-status
Let us know if you run in into any issues.
Best regards
Faks
Feb 20
Nice ! Thank you very much !
Ianaré Sévi
Feb 16
Hi, thank you very much for the clear and detailed feedback.
The
created_atfield is already present in theJobclass:https://github.com/mindee/mindee-api-ruby/blob/main/lib/mindee/parsing/v2/job.rb#L15
We will discuss internally about the addition of the
completed_atfield (or equivalent) and update here.Best regards
Ianaré Sévi
Feb 16
We’ve decided to add this feature in an upcoming release, you should get notified as work progresses.