# \FlowConversationsApi

All URIs are relative to */api*

Method | HTTP request | Description
------------- | ------------- | -------------
[**delete_flow_conversation**](FlowConversationsApi.md#delete_flow_conversation) | **DELETE** /w/{workspace}/flow_conversations/delete/{conversation_id} | delete flow conversation
[**list_conversation_messages**](FlowConversationsApi.md#list_conversation_messages) | **GET** /w/{workspace}/flow_conversations/{conversation_id}/messages | list conversation messages
[**list_flow_conversations**](FlowConversationsApi.md#list_flow_conversations) | **GET** /w/{workspace}/flow_conversations/list | list flow conversations



## delete_flow_conversation

> String delete_flow_conversation(workspace, conversation_id)
delete flow conversation

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**conversation_id** | **uuid::Uuid** | conversation id | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_conversation_messages

> Vec<models::FlowConversationMessage> list_conversation_messages(workspace, conversation_id, page, per_page, after_seq)
list conversation messages

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**conversation_id** | **uuid::Uuid** | conversation id | [required] |
**page** | Option<**i32**> | which page to return (start at 1, default 1) |  |
**per_page** | Option<**i32**> | number of items to return for a given page (default 30, max 100) |  |
**after_seq** | Option<**i64**> | Message sequence cursor to fetch only the messages after that cursor |  |

### Return type

[**Vec<models::FlowConversationMessage>**](FlowConversationMessage.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_flow_conversations

> Vec<models::FlowConversation> list_flow_conversations(workspace, page, per_page, flow_path)
list flow conversations

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**page** | Option<**i32**> | which page to return (start at 1, default 1) |  |
**per_page** | Option<**i32**> | number of items to return for a given page (default 30, max 100) |  |
**flow_path** | Option<**String**> | filter conversations by flow path |  |

### Return type

[**Vec<models::FlowConversation>**](FlowConversation.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

