Skip to contents

Send a lightweight request to the OpenAI Responses API to verify connectivity and validate your API key. Use this to check your configuration before running more complex operations.

Usage

artopenai_health_check(ml = NULL)

Arguments

ml

Model name to use (default: from ART_OPENAI_MODEL env var). See README for env var configuration.

Value

Invisibly returns TRUE on success; otherwise throws an error.