SessionSession_idFlush
Flush session
Flush the session buffer for a given session
Authorization
BearerAuth Authorization<token>
Project Bearer token (e.g., "Bearer sk-ac-xxxx")
In: header
Path Parameters
session_id*string
Session ID
Format
uuidResponse Body
application/json
curl -X POST "https://loading/api/v1/session/497f6eca-6276-4993-bfeb-53cbbbba6f08/flush"{
"code": 0,
"error": "string",
"msg": "string",
"data": {
"errmsg": "string",
"status": 0
}
}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.
Get messages from session GET
Get messages from session. Default format is openai. Can convert to acontext (original), anthropic, or gemini format.