githubEdit

Upsert History

Get all upsert history records

get

Retrieve all upsert history records with optional filters

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

Chatflow ID to filter records by

Query parameters
orderstring · enumOptional

Sort order of the results (ascending or descending)

Default: ASCPossible values:
startDatestring · date-timeOptional

Filter records from this start date (inclusive)

endDatestring · date-timeOptional

Filter records until this end date (inclusive)

Responses
chevron-right
200

Successful operation

application/json
idstring · uuidOptional

Unique identifier for the upsert history record

Example: cfd531e0-82fc-11e9-bc42-526af7764f64
chatflowidstringOptional

ID of the chatflow associated with the upsert history

Example: 7c4e8b7a-7b9a-4b4d-9f3e-2d28f1ebea02
resultstringOptional

Result of the upsert operation, stored as a JSON string

Example: {"status":"success","data":{"key":"value"}}
flowDatastringOptional

Flow data associated with the upsert operation, stored as a JSON string

Example: {"nodes":[],"edges":[]}
datestring · date-timeOptional

Date and time when the upsert operation was performed

Example: 2024-08-24T14:15:22Z
get
/upsert-history/{id}

Delete upsert history records

patch

Soft delete upsert history records by IDs

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
idsstring · uuid[]Optional

List of upsert history record IDs to delete

Responses
chevron-right
200

Successfully deleted records

No content

patch
/upsert-history/{id}

No content

Last updated