Skip to main content

Install

Create a client

The client reads ANPORD_API_KEY. Pass apiKey or baseUrl when needed:

Evals

Prompts

prompts.get uses the SDK cache. Other prompt methods and all eval methods call the API.

Errors and cleanup

Invalid request fields fail before a network call. API failures include an HTTP status when available. The package also exports make, layer, and AnpordApi for Effect applications. SDK date fields are Effect DateTime.Utc values. Read epochMillis when you need a number.