chat_generated_pages

Create Proposal

Create a chat-scoped proposal for a GeneratedPage creation or edit.

post/api/domains/{domain_id}/chat/generated-pages/proposals

Request

  • Base URL
    https://api-v1.unusual.ai (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: /auth/login

Path parameters

domain_idstring required

Headers

x-view-asstring nullable

Request body

kindstring required

"creation" or "edit"

chat_idstring nullable
user_message_idstring nullable
assistant_message_idstring nullable
titlestring nullable
meta_descriptionstring nullable
proposed_markdownstring nullable
target_page_idstring nullable
page_slugstring nullable
anchor_textstring nullable
new_textstring nullable
new_meta_descriptionstring nullable
summarystring nullable

Response

Successful Response

idstring uuid required
domain_idstring uuid required
kindstring required
target_page_idstring uuid nullable required
page_slugstring nullable required
titlestring nullable required
meta_descriptionstring nullable required
proposed_markdownstring nullable required
anchor_textstring nullable required
new_textstring nullable required
new_meta_descriptionstring nullable required
revised_anchor_textstring nullable required
revised_new_textstring nullable required
revised_meta_descriptionstring nullable required
revised_markdownstring nullable required
summarystring nullable required
statusstring required
chat_idstring uuid nullable required
user_message_idstring uuid nullable required
assistant_message_idstring uuid nullable required
before_version_idstring uuid nullable required
after_version_idstring uuid nullable required
created_bystring nullable required
costnumber nullable required
created_atunknown required
updated_atunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.