Prompts

Move a Prompt

Moves a prompt from its current project to another project. Requires admin capability on both the source and target project (owning-team or org admin).

post/v1/prompts/{id}/move

Path parameters

idstring uuid required

Request body

project_idstring uuid required

The target project to move the prompt into.

Response

Prompt successfully moved

Changes

Changed in 3 of the 18 revisions of this API.214

  • bed7a47c6f25212See the full diff
    • added the new required request property project_id

      new-required-request-property

    • removed the required property prompt/team_id from the response with the 200 status

      response-required-property-removed

    • removed the request property team_id

      request-property-removed

    • added the non-success response with the status 409

      response-non-success-status-added

    • added the required property prompt/project_id to the response with the 200 status

      response-required-property-added

    • the endpoint scheme security ApiKeyAuth was removed from the API

      api-security-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added