Access to Dashboard Logs Programatically?

I’m looking to try to access the log files that are available on the dashboard for completions, so I could avoid in project logging and instead just get a copy of the completions and save it to my project files.

Is there API access to this information or some other programmatic workaround. I was originally looking to use the traces function ability but it seems that’s just available in the agents SDK and not in the regular endpoints.

Any help would be appreciated.

what do u mean - if ur using api - just log urself?

put in the trace