Retrieve one comment by id. Use it to re-read a comment you created or updated, or to check edited_at before overwriting a body you did not write.
The comment is looked up within the work item in the path. A comment id that belongs to a different work item is not reachable here and returns 404 not_found, the same as an id that does not exist.
Comma-separated list of fields to return. Unrequested keys are omitted from the response, not returned as null, so absent means "not requested" and null means "actually null". id always comes back whether or not you name it.
Pass all for every requestable field. An unknown name is a 400 that lists the valid set and suggests the closest match, so a typo can't silently cost you the saving.
Comma-separated relations to embed alongside the ids: actor (the comment author).
Expansion is separate-key: ?expand=state keeps state_id and adds a state object next to it, so an id is never replaced by an object. An unknown value is a 400.
?fields= and ?expand= are independent namespaces. Relation names are not valid ?fields= tokens (and vice versa), and an expanded object survives field filtering — ?fields=id,name&expand=state returns id, name and state. See Expanding relations.
Get a comment
Retrieve one comment by id. Use it to re-read a comment you created or updated, or to check
edited_atbefore overwriting a body you did not write.The comment is looked up within the work item in the path. A comment id that belongs to a different work item is not reachable here and returns
404 not_found, the same as an id that does not exist.Path Parameters
slug:requiredstringThe workspace slug. It appears in your Plane URLs — in
https://app.plane.so/my-team/projects/, the slug ismy-team.project_id:requiredstring (uuid)The project the work item belongs to.
work_item_id:requiredstring (uuid)The work item the comment is attached to.
pk:requiredstring (uuid)The comment to retrieve.
Response shaping
fields:optionalstringComma-separated list of fields to return. Unrequested keys are omitted from the response, not returned as
null, so absent means "not requested" andnullmeans "actually null".idalways comes back whether or not you name it.Pass
allfor every requestable field. An unknown name is a400that lists the valid set and suggests the closest match, so a typo can't silently cost you the saving.Requestable here:
access,actor_id,comment_html,comment_stripped,created_at,created_by_id,edited_at,external_id,external_source,id,work_item_id.See Sparse fields.
expand:optionalstringComma-separated relations to embed alongside the ids:
actor(the comment author).Expansion is separate-key:
?expand=statekeepsstate_idand adds astateobject next to it, so an id is never replaced by an object. An unknown value is a400.?fields=and?expand=are independent namespaces. Relation names are not valid?fields=tokens (and vice versa), and an expanded object survives field filtering —?fields=id,name&expand=statereturnsid,nameandstate. See Expanding relations.Scopes
projects.work_items.comments:readErrors
401unauthorized402payment_required403forbidden404not_found406not_acceptableAcceptheader asks for a representation the API can't produce.429rate_limitedRetry-Afterheader before retrying.