Events
Update a project event definition
Updates editable metadata for an event definition. Event names cannot be changed after events have been recorded for the definition. Set archived to true to hide the definition from event tools and workflow selectors while retaining historical events; set it to false to restore it.
patch/event-definitions/{id}
Request
- Base URLhttps://api.kapso.ai/platform/v1
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Request body
Example request
{
"name": "conversation.csat_scored"
}Response
Definition updated
Example response
{
"data": {
"name": "conversation.csat_scored",
"property_schema": {
"score": {
"type": "number"
},
"reason": {
"type": "string"
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.