Skip to main content
GET
/
rentals
/
{rentalId}
/
stacks
/
{stackId}
/
containers
/
{containerId}
/
logs
Get container logs
curl --request GET \
  --url https://api.gputrader.io/v1/rentals/{rentalId}/stacks/{stackId}/containers/{containerId}/logs \
  --header 'X-API-Key: <api-key>'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.gputrader.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Path Parameters

rentalId
string
required

Rental ID

stackId
string
required

Stack ID

containerId
string
required

Container ID

Response

Successfully retrieved container logs

Container logs with Docker stream headers removed and empty lines filtered