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.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Build ID.
Type: string
Aborts the actor's last 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.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Filter for the run status.
Type: string
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.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Run ID.
Type: string
Stores a value under a specific key to the actor's last run's key-value store.
The value is passed as the PUT payload and it is stored with a MIME content type defined by the Content-Type
request header.
IMPORTANT: The limit of the request payload is 9 MB. If you want to upload a larger record
or speed up your upload, use the Direct upload URL endpoint instead.
To save bandwidth and speed up your upload, send the request payload compressed with Gzip compression and
add the Content-Encoding: gzip
header.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Key of the record.
Type: string
Type: object
{ }
Filter for the run status.
Type: string
Stores a value under a specific key to the key-value store.
The value is passed as the PUT payload and it is stored with a MIME content type defined by the Content-Type
request header.
IMPORTANT: The limit of the request payload is 9 MB. If you want to upload a larger record
or speed up your upload, use the Direct upload URL endpoint instead.
To save bandwidth and speed up your upload, send the request payload compressed with Gzip compression and
add the Content-Encoding: gzip
header.
Key of the record.
Type: string
Key-value store ID or username~store-name
.
Type: string
Type: object
{ }
Stores a value under a specific key to the task's last run's key-value store.
The value is passed as the PUT payload and it is stored with a MIME content type defined by the Content-Type
request header.
IMPORTANT: The limit of the request payload is 9 MB. If you want to upload a larger record
or speed up your upload, use the Direct upload URL endpoint instead.
To save bandwidth and speed up your upload, send the request payload compressed with Gzip compression and
add the Content-Encoding: gzip
header.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Key of the record.
Type: string
Type: object
{ }
Filter for the run status.
Type: 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.
Queue ID or username~queue-name
.
Type: string
Type: object
{
"method" : "Required string",
"uniqueKey" : "Required string",
"url" : "Required string"
}
A unique identifier of the client accessing the request queue. It must be a string between 1 and 32 characters long. This identifier is used to determine whether the queue was accessed by multiple clients. If clientKey
is not provided, the system considers this API call to come from a new client.
Type: string
Determines if request should be added to the head of the queue or to the end. Default value is false
(end of queue).
Type: boolean
Adds request to actor's last run's 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.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Type: object
{
"method" : "Required string",
"uniqueKey" : "Required string",
"url" : "Required string"
}
A unique identifier of the client accessing the request queue. It must be a string between 1 and 32 characters long. This identifier is used to determine whether the queue was accessed by multiple clients. If clientKey
is not provided, the system considers this API call to come from a new client.
Type: string
Determines if request should be added to the head of the queue or to the end. Default value is false
(end of queue).
Type: boolean
Filter for the run status.
Type: string
Adds request to task's last run's 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.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Type: object
{
"method" : "Required string",
"uniqueKey" : "Required string",
"url" : "Required string"
}
A unique identifier of the client accessing the request queue. It must be a string between 1 and 32 characters long. This identifier is used to determine whether the queue was accessed by multiple clients. If clientKey
is not provided, the system considers this API call to come from a new client.
Type: string
Determines if request should be added to the head of the queue or to the end. Default value is false
(end of queue).
Type: boolean
Filter for the run status.
Type: string
Builds an actor.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
If true
or 1
then the actor is built with beta versions of Apify NPM packages. By default, the build uses latest
packages.
Type: boolean
Tag to be applied to the build on success. By default, the tag is taken from actor version's buildTag
property.
Type: string
If true
or 1
, the system will use a cache to speed up the build process. By default, cache is not used.
Type: boolean
Actor version number to be built.
Type: string
The maximum number of seconds the server waits for the build to finish. By default it is 0
, the maximum value is 300
.
Type: integer
Creates a new actor with settings specified by the actor object passed as JSON in the POST payload. The response is the full actor object.
Type: object
{
"versions" : [ {
"sourceCode" : "Required string",
"sourceType" : "Required string",
"buildTag" : "Required string",
"baseDockerImage" : "string",
"applyEnvVarsToBuild" : "boolean",
"envVars" : [ [ {
"isSecret" : "boolean",
"name" : "string",
"value" : "string",
"key" : "string"
} ] ],
"versionNumber" : "Required string"
} ],
"restartOnError" : "boolean",
"name" : "Required string",
"description" : "string",
"isPublic" : "Required boolean",
"title" : "string"
}
Creates dataset of given name and returns its object. If dataset with given name already exists then returns its object.
Creates a key-value store with a specific name. The response is the same object
as returned by the Get store endpoint.
If there is another store with the same name, the endpoint does not create a new one and returns the existing object instead.
Creates queue of given name and returns its object. If a queue with the given name already exists then the endpoint returns its object.
Create a new task with settings specified by the object passed as JSON in the POST payload.
Type: object
{
"input" : {
"body" : "string",
"contentType" : "Required string"
},
"actId" : "string",
"name" : "string",
"options" : {
"build" : "string",
"memoryMbytes" : "number",
"timeoutSecs" : "number"
}
}
Creates actor version.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Type: object
{
"sourceCode" : "Required string",
"sourceType" : "Required string",
"buildTag" : "Required string",
"baseDockerImage" : "string",
"applyEnvVarsToBuild" : "boolean",
"envVars" : [ [ {
"isSecret" : "boolean",
"name" : "string",
"value" : "string",
"key" : "string"
} ] ],
"versionNumber" : "Required string"
}
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 make sure that the same webhook is not created twice, use the idempotencyKey
parameter.
Multiple calls to create webhook with the same idempotency key will only create the webhook
with the first call and return the existing webhook on subsequent calls. Idempotency keys
must be unique, so use a UUID or another random string with enough entropy.
Type: object
{
"isAdHoc" : "boolean",
"condition" : {
"actorTaskId" : "string"
},
"ignoreSslErrors" : "boolean",
"idempotencyKey" : "string",
"requestUrl" : "Required string",
"eventTypes" : [ "string" ],
"payloadTemplate" : "string"
}
Deletes an actor.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Deletes an actor's last run's key-value store.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Filter for the run status.
Type: string
Deletes given dataset.
Deletes actor's last run's dataset.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Filter for the run status.
Type: string
Deletes task's last run's dataset.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Filter for the run status.
Type: string
Deletes a key-value store.
Deletes an actor's last run's key-value store.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Filter for the run status.
Type: string
Deletes given request from queue.
Queue ID or username~queue-name
.
Type: string
Request ID.
Type: string
A unique identifier of the client accessing the request queue. It must be a string between 1 and 32 characters long. This identifier is used to determine whether the queue was accessed by multiple clients. If clientKey
is not provided, the system considers this API call to come from a new client.
Type: string
Deletes given request from actor's last run's queue.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Request ID.
Type: string
A unique identifier of the client accessing the request queue. It must be a string between 1 and 32 characters long. This identifier is used to determine whether the queue was accessed by multiple clients. If clientKey
is not provided, the system considers this API call to come from a new client.
Type: string
Filter for the run status.
Type: string
Deletes given request from task's last run's queue.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Request ID.
Type: string
A unique identifier of the client accessing the request queue. It must be a string between 1 and 32 characters long. This identifier is used to determine whether the queue was accessed by multiple clients. If clientKey
is not provided, the system considers this API call to come from a new client.
Type: string
Filter for the run status.
Type: string
Deletes given queue.
Deletes actor's last_run's request queue.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Filter for the run status.
Type: string
Deletes task's last_run's request queue.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Filter for the run status.
Type: string
Delete the task specified through the actorTaskId
parameter.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Deletes a version for an actor.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Actor major and minor version of the actor.
Type: string
Deletes an webhook.
Gets an object that contains all the details about a specific actor.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Generates a unique URL that can be used to upload a record under a specific key to the actor's last run's key-value store.
The record must be uploaded to the resulting URL using a PUT request.
This endpoint is useful if your record is larger than the limit
imposed by the Put record endpoint
(i.e. 9 MB) or if you want to get the maximum speed for your upload.
To save bandwidth and speed up your upload, send the request payload compressed with Gzip compression and
add the Content-Encoding: gzip
header to your request.
IMPORTANT: The Content-Type
and Content-Encoding
headers sent in both requests must match!
Type: string
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Key of the record.
Type: string
Filter for the run status.
Type: string
Gets an object that contains all the details about an actor's last run's key-value store.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Filter for the run status.
Type: string
Gets an object that contains all the details about a specific build of an actor.
By passing the optional waitForFinish=1
parameter the API endpoint will synchronously wait for the build to finish.
This is useful to avoid periodic polling when waiting for an actor build to finish.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Build ID.
Type: string
The maximum number of seconds the server waits for the build to finish. By default it is 0
, the maximum value is 300
.
Type: integer
This operation has no parameters
Returns dataset object for given dataset ID.
Returns dataset object for the actor's last run.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Filter for the run status.
Type: string
Returns dataset object for the task's last run.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Filter for the run status.
Type: string
Generates a unique URL that can be used to upload a record under a specific key to the key-value store.
The record must be uploaded to the resulting URL using a PUT request.
This endpoint is useful if your record is larger than the limit
imposed by the Put record endpoint
(i.e. 9 MB) or if you want to get the maximum speed for your upload.
To save bandwidth and speed up your upload, send the request payload compressed with Gzip compression and
add the Content-Encoding: gzip
header to your request.
IMPORTANT: The Content-Type
and Content-Encoding
headers sent in both requests must match!
Type: string
Key of the record.
Type: string
Key-value store ID or username~store-name
.
Type: string
Returns given number of first requests from the queue.
Queue ID or username~queue-name
.
Type: string
Is true
if the queue was accessed by more than one clients (with unique or empty clientKey
). This field is used by Apify SDK to determine whether the local cache is consistent with the remote storage, and thus optimize certain operations.
Type: boolean
Returns given number of first requests from the actor's last run's queue.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Is true
if the queue was accessed by more than one clients (with unique or empty clientKey
). This field is used by Apify SDK to determine whether the local cache is consistent with the remote storage, and thus optimize certain operations.
Type: boolean
Filter for the run status.
Type: string
Returns given number of first requests from the task's last run's queue.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Is true
if the queue was accessed by more than one clients (with unique or empty clientKey
). This field is used by Apify SDK to determine whether the local cache is consistent with the remote storage, and thus optimize certain operations.
Type: boolean
Filter for the run status.
Type: string
Returns data stored in the actor's last run's dataset in a desired format. The format of the response depends on "format" query parameter. 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.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
If true or 1 then the response will define the Content-Disposition: attachment header, forcing a web browser to download the file rather than to display it. By default this header is not present.
Type: boolean
All text responses are encoded in UTF-8 encoding. By default, the format=csv files are prefixed with the UTF-8 Byte Order Mark (BOM), while json, jsonl, xml, html and rss files are not. If you want to override this default behavior, specify bom=1 query parameter to include the BOM or bom=0 to skip it.
Type: boolean
A delimiter character for CSV files, only used if format=csv. The default delimiter is a simple comma (,).
Type: string
If true
or 1
then the items are sorted by the createdAt
field in descending order.
Type: boolean
A comma-separated list of fields which should be picked from the items, only these fields will remain in the resulting record objects. Note that the fields in the outputted items are sorted the same way as they are specified in the fields query parameter. You can use this feature to effectively fix the output format.
Type: array
[ "string" ]
Format of the results.
Type: string
Potential values: json, jsonl, csv, html, xlsx, xml, rss
A comma-separated list of fields which should be omitted from the items.
Type: array
[ "string" ]
If true or 1 then header row in the csv format is skipped.
Type: boolean
Filter for the run status.
Type: string
Name of a field which should be unwound. If the field is an array then every element of the array will become a separate record and merged with parent object. If the unwound field is an object then it is merged with the parent object If the unwound field is missing or its value is neither an array nor an object and therefore cannot be merged with a parent object then the item gets preserved as it is. Note that the unwound items ignore the desc parameter.
Type: string
Overrides default root element name of xml output. By default the root element is items.
Type: string
Overrides default element name that wraps each page or page function result object in xml output. By default the element name is item.
Type: string
Returns data stored in the dataset in a desired format. The format of the response depends on "format" query parameter. 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.
Dataset ID or username~dataset-name
.
Type: string
If true or 1 then the response will define the Content-Disposition: attachment header, forcing a web browser to download the file rather than to display it. By default this header is not present.
Type: boolean
All text responses are encoded in UTF-8 encoding. By default, the format=csv files are prefixed with the UTF-8 Byte Order Mark (BOM), while json, jsonl, xml, html and rss files are not. If you want to override this default behavior, specify bom=1 query parameter to include the BOM or bom=0 to skip it.
Type: boolean
A delimiter character for CSV files, only used if format=csv. The default delimiter is a simple comma (,).
Type: string
If true
or 1
then the items are sorted by the createdAt
field in descending order.
Type: boolean
A comma-separated list of fields which should be picked from the items, only these fields will remain in the resulting record objects. Note that the fields in the outputted items are sorted the same way as they are specified in the fields query parameter. You can use this feature to effectively fix the output format.
Type: array
[ "string" ]
Format of the results.
Type: string
Potential values: json, jsonl, csv, html, xlsx, xml, rss
A comma-separated list of fields which should be omitted from the items.
Type: array
[ "string" ]
If true or 1 then header row in the csv format is skipped.
Type: boolean
Name of a field which should be unwound. If the field is an array then every element of the array will become a separate record and merged with parent object. If the unwound field is an object then it is merged with the parent object If the unwound field is missing or its value is neither an array nor an object and therefore cannot be merged with a parent object then the item gets preserved as it is. Note that the unwound items ignore the desc parameter.
Type: string
Overrides default root element name of xml output. By default the root element is items.
Type: string
Overrides default element name that wraps each page or page function result object in xml output. By default the element name is item.
Type: string
Returns data stored in the task's last run's dataset in a desired format. The format of the response depends on "format" query parameter. 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.
Task ID or a tilde-separated owner's username and task's name.
Type: string
If true or 1 then the response will define the Content-Disposition: attachment header, forcing a web browser to download the file rather than to display it. By default this header is not present.
Type: boolean
All text responses are encoded in UTF-8 encoding. By default, the format=csv files are prefixed with the UTF-8 Byte Order Mark (BOM), while json, jsonl, xml, html and rss files are not. If you want to override this default behavior, specify bom=1 query parameter to include the BOM or bom=0 to skip it.
Type: boolean
A delimiter character for CSV files, only used if format=csv. The default delimiter is a simple comma (,).
Type: string
If true
or 1
then the items are sorted by the createdAt
field in descending order.
Type: boolean
A comma-separated list of fields which should be picked from the items, only these fields will remain in the resulting record objects. Note that the fields in the outputted items are sorted the same way as they are specified in the fields query parameter. You can use this feature to effectively fix the output format.
Type: array
[ "string" ]
Format of the results.
Type: string
Potential values: json, jsonl, csv, html, xlsx, xml, rss
A comma-separated list of fields which should be omitted from the items.
Type: array
[ "string" ]
If true or 1 then header row in the csv format is skipped.
Type: boolean
Filter for the run status.
Type: string
Name of a field which should be unwound. If the field is an array then every element of the array will become a separate record and merged with parent object. If the unwound field is an object then it is merged with the parent object If the unwound field is missing or its value is neither an array nor an object and therefore cannot be merged with a parent object then the item gets preserved as it is. Note that the unwound items ignore the desc parameter.
Type: string
Overrides default root element name of xml output. By default the root element is items.
Type: string
Overrides default element name that wraps each page or page function result object in xml output. By default the element name is item.
Type: string
Gets an object that contains all the details about a specific key-value store.
Gets an object that contains all the details about the actor's last run.
By passing the optional waitForFinish=1
parameter the API endpoint will synchronously wait for the build to finish.
This is useful to avoid periodic polling when waiting for actor build to complete.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Filter for the run status.
Type: string
Gets an object that contains all the details about the task's last run.
By passing the optional waitForFinish=1
parameter the API endpoint will synchronously wait for the build to finish.
This is useful to avoid periodic polling when waiting for actor build to complete.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Filter for the run status.
Type: string
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.
ID of the actor build or run.
Type: string
If true
or 1
then the web browser will download the log file rather than open it in a tab.
Type: boolean
If true
or 1
then the logs will be streamed as long as the run or build is running.
Type: boolean
Responds with HTTP status 302 to redirect to an URL containing the actor's last run's log. The log has a content type text/plain
and it is encoded as gzip
returned with appropriate HTTP headers.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
If true
or 1
then the web browser will download the log file rather than open it in a tab.
Type: boolean
Filter for the run status.
Type: string
If true
or 1
then the logs will be streamed as long as the run or build is running.
Type: boolean
Responds with HTTP status 302 to redirect to an URL containing the task's last run's log. The log has a content type text/plain
and it is encoded as gzip
returned with appropriate HTTP headers.
Task ID or a tilde-separated owner's username and task's name.
Type: string
If true
or 1
then the web browser will download the log file rather than open it in a tab.
Type: boolean
Filter for the run status.
Type: string
If true
or 1
then the logs will be streamed as long as the run or build is running.
Type: boolean
Returns public information about a specific user account, similar to what can be seen on public profile pages (e.g. https://apify.com/apify).
Gets a value stored in the actor's last run's key-value store under a specific key. If the request defines the Accept-Encoding: gzip
HTTP header then the response will be gzipped.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Key of the record.
Type: string
By default, the API responds with the HTTP 302 status to redirect the client to another URL for faster download of the record. You can set disableRedirect=1
to prevent this behavior and return the record directly.
Type: boolean
Filter for the run status.
Type: string
Gets a value stored in the key-value store under a specific key. If the request defines the Accept-Encoding: gzip
HTTP header then the response will be gzipped.
Key of the record.
Type: string
Key-value store ID or username~store-name
.
Type: string
By default, the API responds with the HTTP 302 status to redirect the client to another URL for faster download of the record. You can set disableRedirect=1
to prevent this behavior and return the record directly.
Type: boolean
Gets a value stored in the task's last run's key-value store under a specific key. If the request defines the Accept-Encoding: gzip
HTTP header then the response will be gzipped.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Key of the record.
Type: string
By default, the API responds with the HTTP 302 status to redirect the client to another URL for faster download of the record. You can set disableRedirect=1
to prevent this behavior and return the record directly.
Type: boolean
Filter for the run status.
Type: string
Returns request from queue.
Queue ID or username~queue-name
.
Type: string
Request ID.
Type: string
Returns request from actor's last run's queue.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Request ID.
Type: string
Filter for the run status.
Type: string
Returns request from task's last run's queue.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Request ID.
Type: string
Filter for the run status.
Type: string
Returns queue object for given queue ID.
Returns queue object for actor's last run's request queue.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Filter for the run status.
Type: string
Returns queue object for task's run's request queue.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Filter for the run status.
Type: string
Gets an object that contains all the details about a specific run of an actor.
By passing the optional waitForFinish=1
parameter the API endpoint will synchronously wait for the build to finish.
This is useful to avoid periodic polling when waiting for actor build to complete.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Run ID.
Type: string
The maximum number of seconds the server waits for the build to finish. By default it is 0
, the maximum value is 300
.
Type: integer
Get an object that contains all the details about a task.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Generates a unique URL that can be used to upload a record under a specific key to the task's last run's key-value store.
The record must be uploaded to the resulting URL using a PUT request.
This endpoint is useful if your record is larger than the limit
imposed by the Put record endpoint
(i.e. 9 MB) or if you want to get the maximum speed for your upload.
To save bandwidth and speed up your upload, send the request payload compressed with Gzip compression and
add the Content-Encoding: gzip
header to your request.
IMPORTANT: The Content-Type
and Content-Encoding
headers sent in both requests must match!
Type: string
Task ID or a tilde-separated owner's username and task's name.
Type: string
Key of the record.
Type: string
Filter for the run status.
Type: string
Gets an object that contains all the details about an task's last run's key-value store.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Filter for the run status.
Type: string
Gets an object that contains all the details about a specific version of an actor.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Actor major and minor version of the actor.
Type: string
Gets webhook object with all details.
Gets webhook dispatch object with all details.
Returns a list of objects describing keys of an actor's last run's key-value store, as well as some information about the values (e.g. size). This endpoint is paginated using exclusiveStartKey
and limit
parameters.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Filter for the run status.
Type: string
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.
If true
or 1
then the items are sorted by the createdAt
field in descending order.
Type: boolean
If true
or 1
then the returned list only contains items owned by the user.
Type: boolean
Gets the list of webhook dispatches that the user have. 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.
If true
or 1
then the items are sorted by the createdAt
field in descending order.
Type: boolean
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.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
If true
or 1
then the items are sorted by the createdAt
field in descending order.
Type: boolean
Lists datasets of user. 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.
If true
or 1
then the items are sorted by the createdAt
field in descending order.
Type: boolean
If true
then all the items are returned. By default only named items are returned.
Type: boolean
Gets list of dispatches of a given webhook.
Gets the list of key-value stores owned by the user.
The response is a list of objects where each objects contains a basic information about a single key-value store.
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.
If true
or 1
then the items are sorted by the createdAt
field in descending order.
Type: boolean
If true
then all the items are returned. By default only named items are returned.
Type: boolean
Returns a list of objects describing keys of a given key-value store, as well as some information about the values (e.g. size). This endpoint is paginated using exclusiveStartKey
and limit
parameters.
Lists request queues of user. 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.
If true
or 1
then the items are sorted by the createdAt
field in descending order.
Type: boolean
If true
then all the items are returned. By default only named items are returned.
Type: boolean
Gets the list of runs of a specific actor. 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.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
If true
or 1
then the items are sorted by the createdAt
field in descending order.
Type: boolean
Get a list of runs of a specific task. The endpoint supports pagination using the limit
and offset
parameters, and it does 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 the desc=1
parameter.
Task ID or a tilde-separated owner's username and task's name.
Type: string
If true
or 1
then the items are sorted by the createdAt
field in descending order.
Type: boolean
Returns a list of objects describing keys of a task's last run's key-value store, as well as some information about the values (e.g. size). This endpoint is paginated using exclusiveStartKey
and limit
parameters.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Filter for the run status.
Type: string
Gets the list of all tasks that the user created or used. The response is a list of objects where each object
contains essential information about a single task.
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.
If true
or 1
then the items are sorted by the createdAt
field in descending order.
Type: boolean
Gets the list of versions of a specific actor. The response is a JSON with the list of objects where each object contains basic information about a single version.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Gets the list of webhooks that the user created. 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.
If true
or 1
then the items are sorted by the createdAt
field in descending order.
Type: boolean
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.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
If true
or 1
then the items are sorted by the createdAt
field in descending order.
Type: boolean
Gets the list of webhooks of a specific actor task. 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.
Task ID or a tilde-separated owner's username and task's name.
Type: string
If true
or 1
then the items are sorted by the createdAt
field in descending order.
Type: boolean
Transforms the actor's last 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.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
ID of a target actor that the run should be transformed into.
Type: string
Specifies the actor build to run. It can be either a build tag or build number. By default, the run uses the build specified in the default run configuration for the actor (typically latest
).
Type: string
Filter for the run status.
Type: string
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.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Run ID.
Type: string
ID of a target actor that the run should be transformed into.
Type: string
Specifies the actor build to run. It can be either a build tag or build number. By default, the run uses the build specified in the default run configuration for the actor (typically latest
).
Type: string
Saves an item or an array of items into the actor's last run's dataset. The limit of request payload for dataset is 5mb.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Type: object
{ }
Filter for the run status.
Type: string
Saves an item or an array of items into dataset. The limit of request payload for dataset is 5mb.
Dataset ID or username~dataset-name
.
Type: string
Type: object
{ }
Saves an item or an array of items into the actor's last run's dataset. The limit of request payload for dataset is 5mb.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Type: object
{ }
Filter for the run status.
Type: string
Removes a record specified by a key from the actor's last run's key-value store.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Key of the record.
Type: string
Filter for the run status.
Type: string
Removes a record specified by a key from the key-value store.
Key of the record.
Type: string
Key-value store ID or username~store-name
.
Type: string
Removes a record specified by a key from the task's last run's key-value store.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Key of the record.
Type: string
Filter for the run status.
Type: string
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.
The response is the Run object as returned by the Get run API endpoint.
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 API endpoints instead.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Type: object
{ }
Specifies the actor build to run. It can be either a build tag or build number. By default, the run uses the build specified in the default run configuration for the actor (typically latest
).
Type: string
Memory limit for the run, in megabytes. By default, the run uses a memory limit specified in the default run configuration for the actor.
Type: integer
Optional timeout for the run, in seconds. By default, the run uses a timeout specified in the default run configuration for the actor.
Type: integer
The maximum number of seconds the server waits for the build to finish. By default it is 0
, the maximum value is 300
.
Type: integer
Specifies optional webhooks associated with the actor run, which can be used to receive a notification e.g. when the actor finished or failed. The value is a Base64-encoded JSON array of objects defining the webhooks.
Type: string
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 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 API endpoints instead.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Type: object
{ }
The maximum number of seconds the server waits for the build to finish. By default it is 0
, the maximum value is 300
.
Type: integer
Specifies optional webhooks associated with the actor run, which can be used to receive a notification e.g. when the actor finished or failed. The value is a Base64-encoded JSON array of objects defining the webhooks.
Type: string
Runs a specific actor and returns its output.
The POST payload including its Content-Type
header is passed as INPUT
to the actor (usually application/json).
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 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.
To run the actor asynchronously, use the Run actor API endpoint instead.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Type: object
{ }
Specifies the actor build to run. It can be either a build tag or build number. By default, the run uses the build specified in the default run configuration for the actor (typically latest
).
Type: string
Memory limit for the run, in megabytes. By default, the run uses a memory limit specified in the default run configuration for the actor.
Type: integer
Key of the record from run's default key-value store to be returned in the response. By default, it is OUTPUT
.
Type: string
Optional timeout for the run, in seconds. By default, the run uses a timeout specified in the default run configuration for the actor.
Type: integer
Specifies optional webhooks associated with the actor run, which can be used to receive a notification e.g. when the actor finished or failed. The value is a Base64-encoded JSON array of objects defining the webhooks.
Type: string
Runs a specific actor and returns its output.
The run must finish in 300 seconds otherwise the API endpoint returns a timeout error.
The actor is not passed any input.
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.
To run the actor asynchronously, use the Run actor API endpoint instead.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Specifies the actor build to run. It can be either a build tag or build number. By default, the run uses the build specified in the default run configuration for the actor (typically latest
).
Type: string
Memory limit for the run, in megabytes. By default, the run uses a memory limit specified in the default run configuration for the actor.
Type: integer
Key of the record from run's default key-value store to be returned in the response. By default, it is OUTPUT
.
Type: string
Optional timeout for the run, in seconds. By default, the run uses a timeout specified in the default run configuration for the actor.
Type: integer
Specifies optional webhooks associated with the actor run, which can be used to receive a notification e.g. when the actor finished or failed. The value is a Base64-encoded JSON array of objects defining the webhooks.
Type: string
Run a specific task and return its output.
The run must finish in 300 seconds otherwise the API endpoint returns a timeout error.
Beware that it might be impossible to maintain an idle HTTP connection for an extended period,
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.
To run the Task asynchronously, use the Run task asynchronously endpoint instead.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Key of the record from run's default key-value store to be returned in the response. By default, it is OUTPUT
.
Type: string
Specifies optional webhooks associated with the actor run, which can be used to receive a notification e.g. when the actor finished or failed. The value is a Base64-encoded JSON array of objects defining the webhooks.
Type: string
Runs an actor task and synchronously returns its output.
The run must finish in 300 seconds otherwise the API endpoint returns a timeout error.
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).
Beware that it might be impossible to maintain an idle HTTP connection for an extended period,
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.
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.
To run the task asynchronously, use the Run task API endpoint instead.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Type: object
{ }
Key of the record from run's default key-value store to be returned in the response. By default, it is OUTPUT
.
Type: string
Specifies optional webhooks associated with the actor run, which can be used to receive a notification e.g. when the actor finished or failed. The value is a Base64-encoded JSON array of objects defining the webhooks.
Type: string
Updates settings of an actor using values specified by an actor object passed as JSON in the POST payload. If the object does not define a specific property, its value will not be updated.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Type: object
{
"versions" : [ {
"sourceCode" : "Required string",
"sourceType" : "Required string",
"buildTag" : "Required string",
"baseDockerImage" : "string",
"applyEnvVarsToBuild" : "boolean",
"envVars" : [ [ {
"isSecret" : "boolean",
"name" : "string",
"value" : "string",
"key" : "string"
} ] ],
"versionNumber" : "Required string"
} ],
"restartOnError" : "boolean",
"name" : "Required string",
"description" : "string",
"isPublic" : "Required boolean",
"title" : "string"
}
Updates request in queue. Mark request as handled by setting request.handledAt = new Date()
. If handledAt
is set then request will be removed from head of the queue.
Queue ID or username~queue-name
.
Type: string
Request ID.
Type: string
Type: object
{
"method" : "Required string",
"uniqueKey" : "Required string",
"id" : "Required string",
"url" : "Required string"
}
A unique identifier of the client accessing the request queue. It must be a string between 1 and 32 characters long. This identifier is used to determine whether the queue was accessed by multiple clients. If clientKey
is not provided, the system considers this API call to come from a new client.
Type: string
Determines if request should be added to the head of the queue or to the end. Default value is false
(end of queue).
Type: boolean
Updates request in actor's last run's queue. Mark request as handled by setting request.handledAt = new Date()
. If handledAt
is set then request will be removed from head of the queue.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Request ID.
Type: string
Type: object
{
"method" : "Required string",
"uniqueKey" : "Required string",
"id" : "Required string",
"url" : "Required string"
}
A unique identifier of the client accessing the request queue. It must be a string between 1 and 32 characters long. This identifier is used to determine whether the queue was accessed by multiple clients. If clientKey
is not provided, the system considers this API call to come from a new client.
Type: string
Determines if request should be added to the head of the queue or to the end. Default value is false
(end of queue).
Type: boolean
Filter for the run status.
Type: string
Updates request in task's last run's queue. Mark request as handled by setting request.handledAt = new Date()
. If handledAt
is set then request will be removed from head of the queue.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Request ID.
Type: string
Type: object
{
"method" : "Required string",
"uniqueKey" : "Required string",
"id" : "Required string",
"url" : "Required string"
}
A unique identifier of the client accessing the request queue. It must be a string between 1 and 32 characters long. This identifier is used to determine whether the queue was accessed by multiple clients. If clientKey
is not provided, the system considers this API call to come from a new client.
Type: string
Determines if request should be added to the head of the queue or to the end. Default value is false
(end of queue).
Type: boolean
Filter for the run status.
Type: string
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.
Task ID or a tilde-separated owner's username and task's name.
Type: string
Type: object
{
"input" : {
"body" : "string",
"contentType" : "Required string"
},
"actId" : "string",
"name" : "string",
"options" : {
"build" : "string",
"memoryMbytes" : "number",
"timeoutSecs" : "number"
}
}
Updates actor version using values specified by an version object passed as JSON in the POST payload. If the object does not define a specific property, its value will not be updated.
Actor ID or a tilde-separated owner's username and actor name.
Type: string
Actor major and minor version of the actor.
Type: string
Type: object
{
"sourceCode" : "string",
"sourceType" : "string",
"buildTag" : "string",
"baseDockerImage" : "string",
"applyEnvVarsToBuild" : "boolean",
"envVars" : [ [ {
"isSecret" : "boolean",
"name" : "string",
"value" : "string",
"key" : "string"
} ] ],
"versionNumber" : "string"
}
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.