RoutesDeploymentsLogs
/deployments/logs
Get the logs of a container of a pod, or stream them when the Accept header is text/event-stream. Defaults to the server container; set previous=true for the logs of the previous container instance
AuthorizationBearer <token>
In: header
Query Parameters
podName*string
Name of the pod
containerName?string
Name of the container to read. Defaults to the server container
previous?string
Set to "true" for the logs of the previous container instance
Value in
"true" | "false"Response Body
application/json
curl -X GET "https://YOUR_ORG_ID.gatana.ai/api/v1/deployments/logs?podName=string"{
"logs": {
"stdout": "string",
"stderr": "string"
}
}