Get conversation by ID
Changed onRetrieve a specific conversation with its full message history.
Overview:
Returns the complete conversation including all messages, citations, feedback, and metadata. Messages can be paginated for long conversations.
Message Pagination:
For conversations with many messages, use pagination parameters:
- page: Page number (default: 1)
- limit: Messages per page (default: 20)
- sortBy: Sort field (default: createdAt)
- sortOrder: 'asc' or 'desc' (default: desc)
Access Control:
Users can access conversations they own or that have been shared with them.
Query parameters not listed here are ignored, not refused.
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/conversations/{conversationId}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: /api/v1/oauth2/authorizeClient credentialsToken URL: /api/v1/oauth2/token scopes: conversation:read
Path parameters
Unique conversation identifier
Query parameters
Page number for message pagination. Read with parseInt, so a fraction such as 1.5 is tolerated and truncated (page 1).
Number of messages per page. Read with parseInt, so a fraction such as 5.5 is tolerated and truncated (5).
Field to sort messages by
Sort direction
Case-insensitive match against the conversation's title and its messages' content. Applies to the conversation, not its messages: when nothing matches the answer is 404; when something matches every message is returned.
Applies to the conversation, not its messages: when the conversation was created before this instant the answer is 404. Any value JavaScript's Date parses is accepted (an ISO 8601 date or date-time is the documented form); a value it cannot parse is refused with 400.
Applies to the conversation, not its messages: when the conversation was created after this instant the answer is 404. Parsed like startDate.
Filters on the conversation's isShared; a conversation that does not match is answered 404. Read case-insensitively; any other value is refused with 400.
unassigned matches only a conversation linked to no project; a 24-character ObjectId matches only a conversation linked to that project. A conversation that does not match is answered 404. Any other value is ignored.
Checked against the listed values (400 otherwise) but not applied: every message type is returned.
Response
Conversation with paginated messages, applied filter metadata, and request metadata
Changes
- breaking
the
queryrequest parametersharedwas restricted to a list of enum values - breaking
added the pattern
^\d{4}-\d{2}-\d{2}to thequeryrequest parameterendDate - breaking
added the pattern
^\d{4}-\d{2}-\d{2}to thequeryrequest parameterstartDate - breaking
the
/////response's property type changed fromobjectto no type for status - breaking
the
/////response's property type changed fromobjectto no type for status - breaking
the
/////response's property type changed fromobjectto no type for status - breaking
the
/////response's property type changed fromobjectto no type for status - breaking
the
/////response's property type changed fromobjectto no type for status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - info
added the new optional
queryrequest parameterprojectId - info
added the new enum value
0to thequeryrequest parametershared - info
added the new enum value
1to thequeryrequest parametershared - info
added the new enum value
falseto thequeryrequest parametershared - info
added the new enum value
tool_callto thequeryrequest parametermessageType - info
added the new enum value
trueto thequeryrequest parametershared - info
for the
queryrequest parameterendDate, the format was generalized fromdate-timeto no format - info
for the
queryrequest parametershared, the type was generalized frombooleantostring - info
for the
queryrequest parameterstartDate, the format was generalized fromdate-timeto no format - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
/////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
///to the response with the status - info
added to the
/////response propertyanyOflist for the response status - info
added to the
/////response propertyanyOflist for the response status - info
added to the
/////response propertyanyOflist for the response status - info
added to the
/////response propertyanyOflist for the response status - info
added to the
/////response propertyanyOflist for the response status
- breaking
- info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status
- info