Skip to main content
GET
FIXED · agent One live knowledge base belongs to an agent. Its attached numbers use that base on enabled channels. Only the active revision and eligible, unsuppressed pieces enter live retrieval. NOT OFFERED → do this instead · number Knowledge and its enabled channels belong to the agent. Retired per-number knowledge operations return 410 number_knowledge_removed. Use separate agents when a number needs different knowledge or none. YOU CAN CHANGE · source Use pasted text, PDF, DOCX or plain UTF-8 text, or discover a website and import selected pages. API submissions can request review. SCOPE · agent Review knowledge drafts and publish approved material. Limits per base: sources 50 · kbTokens 100,000 · topics 1,000. Read the compact AI rules Read proposed pieces, review flags, reminders and draft revision.
Method: GET ·
Success: 200 ·
Scope: Owning account
The important part
  • Read the draft and its current revision before editing or accepting.
  • A preview scan is not publication clearance; review flagged content.

Authentication

Send Authorization: Bearer KEY_ID:KEY_SECRET using the owning account’s server-side API credential. API keys have Owner authority. With a personal dashboard session, Owner, Admin and Member may read visible knowledge; membership is checked before and after the read. Personal dashboard visibility can hide API-origin agents.

Request fields

Do not send a request body. This GET projects legacy normalization and repairs without saving them. Piece IDs are stable within the draft. Explicit save or accept persists the same repair through the write path. Keep the returned data.edit_revision before editing or accepting.

Response fields

200 OK returns the fields below. Where this operation queues work, follow the job and current revision until it finishes (accepted is not confirmed).

Example request

These examples target Node/CLI 0.11.0 and Python 0.4.0; confirm the installed version supports the method before use. The cURL tab uses Bash; CLI uses PowerShell. Python shows sync usage; AsyncNixflex uses the same JSON methods with async with and await. Set the account credential in NIXFLEX_API_KEY and the owned path identifiers shown below in environment variables. Keep private responses out of logs.
MCP does not offer this operation in MCP 0.5.0. The server read is now non-persisting, but an engine deployment does not register a new MCP tool. Use the documented SDK or HTTP read; check installed tool schemas before use.

Example response

Illustrative response; identifiers are placeholders and optional fields can be absent.

Errors

Failures use error.type, error.code, error.message, error.doc_url and optional error.details. Knowledge failures include a request ID in details when available. Read the safe message as text. A job can return HTTP 200 with state failed and error; that is a job failure, not an HTTP error. Source failures can arise during preparation after the initial accepted response.

Retry and idempotency

Use bounded retries for temporary read failures. This deployed GET does not persist repairs. Read the current edit revision before any deliberate save or acceptance; writes still need their own revision and idempotency checks.

Authorizations

Authorization
string
header
required

KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A verified personal dashboard Bearer session may be used where the operation documents role-based access.

Path Parameters

kb
string<uuid>
required

Opaque identifier. Keep it as a string.

id
string<uuid>
required

Opaque identifier. Keep it as a string.

Response

Successful response.

id
string<uuid>
required

Opaque identifier. Keep it as a string.

owner
string
required

Owning account ID.

kb
string<uuid>
required

Opaque identifier. Keep it as a string.

expected_rev
integer
required

Latest integer revision read from this resource; it must still match when the request runs.

Required range: x >= 1
data
object
required
created_at
string<date-time>
required

UTC timestamp.