Skip to main content
POST
Add an answer to the Q&A

Authorizations

X-API-Key
string
header
required

Body

application/json

Request body for adding an answer to the Q&A.

answer
string
required

The answer the agents should state.

Required string length: 1 - 2000
question
string
required

The question as a reply would ask it. A question the Q&A already answers, whatever its case or closing punctuation, is the same question.

Required string length: 1 - 300
sequence_id
string<uuid> | null

Keep the answer for this one sequence's agent alone; null, the default, keeps it for every sequence.

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.

sequence_id
string<uuid> | null
required

The one sequence whose agent reads this answer, or null for every sequence. Where a sequence's own answer and the one for every sequence answer the same question, that sequence's agent reads its own.

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/) in each prompt it reaches do. Computed on the list; a single entry reports true.

sequence_name
string | null

The name of sequence_id's sequence; null for every sequence, or when that sequence is gone.