chat_leader_api_chat_leader_post
Initiate a one-on-one chat with a specific legal specialist leader using SSE streaming for real-time legal consultations in Korean law.
Instructions
Chat Leader
1:1 chat with a specific legal specialist leader via SSE streaming.
Responses:
200: Successful Response (Success Response) Content-Type: application/json
Output Schema:
{}422: Validation Error Content-Type: application/json
Example Response:
{
"detail": [
{
"loc": [],
"msg": "Message",
"type": "Error Type"
}
]
}Output Schema:
{
"properties": {
"detail": {
"items": {
"properties": {
"loc": {
"items": {},
"type": "array",
"title": "Location"
},
"msg": {
"type": "string",
"title": "Message"
},
"type": {
"type": "string",
"title": "Error Type"
}
},
"type": "object",
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError"
},
"type": "array",
"title": "Detail"
}
},
"type": "object",
"title": "HTTPValidationError"
}Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leader_id | Yes | Leader identifier (e.g. 'L01', 'L32', 'CCO'). Use GET /api/leaders to see all available leaders. | |
| query | Yes | Question to ask the specific leader (max 2000 chars). | |
| history | No | Conversation history with this leader. |