HTTP Request (Modelmetry)

This evaluator enables sending HTTP requests to a specified endpoint and interpreting the response to determine the outcome. It can pass, fail, or error based on the received data.

Configuration

OptionDescriptionTypeDefaultRequiredConstraints

URL

The URL to send the HTTP request to.

string

-

true

format: uri

Method

The HTTP method to use for the request.

string

POST

true

enum: POST, PATCH, PUT

Headers

A map of headers to include in the request.

map[string]string

-

false

-

Metrics

This evaluator does not define any specific metrics but captures various response attributes that influence the pass/fail/error outcomes based on the API response.

Last updated