TimeRange - TypeScript SDK

TimeRange type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { TimeRange } from "@openrouter/sdk/models/operations";
2
3let value: TimeRange = {
4 end: new Date("2024-07-04T07:07:24.821Z"),
5 start: new Date("2026-05-14T10:22:55.251Z"),
6};

Fields

FieldTypeRequiredDescription
endDate✔️N/A
startDate✔️N/A