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/:jobId/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 "predecessorIds": [
30 "string"
31 ],
32 "progress": 0,
33 "startedAt": "2023-01-01T00:00:00Z",
34 "status": "created",
35 "subject": {
36 "type": "resource",
37 "id": "string"
38 },
39 "trigger": "manual",
40 "config": {
41 "filter": "valid",
42 "filterField": "string",
43 "searchValue": "string",
44 "searchField": "string",
45 "q": "string",
46 "sheet": "string",
47 "exceptions": [
48 "string"
49 ]
50 }
51 }
52}