Chatflows

List all chatflows

get

Retrieve a list of all chatflows

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successful operation

application/json
get
/chatflows

Get chatflow by ID

get

Retrieve a specific chatflow by ID

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

Chatflow ID

Responses
200

Successful operation

application/json
get
/chatflows/{id}

Get chatflow by API key

get

Retrieve a chatflow using an API key

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
apikeystringRequired

API key associated with the chatflow

Responses
200

Successful operation

application/json
get
/chatflows/apikey/{apikey}

Update chatflow details

put

Update the details of an existing chatflow

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

Chatflow ID

Body
idstringOptionalExample: d290f1ee-6c54-4b01-90e6-d701748f0851
namestringOptionalExample: MyChatFlow
flowDatastringOptionalExample: {}
deployedbooleanOptional
isPublicbooleanOptional
apikeyidstringOptional
chatbotConfigstringOptionalExample: {}
apiConfigstringOptionalExample: {}
analyticstringOptionalExample: {}
speechToTextstringOptionalExample: {}
categorystringOptionalExample: category1;category2
typestring · enumOptionalPossible values:
createdDatestring · date-timeOptionalExample: 2024-08-24T14:15:22Z
updatedDatestring · date-timeOptionalExample: 2024-08-24T14:15:22Z
Responses
200

Chatflow updated successfully

application/json
put
/chatflows/{id}

Delete a chatflow

delete

Delete a chatflow by ID

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

Chatflow ID

Responses
200

Chatflow deleted successfully

No content

delete
/chatflows/{id}

No content

Create a new chatflow

post

Create a new chatflow with the provided details

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
idstringOptionalExample: d290f1ee-6c54-4b01-90e6-d701748f0851
namestringOptionalExample: MyChatFlow
flowDatastringOptionalExample: {}
deployedbooleanOptional
isPublicbooleanOptional
apikeyidstringOptional
chatbotConfigstringOptionalExample: {}
apiConfigstringOptionalExample: {}
analyticstringOptionalExample: {}
speechToTextstringOptionalExample: {}
categorystringOptionalExample: category1;category2
typestring · enumOptionalPossible values:
createdDatestring · date-timeOptionalExample: 2024-08-24T14:15:22Z
updatedDatestring · date-timeOptionalExample: 2024-08-24T14:15:22Z
Responses
200

Chatflow created successfully

application/json
post
/chatflows

Last updated