Professional Documents
Culture Documents
Sample 5
Sample 5
HOST: https://api.apify.com/
# Apify API
The Apify API (version 2) provides programmatic access to the [Apify platform]
(https://docs.apify.com).
The API is organized around
[RESTful](https://en.wikipedia.org/wiki/Representational_state_transfer)
HTTP endpoints.
All requests and responses (including errors) are encoded in
[JSON](http://www.json.org/) format with UTF-8 encoding,
with a few exceptions that are explicitly described in the reference.
**Note:** All requests with JSON payloads need to specify the `Content-Type:
application/json` HTTP header!
All API endpoints support the `method` query parameter that can override the HTTP
method.
For example, if you want to call a POST endpoint using a GET request, simply
add the query parameter `method=POST` to the URL and send the GET request.
This feature is especially useful if you want to call Apify API endpoints
from services that can only send GET requests.
## Authentication
Using your token in the request header is more secure than using it as a URL
parameter because URLs are often stored
in browser history and server logs. This creates a chance for someone unauthorized
to access
your API token.
**Do not share your API token or password with untrusted parties.**
## Basic usage
To run an actor, send a POST request to the [Run actor](#reference/actors/run-
collection/run-actor) endpoint using either the actor ID code (e.g.
`vKg4IjxZbEYTYeW8T`) or its name (e.g. `janedoe~my-actor`):
`https://api.apify.com/v2/acts/[actor_id]/runs`
If the actor is not runnable anonymously, you will receive a 401 or 403
[response code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status).
This means you need to add your [secret API
token](https://console.apify.com/account#/integrations) to the request's
`Authorization` header ([recommended](#introduction/authentication)) or as a URL
query parameter `?token=[your_token]` (less secure).
Optionally, you can include the query parameters described in the [Run actor]
(#reference/actors/run-collection/run-actor) section to customize your run.
If you're using Node.js, the best way to run an actor is using the `Apify.call()`
method from the [Apify SDK](https://sdk.apify.com/docs/api/apify#apifycallactid-
input-options). It runs the actor using the account you are currently logged into
(determined by the [secret API
token](https://console.apify.com/account#/integrations)). The result is an [actor
run object](https://sdk.apify.com/docs/typedefs/actor-run) and its output (if any).
2. Monitor the actor run by periodically polling its progress using the [Get run]
(#reference/actor-runs/run-object-and-its-storages/get-run) API endpoint.
## Response structure
Most API endpoints return a JSON object with the `data` property:
```
{
"data": {
...
}
}
```
In case of an error, the response has the HTTP status code in the range of 4xx or
5xx
and the `data` property is replaced with `error`. For example:
```
{
"error": {
"type": "record-not-found",
"message": "Store was not found."
}
}
```
## Pagination
Most of these API endpoints are paginated using the `offset` and `limit` query
parameters.
The only exception is [Get list of keys](#reference/key-value-stores/key-
collection/get-list-of-keys),
which is paginated using the `exclusiveStartKey` query parameter.
Most API endpoints that return a list of records enable pagination using the
following query parameters:
<table>
<tr>
<td><code>limit</code></td>
<td>Limits the response to contain a specific maximum number of items, e.g.
<code>limit=20</code>.</td>
</tr>
<tr>
<td><code>offset</code></td>
<td>Skips a number of items from the beginning of the list, e.g.
<code>offset=100</code>.</td>
</tr>
<tr>
<td><code>desc</code></td>
<td>By default, items are sorted in the order in which they were created or
added to the list.
This feature is useful when fetching all the items, because it ensures that
items
created after the client started the pagination will not be skipped.
If you specify the <code>desc=1</code> parameter, the items will be returned in
the reverse order,
i.e. from the newest to the oldest items.
</td>
</tr>
</table>
The response of these API endpoints is always a JSON object with the following
structure:
```
{
"data": {
"total": 2560,
"offset": 250,
"limit": 1000,
"count": 1000,
"desc": false,
"items": [
{ 1st object },
{ 2nd object },
...
{ 1000th object }
]
}
}
```
<table>
<tr>
<th>Property</th>
<th>Description</th>
</tr>
<tr>
<td><code>total</code></td>
<td>The total number of items available in the list.</td>
</tr>
<tr>
<td><code>offset</code></td>
<td>The number of items that were skipped at the start.
This is equal to the <code>offset</code> query parameter if it was provided,
otherwise it is <code>0</code>.</td>
</tr>
<tr>
<td><code>limit</code></td>
<td>The maximum number of items that can be returned in the HTTP response.
It equals to the <code>limit</code> query parameter if it was provided or
the maximum limit enforced for the particular API endpoint, whichever is
smaller.</td>
</tr>
<tr>
<td><code>count</code></td>
<td>The actual number of items returned in the HTTP response.</td>
</tr>
<tr>
<td><code>desc</code></td>
<td><code>true</code> if data were requested in descending order and
<code>false</code> otherwise.</td>
</tr>
<tr>
<td><code>items</code></td>
<td>An array of requested items.</td>
</tr>
</table>
<table>
<tr>
<td><code>limit</code></td>
<td>Limits the response to contain a specific maximum number items, e.g.
<code>limit=20</code>.</td>
</tr>
<tr>
<td><code>exclusiveStartKey</code></td>
<td>Skips all records with keys up to the given key including the given key,
in the UTF-8 binary order.</td>
</tr>
</table>
The response of the API endpoint is always a JSON object with following structure:
```
{
"data": {
"limit": 1000,
"isTruncated": true,
"exclusiveStartKey": "my-key",
"nextExclusiveStartKey": "some-other-key",
"items": [
{ 1st object },
{ 2nd object },
...
{ 1000th object }
]
}
}
```
<table>
<tr>
<th>Property</th>
<th>Description</th>
</tr>
<tr>
<td><code>limit</code></td>
<td>The maximum number of items that can be returned in the HTTP response.
It equals to the <code>limit</code> query parameter if it was provided or
the maximum limit enforced for the particular endpoint, whichever is
smaller.</td>
</tr>
<tr>
<td><code>isTruncated</code></td>
<td><code>true</code> if there are more items left to be queried. Otherwise
<code>false</code>.</td>
</tr>
<tr>
<td><code>exclusiveStartKey</code></td>
<td>The last key that was skipped at the start. Is `null` for the first
page.</td>
</tr>
<tr>
<td><code>nextExclusiveStartKey</code></td>
<td>The value for the <code>exclusiveStartKey</code> parameter to query the
next page of items.</td>
</tr>
</table>
## Errors
The Apify API uses common HTTP status codes: `2xx` range for success, `4xx` range
for errors caused by the caller
(invalid requests) and `5xx` range for server errors (these are rare).
Each error response contains a JSON object defining the `error` property, which is
an object with
the `type` and `message` properties that contain the error code and a human-
readable error description, respectively.
For example:
```
{
"error": {
"type": "record-not-found",
"message": "Store was not found."
}
}
```
Here is the table of the most common errors that can occur for many API endpoints:
<table>
<tr>
<th>status</th>
<th>type</th>
<th>message</th>
</tr>
<tr>
<td><code>400</code></td>
<td><code>invalid-request</code></td>
<td>POST data must be a JSON object</td>
</tr>
<tr>
<td><code>400</code></td>
<td><code>invalid-value</code></td>
<td>Invalid value provided: Comments required</td>
</tr>
<tr>
<td><code>400</code></td>
<td><code>invalid-record-key</code></td>
<td>Record key contains invalid character</td>
</tr>
<tr>
<td><code>401</code></td>
<td><code>token-not-provided</code></td>
<td>Authentication token was not provided</td>
</tr>
<tr>
<td><code>404</code></td>
<td><code>record-not-found</code></td>
<td>Store was not found</td>
</tr>
<tr>
<td><code>429</code></td>
<td><code>rate-limit-exceeded</code></td>
<td>You have exceeded the rate limit of 30 requests per second</td>
</tr>
<tr>
<td><code>405</code></td>
<td><code>method-not-allowed</code></td>
<td>This API endpoint can only be accessed using the following HTTP methods:
OPTIONS, POST</td>
</tr>
</table>
## Rate limiting
All API endpoints limit the rate of requests in order to prevent overloading of
Apify servers by misbehaving clients.
The default rate limit is 30 requests per second and is applied to every API
endpoint except the following list
of endpoints that are rate limited to 200 requests per second:
* [Run actor](#reference/actors/run-collection/run-actor)
* [Run actor task asynchronously](#reference/actor-tasks/runs-collection/run-task-
asynchronously)
* [Run actor task synchronously](#reference/actor-tasks/runs-collection/run-task-
synchronously)
* [Metamorph actor run](#reference/actors/metamorph-run/metamorph-run)
* [Push items](#reference/datasets/item-collection/put-items) to dataset
* CRUD
([add](#reference/request-queues/request-collection/add-request),
[get](#reference/request-queues/request-collection/get-request),
[update](#reference/request-queues/request-collection/update-request),
[delete](#reference/request-queues/request-collection/delete-request))
operations of request queue requests
> For authenticated API endpoints (if you use an [authentication token]
(#authentication)), the limit is counted per user.
Storage API endpoints (when a token isn't used) count the limit per store ID.
Anonymous API endpoints count the limit per client IP adress. Each API endpoint
returns its rate limit in `X-RateLimit-Limit` header.
If the client is sending too many requests, the API endpoints respond with the HTTP
status code `429 Too Many Requests`
and the following body:
```
{
"error": {
"type": "rate-limit-exceeded",
"message": "You have exceeded the rate limit of ... requests per second"
}
}
```
If the client receives the rate limit error, it should wait a certain period of
time and then retry the request.
If the error happens again, the client should double the wait period and retry the
request,
and so on. This algorithm is known as _exponential backoff_
and it can be described using the following pseudo-code:
## Referring to resources
There are three main ways to refer to a resource you're accessing via API.
# Group Actors
The API endpoints described in this section enable you to manage, build and run
Apify actors.
For more information, see the <a
href="https://docs.apify.com/platform/actors">Actor documentation</a>.
Note that for all the API endpoints that accept the `actorId` parameter to specify
an actor,
you can pass either the actor ID (e.g. `HG7ML7M8z78YcAPEB`) or a tilde-separated
username of the actor owner and the actor name (e.g. `janedoe~my-actor`).
Some of the API endpoints return runs objects. Note that if any such run object
contains usage in dollars, your effective unit pricing at the time of query
has been used for computation of this dollar equivalent, and hence it should be
used only for informative purposes. You can learn more
about platform usage in the <a
href="https://docs.apify.com/platform/actors/running/usage-and-
resources#usage">documentation</a>.
+ Parameters
Gets the list of all actors that the user created or used. The response is a list
of objects, where each object
contains a basic information about a single actor.
To only get actors created by the user, add the `my=1` query parameter.
The endpoint supports pagination using the `limit` and `offset` parameters and it
will not return more than 1000 records.
By default, the records are sorted by the `createdAt` field in ascending order,
therefore you can use pagination to incrementally fetch all actors while new
ones are still being created. To sort the records in descending order, use the
`desc=1`
parameter.
+ Parameters
+ my: true (boolean, optional) - If `true` or `1` then the returned list only
contains actors owned by the user. The default value is `false`.
+ offset: 10 (number, optional) - Number of records that should be skipped at
the start. The default value is `0`.
+ limit: 99 (number, optional) - Maximum number of records to return. The
default value as well as the maximum is `1000`.
+ desc: true (boolean, optional) - If `true` or `1` then the objects are sorted
by the `createdAt` field in descending order. By default, they are sorted in
ascending order.
+ Attributes
- data (object, required)
- total: 2 (number, required)
- count: 2 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- items (array[ActorShort1,ActorShort2], required)
Creates a new actor with settings specified in an Actor object passed as JSON in
the POST payload.
The response is the full actor object as returned by the
[Get actor](#reference/actors/actor-object/get-actor) endpoint.
The HTTP request must have the `Content-Type: application/json` HTTP header!
The actor needs to define at least one version of the source code.
For more information, see [Version object](#reference/actors/version-object).
+ Request (application/json)
+ Attributes(ActCreate)
+ Headers
Location: https://api.apify.com/v2/acts/zdc3Pyhyz3m8vjDeM
+ Attributes
- data (Actor, required)
+ Parameters
Gets an object that contains all the details about a specific actor.
+ Attributes
- data (Actor, required)
When providing your API authentication token, we recommend using the request's
`Authorization` header, rather than the URL. ([More
info](#introduction/authentication)).
+ Request (application/json)
+ Attributes(ActUpdate)
+ Attributes
- data (Actor, required)
Deletes an actor.
+ Attributes(object)
+ Parameters
Gets the list of versions of a specific actor. The response is a JSON object with
the list
of [Version objects](#reference/actors/version-object), where each
contains basic information about a single version.
+ Attributes
- data (object, required)
- total: 5 (number, required)
- items (ListOfVersions, required)
The request must specify `versionNumber` and `sourceType` parameters (as strings)
in the JSON payload and a `Content-Type: application/json` HTTP header.
Each `sourceType` requires its own additional properties to be passed to the JSON
payload object. These are outlined in the [Version
object](#reference/actors/version-object) table below and in more detail in the
[Apify documentation](https://docs.apify.com/platform/actors/development/
deployment/source-types).
```
{
"versionNumber": "0.1",
"sourceType": "GIT_REPO",
"gitRepoUrl": "https://github.com/my-github-account/actor-repo"
}
```
+ Attributes(VersionUpdate)
+ Request
{
"versionNumber": "0.1",
"sourceType": "GIT_REPO",
"gitRepoUrl": "https://github.com/my-github-account/actor-repo"
}
+ Headers
Location: https://api.apify.com/v2/acts/zdc3Pyhyz3m8vjDeM/versions/0.0
+ Attributes
- data (Version, required)
The **Version object** contains the source code of a specific version of an actor.
The `sourceType` property indicates where the source code is hosted, and based
on its value the Version object has the following additional property:
<table>
<tr>
<td><code>"SOURCE_FILES"</code></td>
<td>
Source code is comprised of multiple files specified in the
<code>sourceFiles</code> array.
Each item of the array is an object with the following fields:<br>
<code>name</code></li> - File path and name<br>
<code>format</code></li> - Format of the content, can be either
<code>"TEXT"</code> or <code>"BASE64"</code><br>
<code>content</code></li> - File content<br>
<br>
Source files can be shown and edited in the Apify Console's Web IDE.
</td>
</tr>
<tr>
<td><code>"GIT_REPO"</code></td>
<td>
Source code is cloned from a Git repository, whose URL is specified in the
<code>gitRepoUrl</code> field.
</td>
</tr>
<tr>
<td><code>"TARBALL"</code></td>
<td>
Source code is downloaded using a tarball or Zip file from a URL specified
in the <code>tarballUrl</code> field.
</td>
</tr>
<tr>
<td><code>"GITHUB_GIST"</code></td>
<td>
Source code is taken from a GitHub Gist, whose URL is specified in the
<code>gitHubGistUrl</code> field.
</td>
</tr>
</table>
For more information about source code and actor versions, see [Source code]
(https://docs.apify.com/platform/actors/development/actor-definition/source-code)
in Actors documentation.
+ Parameters
+ Attributes
- data (Version, required)
When providing your API authentication token, we recommend using the request's
`Authorization` header, rather than the URL. ([More
info](#introduction/authentication)).
+ Request (application/json)
+ Attributes(VersionUpdate)
+ Attributes
- data (Version, required)
+ Attributes(object)
Gets the list of environment variables for a specific version of an actor. The
response is a JSON object with the list
of [EnvVar objects](#reference/actors/environment-variable-object), where each
contains basic information about a single environment variable.
+ Attributes
- data (object, required)
- total: 3 (number, required)
- items (ListOfEnvVars, required)
The request must specify `name` and `value` parameters (as strings) in the JSON
payload and a `Content-Type: application/json` HTTP header.
```
{
"name": "ENV_VAR_NAME",
"value": "my-env-var"
}
```
+ Attributes(EnvVarUpdate)
+ Request
{
"name": "ENV_VAR_NAME",
"value": "my-env-var"
}
+ Headers
Location:
https://api.apify.com/v2/acts/zdc3Pyhyz3m8vjDeM/versions/1.0/env-vars/ENV_VAR_NAME
+ Attributes
- data (EnvVar, required)
+ Parameters
+ Attributes
- data (EnvVar, required)
+ Request (application/json)
+ Attributes(EnvVarUpdate)
+ Attributes
- data (EnvVar, required)
+ Attributes(object)
+ Parameters
Gets the list of webhooks of a specific actor. The response is a JSON with the list
of objects, where each object
contains basic information about a single webhook.
The endpoint supports pagination using the `limit` and `offset` parameters and it
will not return more than 1000 records.
By default, the records are sorted by the `createdAt` field in ascending order,
to sort the records in descending order, use the `desc=1` parameter.
+ Parameters
+ Parameters
Gets the list of builds of a specific actor. The response is a JSON with the list
of objects, where each object
contains basic information about a single build.
The endpoint supports pagination using the `limit` and `offset` parameters and it
will not return more than 1000 records.
By default, the records are sorted by the `startedAt` field in ascending order,
therefore you can use pagination to incrementally fetch all builds while new
ones are still being started. To sort the records in descending order, use the
`desc=1`
parameter.
+ Parameters
+ Attributes
- data (object, required)
- total: 2 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- count: 2 (number, required)
- items (array[BuildShort1,BuildShort2], required)
Builds an actor.
The response is the build object as returned by the
[Get build](#reference/actors/build-object/get-build) endpoint.
+ Parameters
+ Headers
Location:
https://api.apify.com/v2/acts/zdc3Pyhyz3m8vjDeM/runs/HG7ML7M8z78YcAPEB
+ Attributes
- data (Build, required)
+ Parameters
Gets an object that contains all the details about a specific build of an actor.
This endpoint does not require the authentication token. The calls are
authenticated using a hard-to-guess ID of the build.
+ Parameters
+ Attributes
- data (Build, required)
Aborts an actor build and returns an object that contains all the details about the
build.
Only builds that are starting or running are aborted. For builds with status
`FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call does nothing.
+ Parameters
+ Attributes
- data (BuildAborted, required)
+ Parameters
Gets the list of runs of a specific actor. The response is a list of objects, where
each object
contains basic information about a single actor run.
The endpoint supports pagination using the `limit` and `offset` parameters and it
will not return more than 1000
array elements.
By default, the records are sorted by the `startedAt` field in ascending order,
therefore you can use pagination to incrementally fetch all records while new
ones are still being created. To sort the records in descending order, use `desc=1`
parameter. You can also filter runs by status ([available
statuses](https://docs.apify.com/platform/actors/running/runs-and-
builds#lifecycle)).
+ Parameters
+ Attributes
- data (object, required)
- total: 2 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- count: 2 (number, required)
- items (array[RunShort1,RunShort2], required)
Runs an actor and immediately returns without waiting for the run to finish.
The POST payload including its `Content-Type` header is passed as `INPUT` to the
actor (usually `application/json`).
The actor is started with the default options; you can override them using various
URL query parameters.
If you want to wait for the run to finish and receive the actual output of the
actor as the response,
please use one of the [Run actor synchronously](#reference/actors/run-actor-
synchronously) API endpoints instead.
To fetch the actor run results that are typically stored in the default dataset,
you'll need to pass the ID received in the `defaultDatasetId` field
received in the response JSON to the [Get items](#reference/datasets/item-
collection/get-items) API endpoint.
+ Parameters
+ Request
+ Headers
Content-Type: application/json
+ Attributes
- foo: `bar`
+ Headers
Location:
https://api.apify.com/v2/acts/zdc3Pyhyz3m8vjDeM/runs/HG7ML7M8z78YcAPEB
+ Attributes
- data (Run, required)
+ Parameters
The POST payload including its `Content-Type` header is passed as `INPUT` to the
actor (usually <code>application/json</code>).
The HTTP response contains actor's `OUTPUT` record from its default key-value
store.
The actor is started with the default options; you can override them using various
URL query parameters.
If the actor run exceeds 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds,
the HTTP response will have status 408 (Request Timeout).
Beware that it might be impossible to maintain an idle HTTP connection for a long
period of time,
due to client timeout or network conditions. Make sure your HTTP client is
configured to have a long enough connection timeout.
If the connection breaks, you will not receive any information about the run and
its status.
+ Request
+ Headers
Content-Type: application/json
+ Attributes
- foo: `bar`
+ Response 201
+ Headers
Content-Type: application/json
+ Attributes
- bar: `foo`
+ Response 400
+ Headers
Content-Type: application/json
+ Attributes
- error (object, required)
- type: `run-failed` (string, required)
- message: `Actor run did not succeed (run ID: 55uatRrZib4xbZs, status:
FAILED)` (string, required)
+ Response 408
+ Headers
Content-Type: application/json
+ Attributes
- error (object, required)
- type: `run-timeout-exceeded` (string, required)
- message: `Actor run exceeded timeout of 300 seconds for this API
endpoint` (string, required)
Beware that it might be impossible to maintain an idle HTTP connection for a long
period of time,
due to client timeout or network conditions. Make sure your HTTP client is
configured to have a long enough connection timeout.
If the connection breaks, you will not receive any information about the run and
its status.
+ Response 201
+ Headers
Content-Type: application/json
+ Attributes
- foo: `bar`
+ Response 400
+ Headers
Content-Type: application/json
+ Attributes
- error (object, required)
- type: `run-failed` (string, required)
- message: `Actor run did not succeed (run ID: 55uatRrZib4xbZs, status:
FAILED)` (string, required)
+ Response 408
+ Headers
Content-Type: application/json
+ Attributes
- error (object, required)
- type: `run-timeout-exceeded` (string, required)
- message: `Actor run exceeded timeout of 60 seconds for this API
enpoint` (string, required)
+ Parameters
### Run actor synchronously with input and get dataset items [POST]
The POST payload including its `Content-Type` header is passed as `INPUT` to the
actor (usually `application/json`).
The HTTP response contains the actor's dataset items, while the format of items
depends on specifying dataset items' `format` parameter.
You can send all the same options in parameters as the [Get Dataset Items]
(#reference/datasets/item-collection/get-items) API endpoint.
The actor is started with the default options; you can override them using URL
query parameters.
If the actor run exceeds 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds,
the HTTP response will return the 408 status code (Request Timeout).
Beware that it might be impossible to maintain an idle HTTP connection for a long
period of time,
due to client timeout or network conditions. Make sure your HTTP client is
configured to have a long enough connection timeout.
If the connection breaks, you will not receive any information about the run and
its status.
+ Request
+ Headers
Content-Type: application/json
+ Attributes
- foo: `bar`
+ Response 201
+ Attributes
+ format: `json`
+ Headers
X-Apifier-Pagination-Offset: 0
X-Apifier-Pagination-Limit: 100
X-Apifier-Pagination-Count: 100
X-Apifier-Pagination-Total: 10204
+ Body
[
{
myValue: 'some value',
myOtherValue: 'some other value'
}
]
+ Response 400
+ Headers
Content-Type: application/json
+ Attributes
- error (object, required)
- type: `run-failed` (string, required)
- message: `Actor run did not succeed (run ID: 55uatRrZib4xbZs, status:
FAILED)` (string, required)
+ Response 408
+ Headers
Content-Type: application/json
+ Attributes
- error (object, required)
- type: `run-timeout-exceeded` (string, required)
- message: `Actor run exceeded timeout of 300 seconds for this API
endpoint` (string, required)
### Run actor synchronously without input and get dataset items [GET]
It allows to send all possible options in parameters from [Get Dataset Items]
(#reference/datasets/item-collection/get-items) API endpoint.
Beware that it might be impossible to maintain an idle HTTP connection for a long
period of time,
due to client timeout or network conditions. Make sure your HTTP client is
configured to have a long enough connection timeout.
If the connection breaks, you will not receive any information about the run and
its status.
+ Response 201
+ Attributes
+ format: `json`
+ Headers
X-Apifier-Pagination-Offset: 0
X-Apifier-Pagination-Limit: 100
X-Apifier-Pagination-Count: 100
X-Apifier-Pagination-Total: 10204
+ Body
[
{
myValue: 'some value',
myOtherValue: 'some other value'
}
]
+ Response 400
+ Headers
Content-Type: application/json
+ Attributes
- error (object, required)
- type: `run-failed` (string, required)
- message: `Actor run did not succeed (run ID: 55uatRrZib4xbZs, status:
FAILED)` (string, required)
+ Response 408
+ Headers
Content-Type: application/json
+ Attributes
- error (object, required)
- type: `run-timeout-exceeded` (string, required)
- message: `Actor run exceeded timeout of 60 seconds for this API
enpoint` (string, required)
Gets an object that contains all the details about a specific run of an actor.
This endpoint does not require the authentication token. The calls are
authenticated using a hard-to-guess ID of the run.
+ Parameters
+ Attributes
- data (Run, required)
Aborts an actor run and returns an object that contains all the details about the
run.
Only runs that are starting or running are aborted. For runs with status
`FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call does nothing.
+ Parameters
+ Attributes
- data (RunAborted, required)
Transforms an actor run into a run of another actor with a new input.
This is useful if you want to use another actor to finish the work
of your current actor run, without the need to create a completely new run and
waiting for its finish.
For the users of your actors, the metamorph operation is transparent, they will
just see your actor got the work done.
There is a limit on how many times you can metamorph a single run. You can check
the limit in [the Actor runtime
limits](https://docs.apify.com/platform/limits#actor-limits).
Internally, the system stops the Docker container corresponding to the actor run
and starts a new container using a different Docker image.
All the default storages are preserved and the new input is stored under the
`INPUT-METAMORPH-1` key in the same default key-value store.
+ Parameters
+ Attributes
- data (RunMetamorphed, required)
Resurrects a finished actor run and returns an object that contains all the details
about the resurrected run.
Only finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED` and
`TIMED-OUT` can be resurrected.
Run status will be updated to RUNNING and its container will be restarted with the
same storages
(the same behaviour as when the run gets migrated to the new server).
+ Parameters
+ Attributes
- data (Run, required)
This is not a single endpoint, but an entire group of endpoints that lets you to
retrieve and manage the last run of given actor or any of its default storages.
All the endpoints require an authentication token.
The endpoints accept the same HTTP methods and query parameters as
the respective storage endpoints.
The base path represents the last actor run object is:
`/v2/acts/{actorId}/runs/last{?token,status}`
Using the `status` query parameter you can ensure to only get a run with a certain
status
(e.g. `status=SUCCEEDED`). The output of this endpoint and other query parameters
are the same as in the [Run object](#reference/actors/run-object) endpoint.
In order to access the default storages of the last actor run, i.e. log, key-value
store, dataset and request queue,
use the following endpoints:
* `/v2/acts/{actorId}/runs/last/log{?token,status}`
* `/v2/acts/{actorId}/runs/last/key-value-store{?token,status}`
* `/v2/acts/{actorId}/runs/last/dataset{?token,status}`
* `/v2/acts/{actorId}/runs/last/request-queue{?token,status}`
These API endpoints have the same usage as the equivalent storage endpoints.
For example,
`/v2/acts/{actorId}/runs/last/key-value-store` has the same HTTP method and
parameters as the
[Key-value store object](#reference/key-value-stores/store-object) endpoint.
* `/v2/acts/{actorId}/runs/last/key-value-store/keys{?token,status}` [Key
collection](#reference/key-value-stores/key-collection)
* `/v2/acts/{actorId}/runs/last/key-value-store/records/{recordKey}{?token,status}`
[Record](#reference/key-value-stores/record)
#### Dataset
* `/v2/acts/{actorId}/runs/last/request-queue/requests{?token,status}` [Request
collection](#reference/request-queues/request-collection)
* `/v2/acts/{actorId}/runs/last/request-queue/requests/{requestId}{?token,status}`
[Request collection](#reference/request-queues/request)
* `/v2/acts/{actorId}/runs/last/request-queue/head{?token,status}` [Queue head]
(#reference/request-queues/queue-head)
For example, to download data from a dataset of the last succeeded actor run in XML
format,
send HTTP GET request to the following URL:
```
https://api.apify.com/v2/acts/{actorId}/runs/last/dataset/items?
token={yourApiToken}&format=xml&status=SUCCEEDED
```
In order to save new items to the dataset, send HTTP POST request with JSON payload
to the same URL.
+ Parameters
+ Attributes
- data (Run, required)
The API endpoints described in this section enable you to manage and run Apify
actor tasks.
For more information, see the <a
href="https://docs.apify.com/platform/actors/running/tasks">Actor tasks
documentation</a>.
Note that for all the API endpoints that accept the `actorTaskId` parameter to
specify a task,
you can pass either the task ID (e.g. `HG7ML7M8z78YcAPEB`) or a tilde-separated
username of the task's owner and the task's name (e.g. `janedoe~my-task`).
Some of the API endpoints return runs objects. Note that if any such run object
contains usage in dollars, your effective unit pricing at the time of query
has been used for computation of this dollar equivalent, and hence it should be
used only for informative purposes. You can learn more
about platform usage in the <a
href="https://docs.apify.com/platform/actors/running/usage-and-
resources#usage">documentation</a>.
+ Parameters
The endpoint supports pagination using the `limit` and `offset` parameters, and it
does not return more than a 1000 records.
By default, the records are sorted by the `createdAt` field in ascending order;
therefore you can use pagination to incrementally fetch all tasks while new
ones are still being created. To sort the records in descending order, use the
`desc=1`
parameter.
+ Parameters
+ Attributes
- data (object, required)
- total: 2 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- count: 2 (number, required)
- items (array[TaskShort1,TaskShort2], required)
Create a new task with settings specified by the object passed as JSON in the POST
payload.
The response is the full task object as returned by the
[Get task](#reference/tasks/task-object/get-task) endpoint.
When providing your API authentication token, we recommend using the request's
`Authorization` header, rather than the URL. ([More
info](#introduction/authentication)).
+ Request (application/json)
+ Attributes(TaskCreate)
+ Headers
Location: https://api.apify.com/v2/actor-tasks/zdc3Pyhyz3m8vjDeM
+ Attributes
- data (Task, required)
+ Parameters
+ Attributes
- data (Task, required)
Update settings of a task using values specified by an object passed as JSON in the
POST payload.
If the object does not define a specific property, its value is not updated.
When providing your API authentication token, we recommend using the request's
`Authorization` header, rather than the URL. ([More
info](#introduction/authentication)).
+ Request (application/json)
+ Attributes(TaskUpdate)
+ Attributes
- data (Task, required)
+ Attributes(object)
+ Parameters
+ Attributes
- myField1: `some-value` (string, nullable)
- myField2: `another-value` (string, nullable)
- myField3: 1 (number, nullable)
Updates the input of a task using values specified by an object passed as JSON in
the PUT payload.
If the object does not define a specific property, its value is not updated.
When providing your API authentication token, we recommend using the request's
`Authorization` header, rather than the URL. ([More
info](#introduction/authentication)).
+ Request (application/json)
+ Attributes
- myField2: `updated-value` (string, nullable)
+ Attributes
- myField1: `some-value` (string, nullable)
- myField2: `updated-value` (string, nullable)
- myField3: 1 (number, nullable)
+ Parameters
Gets the list of webhooks of a specific actor task. The response is a JSON with the
list of objects, where each object
contains basic information about a single webhook.
The endpoint supports pagination using the `limit` and `offset` parameters and it
will not return more than 1000 records.
By default, the records are sorted by the `createdAt` field in ascending order,
to sort the records in descending order, use the `desc=1` parameter.
+ Parameters
+ Attributes
- data (object, required)
- total: 2 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- count: 2 (number, required)
- items (array[Webhook,Webhook], required)
+ Parameters
Get a list of runs of a specific task. The response is a list of objects, where
each object
contains essential information about a single task run.
The endpoint supports pagination using the `limit` and `offset` parameters, and it
does not return more than a 1000
array elements.
By default, the records are sorted by the `startedAt` field in ascending order;
therefore you can use pagination to incrementally fetch all records while new
ones are still being created. To sort the records in descending order, use the
`desc=1`
parameter. You can also filter runs by status ([available
statuses](https://docs.apify.com/platform/actors/running/runs-and-
builds#lifecycle)).
+ Parameters
+ Attributes
- data (object, required)
- total: 2 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- count: 2 (number, required)
- items (array[RunShort1,RunShort2], required)
Runs an actor task and immediately returns without waiting for the run to finish.
Optionally, you can override the actor input configuration by passing a JSON object
as the POST payload
and setting the `Content-Type: application/json` HTTP header.
Note that if the object in the POST payload does not define a particular input
property,
the actor run uses the default value defined by the task (or actor's input schema
if not defined by the task).
The response is the actor Run object as returned by the [Get run](#reference/actor-
runs/run-object-and-its-storages/get-run) endpoint.
If you want to wait for the run to finish and receive the actual output of the
actor run as the response,
use one of the [Run task synchronously](#reference/actor-tasks/run-task-
synchronously) API endpoints instead.
To fetch the actor run results that are typically stored in the default dataset,
you'll need to pass the ID received in the `defaultDatasetId` field
received in the response JSON to the [Get items](#reference/datasets/item-
collection/get-items) API endpoint.
+ Parameters
+ Request
+ Headers
Content-Type: application/json
+ Attributes
- foo: `bar`
+ Headers
Location:
https://api.apify.com/v2/actor-tasks/zdc3Pyhyz3m8vjDeM/runs/HG7ML7M8z78YcAPEB
+ Attributes
- data (TaskRun, required)
+ Parameters
Optionally, you can override the actor input configuration by passing a JSON object
as the POST payload
and setting the `Content-Type: application/json` HTTP header.
Note that if the object in the POST payload does not define a particular input
property,
the actor run uses the default value defined by the task (or actor's input schema
if not defined by the task).
Input fields from actor task configuration can be overloaded with values passed as
the POST payload.
Just make sure to specify `Content-Type` header to be `application/json` and input
to be an object.
+ Request
+ Headers
Content-Type: application/json
+ Attributes
- foo: `bar`
+ Response 201
+ Headers
Content-Type: application/json
+ Attributes
- bar: `foo`
+ Response 400
+ Headers
Content-Type: application/json
+ Attributes
- error (object, required)
- type: `run-failed` (string, required)
- message: `Actor run did not succeed (run ID: 55uatRrZib4xbZs, status:
FAILED)` (string, required)
+ Response 201
+ Headers
Content-Type: application/json
+ Attributes
- bar: `foo`
+ Response 400
+ Headers
Content-Type: application/json
+ Attributes
- error (object, required)
- type: `run-failed` (string, required)
- message: `Actor run did not succeed (run ID: 55uatRrZib4xbZs, status:
FAILED)` (string, required)
+ Response 408
+ Headers
Content-Type: application/json
+ Attributes
- error (object, required)
- type: `run-timeout-exceeded` (string, required)
- message: `Actor run exceeded timeout of 300 seconds for this API
endpoint` (string, required)
## Run task synchronously and get dataset items [/v2/actor-tasks/{actorTaskId}/run-
sync-get-dataset-items{?
token,webhooks,timeout,memory,build,format,offset,limit,attachment,delimiter,bom,de
sc,xmlRoot,xmlRow,fields,omit,unwind,flatten,skipHeaderRow,token,clean,skipHidden,s
kipEmpty,simplified,skipFailedPages}]
+ Parameters
### Run task synchronously and get dataset items (POST) [POST]
Optionally, you can override the actor input configuration by passing a JSON object
as the POST payload
and setting the `Content-Type: application/json` HTTP header.
Note that if the object in the POST payload does not define a particular input
property,
the actor run uses the default value defined by the task (or the actor's input
schema if not defined by the task).
You can send all the same options in parameters as the [Get Dataset Items]
(#reference/datasets/item-collection/get-items) API endpoint.
Input fields from actor task configuration can be overloaded with values passed as
the POST payload.
Just make sure to specify the `Content-Type` header as `application/json` and that
the input is an object.
+ Request
+ Headers
Content-Type: application/json
+ Attributes
- foo: `bar`
+ Response 201
+ Attributes
+ format: `json`
+ Headers
X-Apifier-Pagination-Offset: 0
X-Apifier-Pagination-Limit: 100
X-Apifier-Pagination-Count: 100
X-Apifier-Pagination-Total: 10204
+ Body
[
{
myValue: 'some value',
myOtherValue: 'some other value'
}
]
+ Response 400
+ Headers
Content-Type: application/json
+ Attributes
- error (object, required)
- type: `run-failed` (string, required)
- message: `Actor run did not succeed (run ID: 55uatRrZib4xbZs, status:
FAILED)` (string, required)
### Run task synchronously and get dataset items (GET) [GET]
You can send all the same options in parameters as the [Get Dataset Items]
(#reference/datasets/item-collection/get-items) API endpoint.
+ Response 201
+ Attributes
+ format: `json`
+ Headers
X-Apifier-Pagination-Offset: 0
X-Apifier-Pagination-Limit: 100
X-Apifier-Pagination-Count: 100
X-Apifier-Pagination-Total: 10204
+ Body
[
{
myValue: 'some value',
myOtherValue: 'some other value'
}
]
+ Response 400
+ Headers
Content-Type: application/json
+ Attributes
- error (object, required)
- type: `run-failed` (string, required)
- message: `Actor run did not succeed (run ID: 55uatRrZib4xbZs, status:
FAILED)` (string, required)
+ Response 408
+ Headers
Content-Type: application/json
+ Attributes
- error (object, required)
- type: `run-timeout-exceeded` (string, required)
- message: `Actor run exceeded timeout of 300 seconds for this API
endpoint` (string, required)
This is not a single endpoint, but an entire group of endpoints that lets you to
retrieve and manage the last run of given actor task or any of its default
storages.
All the endpoints require an authentication token.
The endpoints accept the same HTTP methods and query parameters as
the respective storage endpoints.
The base path represents the last actor task run object is:
`/v2/actor-tasks/{actorTaskId}/runs/last{?token,status}`
Using the `status` query parameter you can ensure to only get a run with a certain
status
(e.g. `status=SUCCEEDED`). The output of this endpoint and other query parameters
are the same as in the [Run object](#reference/actors/run-object) endpoint.
In order to access the default storages of the last actor task run, i.e. log, key-
value store, dataset and request queue,
use the following endpoints:
* `/v2/actor-tasks/{actorTaskId}/runs/last/log{?token,status}`
* `/v2/actor-tasks/{actorTaskId}/runs/last/key-value-store{?token,status}`
* `/v2/actor-tasks/{actorTaskId}/runs/last/dataset{?token,status}`
* `/v2/actor-tasks/{actorTaskId}/runs/last/request-queue{?token,status}`
These API endpoints have the same usage as the equivalent storage endpoints.
For example,
`/v2/actor-tasks/{actorTaskId}/runs/last/key-value-store` has the same HTTP method
and parameters as the
[Key-value store object](#reference/key-value-stores/store-object) endpoint.
* `/v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/keys{?token,status}`
[Key collection](#reference/key-value-stores/key-collection)
* `/v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey}{?
token,status}` [Record](#reference/key-value-stores/record)
#### Dataset
* `/v2/actor-tasks/{actorTaskId}/runs/last/dataset/items{?token,status}` [Item
collection](#reference/datasets/item-collection)
#### Request queue
* `/v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests{?token,status}`
[Request collection](#reference/request-queues/request-collection)
* `/v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}{?
token,status}` [Request collection](#reference/request-queues/request)
* `/v2/actor-tasks/{actorTaskId}/runs/last/request-queue/head{?token,status}`
[Queue head](#reference/request-queues/queue-head)
For example, to download data from a dataset of the last succeeded actor task run
in XML format,
send HTTP GET request to the following URL:
```
https://api.apify.com/v2/actor-tasks/{actorTaskId}/runs/last/dataset/items?
token={yourApiToken}&format=xml&status=SUCCEEDED
```
In order to save new items to the dataset, send HTTP POST request with JSON payload
to the same URL.
+ Parameters
+ Attributes
- data (Run, required)
The API endpoints described in this section enable you to manage Apify actor runs.
Note that if any returned run object contains usage in dollars, your effective unit
pricing at the time of query
has been used for computation of this dollar equivalent, and hence it should be
used only for informative purposes.
You can learn more about platform usage in the <a
href="https://docs.apify.com/platform/actors/running/usage-and-
resources#usage">documentation</a>.
Gets a list of all runs for a user. The response is a list of objects, where each
object
contains basic information about a single actor run.
The endpoint supports pagination using the `limit` and `offset` parameters and it
will not return more than 1000
array elements.
By default, the records are sorted by the `startedAt` field in ascending order.
Therefore, you can use pagination to incrementally fetch all records while new
ones are still being created. To sort the records in descending order, use `desc=1`
parameter. You can also filter runs by status ([available
statuses](https://docs.apify.com/platform/actors/running/runs-and-
builds#lifecycle)).
+ Parameters
+ Attributes
- data (object, required)
- total: 2 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- count: 2 (number, required)
- items (array[RunShort1,RunShort2], required)
This is not a single endpoint, but an entire group of endpoints that lets you
retrieve the run or any of its default storages.
The endpoints accept the same HTTP methods and query parameters as
the respective storage endpoints.
The base path that represents the actor run object is:
`/v2/actor-runs/{runId}{?token}`
In order to access the default storages of the actor run, i.e. log, key-value
store, dataset and request queue,
use the following endpoints:
* `/v2/actor-runs/{runId}/log{?token}`
* `/v2/actor-runs/{runId}/key-value-store{?token}`
* `/v2/actor-runs/{runId}/dataset{?token}`
* `/v2/actor-runs/{runId}/request-queue{?token}`
These API endpoints have the same usage as the equivalent storage endpoints.
For example,
`/v2/actor-runs/{runId}/key-value-store` has the same HTTP method and parameters as
the
[Key-value store object](#reference/key-value-stores/store-object) endpoint.
Additionally, each of the above API endpoints supports all sub-endpoints
of the original one:
#### Log
* `/v2/actor-runs/{runId}/logs` [Log](#reference/log)
#### Dataset
* `/v2/actor-runs/{runId}/dataset/items{?token}` [Item
collection](#reference/datasets/item-collection)
For example, to download data from a dataset of the actor run in XML format,
send HTTP GET request to the following URL:
```
https://api.apify.com/v2/actor-runs/{runId}/dataset/items?format=xml
```
In order to save new items to the dataset, send HTTP POST request with JSON payload
to the same URL.
+ Parameters
Gets an object that contains all the details about a specific run of an actor.
This endpoint does not require the authentication token. The calls are
authenticated using a hard-to-guess ID of the run.
+ Parameters
+ Attributes
- data (Run, required)
Delete the run. Only finished runs can be deleted. Only the person or organization
that initiated the run can delete it.
+ Parameters
Aborts an actor run and returns an object that contains all the details about the
run.
Only runs that are starting or running are aborted. For runs with status
`FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call does nothing.
+ Parameters
+ Attributes
- data (RunAborted, required)
Transforms an actor run into a run of another actor with a new input.
This is useful if you want to use another actor to finish the work
of your current actor run, without the need to create a completely new run and
waiting for its finish.
For the users of your actors, the metamorph operation is transparent, they will
just see your actor got the work done.
Internally, the system stops the Docker container corresponding to the actor run
and starts a new container using a different Docker image.
All the default storages are preserved and the new input is stored under the
`INPUT-METAMORPH-1` key in the same default key-value store.
+ Parameters
+ Attributes
- data (RunMetamorphed, required)
Reboots an actor run and returns an object that contains all the details about the
rebooted run.
Only runs that are running, i.e. runs with status `RUNNING` can be rebooted.
The run's container will be restarted, so any data not persisted in the key-value
store, dataset, or request queue will be lost.
+ Parameters
+ Attributes
- data (Run, required)
Resurrects a finished actor run and returns an object that contains all the details
about the resurrected run.
Only finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED` and
`TIMED-OUT` can be resurrected.
Run status will be updated to RUNNING and its container will be restarted with the
same storages
(the same behaviour as when the run gets migrated to the new server).
For more information, see the [Actor
docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrection-
of-finished-run).
+ Parameters
+ Attributes
- data (Run, required)
You can set a single status message on your run that will be displayed in the Apify
Console UI. During an actor run,
you will typically do this in order to inform users of your actor about the actor's
progress.
The request body must contain `runId` and `statusMessage` properties. The
`isStatusMessageTerminal` property is optional and it indicates if the status
message is the very last one. In the absence of a status message, the platform will
try to substitute sensible defaults.
+ Parameters
+ Request (application/json)
+ Attributes(StatusMessageUpdate)
+ Attributes
- data (Run, required)
The API endpoints described in this section enable you to manage Apify actor
builds.
Note that if any returned build object contains usage in dollars, your effective
unit pricing at the time of query
has been used for computation of this dollar equivalent, and hence it should be
used only for informative purposes.
You can learn more about platform usage in the <a
href="https://docs.apify.com/platform/actors/running/usage-and-
resources#usage">documentation</a>.
+ Parameters
Gets a list of all builds for a user. The response is a JSON array of objects,
where each object
contains basic information about a single build.
The endpoint supports pagination using the `limit` and `offset` parameters and it
will not return more than 1000 records.
By default, the records are sorted by the `startedAt` field in ascending order.
Therefore, you can use pagination to incrementally fetch all builds while new
ones are still being started. To sort the records in descending order, use the
`desc=1`
parameter.
+ Parameters
+ Attributes
- data (object, required)
- total: 2 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- count: 2 (number, required)
- items (array[BuildShort1,BuildShort2], required)
Gets an object that contains all the details about a specific build of an actor.
This endpoint does not require the authentication token. The calls are
authenticated using a hard-to-guess ID of the build.
+ Parameters
+ buildId: `soSkq9ekdmfOslopH` (string, required) - ID of the build you want to
get, found in the build's `Info` tab.
+ waitForFinish: 60 (number, optional) - The maximum number of seconds the
server waits for the build to finish. By default it is `0`, the maximum value is
`60`. <!-- MAX_ACTOR_JOB_ASYNC_WAIT_SECS -->
If the build finishes in time then the
returned build object will have a terminal status (e.g. `SUCCEEDED`),
otherwise it will have a transitional
status (e.g. `RUNNING`).
+ token: `soSkq9ekdmfOslopH` (string, optional) - API authentication token. It
is only required for private actors.
Builds of public actors can be queried without any token.
+ Attributes
- data (Build, required)
Delete the build. The build that is the current default build for the Actor cannot
be deleted.
Only users with build permissions for the Actor can delete builds.
+ Parameters
Aborts an actor build and returns an object that contains all the details about the
build.
Only builds that are starting or running are aborted. For builds with status
`FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call does nothing.
+ Parameters
+ Attributes
- data (BuildAborted, required)
Note that some of the endpoints do not require the authentication token, the calls
are authenticated using a hard-to-guess ID of the key-value store.
+ Parameters
The endpoint supports pagination using the `limit` and `offset` parameters and it
will not return more than 1000
array elements.
By default, the records are sorted by the `createdAt` field in ascending order,
therefore you can use pagination to incrementally fetch all key-value stores while
new
ones are still being created. To sort the records in descending order, use the
`desc=1`
parameter.
+ Parameters
+ Attributes
- data (object, required)
- total: 2 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- count: 2 (number, required)
- items (array[KVStoreShort1,KVStoreShort2], required)
Creates a key-value store and returns its object. The response is the same object
as returned
by the [Get store](#reference/key-value-stores/store-object/get-store) endpoint.
Keep in mind that data stored under unnamed store follows [data retention period]
(https://docs.apify.com/platform/storage#data-retention).
It creates a store with the given name if the parameter name is used.
If there is another store with the same name, the endpoint does not create a new
one and returns the existing object instead.
+ Parameters
+ Headers
Location: https://api.apify.com/v2/key-value-stores/WkzbQMuFYuamGv3YF
+ Attributes
- data (KVStore, required)
+ Parameters
Gets an object that contains all the details about a specific key-value store.
+ Parameters
+ Attributes
- data (KVStore, required)
Updates a key-value store's name using a value specified by a JSON object passed in
the PUT payload.
The response is the updated key-value store object, as returned by the [Get store]
(#reference/key-value-stores/store-object/get-store) API endpoint.
+ Parameters
+ Request
{
"name": "new-store-name"
}
+ Attributes
- data (KVStore, required)
+ Parameters
+ Parameters
+ Attributes
- data (object, required)
- items (array, required)
- (object)
- key: `second-key` (string, required)
- size: 36 (number, required)
- (object)
- key: `third-key` (string, required)
- size: 128 (number, required)
- count: 2 (number, required)
- limit: 2 (number, required)
- exclusiveStartKey: `some-key` (string)
- isTruncated: true (boolean, required)
- nextExclusiveStartKey: `third-key` (string)
## Record [/v2/key-value-stores/{storeId}/records/{recordKey}{?token}]
+ Parameters
The response body has the same `Content-Encoding` header as it was set in [Put
record](#reference/key-value-stores/key-collection/put-record).
If the request does not define the `Accept-Encoding` HTTP header with the right
encoding, the record will be decompressed.
Most HTTP clients support decompression by default. After using the HTTP client
with decompression support, the `Accept-Encoding` header is set by the client and
body is decompressed automatically.
+ Parameters
+ Response 302
+ Headers
Location:
https://apifier-key-value-store-prod.s3.amazonaws.com/tqx6jeMia43gYY6eE/INPUT?
AWSAccessKeyId=NKDOUN&Expires=1502720992&Signature=DKLVPI4lDDKC
{
"foo": "bar"
}
To save bandwidth, storage, and speed up your upload, send the request payload
compressed with Gzip compression and
add the `Content-Encoding: gzip` header. It is possible to set up another
compression type with `Content-Encoding` request header.
Below is a list of supported `Content-Encoding` types.
+ Parameters
+ Request
+ Headers
Content-Type: application/json
+ Attributes
- foo: `bar`
+ Request
+ Headers
Content-Type: image/jpeg
Content-Encoding: gzip
+ Headers
Location:
https://api.apify.com/v2/key-value-stores/WkzbQMuFYuamGv3YF/records/some-key
+ Attributes(object)
+ Parameters
# Group Datasets
Dataset is a storage for structured data, where each record stored has the same
attributes,
such as online store products or real estate offers. You can imagine it as a table,
where each object is a row and its attributes are columns. Dataset is an append-
only
storage - you can only add new records to it but you cannot modify or remove
existing
records. Typically it is used to store crawling results.
For more information, see the <a
href="https://docs.apify.com/platform/storage/dataset">Datasets documentation</a>.
Note that some of the endpoints do not require the authentication token, the calls
are authenticated using the hard-to-guess ID of the dataset.
Lists all of a user's datasets. The response is a JSON array of objects, where each
object
contains basic information about one dataset.
By default, the objects are sorted by the `createdAt` field in ascending order,
therefore you can use pagination to incrementally fetch all datasets while new
ones are still being created. To sort them in descending order, use `desc=1`
parameter. The endpoint supports pagination using `limit` and `offset` parameters
and it will not return more than 1000
array elements.
+ Parameters
+ Attributes
- data (object, required)
- total: 2 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- count: 2 (number, required)
- items (array[DatasetShort1,DatasetShort2], required)
It creates a dataset with the given name if the parameter name is used.
If a dataset with the given name already exists then returns its object.
+ Parameters
+ Headers
Location: https://api.apify.com/v2/datasets/WkzbQMuFYuamGv3YF
+ Attributes
- data (Dataset, required)
## Dataset [/v2/datasets/{datasetId}{?token}]
+ Parameters
**NOTE:** Keep in mind that attributes `itemCount` and `cleanItemCount` are not
propagated right away after data are pushed into a dataset.
There is a short period (up to 5 seconds) during which these counters may not match
with exact counts in dataset items.
+ Parameters
+ Attributes
- data (Dataset, required)
Updates a dataset's name using a value specified by a JSON object passed in the PUT
payload.
+ Parameters
+ Request
{
"name": "new-dataset-name"
}
+ Attributes
- data (Dataset, required)
+ Parameters
+ Parameters
<table>
<tr>
<th>Format</th>
<th>Items</th>
</tr>
<tr>
<td><code>json</code></td>
<td rowspan="3">The response is a JSON, JSONL or XML array of raw item
objects.</td>
</tr>
<tr>
<td><code>jsonl</code></td>
</tr>
<tr>
<td><code>xml</code></td>
</tr>
<tr>
<td><code>html</code></td>
<td rowspan="3">The response is a HTML, CSV or XLSX table, where columns
correspond to the
properties of the item and rows correspond to each dataset item.</td>
</tr>
<tr>
<td><code>csv</code></td>
</tr>
<tr>
<td><code>xlsx</code></td>
</tr>
<tr>
<td><code>rss</code></td>
<td colspan="2">The response is a RSS file. Each item is displayed as child
elements of one
<code><item></code>.</td>
</tr>
</table>
Note that CSV, XLSX and HTML tables are limited to 500 columns and the column names
cannot be longer than 200 characters.
JSON, XML and RSS formats do not have such restrictions.
The top-level fields starting with the `#` character are considered hidden. These
are useful to
store debugging information and can be omitted from the output by providing the
`skipHidden=1` or `clean=1`
query parameters.
```
{
productName: "iPhone Xs",
description: "Welcome to the big screens."
#debug: {
url: "https://www.apple.com/lae/iphone-xs/",
crawledAt: "2019-01-21T16:06:03.683Z"
}
}
```
The `#debug` field will be considered as hidden and can be omitted from the
results. This is useful to
provide nice cleaned data to end users, while keeping debugging info available if
needed. The Dataset object
returned by the API contains the number of such clean items in the
`dataset.cleanItemCount` property.
When exporting results to XML or RSS formats, the names of object properties become
XML tags
and the corresponding values become tag's children. For example, the following
JavaScript object:
```
{
name: "Paul Newman",
address: [
{ type: "home", street: "21st", city: "Chicago" },
{ type: "office", street: null, city: null }
]
}
```
will be transformed to the following XML snippet:
```
<name>Paul Newman</name>
<address>
<type>home</type>
<street>21st</street>
<city>Chicago</city>
</address>
<address>
<type>office</type>
<street/>
<city/>
</address>
```
```
{
"address": [{
"@": {
"type": "home"
},
"street": "21st",
"city": "Chicago"
},
{
"@": {
"type": "office"
},
"#": 'unknown'
}]
}
```
will be transformed to the following XML snippet:
```
<address type="home">
<street>21st</street>
<city>Chicago</city>
</address>
<address type="office">unknown</address>
```
This feature is also useful to customize your RSS feeds generated for various
websites.
By default the whole result is wrapped in a `<items>` element and each page object
is wrapped in a `<item>` element.
You can change this using <code>xmlRoot</code> and <code>xmlRow</code> url
parameters.
### Pagination
+ Parameters
+ Attributes
+ format: `json`
+ Headers
X-Apifier-Pagination-Offset: 0
X-Apifier-Pagination-Limit: 100
X-Apifier-Pagination-Count: 100
X-Apifier-Pagination-Total: 10204
+ Body
[
{
myValue: 'some value',
myOtherValue: 'some other value'
}
]
**IMPORTANT:** The limit of request payload size for the dataset is 5 MB. If the
array exceeds the size,
you'll need to split it into a number of smaller arrays.
+ Parameters
+ Headers
Content-Type: application/json
+ Body
[
{
"foo": "bar"
},
{
"foo": "hotel"
},
{
"foo": "restaurant"
}
]
+ Headers
Location: https://api.apify.com/v2/datasets/WkzbQMuFYuamGv3YF/items
+ Attributes(object)
Note that some of the endpoints do not require the authentication token, the calls
are authenticated using the hard-to-guess ID of the queue.
Lists all of a user's request queues. The response is a JSON array of objects,
where each object
contains basic information about one queue.
By default, the objects are sorted by the `createdAt` field in ascending order,
therefore you can use pagination to incrementally fetch all queues while new
ones are still being created. To sort them in descending order, use `desc=1`
parameter. The endpoint supports pagination using `limit` and `offset` parameters
and it will not return more than 1000
array elements.
+ Parameters
+ offset: 10 (number, optional) - Number of array elements that should be
skipped at the start. The default value is `0`.
+ limit: 99 (number, optional) - Maximum number of array elements to return.
The default value as well as the maximum is `1000`.
+ desc: true (boolean, optional) - If `true` or `1` then the objects are sorted
by the `startedAt` field in descending order. By default, they are sorted in
ascending order.
+ unnamed: true (boolean, optional) - If `true` or `1` then all the queues are
returned. By default only named queues are returned.
+ token: `soSkq9ekdmfOslopH` (string, required) - API authentication token.
+ Attributes
- data (object, required)
- total: 2 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- count: 2 (number, required)
- items (array[RequestQueueShort1,RequestQueueShort2], required)
It creates a queue of given name if the parameter name is used. If a queue with the
given name already exists then the endpoint returns
its object.
+ Parameters
+ Headers
Location: https://api.apify.com/v2/request-queues/WkzbQMuFYuamGv3YF
+ Attributes
- data (RequestQueue, required)
## Queue [/v2/request-queues/{queueId}{?token}]
+ Parameters
+ Parameters
+ token: `soSkq9ekdmfOslopH` (string, optional) - API authentication token.
It is required only when using the `username~queue-name` format for `queueId`.
+ Attributes
- data (RequestQueue, required)
Updates a request queue's name using a value specified by a JSON object passed in
the PUT payload.
+ Parameters
+ Request
{
"name": "new-request-queue-name"
}
+ Attributes
- data (RequestQueue, required)
+ Parameters
+ Parameters
+ Parameters
+ Attributes
- data (object, required)
- items (array, required)
- (Request1)
- (Request1)
- count: 2 (number, required)
- limit: 2 (number, required)
- exclusiveStartId: `Ihnsp8YrvJ8102Kj` (string)
Adds request to the queue. Response contains ID of the request and info if request
was already present in the queue or handled.
If request with same `uniqueKey` was already present in the queue then returns an
ID of existing request.
+ Parameters
+ Request (application/json)
+ Attributes(RequestWithoutId)
+ Attributes
- data (RequestOperationInfo, required)
## Request [/v2/request-queues/{queueId}/requests/{requestId}{?
forefront,token,clientKey}]
+ Parameters
+ Parameters
+ Attributes
- data (Request1, required)
If `handledAt` is set, the request will be removed from head of the queue.
+ Parameters
+ Request (application/json)
+ Attributes(Request1)
+ Attributes
- data (RequestOperationInfo, required)
+ Parameters
+ Parameters
Prolongs request lock. The request lock can be prolonged only by the client that
has locked it using [Get and lock head operation](#reference/request-queues/queue-
head-with-locks).
+ Parameters
+ Attributes
- data
- lockExpiresAt: `2022-01-01T00:00:00.000Z` (string, required) - Date
when lock expires.
Deletes a request lock. The request lock can be deleted only by the client that has
locked it using [Get and lock head operation](#reference/request-queues/queue-head-
with-locks).
+ Parameters
+ Request (application/json)
+ Parameters
The response contains the `hadMultipleClients` boolean field which indicates that
the queue was accessed by more than one client (with unique or empty `clientKey`).
This field is used by [Apify SDK](https://sdk.apify.com) to determine whether the
local cache is consistent with the request queue, and thus optimize performance of
certain operations.
+ Attributes
- data (object, required)
- limit: 1000 (number, required)
- queueModifiedAt: `2018-03-14T23:00:00.000Z` (string, required)
- hadMultipleClients: false (boolean, required)
- items (array, required)
- (object)
- id: `8OamqXBCpPHxyH9` (string, required)
- retryCount: 0 (number, required)
- uniqueKey: `http://example.com` (string, required)
- url: `http://example.com` (string, required)
- method: `GET` (string, required)
- (object)
- id: `ZJAoqlRijenMQIn` (string, required)
- retryCount: 0 (number, required)
- uniqueKey: `http://example.com/a/b` (string, required)
- url: `http://example.com/a/b` (string, required)
- method: `GET` (string, required)
- (object)
- id: `hAhkwyk5oOBHKQC` (string, required)
- retryCount: 1 (number, required)
- uniqueKey: `http://example.com/c/d` (string, required)
- url: `http://example.com/c/d` (string, required)
- method: `GET` (string, required)
+ Parameters
Returns the given number of first requests from the queue and locks them for the
given time.
If this endpoint locks the request, no other client will be able to get and lock
these requests.
The response contains the `hadMultipleClients` boolean field which indicates that
the queue was accessed by more than one client (with unique or empty `clientKey`).
+ Attributes
- data (object, required)
- limit: 1000 (number, required)
- queueModifiedAt: `2018-03-14T23:00:00.000Z` (string, required)
- hadMultipleClients: true (boolean, required)
- lockSecs: 60 (number, required)
- items (array, required)
- (object)
- id: `8OamqXBCpPHxyj9` (string, required)
- retryCount: 0 (number, required)
- uniqueKey: `http://example.com` (string, required)
- url: `http://example.com` (string, required)
- method: `GET` (string, required)
- lockExpiresAt: `2022-06-14T23:00:00.000Z` (string, required)
- (object)
- id: `8OamqXBCpPHxyx9` (string, required)
- retryCount: 0 (number, required)
- uniqueKey: `http://example.com/a` (string, required)
- url: `http://example.com/a` (string, required)
- method: `GET` (string, required)
- lockExpiresAt: `2022-06-14T23:00:00.000Z` (string, required)
- (object)
- id: `8OamqXBCpPHxy08` (string, required)
- retryCount: 0 (number, required)
- uniqueKey: `http://example.com/a/b` (string, required)
- url: `http://example.com/a/b` (string, required)
- method: `GET` (string, required)
- lockExpiresAt: `2022-06-14T23:00:00.000Z` (string, required)
+ Parameters
+ Parameters
+ Request (application/json)
+ Attributes(array[RequestWithoutId, RequestWithoutId2])
+ Attributes
- data
- processedRequests (array[RequestOperationInfo])
- unprocessedRequests (array[RequestWithoutId2])
Batch-deletes given requests from the queue. The number of requests in a batch is
limited to 25. The response contains an array of unprocessed and processed
requests.
If any delete operation fails because the request queue rate limit is exceeded or
an internal failure occurs,
the failed request is returned in the `unprocessedRequests` response parameter.
You can re-send these delete requests. It is recommended to use an exponential
backoff algorithm for these retries.
Each request is identified by its ID or uniqueKey parameter. You can use either of
them to identify the request.
+ Parameters
+ Request (application/json)
+ Attributes(array[RequestBatchDelete, RequestBatchDelete2])
+ Attributes
- data
- processedRequests (array[RequestBatchDelete])
- unprocessedRequests (array[RequestBatchDelete2])
# Group Webhooks
This section describes API endpoints to manage webhooks.
Webhooks provide an easy and reliable way to configure the Apify platform
to carry out an action (e.g. a HTTP request to another service) when a certain
system event occurs.
For example, you can use webhooks to start another actor when an actor run finishes
or fails.
For more information see <a
href="https://docs.apify.com/platform/webhooks">Webhooks documentation</a>.
+ Parameters
The endpoint supports pagination using the `limit` and `offset` parameters and it
will not return more than 1000 records.
By default, the records are sorted by the `createdAt` field in ascending order. To
sort the records in descending order, use the `desc=1`
parameter.
+ Parameters
+ Attributes
- data (object, required)
- total: 2 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- count: 2 (number, required)
- items (array[WebhookShort, WebhookShort], required)
Creates a new webhook with settings provided by the webhook object passed as JSON
in the payload.
The response is the created webhook object.
To assign the new webhook to an actor or task, the request body must contain
`requestUrl`, `eventTypes`, and `condition` properties.
* `requestUrl` is the webhook's target URL, to which data is sent as a POST request
with a JSON payload.
* `eventTypes` is a list of events that will trigger the webhook, e.g. when the
actor run succeeds.
* `condition` should be an object containing the ID of the actor or task to which
the webhook will be assigned.
* `payloadTemplate` is a JSON-like string, whose syntax is extended with the use of
variables.
* `headersTemplate` is a JSON-like string, whose syntax is extended with the use of
variables. Following values will be re-written to defaults: "host", "Content-Type",
"X-Apify-Webhook", "X-Apify-Webhook-Dispatch-Id", "X-Apify-Request-Origin"
* `description` is an optional string.
* `shouldInterpolateStrings` is a boolean indicating whether to interpolate
variables contained inside strings in the `payloadTemplate`
```
"isAdHoc" : false,
"requestUrl" : "https://example.com",
"eventTypes" : [
"ACTOR.RUN.SUCCEEDED",
"ACTOR.RUN.ABORTED"
],
"condition" : {
"actorId": "janedoe~my-actor",
"actorTaskId" : "W9bs9JE9v7wprjAnJ"
},
"payloadTemplate": "",
"headersTemplate": "",
"description": "my awesome webhook",
"shouldInterpolateStrings": false,
```
+ Request (application/json)
+ Attributes(WebhookCreate)
+ Headers
Location: https://api.apify.com/v2/webhook/zdc3Pyhyz3m8vjDeM
+ Attributes
- data (Webhook, required)
+ Parameters
+ Attributes
- data (Webhook, required)
Updates a webhook using values specified by a webhook object passed as JSON in the
POST payload.
If the object does not define a specific property, its value will not be updated.
When providing your API authentication token, we recommend using the request's
`Authorization` header, rather than the URL. ([More
info](#introduction/authentication)).
+ Request (application/json)
+ Attributes(WebhookUpdate)
+ Attributes
- data (Webhook, required)
Deletes a webhook.
+ Attributes(object)
+ Parameters
+ Parameters
+ Attributes
- data (object, required)
- total: 2 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- count: 2 (number, required)
- items (array[WebhookDispatch], required)
+ Parameters
The endpoint supports pagination using the `limit` and `offset` parameters and it
will not return more than 1000 records.
By default, the records are sorted by the `createdAt` field in ascending order. To
sort the records in descending order, use the `desc=1`
parameter.
+ Parameters
+ Attributes
- data (object, required)
- total: 2 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- count: 2 (number, required)
- items (array[WebhookDispatch, WebhookDispatch], required)
+ Parameters
+ Attributes
- data (WebhookDispatch, required)
# Group Schedules
Schedules are used to automatically start your actors at certain times. Each
schedule can be associated with a number of actors and actor tasks. It is also
possible
to override the settings of each actor (task) similarly to when invoking the actor
(task) using the API.
For more information, see <a
href="https://docs.apify.com/platform/schedules">Schedules documentation</a>.
Each schedule is assigned actions for it to perform. Actions can be of two types -
`RUN_ACTOR` and `RUN_ACTOR_TASK`. For details, see the documentation of the
[Get schedule](#reference/schedules/schedule-object/get-schedule) endpoint.
+ Parameters
The endpoint supports pagination using the `limit` and `offset` parameters. It will
not return more than 1000 records.
By default, the records are sorted by the `createdAt` field in ascending order. To
sort the records in descending order, use the `desc=1`
parameter.
+ Parameters
+ Attributes
- data (object, required)
- total: 2 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- count: 2 (number, required)
- items (array[ScheduleShort1, ScheduleShort2], required)
Creates a new schedule with settings provided by the schedule object passed as JSON
in the payload.
The response is the created schedule object.
When providing your API authentication token, we recommend using the request's
`Authorization` header, rather than the URL. ([More
info](#introduction/authentication)).
+ Request (application/json)
+ Attributes(ScheduleCreate)
+ Headers
Location: https://api.apify.com/v2/schedules/asdLZtadYvn4mBZmm
+ Attributes
- data (Schedule, required)
+ Parameters
+ Attributes
- data (Schedule, required)
When providing your API authentication token, we recommend using the request's
`Authorization` header, rather than the URL. ([More
info](#introduction/authentication)).
+ Request (application/json)
+ Attributes(ScheduleCreate)
+ Attributes
- data (Schedule, required)
Deletes a schedule.
+ Attributes(object)
+ Parameters
Gets the schedule log as a JSON array containing information about up to a 1000
invocations of the schedule.
+ Attributes
- data (array, required)
- (object, required)
- message: `Schedule invoked` (string, required)
- level: `INFO` (string, required)
- createdAt: `2019-03-26T12:28:00.370Z` (string, required)
- (object, required)
- message: `Cannot start actor task \"iEvfA6pm6DWjRTGxS\":
Provided input must be object, got \"string\" instead.` (string, required)
- level: `ERROR` (string, required)
- createdAt: `2019-03-26T12:30:00.325Z` (string, required)
# Group Store
+ Parameters
Gets the list of public Actors in Apify Store. You can use `search` parameter to
search Actors by string in title, name, description, username and readme.
If you need detailed info about a specific Actor, use the [Get
actor](#/reference/actors/actor-object/get-actor) endpoint.
The endpoint supports pagination using the `limit` and `offset` parameters. It will
not return more than 1,000 records.
+ Attributes
- data (object, required)
- total: 100 (number, required)
- offset: 0 (number, required)
- limit: 1000 (number, required)
- desc: false (boolean, required)
- count: 1 (number, required)
- items (array[StoreListActor, StoreListActor], required)
# Group Logs
The API endpoints described in this section are used the download the logs
generated by actor builds and runs. Note that only the trailing 5M characters
of the log are stored, the rest is discarded.
Note that the endpoints do not require the authentication token, the calls
are authenticated using a hard-to-guess ID of the actor build or run.
## Log [/v2/logs/{buildOrRunId}{?stream,download}]
+ Parameters
Responds with HTTP status 302 to redirect to an URL containing the requested log.
The log has a content type `text/plain` and it is encoded as `gzip` returned with
appropriate HTTP headers. The log has following format:
```
2017-07-14T06:00:49.733Z Application started.
2017-07-14T06:00:49.741Z Input: { test: 123 }
2017-07-14T06:00:49.752Z Some useful debug information follows.
```
+ Headers
Location:
https://apifier-circular-logs-prod.s3.amazonaws.com/yiawTzreqPeFSKySN.log.gz?
AWSAccessKeyId=AKIABOIQ&Expires=1500368148&Signature=B7wgpkNKiBin
# Group Users
The API endpoints described in this section return information about user accounts.
+ Parameters
Returns public information about a specific user account, similar to what can be
seen on public profile pages (e.g. https://apify.com/apify).
This operation requires no authentication token.
+ Attributes
- data (UserPublicInfo, required)
+ Parameters
+ Attributes
- data (UserPrivateInfo, required)
+ Parameters
Returns a complete summary of your usage for the current usage cycle,
an overall sum, as well as a daily breakdown of usage. It is the same information
you will see on your account's
[Billing page](https://console.apify.com/billing#/usage). The information
includes your use of storage, data transfer, and request queue usage.
Using the `date` parameter will show your usage in the usage cycle that includes
that date.
+ Attributes
- data (MonthlyUsage, required)
+ Parameters
Returns a complete summary of your account's limits. It is the same information you
will see on your account's
[Limits page](https://console.apify.com/billing#/limits). The returned data
includes the current usage cycle,
a summary of your limits, and your current usage.
+ Attributes
- data (AccountLimits, required)
# Data Structures
## Actor (object)
- id: `zdc3Pyhyz3m8vjDeM` (string, required)
- userId: `wRsJZtadYvn4mBZmm` (string, required)
- name: `MyActor` (string, required)
- username: `jane35` (string, required)
- description: `My favourite actor!` (string, nullable)
- restartOnError: false (boolean, nullable)
- isPublic: false (boolean, required)
- createdAt: `2019-07-08T11:27:57.401Z` (string, required)
- modifiedAt: `2019-07-08T14:01:05.546Z` (string, required)
- stats (object, required)
- totalBuilds: 9 (number, required)
- totalRuns: 16 (number, required)
- totalUsers: 6 (number, required)
- totalUsers7Days: 2 (number, required)
- totalUsers30Days: 6 (number, required)
- totalUsers90Days: 6 (number, required)
- totalMetamorphs: 2 (number, required)
- lastRunStartedAt: `2019-07-08T14:01:05.546Z` (string, required)
- versions (ListOfVersions, required)
- defaultRunOptions (object, required)
- build: `latest` (string, required)
- timeoutSecs: 3600 (number, required)
- memoryMbytes: 2048 (number, required)
- exampleRunInput (object, nullable)
- body: `{ "helloWorld": 123 }` (string, required)
- contentType: `application/json; charset=utf-8` (string, required)
- isDeprecated: false (boolean, nullable)
- deploymentKey: `ssh-rsa AAAA ...` (string, required)
- title: `My Actor` (string, nullable)
- taggedBuilds (object, nullable)
- latest (object, nullable)
- buildId: `z2EryhbfhgSyqj6Hn` (string, nullable)
- buldNumber: `0.0.2` (string, nullable)
- finishedAt: `2019-06-10T11:15:49.286Z` (string, nullable)
## ActCreate (object)
- name: `MyActor` (string, nullable)
- description: `My favourite actor!` (string, nullable)
- title: `My actor` (string, nullable)
- isPublic: false (boolean, nullable)
- seoTitle: `My actor` (string, nullable)
- seoDescription: `My actor is the best` (string, nullable)
- restartOnError: false (boolean, nullable)
- versions (array, nullable)
- (VersionUpdate, nullable)
- categories (array[string], nullable)
- defaultRunOptions (object, nullable)
- build: `latest` (string, required)
- timeoutSecs: 3600 (number, required)
- memoryMbytes: 2048 (number, required)
## ActUpdate (object)
- name: `MyActor` (string, required)
- description: `My favourite actor!` (string, nullable)
- isPublic: false (boolean, required)
- seoTitle: `My actor` (string, nullable)
- seoDescription: `My actor is the best` (string, nullable)
- title: `My Actor` (string, nullable)
- restartOnError: false (boolean, nullable)
- versions (array, required)
- (VersionUpdate, required)
- categories (array[string], nullable)
- defaultRunOptions (object, nullable)
- build: `latest` (string, required)
- timeoutSecs: 3600 (number, required)
- memoryMbytes: 2048 (number, required)
## ActorShort1 (object)
- id: `br9CKmk457` (string, required)
- createdAt: `2019-10-29T07:34:24.202Z` (string, required)
- modifiedAt: `2019-10-30T07:34:24.202Z` (string, required)
- name: `MyAct` (string, required)
- username: `janedoe` (string, required)
## ActorShort2 (object)
- id: `ksiEKo23pz` (string, required)
- createdAt: `2019-11-30T07:34:24.202Z` (string, required)
- modifiedAt: `2019-12-12T07:34:24.202Z` (string, required)
- name: `MySecondAct` (string, required)
- username: `janedoe` (string, required)
## Task (object)
- id: `zdc3Pyhyz3m8vjDeM` (string, required)
- userId: `wRsJZtadYvn4mBZmm` (string, required)
- actId: `asADASadYvn4mBZmm` (string, required)
- name: `my-task` (string, required)
- username: `janedoe` (string, nullable)
- createdAt: `2018-10-26T07:23:14.855Z` (string, required)
- modifiedAt: `2018-10-26T13:30:49.578Z` (string, required)
- removedAt (string, nullable)
- stats (object, nullable)
- totalRuns: 15 (number, required)
- options (object, nullable)
- build: `latest` (string, nullable)
- timeoutSecs: 300 (number, nullable)
- memoryMbytes: 128 (number, nullable)
- input (object, nullable)
- hello: `world` (string, nullable)
## TaskShort1 (object)
- id: `zdc3Pyhyz3m8vjDeM` (string, required)
- userId: `wRsJZtadYvn4mBZmm` (string, required)
- actId: `asADASadYvn4mBZmm` (string, required)
- actName: `my-actor` (string, required)
- name: `my-task` (string, required)
- username: `janedoe` (string, nullable)
- actUsername: `janedoe` (string, required)
- createdAt: `2018-10-26T07:23:14.855Z` (string, required)
- modifiedAt: `2018-10-26T13:30:49.578Z` (string, required)
- stats (object, nullable)
- totalRuns: 15 (number, required)
## TaskShort2 (object)
- id: `aWE3asdas3m8vjDeM` (string, required)
- userId: `wRsJZtadYvn4mBZmm` (string, required)
- actId: `asADASadYvn4mBZmm` (string, required)
- actName: `my-actor` (string, required)
- actUsername: `janedoe` (string, required)
- name: `my-task-2` (string, required)
- username: `janedoe` (string, nullable)
- createdAt: `2018-10-26T07:23:14.855Z` (string, required)
- modifiedAt: `2018-10-26T13:30:49.578Z` (string, required)
- stats (object, nullable)
- totalRuns: 4 (number, required)
## TaskCreate (object)
- actId: `asADASadYvn4mBZmm` (string, required)
- name: `my-task` (string, required)
- options (object, nullable)
- build: `latest` (string, nullable)
- timeoutSecs: 300 (number, nullable)
- memoryMbytes: 128 (number, nullable)
- input (object, nullable)
- hello: `world` (string, nullable)
## TaskUpdate (object)
- id: `ZxLNxrRaZrSjuhT9y` (string, required)
- userId: `BPWZBd7Z9c746JAnF` (string, required)
- actId: `asADASadYvn4mBZmm` (string, required)
- name: `my-task` (string, required)
- username: `janedoe` (string, nullable)
- createdAt: `2018-10-26T07:23:14.855Z` (string, required)
- modifiedAt: `2018-10-26T13:30:49.578Z` (string, required)
- removedAt (string, nullable)
- stats (object, nullable)
- totalRuns: 15 (number, required)
- options (object, nullable)
- build: `latest` (string, nullable)
- timeoutSecs: 300 (number, nullable)
- memoryMbytes: 128 (number, nullable)
- input (object, nullable)
- hello: `world` (string, nullable)
## Version (object)
- versionNumber: `0.0` (string, required)
- sourceType: `SOURCE_FILES` (VersionSourceType,
required)
- envVars (array, nullable)
- (object)
- name: `DOMAIN` (string, required)
- value: `http://example.com` (string, required)
- isSecret: false (boolean, nullable)
- (object)
- name: `SECRET_PASSWORD` (string, required)
- isSecret: true (boolean, nullable)
- applyEnvVarsToBuild: false (boolean, nullable)
- buildTag: `latest` (string, required)
- sourceFiles (array)
-(object)
- name: `src/main.js` (string, required)
- format: `TEXT` (string, required)
- content: `console.log('This is the main.js file');` (string, required)
-(object)
- name: `package.json` (string, required)
- format: `TEXT` (string, required)
- content: `name: "My Scraper"` (string, required)
-(object)
- name: `Dockerfile` (string, required)
- format: `TEXT` (string, required)
- content: ` # Dockerfile contains instructions ...`
(string, required)
-(object)
- name: `README.md` (string, required)
- format: `TEXT` (string, required)
- content: `My Actor scrapes the web` (string, required)
## EnvVar (object)
- name: `MY_ENV_VAR` (string, required)
- value: `my-value` (string, required)
- isSecret: false (boolean, nullable)
## EnvVarUpdate (object)
- name: `MY_ENV_VAR` (string, required)
- value: `my-new-value` (string, required)
- isSecret: false (boolean, nullable)
## ListOfEnvVars (array)
- (object)
- name: `MY_ENV_VAR` (string, required)
- value: `my-value` (string, required)
- isSecret: false (boolean, nullable)
- (object)
- name: `ANOTHER_VAR` (string, required)
- value: `123` (string, required)
- isSecret: false (boolean, nullable)
- (object)
- name: `SECRET_ENV_VAR` (string, required)
- isSecret: true (boolean, nullable)
## ListOfVersions (array)
- (object)
- versionNumber: `0.1` (string, required)
- envVars (array, nullable)
- sourceType: `SOURCE_FILES` (VersionSourceType,
required)
- applyEnvVarsToBuild: false (boolean, nullable)
- buildTag: `latest` (string, required)
- sourceFiles (array)
-(object)
- name: `src/main.js` (string,
required)
- format: `TEXT` (string,
required)
- content: `console.log('This is the main.js file');` (string,
required)
-(object)
- name: `package.json` (string,
required)
- format: `TEXT` (string,
required)
- content: `name: "My Scraper"` (string,
required)
-(object)
- name: `Dockerfile` (string,
required)
- format: `TEXT` (string,
required)
- content: ` # Dockerfile contains instructions ...`
(string, required)
-(object)
- name: `README.md` (string,
required)
- format: `TEXT` (string,
required)
- content: `My Actor scrapes the web` (string,
required)
- (object)
- versionNumber: `0.2` (string,
required)
- sourceType: `GIT_REPO`
(VersionSourceType, required)
- envVars (array,
nullable)
- applyEnvVarsToBuild: false (boolean,
nullable)
- buildTag: `latest` (string,
required)
- gitRepoUrl: `https://github.com/jane35/my-actor` (string,
required)
- (object)
- versionNumber: `0.3` (string,
required)
- sourceType: `TARBALL`
(VersionSourceType, required)
- envVars (array,
nullable)
- applyEnvVarsToBuild: false (boolean,
nullable)
- buildTag: `latest` (string,
required)
- tarballUrl:
`https://github.com/jane35/my-actor/archive/master.zip` (string, required)
- (object)
- versionNumber: `0.4` (string,
required)
- sourceType: `GITHUB_GIST`
(VersionSourceType, required)
- envVars (array,
nullable)
- applyEnvVarsToBuild: false (boolean,
nullable)
- buildTag: `latest` (string,
required)
- gitHubGistUrl: `https://gist.github.com/jane35/e51feb784yu89`
(string, required)
## VersionUpdate (object)
- versionNumber: `0.0` (string, nullable)
- sourceType: `SOURCE_FILES`
(VersionSourceType, nullable)
- envVars (array, nullable)
- (object)
- name: `DOMAIN` (string, nullable)
- value: `http://example.com` (string, nullable)
- isSecret: false (boolean,
nullable)
- (object)
- name: `SECRET_PASSWORD` (string, nullable)
- value: `MyTopSecretPassword123` (string, nullable)
- isSecret: true (boolean,
nullable)
- applyEnvVarsToBuild: false (boolean,
nullable)
- buildTag: `latest` (string, nullable)
- sourceFiles (array)
-(object)
- name: `src/main.js` (string, required)
- format: `TEXT` (string, required)
- content: `console.log('This is the main.js file');` (string, required)
-(object)
- name: `package.json` (string, required)
- format: `TEXT` (string, required)
- content: `name: "My Scraper"` (string, required)
-(object)
- name: `Dockerfile` (string, required)
- format: `TEXT` (string, required)
- content: ` # Dockerfile contains instructions ...`
(string, required)
-(object)
- name: `README.md` (string, required)
- format: `TEXT` (string, required)
- content: `My Actor scrapes the web` (string, required)
## VersionSourceType (enum)
+ `SOURCE_FILES`
+ `GIT_REPO`
+ `TARBALL`
+ `GITHUB_GIST`
## Build (object)
- id: `HG7ML7M8z78YcAPEB` (string, required)
- actId: `janedoe~my-actor` (string, required)
- userId: `klmdEpoiojmdEMlk3` (string, required)
- startedAt: `2019-11-30T07:34:24.202Z` (string, required)
- finishedAt: `2019-12-12T09:30:12.202Z` (string, nullable)
- status: `SUCCEEDED` (string, required)
- meta (object, required)
- origin: `WEB` (string, required)
- clientIp: `172.234.12.34` (string, required)
- userAgent: `Mozilla/5.0 (iPad)` (string, required)
- stats (object, nullable)
- durationMillis: 1000 (number, required)
- runTimeSecs: 45.718 (number, required)
- computeUnits: 0.012699444444444444 (number, required)
- options (object, nullable)
- useCache: false (boolean, nullable)
- betaPackages: false (boolean, nullable)
- memoryMbytes: 1024 (number, nullable)
- diskMbytes: 2048 (number, nullable)
- usage (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.08 (number, nullable)
- usageTotalUsd: 0.02 (number, nullable)
- usageUsd (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.02 (number, nullable)
- inputSchema: `{\n \"title\": \"Schema for ... }` (string, nullable)
- readme: `# Magic actor\nThis actor is magic.` (string, nullable)
- buildNumber: `0.1.1` (string, required)
## BuildShort1 (object)
- id: `HG7ML7M8z78YcAPEB` (string, required)
- status: `SUCCEEDED` (string, required)
- startedAt: `2019-11-30T07:34:24.202Z` (string, required)
- finishedAt: `2019-12-12T09:30:12.202Z` (string, required)
- usageTotalUsd: 0.02 (number, required)
- meta (object)
- origin: `WEB` (string, required)
- clientIp: `172.234.12.34` (string, required)
- userAgent: `Mozilla/5.0 (Macintosh)` (string, required)
## BuildShort2 (object)
- id: `HG7ML7M8z78YcAPEB` (string, required)
- startedAt: `2019-12-12T07:34:14.202Z` (string, required)
- finishedAt: `2019-12-13T08:36:13.202Z` (string, required)
- status: `FAILED` (string, required)
- usageTotalUsd: 0.105 (number, required)
- meta (object)
- origin: `API` (string, required)
## BuildAborted (object)
- id: `HG7ML7M8z78YcAPEB` (string, required)
- actId: `janedoe~my-actor` (string, required)
- userId: `klmdEpoiojmdEMlk3` (string, required)
- startedAt: `2019-11-30T07:34:24.202Z` (string, required)
- finishedAt: `2019-12-12T09:30:12.202Z` (string, nullable)
- status: `ABORTED` (string, required)
- meta (object, required)
- origin: `WEB` (string, required)
- stats (object, nullable)
- durationMillis: 1000 (number, required)
- runTimeSecs: 5.718 (number, required)
- options (object, nullable)
- useCache: false (boolean, nullable)
- memoryMbytes: 1024 (number, nullable)
- diskMbytes: 2048 (number, nullable)
- usage (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.08 (number, nullable)
- usageTotalUsd: 0.02 (number, nullable)
- usageUsd (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.02 (number, nullable)
## Run (object)
- id: `HG7ML7M8z78YcAPEB` (string, required)
- actId: `HDSasDasz78YcAPEB` (string, required)
- userId: `7sT5jcggjjA9fNcxF` (string, required)
- actorTaskId: `KJHSKHausidyaJKHs` (string, nullable)
- startedAt: `2019-11-30T07:34:24.202Z` (string, required)
- finishedAt: `2019-12-12T09:30:12.202Z` (string, required)
- status: `RUNNING` (string, required)
- statusMessage: `Actor is running` (string, nullable)
- isStatusMessageTerminal: false (boolean, nullable)
- meta (object, required)
- origin: `WEB` (string, required)
- clientIp: `172.234.12.34` (string, required)
- userAgent: `Mozilla/5.0 (iPad)` (string, required)
- stats (object, required)
- inputBodyLen: 240 (number, required)
- restartCount: 0 (number, required)
- resurrectCount: 2 (number, required)
- memAvgBytes: 267874071.9 (number, required)
- memMaxBytes: 404713472 (number, required)
- memCurrentBytes: 0 (number, required)
- cpuAvgUsage: 33.75321011075384 (number, required)
- cpuMaxUsage: 169.65073553494125 (number, required)
- cpuCurrentUsage: 0 (number, required)
- netRxBytes: 103508042 (number, required)
- netTxBytes: 4854600 (number, required)
- durationMillis: 248472 (number, required)
- runTimeSecs: 248.472 (number, required)
- metamorph: 0 (number, required)
- computeUnits: 0.13804 (number, required)
- options (object, required)
- build: `latest` (string, required)
- timeoutSecs: 300 (number, required)
- memoryMbytes: 1024 (number, required)
- diskMbytes: 2048 (number, required)
- buildId: `7sT5jcggjjA9fNcxF` (string, required)
- exitCode: 0 (number, nullable)
- defaultKeyValueStoreId: `eJNzqsbPiopwJcgGQ` (string, required)
- defaultDatasetId: `wmKPijuyDnPZAPRMk` (string, required)
- defaultRequestQueueId: `FL35cSF7jrxr3BY39` (string, required)
- buildNumber: `0.0.36` (string, required)
- containerUrl: `https://g8kd8kbc5ge8.runs.apify.net` (string, required)
- isContainerServerReady: true (boolean, nullable)
- gitBranchName: `master` (string, nullable)
- usage (object, nullable)
- ACTOR_COMPUTE_UNITS: 3 (number, nullable)
- DATASET_READS: 4 (number, nullable)
- DATASET_WRITES: 4 (number, nullable)
- KEY_VALUE_STORE_READS: 5 (number, nullable)
- KEY_VALUE_STORE_WRITES: 3 (number, nullable)
- KEY_VALUE_STORE_LISTS: 5 (number, nullable)
- REQUEST_QUEUE_READS: 2 (number, nullable)
- REQUEST_QUEUE_WRITES: 1 (number, nullable)
- DATA_TRANSFER_INTERNAL_GBYTES: 1 (number, nullable)
- DATA_TRANSFER_EXTERNAL_GBYTES?: 3 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 (number, nullable)
- PROXY_SERPS: 3 (number, nullable)
- usageTotalUsd: 0.2654 (number, nullable)
- usageUsd (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.072 (number, nullable)
- DATASET_READS: 0.0004 (number, nullable)
- DATASET_WRITES: 0.0002 (number, nullable)
- KEY_VALUE_STORE_READS: 0.0006 (number, nullable)
- KEY_VALUE_STORE_WRITES: 0.002 (number, nullable)
- KEY_VALUE_STORE_LISTS: 0.004 (number, nullable)
- REQUEST_QUEUE_READS: 0.005 (number, nullable)
- REQUEST_QUEUE_WRITES: 0.02 (number, nullable)
- DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 (number, nullable)
- DATA_TRANSFER_EXTERNAL_GBYTES?: 0.0002 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 (number, nullable)
- PROXY_SERPS: 0.0006 (number, nullable)
## RunShort1 (object)
- id: `HG7ML7M8z78YcAPEB` (string, required)
- actId: `HDSasDasz78YcAPEB` (string, required)
- actorTaskId: `KJHSKHausidyaJKHs` (string, nullable)
- status: `SUCCEEDED` (string, required)
- startedAt: `2019-11-30T07:34:24.202Z` (string, required)
- finishedAt: `2019-12-12T09:30:12.202Z` (string, required)
- buildId: `HG7ML7M8z78YcAPEB` (string, required)
- buildNumber: `0.0.2` (string, required)
- meta (object, required)
- origin: `WEB` (string, required)
- usageTotalUsd: 0.2 (number, required)
- defaultKeyValueStoreId: `sfAjeR4QmeJCQzTfe` (string, required)
- defaultDatasetId: `3ZojQDdFTsyE7Moy4` (string, required)
- defaultRequestQueueId: `so93g2shcDzK3pA85` (string, required)
## RunShort2 (object)
- id: `HG7ML7M8z78YcAPEB` (string, required)
- actId: `HDSasDasz78YcAPEB` (string, required)
- actorTaskId: `KJHSKHausidyaJKHs` (string, nullable)
- status: `FAILED` (string, required)
- buildId: `HG7ML7M8z78YcAPEB` (string, required)
- startedAt: `2019-12-12T07:34:14.202Z` (string, required)
- finishedAt: `2019-12-13T08:36:13.202Z` (string, required)
- buildId: `u78dML7M8z78YcAPEB` (string, required)
- buildNumber: `0.2.2` (string, required)
- meta (object, required)
- origin: `DEVELOPMENT` (string, required)
- usageTotalUsd: 0.6 (number, required)
- defaultKeyValueStoreId: `sffsouqlseJCQzTfe` (string, required)
- defaultDatasetId: `CFGggdjQDsyE7Moyw` (string, required)
- defaultRequestQueueId: `soowucklrmDzKpA8x` (string, required)
## TaskRun (object)
- id: `HG7ML7M8z78YcAPEB` (string, required)
- buildId: `7sT5jcggjjA9fNcxF` (string, required)
- actId: `HDSasDasz78YcAPEB` (string, required)
- userId: `BPWZBd9V9c746JAnF` (string, required)
- actorTaskId: `KJHSKHausidyaJKHs` (string, nullable)
- startedAt: `2019-11-30T07:34:24.202Z` (string, required)
- finishedAt: `2019-12-12T09:30:12.202Z` (string, required)
- status: `SUCCEEDED` (string, required)
- statusMessage: `Actor has finished` (string, nullable)
- isStatusMessageTerminal: true (boolean, nullable)
- meta (object, required)
- origin: `WEB` (string, required)
- clientIp: `172.234.12.34` (string, nullable)
- userAgent: `Mozilla/5.0 (iPad)` (string, required)
- scheduleId: `dWazFsPpxMigMSqHL` (string, required)
- scheduledAt: `2019-06-10T11:40:00.000Z` (string, required)
- stats (object, required)
- inputBodyLen: 240 (number, required)
- restartCount: 0 (number, required)
- resurrectCount: 2 (number, required)
- memAvgBytes: 35914228.4 (number, required)
- memMaxBytes: 38244352 (number, required)
- memCurrentBytes: 0 (number, required)
- cpuAvgUsage: 0.00955965 (number, required)
- cpuMaxUsage: 3.15469 (number, required)
- cpuCurrentUsage: 0 (number, required)
- netRxBytes: 2652 (number, required)
- netTxBytes: 1338 (number, required)
- durationMillis: 26239 (number, required)
- runTimeSecs: 26.239 (number, required)
- metamorph: 0 (number, required)
- computeUnits: 0.0072886 (number, required)
- options (object, required)
- build: `latest` (string, required)
- timeoutSecs: 300 (number, required)
- memoryMbytes: 1024 (number, required)
- diskMbytes: 2048 (number, required)
- buildId: `7sT5jcggjjA9fNcxF` (string, required)
- exitCode: 0 (number, nullable)
- defaultKeyValueStoreId: `eJNzqsbPiopwJcgGQ` (string, required)
- defaultDatasetId: `wmKPijuyDnPZAPRMk` (string, required)
- defaultRequestQueueId: `FL35cSF7jrxr3BY39` (string, required)
- buildNumber: `0.2.2` (string, required)
- containerUrl: `https://nwfcc4btrgqt.runs.apify.com` (string, required)
- isContainerServerReady: false (boolean, nullable)
- gitBranchName: `master` (string, nullable)
- usage (object, nullable)
- ACTOR_COMPUTE_UNITS: 3 (number, nullable)
- DATASET_READS: 4 (number, nullable)
- DATASET_WRITES: 4 (number, nullable)
- KEY_VALUE_STORE_READS: 5 (number, nullable)
- KEY_VALUE_STORE_WRITES: 3 (number, nullable)
- KEY_VALUE_STORE_LISTS: 5 (number, nullable)
- REQUEST_QUEUE_READS: 2 (number, nullable)
- REQUEST_QUEUE_WRITES: 1 (number, nullable)
- DATA_TRANSFER_INTERNAL_GBYTES: 1 (number, nullable)
- DATA_TRANSFER_EXTERNAL_GBYTES?: 3 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 (number, nullable)
- PROXY_SERPS: 3 (number, nullable)
- usageTotalUsd: 0.2654 (number, nullable)
- usageUsd (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.072 (number, nullable)
- DATASET_READS: 0.0004 (number, nullable)
- DATASET_WRITES: 0.0002 (number, nullable)
- KEY_VALUE_STORE_READS: 0.0006 (number, nullable)
- KEY_VALUE_STORE_WRITES: 0.002 (number, nullable)
- KEY_VALUE_STORE_LISTS: 0.004 (number, nullable)
- REQUEST_QUEUE_READS: 0.005 (number, nullable)
- REQUEST_QUEUE_WRITES: 0.02 (number, nullable)
- DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 (number, nullable)
- DATA_TRANSFER_EXTERNAL_GBYTES?: 0.0002 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 (number, nullable)
- PROXY_SERPS: 0.0006 (number, nullable)
## RunAborted (object)
- id: `HG7ML7M8z78YcAPEB` (string, required)
- actId: `janedoe~my-actor` (string, required)
- userId: `BPWZBd7Z9c746JAng` (string, required)
- actorTaskId: `rANaydYhUxjsnA3oz` (string, required)
- startedAt: `2019-11-30T07:34:24.202Z` (string, required)
- finishedAt: `2019-12-12T09:30:12.202Z` (string, required)
- status: `ABORTED` (string, required)
- statusMessage: `Actor was aborted` (string, nullable)
- isStatusMessageTerminal: true (boolean, nullable)
- meta (object, required)
- origin: `WEB` (string, required)
- clientIp: `172.234.12.34` (string, required)
- userAgent: `Mozilla/5.0 (iPad)` (string, required)
- stats (object, required)
- inputBodyLen: 240 (number, required)
- restartCount: 0 (number, required)
- resurrectCount: 1 (number, required)
- memAvgBytes: 35914228.4 (number, required)
- memMaxBytes: 38244352 (number, required)
- memCurrentBytes: 0 (number, required)
- cpuAvgUsage: 0.00955965 (number, required)
- cpuMaxUsage: 3.1546 (number, required)
- cpuCurrentUsage: 0 (number, required)
- netRxBytes: 2652 (number, required)
- netTxBytes: 1338 (number, required)
- durationMillis: 26239 (number, required)
- runTimeSecs: 26.239 (number, required)
- metamorph: 0 (number, required)
- computeUnits: 0.0072886 (number, required)
- options (object, required)
- build: `latest` (string, required)
- timeoutSecs: 300 (number, required)
- memoryMbytes: 1024 (number, required)
- diskMbytes: 2048 (number, required)
- buildId: `7sT5jcggjjA9fNcxF` (string, required)
- exitCode: 0 (number, nullable)
- defaultKeyValueStoreId: `eJNzqsbPiopwJcgGQ` (string, required)
- defaultDatasetId: `wmKPijuyDnPZAPRMk` (string, required)
- defaultRequestQueueId: `FL35cSF7jrxr3BY39` (string, required)
- isContainerServerReady: false (boolean, nullable)
- gitBranchName: `master` (string, nullable)
- usage (object, nullable)
- ACTOR_COMPUTE_UNITS: 3 (number, nullable)
- DATASET_READS: 4 (number, nullable)
- DATASET_WRITES: 4 (number, nullable)
- KEY_VALUE_STORE_READS: 5 (number, nullable)
- KEY_VALUE_STORE_WRITES: 3 (number, nullable)
- KEY_VALUE_STORE_LISTS: 5 (number, nullable)
- REQUEST_QUEUE_READS: 2 (number, nullable)
- REQUEST_QUEUE_WRITES: 1 (number, nullable)
- DATA_TRANSFER_INTERNAL_GBYTES: 1 (number, nullable)
- DATA_TRANSFER_EXTERNAL_GBYTES?: 3 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 (number, nullable)
- PROXY_SERPS: 3 (number, nullable)
- usageTotalUsd: 0.2654 (number, nullable)
- usageUsd (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.072 (number, nullable)
- DATASET_READS: 0.0004 (number, nullable)
- DATASET_WRITES: 0.0002 (number, nullable)
- KEY_VALUE_STORE_READS: 0.0006 (number, nullable)
- KEY_VALUE_STORE_WRITES: 0.002 (number, nullable)
- KEY_VALUE_STORE_LISTS: 0.004 (number, nullable)
- REQUEST_QUEUE_READS: 0.005 (number, nullable)
- REQUEST_QUEUE_WRITES: 0.02 (number, nullable)
- DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 (number, nullable)
- DATA_TRANSFER_EXTERNAL_GBYTES?: 0.0002 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 (number, nullable)
- PROXY_SERPS: 0.0006 (number, nullable)
## RunMetamorphed (object)
- id: `HG7ML7M8z78YcAPEB` (string, required)
- actId: `janedoe~my-actor` (string, required)
- userId: `PNWZBd7Z9c746JAnF` (string, required)
- startedAt: `2019-11-30T07:34:24.202Z` (string, required)
- finishedAt (string, nullable)
- status: `RUNNING` (string, required)
- statusMessage: `Actor is running` (string, nullable)
- isStatusMessageTerminal: false (boolean, nullable)
- meta (object, required)
- origin: `WEB` (string, required)
- clientIp: `172.234.12.34` (string, required)
- userAgent: `Mozilla/5.0 (iPad)` (string, required)
- stats (object, required)
- inputBodyLen: 240 (number, required)
- restartCount: 0 (number, required)
- resurrectCount: 1 (number, required)
- memAvgBytes: 35914228.4 (number, required)
- memMaxBytes: 38244352 (number, required)
- memCurrentBytes: 0 (number, required)
- cpuAvgUsage: 0.00955965 (number, required)
- cpuMaxUsage: 3.1546 (number, required)
- cpuCurrentUsage: 0 (number, required)
- netRxBytes: 2652 (number, required)
- netTxBytes: 1338 (number, required)
- durationMillis: 26239 (number, required)
- runTimeSecs: 26.239 (number, required)
- metamorph: 0 (number, required)
- computeUnits: 0.0072886 (number, required)
- options (object, required)
- build: `latest` (string, required)
- timeoutSecs: 300 (number, required)
- memoryMbytes: 1024 (number, required)
- diskMbytes: 2048 (number, required)
- buildId: `HG7ML7M8z78YcAPEB` (string, required)
- defaultKeyValueStoreId: `eJNzqsbPiopwJcgGQ` (string, required)
- defaultDatasetId: `wmKPijuyDnPZAPRMk` (string, required)
- defaultRequestQueueId: `FL35cSF7jrxr3BY39` (string, required)
- metamorphs (array, nullable)
- (object, nullable)
- createdAt: `2019-11-30T07:39:24.202Z` (string, required)
- actorId: `nspoEjklmnsF2oosD` (string, required)
- buildId: `ME6oKecqy5kXDS4KQ` (string, required)
- inputKey: `INPUT-METAMORPH-1` (string, required)
- buildNumber: `0.1.10` (string, required)
- containerUrl: `https://hfewsyknno9o.runs.apify.com` (string, required)
- isContainerServerReady: false (boolean, nullable)
- gitBranchName: `master` (string, nullable)
- usage (object, nullable)
- ACTOR_COMPUTE_UNITS: 3 (number, nullable)
- DATASET_READS: 4 (number, nullable)
- DATASET_WRITES: 4 (number, nullable)
- KEY_VALUE_STORE_READS: 5 (number, nullable)
- KEY_VALUE_STORE_WRITES: 3 (number, nullable)
- KEY_VALUE_STORE_LISTS: 5 (number, nullable)
- REQUEST_QUEUE_READS: 2 (number, nullable)
- REQUEST_QUEUE_WRITES: 1 (number, nullable)
- DATA_TRANSFER_INTERNAL_GBYTES: 1 (number, nullable)
- DATA_TRANSFER_EXTERNAL_GBYTES?: 3 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 (number, nullable)
- PROXY_SERPS: 3 (number, nullable)
- usageTotalUsd: 0.2654 (number, nullable)
- usageUsd (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.072 (number, nullable)
- DATASET_READS: 0.0004 (number, nullable)
- DATASET_WRITES: 0.0002 (number, nullable)
- KEY_VALUE_STORE_READS: 0.0006 (number, nullable)
- KEY_VALUE_STORE_WRITES: 0.002 (number, nullable)
- KEY_VALUE_STORE_LISTS: 0.004 (number, nullable)
- REQUEST_QUEUE_READS: 0.005 (number, nullable)
- REQUEST_QUEUE_WRITES: 0.02 (number, nullable)
- DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 (number, nullable)
- DATA_TRANSFER_EXTERNAL_GBYTES?: 0.0002 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 (number, nullable)
- PROXY_SERPS: 0.0006 (number, nullable)
## StatusMessageUpdate (object)
- runId: `3KH8gEpp4d8uQSe8T` (string, required)
- statusMessage: `Actor has finished` (string, required)
- isStatusMessageTerminal: true (boolean, optional)
## KVStore (object)
- id: `WkzbQMuFYuamGv3YF` (string, required)
- name: `d7b9MDYsbtX5L7XAj` (string, required)
- userId: `wRsJZtadYvn4mBZmm` (string, required)
- createdAt: `2019-12-12T07:34:14.202Z` (string, required)
- modifiedAt: `2019-12-13T08:36:13.202Z` (string, required)
- accessedAt: `2019-12-14T08:36:13.202Z` (string, required)
- actId (object, nullable)
- actRunId (object, nullable)
## KVStoreShort1 (object)
- id: `WkzbQMuFYuamGv3YF` (string, required)
- name: `d7b9MDYsbtX5L7XAj` (string, required)
- userId: `BPWDBd7Z9c746JAnF` (string, nullable)
- username: `janedoe` (string, nullable)
- createdAt: `2019-12-12T07:34:14.202Z` (string, required)
- modifiedAt: `2019-12-13T08:36:13.202Z` (string, required)
- accessedAt: `2019-12-14T08:36:13.202Z` (string, required)
- actId (object, nullable)
- actRunId (object, nullable)
## KVStoreShort2 (object)
- id: `YiKoxjkaS9gjGTqhF` (string, required)
- name: `eshop-items` (string, required)
- userId: `BPWDBd7Z9c746JAnF` (string, nullable)
- username: `janedoe` (string, nullable)
- createdAt: `2019-12-12T07:34:14.202Z` (string, required)
- modifiedAt: `2019-12-13T08:36:13.202Z` (string, required)
- accessedAt: `2019-12-14T08:36:13.202Z` (string, required)
- actId (object, nullable)
- actRunId (object, nullable)
## Dataset (object)
- id: `WkzbQMuFYuamGv3YF` (string, required)
- name: `d7b9MDYsbtX5L7XAj` (string, required)
- userId: `wRsJZtadYvn4mBZmm` (string, required)
- createdAt: `2019-12-12T07:34:14.202Z` (string, required)
- modifiedAt: `2019-12-13T08:36:13.202Z` (string, required)
- accessedAt: `2019-12-14T08:36:13.202Z` (string, required)
- itemCount: 7 (number, required)
- cleanItemCount: 5 (number, required)
- actId (object, nullable)
- actRunId (object, nullable)
- fields (array[string], nullable)
## DatasetShort1 (object)
- id: `WkzbQMuFYuamGv3YF` (string, required)
- name: `d7b9MDYsbtX5L7XAj` (string, required)
- userId: `tbXmWu7GCxnyYtSiL` (string, required)
- createdAt: `2019-12-12T07:34:14.202Z` (string, required)
- modifiedAt: `2019-12-13T08:36:13.202Z` (string, required)
- accessedAt: `2019-12-14T08:36:13.202Z` (string, required)
- itemCount: 7 (number, required)
- cleanItemCount: 5 (number, required)
- actId (object, nullable)
- actRunId (object, nullable)
## DatasetShort2 (object)
- id: `YiKoxjkaS9gjGTqhF` (string, required)
- name: `eshop-items` (string, required)
- userId: `tbXmWu7GCxnyYtSiL` (string, required)
- createdAt: `2019-12-12T07:34:14.202Z` (string, required)
- modifiedAt: `2019-12-13T08:36:13.202Z` (string, required)
- accessedAt: `2019-12-14T08:36:13.202Z` (string, required)
- itemCount: 2 (number, required)
- cleanItemCount: 2 (number, required)
- actId (object, nullable)
- actRunId (object, nullable)
## RequestQueue (object)
- id: `WkzbQMuFYuamGv3YF` (string, required)
- name: `some-name` (string, required)
- userId: `wRsJZtadYvn4mBZmm` (string, required)
- createdAt: `2019-12-12T07:34:14.202Z` (string, required)
- modifiedAt: `2019-12-13T08:36:13.202Z` (string, required)
- accessedAt: `2019-12-14T08:36:13.202Z` (string, required)
- totalRequestCount: 870 (number, required)
- handledRequestCount: 100 (number, required)
- pendingRequestCount: 670 (number, required)
- hadMultipleClients: true (boolean, required)
## RequestQueueShort1 (object)
- id: `WkzbQMuFYuamGv3YF` (string, required)
- name: `some-name` (string, required)
- userId: `wRsJZtadYvn4mBZmm` (string, required)
- username: `janedoe` (string, required)
- createdAt: `2019-12-12T07:34:14.202Z` (string, required)
- modifiedAt: `2019-12-13T08:36:13.202Z` (string, required)
- accessedAt: `2019-12-14T08:36:13.202Z` (string, required)
- expireAt: `2019-06-02T17:15:06.751Z` (string, required)
- totalRequestCount: 100 (number, required)
- handledRequestCount: 50 (number, required)
- pendingRequestCount: 50 (number, required)
- actId (object, nullable)
- actRunId (object, nullable)
- hadMultipleClients: true (boolean, required)
## RequestQueueShort2 (object)
- id: `YiKoxjkaS9gjGTqhF` (string, required)
- name: `example-com` (string, required)
- createdAt: `2019-12-12T07:34:14.202Z` (string, required)
- modifiedAt: `2019-12-13T08:36:13.202Z` (string, required)
- accessedAt: `2019-12-14T08:36:13.202Z` (string, required)
- expireAt: `2019-06-02T17:15:06.751Z` (string, required)
- totalRequestCount: 90 (number, required)
- handledRequestCount: 20 (number, required)
- pendingRequestCount: 70 (number, required)
- actId (object, nullable)
- actRunId (object, nullable)
- hadMultipleClients: false (boolean, required)
## RequestOperationInfo (object)
- requestId: `YiKoxjkaS9gjGTqhF` (string, required)
- wasAlreadyPresent: true (boolean, required)
- wasAlreadyHandled: false (boolean, required)
## RequestWithoutId (object)
- uniqueKey: `http://example.com` (string, required)
- url: `http://example.com` (string, required)
- method: `GET` (string, required)
## RequestWithoutId2 (object)
- uniqueKey: `http://example.com/2` (string, required)
- url: `http://example.com/2` (string, required)
- method: `GET` (string, required)
## RequestBatchDelete (object)
- uniqueKey: `http://example.com` (string, required)
## RequestBatchDelete2 (object)
- id: `sbJ7klsdf7ujN9l` (string, required)
## Request1 (object)
- id: `dnjkDMKLmdlkmlkmld` (string, required)
- retryCount: 0 (number, required)
- uniqueKey: `http://example.com` (string, required)
- url: `http://example.com` (string, required)
- method: `GET` (string, required)
- loadedUrl: `http://example.com/example-1` (string, nullable)
- payload (object, nullable)
- noRetry: false (boolean, nullable)
- errorMessages (array, nullable)
- headers (object, nullable)
- userData (object)
- label: `DETAIL` (string, nullable)
- image: `https://picserver1.eu` (string, nullable)
- handledAt: `2019-06-16T10:23:31.607Z` (string, nullable)
## UserPublicInfo (object)
- username: `d7b9MDYsbtX5L7XAj` (string, required)
- profile (object, required)
- bio: `I started web scraping in 1985 using Altair BASIC.`
(string)
- name: `Jane Doe`
(string)
- pictureUrl: `/img/anonymous_user_picture.png`
(string)
- githubUsername: `torvalds.`
(string)
- websiteUrl: `http://www.example.com`
(string)
- twitterUsername: `@BillGates`
(string)
## UserPrivateInfo (object)
- id: `YiKoxjkaS9gjGTqhF` (string, required)
- username: `myusername` (string, required)
- profile (object, required)
- bio: `I started web scraping in 1985 using Altair BASIC.`
(string)
- name: `Jane Doe`
(string)
- pictureUrl: `/img/anonymous_user_picture.png`
(string)
- githubUsername: `torvalds.`
(string)
- websiteUrl: `http://www.example.com`
(string)
- twitterUsername: `@BillGates`
(string)
- email: `bob@example.com` (string, required)
- proxy (object, required)
- password: `ad78knd9Jkjd86` (string, required)
- groups (array, required)
- plan (object, required)
- id: `Personal` (string, required)
- description: `Cost-effective plan for freelancers,
developers and students.` (string, required)
- isEnabled: true (boolean, required)
- monthlyBasePriceUsd: 49 (number, required)
- monthlyUsageCreditsUsd: 49 (number, required)
- usageDiscountPercent: 0 (number, required)
- enabledPlatformFeatures (array, required)
- `ACTORS` (array, required)
- `STORAGE` (array, required)
- `PROXY_SERPS` (array, required)
- `SCHEDULER` (array, required)
- `WEBHOOKS` (array, required)
- maxMonthlyUsageUsd: 9999 (number, required)
- maxActorMemoryGbytes: 32 (number, required)
- maxMonthlyActorComputeUnits: 1000 (number, required)
- maxMonthlyResidentialProxyGbytes: 10 (number, required)
- maxMonthlyProxySerps: 30000 (number, required)
- maxMonthlyExternalDataTransferGbytes: 1000 (number, required)
- maxActorCount: 100 (number, required)
- maxActorTaskCount: 1000 (number, required)
- dataRetentionDays: 14 (number, required)
- availableProxyGroups (object, required)
- SOMEGROUP: 20 (number, required)
- ANOTHERGROUP: 200 (number, required)
- teamAccountSeatCount: 1 (number, required)
- supportLevel: `COMMUNITY` (string, required)
- availableAddOns (array, required)
## MonthlyUsage (object)
- usageCycle (object, required)
- startAt: `2022-10-02T00:00:00.000Z` (string, required)
- endAt: `2022-11-01T23:59:59.999Z` (string, required)
- monthlyServiceUsage (object, required)
- USAGE_ITEM (object, required)
- quantity: `2.784475` (number, required)
- baseAmountUsd: `0.69611875` (number, required)
- baseUnitPriceUsd: `0.25` (number, required)
- amountAfterVolumeDiscountUsd: `0.69611875` (number, required)
- dailyServiceUsages (array, required)
- (object, required)
- date: `2022-10-02T00:00:00.000Z` (string, required)
- serviceUsage (object, required)
- SERVICE_USAGE_ITEM (object, required)
- quantity: `60` (number, required)
- baseAmountUsd: `0.00030000000000000003` (number, required)
## AccountLimits (object)
- monthlyUsageCycle (object, required)
- startAt: `2022-10-02T00:00:00.000Z` (string, required)
- endAt: `2022-11-01T23:59:59.999Z` (string, required)
- limits (object, required)
- maxMonthlyUsageUsd: `300` (number, required)
- maxMonthlyActorComputeUnits: `1000` (number, required)
- maxMonthlyExternalDataTransferGbytes: `7` (number, required)
- maxMonthlyProxySerps: `50` (number, required)
- maxMonthlyResidentialProxyGbytes: `0.5` (number, required)
- maxActorMemoryGbytes: `16` (number, required)
- maxActorCount: `100` (number, required)
- maxActorTaskCount: `1000` (number, required)
- maxTeamAccountSeatCount: `9` (number, required)
- current (object, required)
- monthlyUsageUsd: `43` (number, required)
- monthlyActorComputeUnits: `500.784475` (number,
required)
- monthlyExternalDataTransferGbytes: `3.008619039319455624` (number,
required)
- monthlyProxySerps: `34` (number,
required)
- monthlyResidentialProxyGbytes: `0.4` (number,
required)
- actorMemoryGbytes: `8` (number,
required)
- actorCount: `31` (number,
required)
- actorTaskCount: `130` (number,
required)
- teamAccountSeatCount: `5` (number,
required)
## Webhook (object)
- id: `YiKoxjkaS9gjGTqhF` (string, required)
- createdAt: `2019-12-12T07:34:14.202Z` (string, required)
- modifiedAt: `2019-12-13T08:36:13.202Z` (string, required)
- userId: `wRsJZtadYvn4mBZmm` (string, required)
- isAdHoc: false (boolean, nullable)
- shouldInterpolateStrings: false (boolean, nullable)
- eventTypes (array, required)
- `ACTOR.RUN.SUCCEEDED` (string, nullable)
- condition (object, required)
- actorId: `hksJZtadYvn4mBuin` (string, nullable)
- actorTaskId: `asdLZtadYvn4mBZmm` (string, nullable)
- actorRunId: `hgdKZtadYvn4mBpoi` (string, nullable)
- ignoreSslErrors: false (boolean, required)
- doNotRetry: false (boolean, nullable)
- requestUrl: `http://example.com/` (string, required)
- payloadTemplate: `{\n \"userId\": {{userId}}...` (string, nullable)
- headersTemplate: `{\n \"Authorization\": Bearer...`(string, nullable)
- description: `this is webhook description` (string, nullable)
- lastDispatch (object, nullable)
- status: `SUCCEEDED` (string, required)
- finishedAt: `2019-12-13T08:36:13.202Z` (string, required)
- stats (object, nullable)
- totalDispatches: 1 (number, required)
## WebhookShort (object)
- id: `YiKoxjkaS9gjGTqhF` (string, required)
- createdAt: `2019-12-12T07:34:14.202Z` (string, required)
- modifiedAt: `2019-12-13T08:36:13.202Z` (string, required)
- userId: `wRsJZtadYvn4mBZmm` (string, required)
- isAdHoc: false (boolean, nullable)
- shouldInterpolateStrings: false (boolean, nullable)
- eventTypes (array, required)
- `ACTOR.RUN.SUCCEEDED` (string, nullable)
- condition (object, required)
- actorId: `hksJZtadYvn4mBuin` (string, nullable)
- actorTaskId: `asdLZtadYvn4mBZmm` (string, nullable)
- actorRunId: `hgdKZtadYvn4mBpoi` (string, nullable)
- ignoreSslErrors: false (boolean, required)
- doNotRetry: false (boolean, required)
- requestUrl: `http://example.com/` (string, required)
- lastDispatch (object, nullable)
- status: `SUCCEEDED` (string, required)
- finishedAt: `2019-12-13T08:36:13.202Z` (string, required)
- stats (object, nullable)
- totalDispatches: 1 (number, required)
## WebhookCreate (object)
- isAdHoc: false (boolean, nullable)
- eventTypes (array, required)
- `ACTOR.RUN.SUCCEEDED` (string, nullable)
- condition (object, required)
- actorTaskId: `asdLZtadYvn4mBZmm` (string, nullable)
- idempotencyKey: `fdSJmdP3nfs7sfk3y` (string, nullable)
- ignoreSslErrors: false (boolean, nullable)
- doNotRetry: false (boolean, nullable)
- requestUrl: `http://example.com/` (string, required)
- payloadTemplate: `{\n \"userId\": {{userId}}...` (string, nullable)
- headersTemplate: `{\n \"Authorization\": Bearer...`(string, nullable)
- description: `this is webhook description` (string, nullable)
- shouldInterpolateStrings: false (boolean, nullable)
## WebhookUpdate (object)
- isAdHoc: false (boolean, nullable)
- eventTypes (array, nullable)
- `ACTOR.RUN.SUCCEEDED` (string, nullable)
- condition (object, nullable)
- actorTaskId: `asdLZtadYvn4mBZmm` (string, nullable)
- ignoreSslErrors: false (boolean, nullable)
- doNotRetry: false (boolean, nullable)
- requestUrl: `http://example.com/` (string, nullable)
- payloadTemplate: `{\n \"userId\": {{userId}}...` (string, nullable)
- headersTemplate: `{\n \"Authorization\": Bearer...`(string, nullable)
- description: `this is webhook description` (string, nullable)
- shouldInterpolateStrings: false (boolean, nullable)
## WebhookDispatch
- id: `asdLZtadYvn4mBZmm` (string, required)
- userId: `wRsJZtadYvn4mBZmm` (string, required)
- webhookId: `asdLZtadYvn4mBZmm` (string, required)
- createdAt: `2019-12-12T07:34:14.202Z` (string, required)
- status: `SUCCEEDED` (string, required)
- eventType: `ACTOR.RUN.SUCCEEDED` (string, required)
- eventData (object, required)
- actorId: `vvE7iMKuMc5qTHHsR` (string, required)
- actorRunId: `JgwXN9BdwxGcu9MMF` (string, required)
- calls (array, nullable)
- (object)
- startedAt: `2019-12-12T07:34:14.202Z` (string, nullable)
- finishedAt: `2019-12-12T07:34:14.202Z` (string, nullable)
- errorMessage: `Cannot send request` (string, nullable)
- responseStatus: 200 (number, nullable)
- responseBody: `{ "foo": "bar" }` (string, nullable)
## ScheduleShort1
- id: `asdLZtadYvn4mBZmm` (string, required)
- userId: `wRsJZtadYvn4mBZmm` (string, required)
- name: `my-schedule` (string, required)
- createdAt: `2019-12-12T07:34:14.202Z` (string, required)
- modifiedAt: `2019-12-20T06:33:11.202Z` (string, required)
- lastRunAt: `2019-04-12T07:33:10.202Z` (string, required)
- nextRunAt: `2019-04-12T07:34:10.202Z` (string, required)
- isEnabled: true (boolean, required)
- isExclusive: true (boolean, required)
- cronExpression: `* * * * *` (string, required)
- timezone: `UTC` (string, required)
- actions (array, required)
- (object)
- id: `ZReCs7hkdieq8ZUki` (string, required)
- type: `RUN_ACTOR` (string, required)
- actorId: `HKhKmiCMrDgu9eXeE` (string, required)
- (object)
- id: `RT2FCgQSgfQyIdC9h` (string, required)
- type: `RUN_ACTOR_TASK` (string, required)
- actorTaskId: `CkTH9jCqmknq69eu2` (string, required)
## ScheduleShort2
- id: `JgwXN9BdwxGcu9MMF` (string, required)
- userId: `wRsJZtadYvn4mBZmm` (string, required)
- name: `my-schedule` (string, required)
- createdAt: `2019-01-12T05:34:14.202Z` (string, required)
- modifiedAt: `2019-01-23T06:55:11.202Z` (string, required)
- lastRunAt: `2019-04-10T07:34:10.202Z` (string, required)
- nextRunAt: `2019-05-10T07:34:10.202Z` (string, required)
- isEnabled: true (boolean, required)
- isExclusive: true (boolean, required)
- cronExpression: `* * * * *` (string, required)
- timezone: `UTC` (string, required)
- actions (array, required)
## Schedule
- id: `asdLZtadYvn4mBZmm` (string, required)
- userId: `wRsJZtadYvn4mBZmm` (string, required)
- name: `my-schedule` (string, required)
- cronExpression: `* * * * *` (string, required)
- timezone: `UTC` (string, required)
- isEnabled: true (boolean, required)
- isExclusive: true (boolean, required)
- description: `Schedule of actor ...` (string, nullable)
- createdAt: `2019-12-12T07:34:14.202Z` (string, required)
- modifiedAt: `2019-12-20T06:33:11.202Z` (string, required)
- nextRunAt: `2019-04-12T07:34:10.202Z` (string, nullable)
- lastRunAt: `2019-04-12T07:33:10.202Z` (string, nullable)
- actions (array, required)
- (object, required)
- id: `c6KfSgoQzFhMk3etc` (string, required)
- type: `RUN_ACTOR` (string, required)
- actorId: `jF8GGEvbEg4Au3NLA` (string, required)
- runInput (object, nullable)
- body: `{\n \"foo\": \"actor\"\n}` (string, nullable)
- contentType: `application/json; charset=utf-8` (string, nullable)
- runOptions (object, nullable)
- build: `latest` (string, nullable)
- timeoutSecs: 60 (number, nullable)
- memoryMbytes: 1024 (number, nullable)
- (object, required)
- id: `VvTKsjqhKDcDxbR9d` (string, required)
- type: `RUN_ACTOR_TASK` (string, required)
- actorTaskId: `iEvfA6pm6DWjRTGxS` (string, required)
- input (object, nullable)
- foo: `bar` (string, nullable)
- hotel: `restaurant` (string, nullable)
## ScheduleCreate
- name: `my-schedule` (string, nullable)
- isEnabled: true (boolean, nullable)
- isExclusive: true (boolean, nullable)
- cronExpression: `* * * * *` (string, nullable)
- timezone: `UTC` (string, nullable)
- description: `Schedule of actor ...` (string, nullable)
- actions (array, nullable)
- (object, required)
- type: `RUN_ACTOR` (string, required)
- actorId: `jF8GGEvbEg4Au3NLA` (string, required)
- runInput (object, nullable)
- body: `{\n \"foo\": \"actor\"\n}` (string, nullable)
- contentType: `application/json; charset=utf-8` (string, nullable)
- runOptions (object, nullable)
- build: `latest` (string, nullable)
- timeoutSecs: 60 (number, nullable)
- memoryMbytes: 1024 (number, nullable)
- (object, required)
- type: `RUN_ACTOR_TASK` (string, required)
- actorTaskId: `iEvfA6pm6DWjRTGxS` (string, required)
- input (object, nullable)
- foo: `bar` (string, nullable)
- hotel: `restaurant` (string, nullable)
## StoreListActor (object)
- id: `zdc3Pyhyz3m8vjDeM` (string, required)
- title: `My Public Actor` (string, required)
- name: `my-public-actor` (string, required)
- username: `jane35` (string, required)
- description: `My public actor!` (string, nullable)
- pictureUrl: `https://...` (string, nullable)
- userPictureUrl: `https://...` (string, nullable)
- stats (object, required)
- totalBuilds: 9 (number, required)
- totalRuns: 16 (number, required)
- totalUsers: 6 (number, required)
- totalUsers7Days: 2 (number, required)
- totalUsers30Days: 6 (number, required)
- totalUsers90Days: 6 (number, required)
- totalMetamorphs: 2 (number, required)
- lastRunStartedAt: `2019-07-08T14:01:05.546Z` (string, required)
- currentPricingInfo (object, required)
- pricingModel: `FREE` (string, required)