workers
Asynchronous workers related operations
An optional fields mask
Success
The job execution arguments
[]The job description
Is this job enabled
falseThe job unique identifier
The job execution keyword arguments
{}The last job execution date
The last execution task id
The job unique name
The schedule display
The task name
test-high-queueValeurs possibles: GET /api/1/workers/jobs/ HTTP/1.1
Host: www.data.gouv.fr
Accept: */*
Success
[
{
"args": [
{}
],
"crontab": {
"day_of_month": "*",
"day_of_week": "*",
"hour": "*",
"minute": "*",
"month_of_year": "*"
},
"description": "text",
"enabled": false,
"id": "text",
"interval": {
"every": 1,
"period": "days"
},
"kwargs": {},
"last_run_at": "2026-01-01T00:00:00.000Z",
"last_run_id": "text",
"name": "text",
"schedule": "text",
"task": "test-high-queue"
}
]An optional fields mask
The job execution arguments
[]The job description
Is this job enabled
falseThe job unique identifier
The job execution keyword arguments
{}The last job execution date
The last execution task id
The job unique name
The schedule display
The task name
test-high-queueValeurs possibles: Success
The job execution arguments
[]The job description
Is this job enabled
falseThe job unique identifier
The job execution keyword arguments
{}The last job execution date
The last execution task id
The job unique name
The schedule display
The task name
test-high-queueValeurs possibles: POST /api/1/workers/jobs/ HTTP/1.1
Host: www.data.gouv.fr
Content-Type: application/json
Accept: */*
Content-Length: 233
{
"args": [
{}
],
"crontab": {
"day_of_month": "*",
"day_of_week": "*",
"hour": "*",
"minute": "*",
"month_of_year": "*"
},
"description": "text",
"enabled": false,
"interval": {
"every": 1,
"period": "days"
},
"kwargs": {},
"name": "text",
"task": "test-high-queue"
}Success
{
"args": [
{}
],
"crontab": {
"day_of_month": "*",
"day_of_week": "*",
"hour": "*",
"minute": "*",
"month_of_year": "*"
},
"description": "text",
"enabled": false,
"id": "text",
"interval": {
"every": 1,
"period": "days"
},
"kwargs": {},
"last_run_at": "2026-01-01T00:00:00.000Z",
"last_run_id": "text",
"name": "text",
"schedule": "text",
"task": "test-high-queue"
}A job ID
An optional fields mask
Success
The job execution arguments
[]The job description
Is this job enabled
falseThe job unique identifier
The job execution keyword arguments
{}The last job execution date
The last execution task id
The job unique name
The schedule display
The task name
test-high-queueValeurs possibles: GET /api/1/workers/jobs/{id} HTTP/1.1
Host: www.data.gouv.fr
Accept: */*
Success
{
"args": [
{}
],
"crontab": {
"day_of_month": "*",
"day_of_week": "*",
"hour": "*",
"minute": "*",
"month_of_year": "*"
},
"description": "text",
"enabled": false,
"id": "text",
"interval": {
"every": 1,
"period": "days"
},
"kwargs": {},
"last_run_at": "2026-01-01T00:00:00.000Z",
"last_run_id": "text",
"name": "text",
"schedule": "text",
"task": "test-high-queue"
}A job ID
An optional fields mask
Success
The job execution arguments
[]The job description
Is this job enabled
falseThe job unique identifier
The job execution keyword arguments
{}The last job execution date
The last execution task id
The job unique name
The schedule display
The task name
test-high-queueValeurs possibles: PUT /api/1/workers/jobs/{id} HTTP/1.1
Host: www.data.gouv.fr
Accept: */*
Success
{
"args": [
{}
],
"crontab": {
"day_of_month": "*",
"day_of_week": "*",
"hour": "*",
"minute": "*",
"month_of_year": "*"
},
"description": "text",
"enabled": false,
"id": "text",
"interval": {
"every": 1,
"period": "days"
},
"kwargs": {},
"last_run_at": "2026-01-01T00:00:00.000Z",
"last_run_id": "text",
"name": "text",
"schedule": "text",
"task": "test-high-queue"
}An optional fields mask
Success
The exception thrown during execution
Tha task execution ID
The task results if exists
Cron expression for hour
RETRYValeurs possibles: The execution traceback
GET /api/1/workers/tasks/{id} HTTP/1.1
Host: www.data.gouv.fr
Accept: */*
Success
{
"exc": "text",
"id": "text",
"result": "text",
"status": "RETRY",
"traceback": "text"
}Ce contenu vous a-t-il été utile ?

