Endpoint
Parameters
GitHub webhook delivery ID (X-GitHub-Delivery header value)Example:
f4b3c2d1-a9b8-4c5d-9e8f-1a2b3c4d5e6fMust be between 1 and 100 charactersName of the workflow step to retrieve logs forExamples:
clone_repositorywebhook_routingassign_reviewersrun_tox_tests
Response
Metadata about the workflow step
Array of log entries that occurred during step execution
Total number of log entries found for the step
Use Cases
- Debug step failures - See exactly what happened during a failed operation
- Performance analysis - Identify slow operations within a step
- Audit trail - Track all actions taken during a specific operation
- Error investigation - View full error context and stack traces
- API debugging - See GitHub API calls and responses for a step
- Configuration verification - Check what configuration was used
Examples
Basic Request
Successful Step Response
Failed Step Response
Error Responses
Hook ID not found in logs
Step name not found for the given hook ID
Internal server error
Common Step Names
The following step names are commonly used in webhook processing workflows:| Step Name | Description |
|---|---|
webhook_validation | Webhook signature and payload validation |
payload_parsing | JSON payload parsing and field extraction |
webhook_routing | Routing webhook to appropriate handler |
clone_repository | Clone repository from GitHub |
assign_reviewers | Assign OWNERS-based reviewers to PR |
update_labels | Update PR labels (size, status, branch) |
run_tox_tests | Execute tox test suite |
build_container | Build and push container image |
publish_pypi | Publish package to PyPI |
check_can_merge | Validate PR merge readiness |
create_tracking_issue | Create PR tracking issue |
cleanup | Cleanup temporary files and resources |
Security Considerations
This endpoint is restricted to trusted networks only and includes an additionalrequire_trusted_network dependency check. It will reject requests from public IP addresses.
Allowed network ranges:
- Private networks (RFC 1918): 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16
- Loopback addresses: 127.0.0.0/8
- Link-local addresses: 169.254.0.0/16
Related Endpoints
Workflow Steps
View all workflow steps and execution timeline
PR Flow
High-level PR workflow visualization
Log Entries
Query historical webhook logs
Security Guide
Log viewer security best practices