Hey can you elaborate more on this?
# troubleshooting
h
Hey can you elaborate more on this?
s
updated the question with more info.
a
Hi @Sheshan, do you mean you're exposing a custom web ui which is using airbyte in the backend and you'd like display stream sync status to users and not job status?
You can use our API and poll the
/v1/jobs/list
endpoint. You'll get streamStats field with number of
recordsEmitted
and
recordsCommitted
. If job status == running and
recordsEmitted
> 0 you can consider the stream is currently running.
s
I actually tried this and somehow don't see the
streamStats
object in the response. providing url,paylod i'm using: request signature curl --location --request POST 'http://localhost:8000/api/v1/jobs/list' \ --header 'Content-Type: application/json' \ --data-raw '{ "configId": "5c3fe5cb-c039-4547-92b7-862743d5e181", "configTypes": ["sync"] } '