---
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 provided input against the Actor's input schema for the specified build.

The endpoint checks whether the JSON payload conforms to the input schema
defined in the Actor's build. If no `build` query parameter is provided,
the `latest` build tag is used by default.

## Path parameters

- `actorId` string, required

## Query parameters

- `build` string

## Request body

- object

## Response `200`

- object
  - `valid` boolean, required — Whether the input is valid according to the Actor's input schema.

## 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/versions/01a71794279b/schema)
