Jobs

Retry a failed job

POST
Retry a failt job and return the job

Path parameters

jobIdstringRequired
ID of job to return

Response

This endpoint returns an object
data
object
A single unit of work that will execute asynchronously
POST
$curl -X POST https://api.x.flatfile.com/v1/jobs/%3AjobId/retry \
> -H "X-Disable-Hooks: true" \
> -H "Authorization: Bearer <token>"
Response
1{
2 "data": {
3 "createdAt": "2023-01-01T00:00:00Z",
4 "id": "string",
5 "operation": "string",
6 "source": "string",
7 "type": "file",
8 "updatedAt": "2023-01-01T00:00:00Z",
9 "destination": "string",
10 "environmentId": "string",
11 "fileId": "string",
12 "finishedAt": "2023-01-01T00:00:00Z",
13 "info": "string",
14 "input": {
15 "string": {}
16 },
17 "managed": true,
18 "mode": "foreground",
19 "outcome": {
20 "string": {}
21 },
22 "outcomeAcknowledgedAt": "2023-01-01T00:00:00Z",
23 "parentId": "string",
24 "part": 0,
25 "partData": {
26 "string": {}
27 },
28 "partExecution": "sequential",
29 "progress": 0,
30 "startedAt": "2023-01-01T00:00:00Z",
31 "status": "created",
32 "subject": {
33 "type": "resource",
34 "id": "string"
35 },
36 "trigger": "manual",
37 "config": {
38 "filter": "valid",
39 "filterField": "string",
40 "searchValue": "string",
41 "searchField": "string",
42 "q": "string",
43 "sheet": "string",
44 "exceptions": [
45 "string"
46 ]
47 }
48 }
49}