Skip to main content

REST API Reference

The Galadriel API is organized around REST. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes and authentication.

Base URL

Quick Start

Response Format

All API responses return JSON with a consistent structure:
Error responses:

Rate Limiting

Rate limit information is included in response headers:

Timestamps

All timestamps are returned in ISO 8601 format:

Pagination

List endpoints support pagination:
Parameters:
  • limit - Number of items to return (default: 20, max: 100)
  • offset - Number of items to skip (default: 0)

Errors

The API uses standard HTTP response codes:

Idempotency

POST requests accept an Idempotency-Key header to safely retry requests:

Support