Save a conversation secret

Changed on

Save a pasted credential in the conversation's vault, as the composer's guard does (name, host, header, valueTemplate, value); answers the reference to put in the message instead of the value.

post/sessions/{id}/secrets

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/sessions/{id}/secrets
  • Auth
    HTTP bearer

Path parameters

idstring required

Session id.

Request body

namestring required
hoststring
headerstring
valueTemplatestring
valuestring required

Response

OK

object required

Changes