Actor With Ui2 avatar

Actor With Ui2

Try for free

No credit card required

Go to Store
Actor With Ui2

Actor With Ui2

mtrunkat.com/actor-with-ui2
Try for free

No credit card required

Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • 1 bookmark

  • >99% runs succeeded

  • Created in Sep 2018

  • Modified 6 years ago

Categories

You can access the Actor With Ui2 programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "MtQ7xKuQAgBh97icx"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/mtrunkat.com~actor-with-ui2/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-mtrunkat.com-actor-with-ui2",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/mtrunkat.com~actor-with-ui2/runs": {
50      "post": {
51        "operationId": "runs-sync-mtrunkat.com-actor-with-ui2",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/mtrunkat.com~actor-with-ui2/run-sync": {
93      "post": {
94        "operationId": "run-sync-mtrunkat.com-actor-with-ui2",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "required": [
134          "startUrls",
135          "pageFunction",
136          "maxPagesPerCrawl",
137          "jsonObj"
138        ],
139        "properties": {
140          "startUrls": {
141            "title": "Start URLs",
142            "type": "array",
143            "description": "URLs to start with",
144            "default": [
145              {
146                "url": "http://example.com/default",
147                "method": "POST"
148              }
149            ],
150            "items": {
151              "type": "object",
152              "required": [
153                "url"
154              ],
155              "properties": {
156                "url": {
157                  "type": "string",
158                  "title": "URL of a web page",
159                  "format": "uri"
160                }
161              }
162            }
163          },
164          "proxy": {
165            "title": "Proxy configuration",
166            "type": "object",
167            "description": "URLs to start with",
168            "default": {
169              "useApifyProxy": false
170            }
171          },
172          "pageFunction": {
173            "title": "Page function",
174            "type": "string",
175            "description": "Function executed for each request",
176            "default": "async () => {\n  return $('title default').text();\n\n}"
177          },
178          "textfieldProp": {
179            "title": "Some text field",
180            "type": "string",
181            "description": "Xxx",
182            "default": "blaah blaah defaule"
183          },
184          "textareaProp": {
185            "title": "Some text area",
186            "type": "string",
187            "description": "Yyy",
188            "default": "blaah\nblaah\nblaah default"
189          },
190          "useRequestQueue": {
191            "title": "Use request queue",
192            "type": "boolean",
193            "description": "Request queue enables recursive crawling",
194            "default": true
195          },
196          "verboseLog": {
197            "title": "Verbose log",
198            "type": "boolean",
199            "description": "Debug messages will be included in the log.",
200            "default": true
201          },
202          "disableWebSecurity": {
203            "title": "Disable web security?",
204            "type": "boolean",
205            "description": "Crawler will ignore SSL certificate errors.",
206            "default": false
207          },
208          "enumPropTitles": {
209            "title": "Country",
210            "enum": [
211              "us",
212              "fr",
213              "de"
214            ],
215            "type": "string",
216            "description": "Select country",
217            "default": "us"
218          },
219          "enumProp": {
220            "title": "Country",
221            "enum": [
222              "us",
223              "fr",
224              "de"
225            ],
226            "type": "string",
227            "description": "Select country",
228            "default": "us"
229          },
230          "maxPagesPerCrawl": {
231            "title": "Miximum pages per crawl",
232            "minimum": 1,
233            "maximum": 20,
234            "type": "integer",
235            "description": "Maximum number of pages that the crawler will open.",
236            "default": 2
237          },
238          "pseudoUrls": {
239            "title": "Pseudo-URLs",
240            "type": "array",
241            "description": "Pseudo-URLs matching requests you want to enqueue",
242            "default": [],
243            "items": {
244              "type": "object",
245              "required": [
246                "purl"
247              ],
248              "properties": {
249                "purl": {
250                  "type": "string",
251                  "title": "Pseudo-URL of a web page"
252                }
253              }
254            }
255          },
256          "jsonObj": {
257            "title": "json",
258            "type": "object",
259            "description": "xxxx",
260            "default": {
261              "xxx": "xx"
262            }
263          }
264        }
265      },
266      "runsResponseSchema": {
267        "type": "object",
268        "properties": {
269          "data": {
270            "type": "object",
271            "properties": {
272              "id": {
273                "type": "string"
274              },
275              "actId": {
276                "type": "string"
277              },
278              "userId": {
279                "type": "string"
280              },
281              "startedAt": {
282                "type": "string",
283                "format": "date-time",
284                "example": "2025-01-08T00:00:00.000Z"
285              },
286              "finishedAt": {
287                "type": "string",
288                "format": "date-time",
289                "example": "2025-01-08T00:00:00.000Z"
290              },
291              "status": {
292                "type": "string",
293                "example": "READY"
294              },
295              "meta": {
296                "type": "object",
297                "properties": {
298                  "origin": {
299                    "type": "string",
300                    "example": "API"
301                  },
302                  "userAgent": {
303                    "type": "string"
304                  }
305                }
306              },
307              "stats": {
308                "type": "object",
309                "properties": {
310                  "inputBodyLen": {
311                    "type": "integer",
312                    "example": 2000
313                  },
314                  "rebootCount": {
315                    "type": "integer",
316                    "example": 0
317                  },
318                  "restartCount": {
319                    "type": "integer",
320                    "example": 0
321                  },
322                  "resurrectCount": {
323                    "type": "integer",
324                    "example": 0
325                  },
326                  "computeUnits": {
327                    "type": "integer",
328                    "example": 0
329                  }
330                }
331              },
332              "options": {
333                "type": "object",
334                "properties": {
335                  "build": {
336                    "type": "string",
337                    "example": "latest"
338                  },
339                  "timeoutSecs": {
340                    "type": "integer",
341                    "example": 300
342                  },
343                  "memoryMbytes": {
344                    "type": "integer",
345                    "example": 1024
346                  },
347                  "diskMbytes": {
348                    "type": "integer",
349                    "example": 2048
350                  }
351                }
352              },
353              "buildId": {
354                "type": "string"
355              },
356              "defaultKeyValueStoreId": {
357                "type": "string"
358              },
359              "defaultDatasetId": {
360                "type": "string"
361              },
362              "defaultRequestQueueId": {
363                "type": "string"
364              },
365              "buildNumber": {
366                "type": "string",
367                "example": "1.0.0"
368              },
369              "containerUrl": {
370                "type": "string"
371              },
372              "usage": {
373                "type": "object",
374                "properties": {
375                  "ACTOR_COMPUTE_UNITS": {
376                    "type": "integer",
377                    "example": 0
378                  },
379                  "DATASET_READS": {
380                    "type": "integer",
381                    "example": 0
382                  },
383                  "DATASET_WRITES": {
384                    "type": "integer",
385                    "example": 0
386                  },
387                  "KEY_VALUE_STORE_READS": {
388                    "type": "integer",
389                    "example": 0
390                  },
391                  "KEY_VALUE_STORE_WRITES": {
392                    "type": "integer",
393                    "example": 1
394                  },
395                  "KEY_VALUE_STORE_LISTS": {
396                    "type": "integer",
397                    "example": 0
398                  },
399                  "REQUEST_QUEUE_READS": {
400                    "type": "integer",
401                    "example": 0
402                  },
403                  "REQUEST_QUEUE_WRITES": {
404                    "type": "integer",
405                    "example": 0
406                  },
407                  "DATA_TRANSFER_INTERNAL_GBYTES": {
408                    "type": "integer",
409                    "example": 0
410                  },
411                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
412                    "type": "integer",
413                    "example": 0
414                  },
415                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
416                    "type": "integer",
417                    "example": 0
418                  },
419                  "PROXY_SERPS": {
420                    "type": "integer",
421                    "example": 0
422                  }
423                }
424              },
425              "usageTotalUsd": {
426                "type": "number",
427                "example": 0.00005
428              },
429              "usageUsd": {
430                "type": "object",
431                "properties": {
432                  "ACTOR_COMPUTE_UNITS": {
433                    "type": "integer",
434                    "example": 0
435                  },
436                  "DATASET_READS": {
437                    "type": "integer",
438                    "example": 0
439                  },
440                  "DATASET_WRITES": {
441                    "type": "integer",
442                    "example": 0
443                  },
444                  "KEY_VALUE_STORE_READS": {
445                    "type": "integer",
446                    "example": 0
447                  },
448                  "KEY_VALUE_STORE_WRITES": {
449                    "type": "number",
450                    "example": 0.00005
451                  },
452                  "KEY_VALUE_STORE_LISTS": {
453                    "type": "integer",
454                    "example": 0
455                  },
456                  "REQUEST_QUEUE_READS": {
457                    "type": "integer",
458                    "example": 0
459                  },
460                  "REQUEST_QUEUE_WRITES": {
461                    "type": "integer",
462                    "example": 0
463                  },
464                  "DATA_TRANSFER_INTERNAL_GBYTES": {
465                    "type": "integer",
466                    "example": 0
467                  },
468                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
469                    "type": "integer",
470                    "example": 0
471                  },
472                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
473                    "type": "integer",
474                    "example": 0
475                  },
476                  "PROXY_SERPS": {
477                    "type": "integer",
478                    "example": 0
479                  }
480                }
481              }
482            }
483          }
484        }
485      }
486    }
487  }
488}

Actor With Ui2 OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Actor With Ui2 from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients: