Definition of Completed status when querying job api?

Good morning everyone,

I am refreshing a PDS using sql api which is returning the jobid as a part of response. After that I am polling the job api using this jobId. I am trying to understand the definition of status = completed in the response.

Is it saying the refresh is complete and is ready to use by users? or is it saying the query has been executed successfully and the dataset is still pending refresh?

Please clarify. Thank you for you time.

@sraavi PDS refresh completing is synchronous and will only be marked completed once the job completes, you can verify via UI and see if the job status is indeed complete

Thank you for the response Balaji !!