Skip to main content
Training Data

Get a Q&A entry

Returns a single Q&A entry by ID.

GET
/v2/training_data/qna/{id}
Authorizationstringheaderrequired

API key as Bearer token. Use: Authorization: Bearer sk_...

idstringrequired

The Q&A entry ID

Example: 67ec1234abcd5678ef901235
Featurebase-Versionenum<string>header

API version for this request. Defaults to your organization's configured API version if not specified.

Available options: 2026-08-19.orbit, 2026-01-01.nova, 2025-12-12.clover
Example: 2026-08-19.orbit

Response

application/json

Success

answerstringrequired

The answer the AI agent gives (markdown)

Example: You can request a refund within 30 days from **Settings → Billing**.
createdAtstringrequired

ISO timestamp of creation

Example: 2026-09-03T10:15:00.000Z
externalIdstring | nullrequired

Stable identifier supplied by the source system

Example: resolution-1842
idstringrequired

Q&A entry ID

Example: 67ec1234abcd5678ef901235
indexStatusenum<string>required

Whether the entry is searchable by the AI agent. failed entries are stored and indexing is retried hourly up to three times. Re-send the resource to retry after exhaustion.

Available options: pending, indexed, failed
Example: indexed
matchobject | null

Present only when onMatch was passed and the check ran: the verdict and the closest existing item, even when the write went ahead. null otherwise (the default), including when the payload was unchanged.

objectenum<string>required

Object type identifier

Available options: qna
Example: qna
outcomeenum<string>

What the write did — present on create and update responses. created: a new entry. updated: an entry already carried one of the questions (or was merged into with onMatch: "update") and got new content or an indexing retry. unchanged: everything in the payload was already on that entry; nothing written, nothing re-indexed.

Available options: created, updated, unchanged
Example: created
questionsstring[]required

Question variants the answer applies to

revisionintegerrequired

Q&A revision. Send it as expectedRevision on PATCH to reject stale changes.

Example: 1
sourcestring | nullrequired

Pipeline label, if one was set

Example: resolved-conversations
titlestringrequired

Short label for the entry

Example: Refund requests
updatedAtstringrequired

ISO timestamp of the last change

Example: 2026-09-03T10:15:30.000Z