Library
Single use. The session is returned as a __Host-sorai_library cookie
(HttpOnly, SameSite=Lax, host-only on the checkout origin, and Secure
outside dev), never in the response body.
application/jsontoken*stringThe session cookie is set.
application/jsonexpires_at*stringdate-timecurl -X POST 'https://api.sorai.ai/v1/public/library/session' \ -H 'Content-Type: application/json' \ -d '{ "token": "string"}'{ "expires_at": "2019-08-24T14:15:22Z"}