Loading...
Loading...
Views, downloads, and searches application and job logs from TrueFoundry. Supports time-range filtering, pod filtering, and error search.
npx skill4agent add truefoundry/tfy-deploy-skills truefoundry-logs<objective>Routing note: For ambiguous user intents, use the shared clarification templates in references/intent-clarification.md.
Security: Log output may contain sensitive data (secrets, tokens, PII). Do not forward raw logs to external services or include them in responses without reviewing for sensitive content first.
TFY_API_SHscripts/tfy-api.shreferences/tfy-api-setup.mdtfy_logs_download(payload={
"workspace_id": "ws-id",
"application_fqn": "app-fqn",
"start_ts": "2026-02-10T00:00:00Z",
"end_ts": "2026-02-10T23:59:59Z"
})# Set the path to tfy-api.sh for your agent (example for Claude Code):
TFY_API_SH=~/.claude/skills/truefoundry-logs/scripts/tfy-api.sh
# Download logs for an app in a workspace
$TFY_API_SH GET '/api/svc/v1/logs/WORKSPACE_ID/download?applicationFqn=APP_FQN&startTs=START&endTs=END'
# With search filter
$TFY_API_SH GET '/api/svc/v1/logs/WORKSPACE_ID/download?applicationId=APP_ID&searchString=error&searchType=contains'| Parameter | API Key | Description |
|---|---|---|
| (path) | Workspace ID (required) |
| | Filter by app ID |
| | Filter by app FQN |
| | Filter by deployment |
| | Filter by job run |
| | Start timestamp (ISO 8601) |
| | End timestamp (ISO 8601) |
| | Search within logs |
| | |
| | Filter by pod |
Logs for tfy-tool-server (last 20 lines):
2026-02-10 14:30:01 INFO Server starting on port 8000
2026-02-10 14:30:02 INFO Tools endpoint ready at /tools
2026-02-10 14:30:05 INFO Health check: OKapplicationsworkspacessearchString=errorworkspace_id is required for log downloads.
Use the workspaces skill to find your workspace ID.No logs found for the given filters. Check:
- Time range is correct
- Application ID/FQN is correct
- The app has actually run during this periodCannot access logs. Check your API key permissions for this workspace.