SessionSession_idConfigs
Update session configs
Update session configs by id
Authorization
BearerAuth Authorization<token>
Project Bearer token (e.g., "Bearer sk-ac-xxxx")
In: header
Path Parameters
session_id*string
Session ID
Format
uuidRequest Body
application/json
UpdateSessionConfigs payload
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://loading/api/v1/session/497f6eca-6276-4993-bfeb-53cbbbba6f08/configs" \ -H "Content-Type: application/json" \ -d '{}'{
"code": 0,
"error": "string",
"msg": "string"
}Patch session configs PATCH
Update session configs using patch semantics. Only updates keys present in the request. Pass null as value to delete a key. Returns the complete configs after patch.
Copy session POST
Create a complete copy of a session with all its messages and tasks. The copied session will be independent and can be modified without affecting the original.