prompts

Update Prompt

post/v1/prompts/update

Query parameters

idstring uuid required

Request body

Response

Successful Response

idstring uuid required
user_idstring uuid required
contentstring
context_endpointstring nullable

Changes

Changed in 4 of the 31 revisions of this API.919

  • 63991d99e2e1714See the full diff
    • removed subschema #1 from the collect_fields request property anyOf list

      request-property-any-of-removed

    • response property collect_fields list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property context_endpoint list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • the prompt_template response's property type/format changed from object/ to / for status 200

      response-property-type-changed

    • removed the required property prompt_template/id from the response with the 200 status

      response-required-property-removed

    • removed the required property prompt_template/required_context_keys from the response with the 200 status

      response-required-property-removed

    • removed the required property prompt_template/user_id from the response with the 200 status

      response-required-property-removed

    • removed the optional property prompt_template/label from the response with the 200 status

      response-optional-property-removed

    • added subschema #1 subschema #3 to the collect_fields request property anyOf list

      request-property-any-of-added

    • added subschema #3 to the context_endpoint request property anyOf list

      request-property-any-of-added

    • added subschema #4 to the prompt_template request property anyOf list

      request-property-any-of-added

    • added PromptTemplate subschema #2 to the prompt_template response property anyOf list for the response status 200

      response-property-any-of-added

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

  • eb14a21c478e13See the full diff
    • the response property content became optional for the status 200

      response-property-became-optional

    • added the new optional request property prompt_template

      new-optional-request-property

    • added the optional property prompt_template to the response with the 200 status

      response-optional-property-added

    • the content response's property default value was added for the status 200

      response-property-default-value-added

    • removed the enum value field_type_address of the request property collect_fields/anyOf[subschema #1]/items/field_type

      request-property-enum-value-removed

    • removed the field_type_address enum value from the collect_fields/items/field_type response property for the response status 200

      response-property-enum-value-removed

    • endpoint added

      endpoint-added