> For the complete documentation index, see [llms.txt](https://docs.clearout.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.clearout.io/developers/api/name-validation.md).

# Name Validation

The **Name Validation API** leverages a trained AI model to perform deep, contextual validation that goes far beyond standard regex or pattern matching. It evaluates the legitimacy of a **person's name** in real time, effectively filtering out structural gibberish, profanity strings, and unsupported characters to ensure high-integrity data ingestion.

## Name validate

> Instantly verify the legitimacy of a person's name to ensure clean data at the point of capture.

```json
{"openapi":"3.0.2","info":{"title":"Clearout OpenAPI","version":"1.1"},"tags":[{"name":"Name Validation","description":"The **Name Validation API** leverages a trained AI model to perform deep, contextual validation that goes far beyond standard regex or pattern matching. It evaluates the legitimacy of a **person's name** in real time, effectively filtering out structural gibberish, profanity strings, and unsupported characters to ensure high-integrity data ingestion."}],"servers":[{"url":"https://api.clearout.io/v2"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"NameValidateRequestType":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The full name or name string to validate."},"settings":{"type":"object","description":"Optional validation settings.","properties":{"gibberish_threshold":{"type":"string","default":"high","description":"Adjusts the sensitivity of the AI model's gibberish detection. Allowed values are off, medium, high."}}},"timeout":{"type":"integer","description":"Request timeout in milliseconds","minimum":1000,"maximum":10000,"default":8000}}},"NameValidateSuccessResponseType":{"type":"object","properties":{"status":{"type":"string","description":"Response Object status"},"data":{"type":"object","properties":{"input_name":{"type":"string","description":"Original input name"},"status":{"type":"string","description":"Validation status"},"profanity":{"type":"boolean","description":"Whether the name contains profanity"},"gibberish":{"type":"boolean","description":"Whether the name is gibberish"},"time_taken":{"type":"integer","description":"Time taken to process in milliseconds"}}}}},"NameValidateBadRequestResponseType":{"type":"object","properties":{"status":{"type":"string"},"error":{"type":"object","properties":{"message":{"type":"string"},"reasons":{"type":"array","items":{"type":"string"}}}}}},"NameValidateUnauthorizedResponseType":{"type":"object","properties":{"status":{"type":"string"},"error":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"}}}}},"NameValidateRateLimitResponseType":{"type":"object","properties":{"status":{"type":"string"},"error":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"}}}}},"NameValidateTimeoutOccurredResponseType":{"type":"object","properties":{"status":{"type":"string"},"error":{"type":"object","properties":{"message":{"type":"string"},"additional_info":{"type":"object","properties":{"resource_name":{"type":"string"},"resource_value":{"type":"string"}}}}}}}}},"paths":{"/name/validate":{"post":{"tags":["Name Validation"],"summary":"Name validate","description":"Instantly verify the legitimacy of a person's name to ensure clean data at the point of capture.","operationId":"nameValidate","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NameValidateRequestType"}}}},"responses":{"200":{"description":"Successfully validated name","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NameValidateSuccessResponseType"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NameValidateBadRequestResponseType"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NameValidateUnauthorizedResponseType"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NameValidateRateLimitResponseType"}}}},"503":{"description":"Service Unavailable"},"524":{"description":"A Timeout Occurred","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NameValidateTimeoutOccurredResponseType"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.clearout.io/developers/api/name-validation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
