@@ -5,15 +5,25 @@ sidebar:
55 order : 2
66---
77
8- ** Method:** ` GET `
8+ ** Method:** ` POST `
99
10- ** Endpoint:** ` /api/v1/runs/{run_slug}/status `
10+ ** Endpoint:** ` /api/v1/run/detail `
1111
12- ## Path Parameters
12+ Send the request body with ** Content-Type: application/json ** .
1313
14- | Parameter | Required | Description |
15- | --------- | -------- | --------------------- |
16- | run_slug | Yes | Unique run identifier |
14+ ## Request Example
15+
16+ ``` json
17+ {
18+ "run_slug" : " YOUR_RUN_SLUG"
19+ }
20+ ```
21+
22+ #### Parameters
23+
24+ | Parameter | Example | Type | Required | Description |
25+ | --------- | ------------- | ------ | -------- | --------------------- |
26+ | run_slug | YOUR_RUN_SLUG | String | Yes | Unique run identifier |
1727
1828## Response Example
1929
@@ -27,11 +37,11 @@ sidebar:
2737 "slug" : " 01KKJYJ4HH0R9K7XD856MAE1WH" ,
2838 "actors_title" : " News Collection 20260305" ,
2939 "actors_slug" : " 01KJXYJ7KCHXM0PDZHQD5293XE" ,
30- "result_count " : 4 ,
31- "cost " : " 0.0217" ,
40+ "results " : 4 ,
41+ "usage " : " 0.0217" ,
3242 "started_at" : 1773383784 ,
3343 "finished_at" : 0 ,
34- "duration_seconds " : 0 ,
44+ "duration " : 0 ,
3545 "origin" : " api" ,
3646 "traffic" : 0 ,
3747 "version" : " v1.0.1"
@@ -41,24 +51,24 @@ sidebar:
4151
4252#### Response Fields
4353
44- | Parameter | Example | Type | Description |
45- | --------------- | -------------------------- | ------- | --- ----------------------------------------------------------------- |
46- | code | 0 | Integer | Global status code |
47- | message | success | String | Response message |
48- | data | - | Object | Response payload |
49- | status | 3 | Integer | Run status: 1 Ready, 2 Running, 3 Succeeded, 4 Failed, 5 Aborting |
50- | err_msg | - | String | Error message |
51- | slug | 01KKJYJ4HH0R9K7XD856MAE1WH | String | Unique run identifier |
52- | actors_title | News Collection 20260305 | String | Worker title |
53- | actors_slug | 01KJXYJ7KCHXM0PDZHQD5293XE | String | Unique Worker identifier |
54- | result_count | 4 | Integer | Number of collected results |
55- | cost | 0.0217 | String | Device usage cost in USD |
56- | started_at | 1773383784 | Integer | Start timestamp |
57- | finished_at | 0 | Integer | Finish timestamp |
58- | duration_seconds | 0 | Integer | Execution duration in seconds |
59- | origin | api | String | Run source: ` api ` or ` web ` |
60- | traffic | 0 | Integer | Traffic usage in bytes |
61- | version | v1.0.1 | String | Worker version |
54+ | Parameter | Example | Type | Description |
55+ | ------------ | -------------------------- | ------- | ----------------------------------------------------------------- |
56+ | code | 0 | Integer | Global status code |
57+ | message | success | String | Response message |
58+ | data | - | Object | Response payload |
59+ | status | 3 | Integer | Run status: 1 Ready, 2 Running, 3 Succeeded, 4 Failed, 5 Aborted |
60+ | err_msg | - | String | Error message |
61+ | slug | 01KKJYJ4HH0R9K7XD856MAE1WH | String | Unique run identifier |
62+ | actors_title | News Collection 20260305 | String | Worker title |
63+ | actors_slug | 01KJXYJ7KCHXM0PDZHQD5293XE | String | Unique Worker identifier |
64+ | results | 4 | Integer | Number of collected results |
65+ | usage | 0.0217 | String | Device usage cost in USD |
66+ | started_at | 1773383784 | Integer | Start timestamp |
67+ | finished_at | 0 | Integer | Finish timestamp |
68+ | duration | 0 | Integer | Execution duration in seconds |
69+ | origin | api | String | Run source: ` api ` or ` web ` |
70+ | traffic | 0 | Integer | Traffic usage in bytes |
71+ | version | v1.0.1 | String | Worker version |
6272
6373## Error Response
6474
0 commit comments