Dardaris

Write or rework a reply with Dardaris

Writes the reply to a conversation, or improves, shortens, elaborates or otherwise changes the one the owner is writing. It reads the latest message, the earlier letters with that correspondent, and only the facts their role allows them to be told, and nothing it writes is sent: the text comes back for the owner to edit.

A version that states a figure found in none of that is refused rather than returned.

post/api/v1/handling/{threadId}/compose

Request

  • Base URL: http://localhost:5180
  • URL: http://localhost:5180/api/v1/handling/{threadId}/compose
  • Auth: API key in cookie better-auth.session_token

Path parameters

threadIdstring required

Conversation id, e.g. thr_004.

Request body

action'write' | 'improve' | 'shorten' | 'elaborate' | 'custom' required

write drafts the reply from the conversation; the others rework text. With text empty, every action writes.

textstring required

What the owner has written so far.

instructionstring

What to change, in the owner’s words. Required for custom.

Response

The text, or why there is none.

okunknown required

Changes

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