---
title: "Run Actor synchronously without input"
method: GET
path: "/v2/actors/{actorId}/run-sync"
tags: ["Actors/Actor runs"]
---

# Run Actor synchronously without input

`GET /v2/actors/{actorId}/run-sync`

Runs a specific Actor and returns a key-value store record. The response contains the
record stored under the `OUTPUT` key in the run's default key-value store.
This is a legacy approach that has been replaced by the Actor
[output object](https://docs.apify.com/platform/actors/development/actor-definition/output-schema#output-object-definition);
the record may not exist, in which case the response contains no data. Use the
`outputRecordKey` query parameter to return a different record.
The run must finish in 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> 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](#/reference/actors/run-collection/run-actor) API endpoint instead.

## Path parameters

- `actorId` string, required

## Query parameters

- `outputRecordKey` string
- `timeout` number, double
- `memory` number, double
- `maxItems` number, double
- `maxTotalChargeUsd` number, double
- `restartOnError` boolean
- `build` string
- `webhooks` string, byte

## Response `201`

- object

## Other responses

- `400` — Bad request - invalid input parameters or request body.
- `401` — Unauthorized - authentication required or invalid token.
- `403` — Forbidden - insufficient permissions to perform this action.
- `404` — Not found - the requested resource does not exist.
- `405` — Method not allowed.
- `408` — The HTTP request exceeded the timeout limit
- `429` — Too many requests - rate limit exceeded.

---

[API](https://skmtc.net/apify/apis/apify-api.md) · [All operations](https://skmtc.net/apify/apis/apify-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apify/apify-api/versions/01a71794279b/schema)
