session_cookies
Export the session's current cookies. Default (meta absent/false) is the full Set-Cookie form ("name=value; Domain=…; Path=/", flags included) — the login-state reuse face that round-trips with session_create's cookies field. meta:true switches to the metadata-only view (#102): [{name, domain, path, secure, httpOnly, sameSite, expires (unix secs, null = session cookie), hostOnly}] with NO values — cookie values are credentials and never leave the server, so "which auth state exists" (is the session cookie Secure, when does it expire, which domains landed) is answerable without holding a single one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Metadata-only view (#102): {name, domain, path, secure, httpOnly, sameSite, expires, hostOnly} per cookie — no values, ever. For checking what auth state exists; leave false for the value-bearing export that round-trips login state. | |
| session_id | Yes | Session ID |