5
5
description : |
6
6
Runs a specific Actor and returns its output.
7
7
8
-
9
8
The POST payload including its `Content-Type` header is passed as `INPUT` to
10
9
the Actor (usually <code>application/json</code>).
11
-
12
10
The HTTP response contains Actors `OUTPUT` record from its default
13
11
key-value store.
14
12
15
-
16
13
The Actor is started with the default options; you can override them using
17
14
various URL query parameters.
18
-
19
15
If the Actor run exceeds 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds,
20
16
the HTTP response will have status 408 (Request Timeout).
21
17
22
-
23
18
Beware that it might be impossible to maintain an idle HTTP connection for a
24
19
long period of time, due to client timeout or network conditions. Make sure your HTTP client is
25
20
configured to have a long enough connection timeout.
26
-
27
21
If the connection breaks, you will not receive any information about the run
28
22
and its status.
29
23
30
-
31
24
To run the Actor asynchronously, use the [Run
32
25
Actor](#/reference/actors/run-collection/run-actor) API endpoint instead.
33
26
operationId : act_runSync_post
42
35
example : janedoe~my-actor
43
36
- name : outputRecordKey
44
37
in : query
45
- description : |-
38
+ description : |
46
39
Key of the record from run's default key-value store to be returned
47
- in the response. By default, it is `OUTPUT`.
40
+ in the response. By default, it is `OUTPUT`.
48
41
style : form
49
42
explode : true
50
43
schema :
@@ -103,12 +96,9 @@ post:
103
96
description : |
104
97
Specifies optional webhooks associated with the Actor run, which can be
105
98
used to receive a notification
106
-
107
99
e.g. when the Actor finished or failed. The value is a Base64-encoded
108
100
JSON array of objects defining the webhooks. For more information, see
109
-
110
- [Webhooks
111
- documentation](https://docs.apify.com/platform/integrations/webhooks).
101
+ [Webhooks documentation](https://docs.apify.com/platform/integrations/webhooks).
112
102
style : form
113
103
explode : true
114
104
schema :
@@ -143,9 +133,8 @@ post:
143
133
example :
144
134
error :
145
135
type : run-failed
146
- message : >-
147
- Actor run did not succeed (run ID: 55uatRrZib4xbZs, status:
148
- FAILED)
136
+ message : |
137
+ Actor run did not succeed (run ID: 55uatRrZib4xbZs, status: FAILED)
149
138
' 408 ' :
150
139
description : ' '
151
140
headers : {}
@@ -168,23 +157,17 @@ get:
168
157
summary : Without input
169
158
description : |
170
159
Runs a specific Actor and returns its output.
171
-
172
160
The run must finish in 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds
173
161
otherwise the API endpoint returns a timeout error.
174
-
175
162
The Actor is not passed any input.
176
163
177
-
178
164
Beware that it might be impossible to maintain an idle HTTP connection for a
179
165
long period of time,
180
-
181
166
due to client timeout or network conditions. Make sure your HTTP client is
182
167
configured to have a long enough connection timeout.
183
-
184
168
If the connection breaks, you will not receive any information about the run
185
169
and its status.
186
170
187
-
188
171
To run the Actor asynchronously, use the [Run
189
172
Actor](#/reference/actors/run-collection/run-actor) API endpoint instead.
190
173
operationId : act_runSync_get
199
182
example : janedoe~my-actor
200
183
- name : outputRecordKey
201
184
in : query
202
- description : |-
185
+ description : |
203
186
Key of the record from run's default key-value store to be returned
204
- in the response. By default, it is `OUTPUT`.
187
+ in the response. By default, it is `OUTPUT`.
205
188
style : form
206
189
explode : true
207
190
schema :
@@ -260,12 +243,9 @@ get:
260
243
description : |
261
244
Specifies optional webhooks associated with the Actor run, which can be
262
245
used to receive a notification
263
-
264
246
e.g. when the Actor finished or failed. The value is a Base64-encoded
265
247
JSON array of objects defining the webhooks. For more information, see
266
-
267
- [Webhooks
268
- documentation](https://docs.apify.com/platform/integrations/webhooks).
248
+ [Webhooks documentation](https://docs.apify.com/platform/integrations/webhooks).
269
249
style : form
270
250
explode : true
271
251
schema :
0 commit comments