# ProjectAgentSessionDiscussion

Fields, types, and constraints for ProjectAgentSessionDiscussion.

Canonical: https://commentary.dev/docs/reference/schemas/project-agent-session-discussion

Released API schema for `ProjectAgentSessionDiscussion`.

## Fields and constraints

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `threadId` | string | Yes | Minimum length: 1. Maximum length: 512. |
| `revisionId` | string | Yes | Minimum length: 1. Maximum length: 512. |
| `comments` | array of [ProjectAgentSessionDiscussionComment](/docs/reference/schemas/project-agent-session-discussion-comment) | Yes |  |
| `hasOlderComments` | boolean | Yes |  |
| `context` | [ProjectAgentReviewArtifactContext](/docs/reference/schemas/project-agent-review-artifact-context) | No |  |

## Full schema

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

## Related reference

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