Docs
OfficialJev Repos & SDKs
JavaScript SDK API Reference
The generated API reference for the official JavaScript SDK, listing every exported class, interface, function, and type.
- Format
- Docs
- Reading time
- 1 min
- Published by
- TypeSafe AI
- Last verified
- Sep 2026
Works forJev for Scoring
Used inJev for Software & DevTools
Highlights
- Classes include TypeSafeClient and a full error hierarchy from APIError to RateLimitError.
- Interfaces cover ChoiceQuestion, ScoreQuestion, NoulQuestion, SystemOneRequest, and RetryPolicy.
- Helper functions choice(), noul(), and score() are documented alongside ENV and LOG_LEVELS.
Watch out
An index with no prose or examples; pair it with the JavaScript usage guide.
Questions about this entry
Short answers drawn from the linked project or page.
TypeSafeClient and a full error hierarchy from APIError to RateLimitError. Interfaces cover ChoiceQuestion, ScoreQuestion, NoulQuestion, SystemOneRequest, and RetryPolicy, with choice(), noul(), and score() helpers documented alongside ENV and LOG_LEVELS.
No. It is an index with no prose or examples; pair it with the JavaScript usage guide when writing code.
The reference lists APIConnectionError, APITimeoutError, APIUserAbortError, AuthenticationError, BadRequestError, NotFoundError, PermissionDeniedError, RateLimitError, InternalServerError, UnprocessableEntityError, APIError, and TypeSafeError.
TypeSafeClientConfig for the client, RetryPolicy and RequestOptions for calls, Logger for logging, and ModelCard and Models for model metadata.
SystemOneRequest, SystemOneRequestPayload, and SystemOneResult for the call, with ChoiceQuestion/ChoiceResponse, ScoreQuestion/ScoreResponse, and NoulQuestion/NoulResponse for each primitive.
Functions choice, noul, and score; variables ENV, LOG_LEVELS, and VERSION; and type aliases such as Question, ResultFor, ScoreOf, and EntryType.
Through the Models interface and ModelCard, which the reference lists alongside response and request types, with WithResponse and Usage for reading results and token counts.
From the Jev guides
Original write-ups on what this entry is for.
From the Jev AI model community
Posts from builders shipping with Jev right now.