workspace
Attach a BYOK credential to a session
Changed onStore the user's Anthropic API key or auth token for this session only. Never send credentials as a chat message.
post/agent/api/v1/sessions/{session_id}/key
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
session_idstring required
Query parameters
tokenstring nullable
Headers
authorizationstring nullable
Cookies
bcr_sessionstring nullable
Request body
Response
Successful Response
Changes
- info
endpoint added
- info