resources
Get Resource Logs
Get logs for a resource by provider, resource type, and name.
Proxies log requests to the provider runtime that manages this resource.
Response modes:
- follow=false (default): Returns a JSON array of LogEntry objects
- follow=true: Returns an SSE stream of log events
SSE format (when follow=true):
event: log
data: {"timestamp": "...", "level": "info", "message": "..."}
Returns:
List of LogEntry objects (follow=false) or SSE StreamingResponse (follow=true).
Raises:
HTTPException: 504 on provider timeout, 502 on provider error or connection failure.
GET
Get Resource Logs
Documentation Index
Fetch the complete documentation index at: https://docs.pragmatiks.io/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Query Parameters
Provider name
Resource type
Resource name
Only return logs after this ISO timestamp
Number of recent log entries to return
Required range:
1 <= x <= 10000Stream logs in real-time via SSE
Previous
Get Resource HealthGet health status of a resource by provider, resource type, and name.
Proxies the health check to the provider runtime that manages this resource.
The provider calls the resource's health() method and returns the result.
Returns:
ResourceHealth with status (healthy, unhealthy, degraded) and optional details.
Raises:
HTTPException: 404 if health check not available, 504 on timeout, 502 on provider error.
Next
Get Resource Logs