Chatflows
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
400
The specified ID is invalid
404
Chatflow not found
500
Internal error
get
/chatflows/{id}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
400
The specified API key is invalid
404
Chatflow not found
500
Internal error
get
/chatflows/apikey/{apikey}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-d701748f0851namestringOptionalExample:
MyChatFlowflowDatastringOptionalExample:
{}deployedbooleanOptional
isPublicbooleanOptional
apikeyidstringOptional
chatbotConfigstringOptionalExample:
{}apiConfigstringOptionalExample:
{}analyticstringOptionalExample:
{}speechToTextstringOptionalExample:
{}categorystringOptionalExample:
category1;category2typestring · enumOptionalPossible values:
createdDatestring · date-timeOptionalExample:
2024-08-24T14:15:22ZupdatedDatestring · date-timeOptionalExample:
2024-08-24T14:15:22ZResponses
200
Chatflow updated successfully
application/json
400
The specified ID is invalid or body is missing
404
Chatflow not found
500
Internal error
put
/chatflows/{id}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
400
The specified ID is invalid
404
Chatflow not found
500
Internal error
delete
/chatflows/{id}No content
Create a new chatflow with the provided details
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
idstringOptionalExample:
d290f1ee-6c54-4b01-90e6-d701748f0851namestringOptionalExample:
MyChatFlowflowDatastringOptionalExample:
{}deployedbooleanOptional
isPublicbooleanOptional
apikeyidstringOptional
chatbotConfigstringOptionalExample:
{}apiConfigstringOptionalExample:
{}analyticstringOptionalExample:
{}speechToTextstringOptionalExample:
{}categorystringOptionalExample:
category1;category2typestring · enumOptionalPossible values:
createdDatestring · date-timeOptionalExample:
2024-08-24T14:15:22ZupdatedDatestring · date-timeOptionalExample:
2024-08-24T14:15:22ZResponses
200
Chatflow created successfully
application/json
400
Invalid input provided
422
Validation exception
post
/chatflowsLast updated