Skip to main content
POST
/
pipelines
/
job
/
{jobId}
Poll status of a pipeline execution
curl --request POST \
  --url https://api.artosai.com/pipelines/job/{jobId} \
  --header 'Authorization: Bearer <token>'
{
  "jobId": "<string>",
  "pipelineId": "<string>",
  "status": "<string>",
  "progress": 123,
  "current_agent": 123,
  "total_agents": 123,
  "started_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z",
  "failed_at": "2023-11-07T05:31:56Z",
  "error": {},
  "output_filename": "<string>",
  "output_url": "<string>",
  "agents_executed": 123,
  "total_pages_generated": 123,
  "word_count": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

jobId
string
required

Response

200 - application/json

Pipeline execution status

Status of a pipeline execution.

jobId
string
pipelineId
string
status
string
progress
integer
current_agent
integer
total_agents
integer
started_at
string<date-time>
updated_at
string<date-time>
completed_at
string<date-time>
failed_at
string<date-time>
error
object
output_filename
string
output_url
string<uri>
agents_executed
integer
total_pages_generated
integer
word_count
integer