prompts

Get Prompt

get/v1/prompts

Query parameters

idstring uuid required

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.715

  • 63991d99e2e1611See the full diff
    • 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 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

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

      response-property-became-optional

    • 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 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