Get Objective
Workspace
Get Objective
Fetch the current objective for a thread.
Returns null (HTTP 200 with JSON null) when no objective has been
set yet, so the frontend can show its placeholder.
Args: user: Authenticated owner. thread_id: Target conversation. db: Database session.
Returns:
ObjectiveSchema if an objective exists, None otherwise.
GET
Get Objective
Authorizations
A personal access token (haico_pat_...), created under Profile → API keys. Send it as Authorization: Bearer <key>. The browser session JWT is also accepted but is an internal mechanism and is not part of the public contract.
Path Parameters
Minimum string length:
1