Skip to main content

Base URL

The Helicone API is available at:
All API endpoints are relative to this base URL.

API Structure

The Helicone API follows RESTful conventions and is organized into versioned endpoints:
  • v1 - Current stable API version
    • /v1/request - Query and manage requests
    • /v1/api-keys - Manage API keys and provider keys
    • /v1/webhooks - Configure webhooks
    • /v1/models - Access model information
    • /v1/evals - Manage evaluations
    • And more…

Request Format

All requests to the Helicone API must:
  1. Use HTTPS
  2. Include proper authentication headers (see Authentication)
  3. Send JSON payloads for POST/PUT requests with Content-Type: application/json

Example Request

Response Format

API responses are returned as JSON with a consistent structure:

Success Response

Error Response

HTTP Status Codes

Pagination

Many API endpoints support pagination using offset and limit parameters:
  • offset - Number of records to skip (default: 0)
  • limit - Maximum number of records to return (default: 10)
To retrieve the next page, increment the offset by the limit value:

Filtering and Sorting

Query endpoints support flexible filtering and sorting:

Filter Structure

Sort Structure

Rate Limits

The Helicone API implements rate limiting to ensure fair usage:
  • Rate limits vary by endpoint and subscription tier
  • Rate limit information is included in response headers
  • When rate limited, you’ll receive a 429 status code
For specific rate limits on your account, check your organization settings or contact support.

Next Steps

Authentication

Learn how to authenticate API requests

API Reference

Explore detailed endpoint documentation