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:

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 in production.

Last updated

Was this helpful?