PUT
/v1/sessions/{session_id}/storage/{plugin_id}/{filename}Account-owned route. Requires account authentication via the taiku_session browser cookie, Authorization: Bearer <api_key>, or X-Taiku-Token: <api_key>, and the authenticated account must own the session.
taiku_session<token>
Authenticated browser session cookie for account-owned routes.
In: cookie
Path Parameters
session_id*string
Current session identifier.
plugin_id*string
Plugin identifier.
filename*string
Validated storage filename.
Request Body
application/octet-stream
Raw file bytes.
TypeScript Definitions
Use the request body type in TypeScript.
body*file
Format
binaryResponse Body
application/json
text/plain
text/plain
text/plain
text/plain
text/plain
text/plain
text/plain
curl -X PUT "/api/v1/sessions/string/storage/string/string" \ -H "Content-Type: application/octet-stream" \ -d 'string'{
"ok": true,
"size": 0
}"Invalid filename.""missing authentication""Not the session owner""Session not found.""File size or user quota exceeded.""Rate limit exceeded""Storage backend failure."