Command api to get bytes 'in' and 'out' from each dhcp simple queue

command api to get bytes in and out from each dhcp simple queue
Anyone could help us?
thank you.

“dhcp simple queue”?

Where exactly are you seeing those in Winbox (or better yet - from CLI)?

No, sorry.
My mistake .
I meant that I’m using dhcp and generating "simple queue " through DHCP with Radius .

So we’re ultimately going with simple queues, OK.

The command is “print”, but with a “stats” argument. Both the in and out bytes are in the “bytes” property, in the form of “upload/download”. In API flow:

/queue/simple/print
=stats=

If you want ONLY the bytes, you can also add

=.proplist=name,bytes

to only return the “bytes” of each item, together with the name (so that you can identify who the bytes belong to).