Retrieve AWS Batch (CloudWatch) logs for a specific execution.
Authentication: JWT token required Access: Restricted to ADMIN and SUPERADMIN users only Purpose: Provides CloudWatch container logs for Batch-based script executions, analogous to the Docker logs endpoint.
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.123Z",
"text": "Log message from the container",
"job_name": "extract"
}
]
}
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.
- job_name: The Batch job step name that produced this 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}/batch-logs
Path parameters
executionstring required
Path parameter: execution
Response
Success
object required
Changes
No recorded changes to this endpoint across all 1 revision of this API.