Create a ChatKit session
Changed onCreate a ChatKit session.
post/chatkit/sessions
Request
- Base URLhttps://api.openai.com/v1
- URLhttps://api.openai.com/v1/chatkit/sessions
- AuthHTTP bearer
Request body
Response
Success
Example response
{
"id": "cksess_123",
"object": "chatkit.session",
"client_secret": "ek_token_123",
"expires_at": 1712349876,
"workflow": {
"id": "workflow_alpha",
"version": "2024-10-01",
"state_variables": {
"message": "hello"
},
"tracing": {
"enabled": true
}
},
"user": "user_789",
"rate_limits": {
"max_requests_per_1_minute": 60
},
"max_requests_per_1_minute": 60,
"status": "active",
"chatkit_configuration": {
"automatic_thread_titling": {
"enabled": true
},
"file_upload": {
"enabled": true,
"max_file_size": 16,
"max_files": 20
},
"history": {
"enabled": true,
"recent_threads": 10
}
}
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
response property
workflow/state_variables/anyOf[subschema #1]/additionalProperties/list-of-types was widened by adding typesnullto media typeapplication/jsonof response200
- breaking