doctor_endpoint
Run live streaming contract canaries against an LLM endpoint to verify API behavior and return a Wire Health Grade, P0 breaches, checks, and timing.
Instructions
Run inferdiff's live streaming contract canaries. Return the Wire Health Grade, P0 breaches, checks, and timing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTP(S) endpoint base URL or full streaming route, for example /v1/chat/completions. | |
| model | No | Requested model ID. Omit to let inferdiff discover a model from the endpoint. | |
| api_key | No | Explicit API key as a compatibility fallback. Prefer api_key_env to keep it out of client context. | |
| profile | No | Canary profile. quick runs the core checks, full runs all standard checks, relay targets relay behavior. | quick |
| protocol | No | Streaming protocol. Anthropic runs C9 and Gemini runs C10 with an inferdiff build that supports them. | openai |
| api_key_env | No | Name of the server environment variable containing the API key. Prefer this over api_key. | |
| report_path | No | Optional destination for a redacted HTML report, ending in .html. |