---
title: "Validate UDFs"
method: POST
path: "/v1/udfs/validate"
tags: ["udfs"]
---

# Validate UDFs

`POST /v1/udfs/validate`

## Request

- Base URL: `/api/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/udfs/validate`
- Auth: none declared

## Request body

- ValidateUdfPost
  - `definition` string, required
  - `language` 'python' | 'rust'

## Response `200`

Validated query

- UdfValidationResult
  - `errors` string[], required
  - `udf_name` string, nullable

---

[API](https://skmtc.dev/arroyosystems/apis/arroyo-rest-api.md) - [All operations](https://skmtc.dev/arroyosystems/apis/arroyo-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/arroyosystems/apis/arroyo-rest-api/revisions/226b33c4af0f?raw)
