---
title: "Validate Actor input"
method: POST
path: "/v2/actors/{actorId}/validate-input"
tags: ["Actors"]
---

# Validate Actor input

`POST /v2/actors/{actorId}/validate-input`

Validates the JSON payload against the Actor's
[input schema](https://docs.apify.com/actors/development/actor-definition/input-schema)
defined in the specified build.

If the specified build has no input schema, any input is considered valid.

## Path parameters

- `actorId` string, required

## Query parameters

- `build` string

## Request body

- object

## Response `200`

- object
  - `valid` boolean, required — Always `true`. The endpoint responds with `200` only when the input passes validation. Invalid input returns a `400` error.

## 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.
- `413` — Payload too large - the request body exceeds the size limit.
- `415` — Unsupported media type - the Content-Encoding of the request is not supported.
- `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/revisions/186271294840/schema)
