| Field | Type | Required | Description |
|---|---|---|---|
idType |
IdType | ✔️ | Type of the id in the incoming request. |
id |
String | ✔️ | ID corresponding to the requested idType. Note that channel and threads are represented by the underlying datasource's ID and conversations are represented by their document's ID. |
workspaceId |
Optional<String> | ➖ | Id for the for the workspace in case of multiple workspaces. |
direction |
Optional<Direction> | ➖ | The direction of the results asked with respect to the reference timestamp. Missing field defaults to OLDER. Only applicable when using a message_id. |
timestampMillis |
Optional<Long> | ➖ | Timestamp in millis of the reference message. Only applicable when using a message_id. |
includeRootMessage |
Optional<Boolean> | ➖ | Whether to include root message in response. |
datasource |
Datasource | ✔️ | The type of the data source. |
datasourceInstanceDisplayName |
Optional<String> | ➖ | The datasource instance display name from which the document was extracted. This is used for appinstance facet filter for datasources that support multiple instances. |