Shared Types

Node.js SDK - Shared type definitions

ImageContentType

Accepted MIME types for document uploads.

type ImageContentType = 'image/jpeg' | 'image/png' | 'image/gif' | 'image/webp' | 'application/pdf' | 'image/tiff';

Pagination

Pagination metadata for list responses.

Prop

Type

PaginatedResponse

Generic wrapper for paginated API responses.

Prop

Type

RateLimitInfo

Rate limit information from response headers.

Prop

Type

QuotaExceededInfo

Details when an organization quota is exceeded.

Prop

Type

ErrorDetail

Structured error details from the API.

Prop

Type

On this page