MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / listConversations

Method listConversations

packages/kilo-chat/src/client.ts:269–282  ·  view source on GitHub ↗
(
    opts?: z.input<typeof listConversationsQuerySchema>
  )

Source from the content-addressed store, hash-verified

267 }
268
269 async initAttachment(req: AttachmentInitRequest): Promise<AttachmentInitResponse> {
270 const body = req satisfies AttachmentInitRequest;
271 return this.httpRequest('/v1/attachments/init', {
272 method: 'POST',
273 body,
274 schema: attachmentInitResponseSchema,
275 });
276 }
277
278 async getAttachmentUrl(req: AttachmentGetUrlRequest): Promise<AttachmentGetUrlResponse> {
279 return this.httpRequest(`/v1/attachments/${encodeURIComponent(req.attachmentId)}/url`, {
280 method: 'GET',
281 query: { conversationId: req.conversationId },
282 schema: attachmentGetUrlResponseSchema,
283 });
284 }
285

Callers 2

useConversationsFunction · 0.45
client.test.tsFile · 0.45

Calls 1

httpRequestMethod · 0.95

Tested by

no test coverage detected