Skip to main content
PATCH
Change a Q&A answer

Authorizations

X-API-Key
string
header
required

Path Parameters

entry_id
string<uuid>
required

Body

application/json

Request body for editing one Q&A answer (tri-state PATCH semantics).

answer

The answer as it should read now. The one it replaces is kept.

Required string length: 1 - 2000
question

The question as it should read now.

Required string length: 1 - 300

Response

Successful Response

One question the workspace answered once, which every reply the agents write reads.

answer
string
required

The answer the agents state when a reply asks it.

created_at
string<date-time>
required
created_by_user_id
string | null
required

Who first wrote it, or null for an API key.

id
string<uuid>
required
previous_answer
string | null
required

The answer this one replaced, or null when it was never changed.

question
string
required

The question, as last worded.

source_thread_id
string<uuid> | null
required

The inbox conversation whose question it answered, or null when it was written on the Q&A list or that conversation was deleted.

updated_at
string<date-time>
required
updated_by_user_id
string | null
required

Who wrote the answer as it stands, or null for an API key.

via
enum<string>
required

How the answer as it stands was written: person on the dashboard, assistant by the AI Assistant or an MCP client for a person, api by an API key.

Available options:
person,
assistant,
api
in_prompt
boolean
default:true

Whether the agents read this answer: the newest answers that fit max_qa_context_chars (GET /ai-context/) do. Computed on the list; a single entry reports true.