@output.ai/http package wraps ky with Output Framework tracing hooks for observable HTTP requests.
Installation
Quick Start
Creating a Client
Configure a client with a base URL and default options:HTTP Methods
GET
POST
PUT
DELETE
Using in Steps
Wrap HTTP calls in steps for automatic retry and tracing:steps.ts
Environment Variables
| Variable | Description |
|---|---|
LOG_HTTP_VERBOSE | Set to true for detailed request/response logging |
Tracing
All HTTP requests made with@output.ai/http are automatically traced and visible in the Temporal UI, including:
- Request URL and method
- Request/response headers
- Response status and timing
- Error details on failure