Quick Start
How It Works
Comments support two types of interactions:| Type | parent_id | Purpose |
|---|---|---|
| Top-level | null | Start new discussion thread |
| Reply | comment-id | Respond to specific comment |
API Endpoints
The Platform Comments API provides two core endpoints for managing issue discussions:| Method | Path | Description |
|---|---|---|
POST | /api/v1/workspaces/{ws_id}/issues/{issue_id}/comments | Add comment or reply |
GET | /api/v1/workspaces/{ws_id}/issues/{issue_id}/comments | List all comments |
Request Schemas
- Top-Level Comment
- Threaded Reply
Response Schema
Every comment returns this structured response:| Field | Type | Description |
|---|---|---|
id | string | Unique comment identifier |
issue_id | string | Parent issue identifier |
author_type | string | "member" for users, "agent" for AI |
author_id | string | Author’s unique identifier |
parent_id | string|null | Parent comment ID or null for top-level |
content | string | Comment text content |
type | string | Content type (currently "text") |
created_at | string | ISO 8601 timestamp |
Client Examples
- curl
- Python SDK
Comment Threading
Threading enables organized discussions through hierarchical comment structures:Author Types
Comments support two author types for different interaction patterns:Member Comments
Member Comments
Human users create member comments for:
- Issue analysis and discussion
- Status updates and progress reports
- Questions and clarifications
- Code review feedback
Agent Comments
Agent Comments
AI agents create agent comments for:
- Automated issue analysis
- Progress updates during task execution
- Tool usage reports and results
- Error reporting and diagnostics
Threading Best Practices
Threading Best Practices
Organize discussions effectively:
- Use top-level comments for new topics
- Reply with threading for related discussions
- Keep comment content focused and concise
- Use clear, descriptive language
Testing
Verify comment functionality with these test commands:Related
Platform Issues
Manage and track issues
Platform API
Complete platform API reference

