nv_sess_…) scoped to a
single tenant user. Hand the returned mcp.url and mcp.headers to an MCP
client instead of sharing a long-lived api key — the token expires on its own
and can be revoked early.
create returns the only copy of the token:
Authorization header, never in the URL. sessions list
returns metadata only — a lost token cannot be recovered, mint a new session.
sessions revoke takes effect immediately; a revoked session stops
authenticating even before expires_at.
These verbs call the same /v1/users/:user_id/sessions routes the SDK and the
API reference expose (create,
list, revoke),
so the subject rules are identical: a key sealed to an agent profile can only
mint sessions for its own subject.