> For the complete documentation index, see [llms.txt](https://docs.valohai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.valohai.com/serving-your-models/real-time-endpoints/test-endpoints.md).

# Test Endpoints

Test your deployment endpoints directly from the Valohai web app to verify they're working before integrating with production systems.

### Test from the UI

1. Open your project
2. Navigate to the **Deployment** tab
3. Select your deployment
4. Click **Test deployment**
5. Choose your endpoint from the drop-down
6. Provide the required input fields
7. Click **Send request**

The response from your inference service appears directly in your browser.

### Input types

Depending on what your endpoint expects, you can send:

**Text/JSON data:** Type directly into form fields

**Files:** Upload images, documents, or other binary data

**Multiple fields:** Add multiple inputs if your endpoint accepts several parameters

### Example workflow

For an image classification endpoint:

1. Select the `predict-digit` endpoint
2. Add a field named `image`
3. Change the type to **File**
4. Upload a test image
5. Send the request
6. Review the prediction response

***

**Production testing:** For programmatic testing, use curl or your preferred HTTP client:

```shell
curl -X POST https://valohai.cloud/your-org/your-project/deployment/production/predict \
  -F "image=@test_image.png"
```

**Next:** Learn how to [monitor endpoint performance](https://github.com/valohai/dokuhai/tree/main/docs/monitor.md) in production.


---

# 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.valohai.com/serving-your-models/real-time-endpoints/test-endpoints.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.
