Skip to main content
GET
/
api
/
messaging
/
jobs
/
{jobId}
Get Job
curl --request GET \
  --url https://api.example.com/api/messaging/jobs/{jobId}
{
  "jobId": "job_550e8400-e29b-41d4-a716-446655440001",
  "status": "completed",
  "createdAt": 1703001234567,
  "startedAt": 1703001234600,
  "completedAt": 1703001235890,
  "result": {
    "text": "Here is the processed response.",
    "actions": ["REPLY"]
  }
}
Get the status and result of a messaging job.

Path Parameters

jobId
string
required
The job ID returned from job creation

Response

jobId
string
Unique job identifier
status
string
Job status: queued, processing, completed, failed, timeout
createdAt
number
Unix timestamp of job creation
startedAt
number
Unix timestamp when processing started
completedAt
number
Unix timestamp when job completed
result
object
Job result (only present when status is completed)
error
string
Error message (only present when status is failed)
{
  "jobId": "job_550e8400-e29b-41d4-a716-446655440001",
  "status": "completed",
  "createdAt": 1703001234567,
  "startedAt": 1703001234600,
  "completedAt": 1703001235890,
  "result": {
    "text": "Here is the processed response.",
    "actions": ["REPLY"]
  }
}