Retrieve Docker service logs for a specific execution.
Authentication: JWT token required Access: Restricted to ADMIN and SUPERADMIN users only Purpose: Provides raw Docker service logs for debugging and monitoring individual script executions.
Path Parameters:
- execution: The ID of the execution to retrieve logs for.
Success Response Schema:
{
"data": [
{
"id": 0,
"created_at": "2025-08-04T10:30:00.123456Z",
"text": "Log message from the container"
},
{
"id": 1,
"created_at": "2025-08-04T10:30:01.789012Z",
"text": "Another log message"
}
]
}
Response Fields:
- id: A sequential identifier for the log line (for ordering).
- created_at: The timestamp of the log entry (ISO 8601 format).
- text: The content of the log line.
Error Responses:
- 401 Unauthorized: JWT token required.
- 403 Forbidden: Insufficient privileges (ADMIN+ required).
- 404 Not Found: The specified execution or its logs do not exist.
- 500 Internal Server Error: Failed to retrieve logs due to a server-side issue.
get/api/v1/execution/{execution}/docker-logs
Path parameters
executionstring required
Path parameter: execution
Response
Success
object required