Get Available Stances
GET /api/chat/stances
Get list of available response stances
Retrieves all available response stances with their descriptions, approach, and focus areas. Use this endpoint to populate stance selection in the UI.
Returns: Dict containing: - stances: List of stance objects with id, name, description, focus - count: Total number of available stances
Example Response: { “stances”: [ { “id”: “brainstorming”, “name”: “Brainstorming”, “description”: “Adopt an expansive, creative approach…”, “focus”: “idea generation and creative exploration” }, … ], “count”: 7 }
Responses
Section titled “ Responses ”Successful Response
Response model for available stances listing.
Returns list of all available response stances with their descriptions, approach, and focus areas for stance selection in the UI.
Fields:
stances: List of stance objects with id, name, description, focus (list of dicts)count: Total number of available stances (non-negative integer)
Stance Object Structure: Each stance object contains:
id: Stance identifier (e.g., “brainstorming”, “supportive”, “concise”)name: Display name (e.g., “Brainstorming”, “Supportive”, “Concise”)description: Stance description textfocus: Focus area description (e.g., “idea generation and creative exploration”)
Usage: GET /api/chat/stances returns this response model for stance selection UI, stance discovery, and stance management interfaces.
JSON Example:
{
"stances": [
{
"id": "brainstorming",
"name": "Brainstorming",
"description": "Adopt an expansive, creative approach...",
"focus": "idea generation and creative exploration"
},
{
"id": "supportive",
"name": "Supportive",
"description": "Be encouraging and confidence-building...",
"focus": "confidence-building and progress"
}
],
"count": 7
}object
List of stance objects with id, name, description, focus
Individual stance item for stance listing.
Represents a single stance in the stances list with all metadata needed for stance selection UI and discovery.
Fields:
id: Stance identifier (e.g., “brainstorming”, “supportive”, “concise”)name: Display name (e.g., “Brainstorming”, “Supportive”, “Concise”)description: Stance description textfocus: Focus area description
object
Stance identifier
Display name for the stance
Stance description text
Focus area description
Total number of available stances