Admin — Get Consultation
Path Parameters
Consultation UUID
Response
Consultation found
A validated 12-digit numeric user identifier.
Every external entry point validates:
- JSON
Deserializeruns [UserId::parse] (outer whitespace trimmed, length and digit-only enforced) via#[serde(try_from = "String")]. - DB
FromSqlruns [UserId::parse] on every row read.
Display / Deref<Target = str> / AsRef<str> / Into<String> are
derived via derive_more — the inner String is pass-through for
every read-only borrow, display, and move-out.
"012345678901"
Consultation lifecycle status. INITIATED = row inserted, upstream thread not yet created (transient or stuck). ACTIVE = upstream thread open (mirrors chatStatusCategory OPEN). COMPLETED = doctor marked done (mirrors DONE). CLOSED = archived (mirrors CLOSED). FAILED = upstream create_thread errored after our INSERT; not visible to FE.
INITIATED, ACTIVE, COMPLETED, CLOSED, FAILED