Browse the API reference

Assistants

Clone an assistant

View as Markdown
posthttps://www.getrevox.com/api/assistants/{id}/clone

Create a full copy of an existing assistant, including every configuration field. The new assistant has the same configuration as the source, with the name suffixed by "(Copy)" and a freshly generated API key. Pass type: "sub-assistant" to import a standalone assistant into a multi-step flow: the copy keeps the source name, is hidden from the assistants list, and is ready to be wired into a flow via the /assistants/:id/edges endpoints.

Path parameters

  • idstringrequired

Responses

200Success
400Invalid request: the body or a parameter failed validation
  • messagestring
  • errorstring
  • bodyErrorsobject

    The validation errors returned from the API.

    Show 1 field
    • issuesarray of objectrequired
      Show 3 fields
      • patharray of one ofrequired
        Show 2 variants
        1. One ofstringstring

        2. One ofnumbernumber

      • messagestringrequired
      • codestring
404Not found in your organization
  • errorstringrequired
500Server error
  • messagestring
  • errorstring
  • bodyErrorsobject

    The validation errors returned from the API.

    Show 1 field
    • issuesarray of objectrequired
      Show 3 fields
      • patharray of one ofrequired
        Show 2 variants
        1. One ofstringstring

        2. One ofnumbernumber

      • messagestringrequired
      • codestring