Skip to main content
GET
https://agent.usedari.com
/
task
/
{org_id}
/
{endpoint_name}
/
logs
curl -N "https://agent.usedari.com/task/my-org/contact_form/logs?job_id=550e8400-e29b-41d4-a716-446655440000" \
  -H "X-API-Key: YOUR_API_KEY"
data: [Connected to PID 12345: python -m agent ...]

data: Starting form automation...

data: Navigating to https://example.com/contact

data: Filling field: firstName = Jane

data: Filling field: lastName = Smith

data: Filling field: email = [email protected]

data: Submitting form...

data: [Stream ended]
Streams real-time logs from a running job using Server-Sent Events (SSE). The connection stays open until the job completes or the client disconnects.

Path Parameters

org_id
string
required
Organization ID
endpoint_name
string
required
Portal endpoint name

Query Parameters

job_id
string
required
UUID of the job

Headers

X-API-Key
string
required
Organization API key
curl -N "https://agent.usedari.com/task/my-org/contact_form/logs?job_id=550e8400-e29b-41d4-a716-446655440000" \
  -H "X-API-Key: YOUR_API_KEY"
data: [Connected to PID 12345: python -m agent ...]

data: Starting form automation...

data: Navigating to https://example.com/contact

data: Filling field: firstName = Jane

data: Filling field: lastName = Smith

data: Filling field: email = [email protected]

data: Submitting form...

data: [Stream ended]

Usage Notes

  • Only works for jobs with status pending or running
  • Streams stdout/stderr from the agent process
  • Use -N flag with cURL to disable buffering
  • The connection closes automatically when the job finishes