Tilebox stores workflow logs and spans for each job. Query them when you need structured diagnostics outside the Console, such as in notebooks, scripts, or agent loops.
Query from the command line
Section titled “Query from the command line”Use JSON output when another tool or agent will parse the result.
tilebox job logs <job-id> --jsontilebox job spans <job-id> --jsonLimit or sort the output during debugging.
tilebox job logs <job-id> --limit 10 --sort descQuery from Python
Section titled “Query from Python”Use the jobs client in notebooks and scripts.
from tilebox.workflows import Client
client = Client()job = client.jobs().find("019e07b1-916b-0630-f3ba-f1c33235d174")
logs = client.jobs().query_logs(job)spans = client.jobs().query_spans(job.id)
logs_df = logs.to_pandas()spans_df = spans.to_pandas()