R
RunPod5mo ago
Nik

Is there a way to get pod logs programmatically?

After creating an on-demand pod via GraphQL API I'd like to get access to the pod's logs without using the UI.
8 Replies
ashleyk
ashleyk5mo ago
You can't get pod logs programatically only serverless logs
Nik
Nik5mo ago
How are folks getting pod logs at scale?
ashleyk
ashleyk5mo ago
GPU cloud doesn't scale, serverless is used for that.
Brever
Brever5mo ago
is there documentation about how to get serverless logs programatically?
ashleyk
ashleyk5mo ago
Inspect it in your web browser
Brever
Brever5mo ago
the logs tab in the serverless page just says No logs available
ashleyk
ashleyk5mo ago
If there's no logs in the logs tab, the API won't have any either, the logs tab uses the API
Brever
Brever5mo ago
i see, thank you