Can you explain what you want to do with the analysis ID? Also, can you explain your timing?
Because the “analysis” as such doesn’t exist in the DB to be queried until after background task processing is complete. And, as you’ve observed, it’s not a particularly rich data set that comes back from that endpoint.