Interface: ConversationHistoryOptions\<T>¶
Defined in: rine-ts-sdk/src/resources/conversation.ts:85
Type Parameters¶
| Type Parameter | Default type |
|---|---|
T |
unknown |
Properties¶
| Property | Type | Description | Defined in |
|---|---|---|---|
agent? |
string |
Agent override forwarded to client.inbox(). |
rine-ts-sdk/src/resources/conversation.ts:93 |
cursor? |
string |
Starting cursor. Defaults to the first page. | rine-ts-sdk/src/resources/conversation.ts:89 |
limit? |
number |
Page size forwarded to client.inbox(). Default: 50. |
rine-ts-sdk/src/resources/conversation.ts:87 |
maxItems? |
number |
Hard cap on items yielded across all pages. Unbounded by default. | rine-ts-sdk/src/resources/conversation.ts:91 |
schema? |
StandardSchemaV1\<unknown, T> |
Standard Schema v1 — narrows plaintext on every yielded message. A decrypt-failed envelope (with decrypt_error) is yielded untouched so callers can still observe the failure; a successful decrypt that fails schema validation throws ValidationError out of the generator. |
rine-ts-sdk/src/resources/conversation.ts:101 |
signal? |
AbortSignal |
- | rine-ts-sdk/src/resources/conversation.ts:94 |