capabilities.work

Stream a log fragment for a job

One step with Canonical. We can help you get access.

Get something done

Stream a log fragment for a job

Use Canonical: its Testflinger Result API lets you stream a log fragment for a job in a single step (POST /v1/result/{job_id}/log/{log_type}). capabilities.work can help you get signed up and connected.

  • How does an agent stream log data for a running job?
  • In what order must log fragments be numbered?
Say it to your AI assistant
  • Post fragment {fragment_number} of the {log_type} log for job {job_id} in phase {phase}: {log_data} at {timestamp}.
  • Append {log_data} to job {job_id}'s {log_type} log as fragment {fragment_number}, phase {phase}, time {timestamp}.
For your developer

POST /v1/result/{job_id}/log/{log_type} in Testflinger Result API. Full spec on APIs.io.