FILING_ID to that returned ID.
IDs in the response and request examples below are illustrative; substitute IDs returned by your calls.
Comment bodies must contain text and be at most 20,000 characters.
Start a discussion
See Add a filing comment or reply for target fields.201 response, showing the fields used in this guide:
actor, data, deleted, editedAt, and an
optional anchor describing its position in the workspace: whole_resource targets
the whole resource; field includes a path identifying a field. Save the comment id
as parentCommentId when replying; threadId identifies the whole discussion.
Reply
Replace the exampleparentCommentId with the top-level comment id from the previous response.
target. You can only reply to top-level
comments.
Comment on a document or record
Read the filing item to choose a document:- For the primary document, use the item’s
artifactIdandartifactVersionId. - For a related document, use those fields from its entry in
attachments.
ARTIFACT_ID to the selected document ID. If its artifactVersionId is non-null,
use that pinned version. Otherwise, read the current version:
versionId for an unpinned document, as
artifactVersionId below. A document comment requires a recorded version UUID;
if metadata returns versionId: null, upload a working copy
and attach it to an item first.
The target’s recordId
is the filing item ID, and artifactId is its document ID. This starts a discussion on that
specific version:
type: "artifact" means a document-version target; recordType: "filing_items" means a filing item. The file must be the item’s
primary document or a related attachment. The server checks file access and
that the version belongs to it. submission_items is also supported. Replacing
the working document does not move old comments or their replies to the new file.
For an uploaded file that has no item yet, first add an unscheduled item
and use that item’s ID in the target. A file being readable does not make it a document of another item.
For the filing, an item, or one of their fields, use target with type: "record", its recordType,
recordId, and optional field (for example description). The record must be
this filing or one of its filing items, submissions, submission items,
objections, or objection items. The field must exist on that record.
List comments
List timeline entries for open discussions:comments and nextCursor. Pass nextCursor as cursor with the same status and
limit until it’s null. Cursors do not expire. Changing the filing, status filter, or limit invalidates the cursor.
The list includes status changes and deleted
comments, oldest first. Older comments may have an anchor instead of a target.
limit counts entries, so a discussion’s root, replies, and events can span pages.
Set NEXT_CURSOR to the returned cursor; curl encodes it for the URL:
status:
threadId; use parentCommentId to place replies under their
root message. commentType: "message" is discussion text; system and
status_change are events. A deleted message remains as a tombstone with no body.
Every entry carries the discussion’s current status, not its status at the
time that entry was created. A status=open list would exclude this resolved discussion.
See List filing comments for all response fields.
Read one comment
SetCOMMENT_ID to a comment ID returned by the list or a check result:
200 response contains one timeline entry. To read its discussion, collect the list
pages and group entries by that entry’s threadId.
Resolve or edit a comment
SetCOMMENT_ID to a message ID in the discussion you want to resolve:
{"status":"open"} to reopen. Any filing editor can resolve or reopen; setting the current
status again does nothing. To edit your own comment, send {"body":"Corrected text"} instead. Send
body or status, not both. System events can’t be edited.
See Edit a comment or resolve its discussion for the response.
Targets can’t be changed, and imported filings are read-only. Adding comments isn’t idempotent; after
an uncertain response, list comments before retrying. For errors, see
error recovery.
Correct findings
Your agent can use the comments and their document references to correct a filing:- Read the open discussions and the referenced documents. Ask the filing owner for missing facts or decisions before making changes.
- Make the corrections, upload the revised documents and update the schedule items to select the corrected files and versions.
- Run pre-review again and inspect the new results against the corrected documents.
- After verifying a correction, mark its discussion resolved using the comment update endpoint above. Leave unresolved issues open.