https://linen.dev logo
#troubleshooting
Title
# troubleshooting
h

Harshith (Airbyte)

03/23/2022, 8:11 AM
Hey can you elaborate more on this?
s

Sheshan

03/23/2022, 8:36 AM
updated the question with more info.
a

Augustin Lafanechere (Airbyte)

03/23/2022, 5:15 PM
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

Sheshan

03/29/2022, 9:40 AM
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"] } '
5 Views