The ID of the integrated account to use for the request.
Example: 62f44730-dd91-461e-bd6a-aedd9e0ad79d
truto_response_format
string
The format of the response.
unified returns the response with unified mappings applied.
raw returns the unprocessed, raw response from the remote API.
normalized applies the unified mappings and returns the data in a normalized format.
stream returns the response as a stream, which is ideal for transmitting large datasets, files, or binary data. Using streaming mode helps to efficiently handle large payloads or real-time data flows without requiring the entire data to be buffered in memory.
debug returns the final unified result alongside raw remote fetch information. The response is an envelope containing result (identical to unified mode output) and debug (with requestUrl, requestOptions, data, responseHeaders, and for list operations: nextCursor, isLooping, isEmptyResult, resultCount). debug is null for static responses or when truto_skip_api_call=true.
Defaults to unified.
All possible enum values:
unified
raw
normalized
stream
debug
Example: unified
truto_key_by
string
By default the result attribute is an array of objects. This parameter allows you to specify a field in each result objects to use as key, which transforms the result array into an object with the array items keyed by the field. This is useful for when you want to use the result as a lookup table.
Example: id
truto_ignore_limit
boolean
Ignores the limit query parameter.
truto_ignore_remote_data
boolean
Excludes the remote_data attribute from the response.
The file path the comment is associated with (for review comments)
Supported in
GitHub
line
integer
The line number the comment is associated with (for review comments)
Supported in
GitHub
commit
object
The commit the comment is associated with
Supported in
GitHub
id
string
The SHA of the commit
created_at
string · date-time
The date and time when the comment was created
Supported in
GitHub
updated_at
string · date-time
The date and time when the comment was last updated
Supported in
GitHub
remote_data
object
Raw data returned from the remote API call.
next_cursor
string
The cursor to use for the next page of results. Pass this value as next_cursor in the query parameter in the next request to get the next page of results.
debug
object
Present only when truto_response_format=debug. Contains raw fetch details: requestUrl, requestOptions, data, responseHeaders, nextCursor, isLooping, isEmptyResult, resultCount. null for static responses or when truto_skip_api_call=true.
List Comments ​
Endpoint ​
Integrations supported
Query parameters ​
Refer Specifying query parameters in Truto APIs
The ID of the integrated account to use for the request.
62f44730-dd91-461e-bd6a-aedd9e0ad79dThe format of the response.
unifiedreturns the response with unified mappings applied.rawreturns the unprocessed, raw response from the remote API.normalizedapplies the unified mappings and returns the data in a normalized format.streamreturns the response as a stream, which is ideal for transmitting large datasets, files, or binary data. Using streaming mode helps to efficiently handle large payloads or real-time data flows without requiring the entire data to be buffered in memory.debugreturns the final unified result alongside raw remote fetch information. The response is an envelope containingresult(identical to unified mode output) anddebug(withrequestUrl,requestOptions,data,responseHeaders, and for list operations:nextCursor,isLooping,isEmptyResult,resultCount).debugisnullfor static responses or whentruto_skip_api_call=true.Defaults to
unified.unifiedrawnormalizedstreamdebugunifiedBy default the
resultattribute is an array of objects. This parameter allows you to specify a field in eachresultobjects to use as key, which transforms theresultarray into an object with the array items keyed by the field. This is useful for when you want to use the result as a lookup table.idIgnores the
limitquery parameter.Excludes the
remote_dataattribute from the response.Array of fields to exclude from the response.
truto_exclude_fields[]=id&truto_exclude_fields[]=nameQuery parameters to pass to the underlying API without any transformations. Refer this guide to see how to structure the query parameters.
remote_query[foo]=barThe slug of the owner on Github.
Required in
The slug of the repository on Github.
Required in
The pull request to filter comments by.
Required in
The unique identifier of the pull request.
The number of the pull request
Filter by comment type. Defaults to issue_comment.
conversation_commentreview_commentRequired in
The date and time when the comment was last updated
Supported in
Response Body ​
List of Comments
The unique identifier for the comment
Supported in
The pull request that the comment belongs to
Supported in
The unique identifier for the pull request
The number of the pull request
The body of the comment
Supported in
The content of the comment
The format of the comment body
markdownhtmlplaintextThe author of the comment
Supported in
The unique identifier for the author
The username of the author
The type of the author
userbotThe type of the comment
conversation_commentreview_commentSupported in
The parent comment this is a reply to
Supported in
The unique identifier for the comment
The file path the comment is associated with (for review comments)
Supported in
The line number the comment is associated with (for review comments)
Supported in
The commit the comment is associated with
Supported in
The SHA of the commit
The date and time when the comment was created
Supported in
The date and time when the comment was last updated
Supported in
Raw data returned from the remote API call.
The cursor to use for the next page of results. Pass this value as
next_cursorin the query parameter in the next request to get the next page of results.Present only when
truto_response_format=debug. Contains raw fetch details:requestUrl,requestOptions,data,responseHeaders,nextCursor,isLooping,isEmptyResult,resultCount.nullfor static responses or whentruto_skip_api_call=true.