I’m not sure if this may already be a feature but I couldn’t find anything like this in the API documentation for Gemini. I would like to setup my JavaScript web-app so that it can send a content generation request to my server in a fire and forget manner that allows it to poll the server for completion of that content generation without the caveat of a potential 24hr completion window (the content generation requests need a short turnaround which is why Batch API is not sufficient)
OpenAI’s responses API allows you to pass a `background: true` parameter which returns a response ID that can be used to retrieve content generation status and completed content (+ relevant metrics like token count) once the generation is complete. It’d be extremely helpful if Gemini’s API had this as well.
Perhaps this is a planned feature? Hoping for this to be coming soon as it would mean a great deal to my current project (as I’m sure it would for many other users)