# Interaction

Fields, types, and constraints for Interaction.

Canonical: https://commentary.dev/docs/reference/schemas/interaction

Released API schema for `Interaction`.

## Fields and constraints

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes |  |
| `resource` | [InteractionResource](/docs/reference/schemas/interaction-resource) | Yes |  |
| `state` | string | Yes |  |
| `currentRevisionId` | string | Yes |  |
| `version` | integer | Yes |  |
| `createdAt` | string | Yes | Format: date-time. |
| `updatedAt` | string | Yes | Format: date-time. |
| `terminalAt` | string or null | No | Format: date-time. |
| `revisions` | array of object | No |  |
| `messages` | array of [InteractionMessage](/docs/reference/schemas/interaction-message) | No |  |

## Full schema

[Download this schema](/docs/reference/schemas/interaction.json) or use the [complete OpenAPI document](/docs/reference/openapi.json) to resolve all references.

## Related reference

[Browse API endpoints](/docs/reference/api-operations).
