Skip to main content
POST
/
api
/
task
/
{task_id}
/
background_run
Task Background Run
curl --request POST \
  --url https://app.apigene.ai/api/task/{task_id}/background_run \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "started_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z",
  "result": "<string>",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'

Path Parameters

task_id
string
required

Response

Successful Response

id
string
required

The task ID

name
string
required

The name of the task

started_at
string<date-time>
required

The time the task execution started

completed_at
string<date-time>
required

The time the task execution completed

result
string
required

The result of the task execution

status
string
required

'completed' if all actions succeeded, else 'failed'