Skip to main content
PUT
/
api
/
sdk
/
q-and-a
/
{q_and_a_id}
Update an existing QAndA
curl --request PUT \
  --url https://api.example.com/api/sdk/q-and-a/{q_and_a_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "question": "<string>",
  "answer": "<string>"
}
'
{
  "question": "<string>",
  "answer": "<string>",
  "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Path Parameters

q_and_a_id
string<uuid>
required

Body

application/json
question
string | null
answer
string | null

Response

Successful Response

question
string
required
answer
string
required
agent_id
string<uuid>
required
id
string<uuid>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required