Skip to content
Navigation

renameSession

PATCH
/api/v1/sessions/{sessionId}

Authorization

  • session
    optional
    API key in cookie
  • token
    optional
    HTTP Bearer

    Authorization: Bearer <token>

Path parameters

  • sessionId
    string
    required

Request body JSON required

  • title
    string
    required
    maxLength: 200 · minLength: 1

Returns

200

Renamed.

JSON
  • id
    string
    required
  • agentId
    string
    required
  • title
    string
    required
  • running
    boolean
    required
  • createdBy
    object
    required
    • id
      string
      required
    • email
      string
      required
    • name
      string
      required
    • avatarUrl
      string
      required
  • createdAt
    string
    required
    format: date-time
  • updatedAt
    string
    required
    format: date-time
  • origin
    optional
    object

    Set when another agent started the session (send_message or ask).

    • agentId
      string
      required
    • agentName
      string
      required
    • sessionId
      string
      required

      The other agent's session that sent the messages.

403

Error.
JSON
  • error
    string
    required

404

Error.
JSON
  • error
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close