client.studios.list_deployments_logs
A method of the Studios endpoint.
- list_deployments_logs(id: int, deployment_id: int, *, start_at: str = None, end_at: str = None, limit: int = None) ListResponse
Get the logs for a Studio deployment
API URL:
GET /studios/{id}/deployments/{deployment_id}/logsimport civis client = civis.APIClient() response = client.studios.list_deployments_logs(...)
- Parameters:
- idint
The ID of the owning Studio.
- deployment_idint
The ID for this deployment.
- start_atstr, optional
Log entries with a lower timestamp will be omitted.
- end_atstr, optional
Log entries with a higher timestamp will be omitted.
- limitint, optional
The maximum number of log messages to return. Default of 10000.
- Returns:
civis.ListResponse- messagestr
The log message.
- streamstr
The stream of the log. One of “stdout”, “stderr”.
- created_atstr (date-time)
The time the log was created.
- sourcestr
The source of the log. One of “system”, “user”.