Skip to main content
GET
/
api
/
public
/
comments
/
{commentId}
{
  "data": [
    {
      "id": "<string>",
      "projectId": "<string>",
      "createdAt": {},
      "updatedAt": {},
      "objectType": "<string>",
      "objectId": "<string>",
      "content": "<string>",
      "authorUserId": "<string>"
    }
  ],
  "meta": {
    "page": 123,
    "limit": 123,
    "totalItems": 123,
    "totalPages": 123
  }
}
page
integer | null
Page number, starts at 1. Nullable if no pagination is required.
limit
integer | null
Limit of items per page. Reduce size if API issues occur. Nullable if no limit is specified.
objectType
string | null
Filter comments by object type (e.g., trace, observation, session, prompt). Nullable if no filtering by object type is needed.
objectId
string | null
Filter comments by object ID. Required if objectType is provided; nullable otherwise.
authorUserId
string | null
Filter comments by the author user ID. Nullable if no filtering by author is needed.

Response Description

Below you will see the description of the get a list score response
data
array
Array of comment objects.
meta
object
Metadata for pagination.

Code Response

Exemples of Response Code
  • 200 Successful Response Code
  • 400 Error Response Code