Upsert History

Get all upsert history records

get

Retrieve all upsert history records with optional filters

Authorizations
Path parameters
idstringOptional

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
200
Successful operation
application/json
get
GET /upsert-history/{id} HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
[
  {
    "id": "cfd531e0-82fc-11e9-bc42-526af7764f64",
    "chatflowid": "7c4e8b7a-7b9a-4b4d-9f3e-2d28f1ebea02",
    "result": "{\"status\":\"success\",\"data\":{\"key\":\"value\"}}",
    "flowData": "{\"nodes\":[],\"edges\":[]}",
    "date": "2024-08-24T14:15:22Z"
  }
]

Delete upsert history records

patch

Soft delete upsert history records by IDs

Authorizations
Body
idsstring · uuid[]Optional

List of upsert history record IDs to delete

Responses
200
Successfully deleted records
patch
PATCH /upsert-history/{id} HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 48

{
  "ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}

No content

Last updated