v2
chat
chat
Record credential picks for this chat
Changed onKeep the account the user chose on a connect card for the rest of the chat.
The card shows one account and the tools used to re-match on their own, so with two accounts for a provider a run could land on the other one. The tools now use exactly what is recorded here, and ask when several credentials qualify and nothing was picked.
Every id is checked against the caller's own credentials and the provider it is filed under; one bad entry rejects the request and records nothing.
put/api/chat/sessions/{session_id}/credential-selection
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
session_idstring required
Request body
Response
Successful Response
object required
Changes
- breaking
added 'propertyNames' constraint to the request property
- warning
the
/request property's maxLength was set to100
- breaking
- info
endpoint added
- info