
# Conversation


## Properties

Name | Type
------------ | -------------
`id` | string
`createdAt` | Date
`lastPromptAt` | Date
`prompts` | number
`running` | boolean
`lastHarness` | string
`lastModel` | string
`lastPromptPreview` | string
`current` | boolean

## Example

```typescript
import type { Conversation } from '@asciidev/box-sdk'

// TODO: Update the object below with actual values
const example = {
  "id": null,
  "createdAt": null,
  "lastPromptAt": null,
  "prompts": null,
  "running": null,
  "lastHarness": null,
  "lastModel": null,
  "lastPromptPreview": null,
  "current": null,
} satisfies Conversation

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as Conversation
console.log(exampleParsed)
```

[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
