Example Usage
import { PrivateEndpointCheck } from "@openrouter/sdk/models";
let value: PrivateEndpointCheck = {
name: "auth_ok",
passed: true,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
actualModel | string | ➖ | ⚠️ DEPRECATED: This will be removed in a future release, please migrate away from it as soon as possible. Deprecated: validation no longer compares the model the upstream reports, so this field is never returned. | |
name | string | ✔️ | Check name. | auth_ok |
passed | boolean | ✔️ | N/A | |
reason | models.PrivateEndpointCheckReason | ➖ | Why the check failed. | no_byok_key |
upstreamMessage | string | ➖ | Error message returned by your deployment when the call failed. | |
upstreamStatus | number | ➖ | HTTP status returned by your deployment when the call failed. |