API reference

KYE Protocol™ — Native Engines API

12 operations · native-engines.openapi.yaml

Servers
https://api.kyeprotocol.com
Version
1.0.0
Source
native-engines.openapi.yaml

Public REST surface for the four named sub-engines:

KYE™ Data Mapping Agent™ · /v1/data-flow KYE™ Native Search Engine™ · /v1/search KYE™ Memory Engine™ · /v1/memory KYE™ Reporting Engine™ · /v1/reports

Every endpoint returns a signed envelope replayable offline from the per-tenant published signing key alone. The synthesis construction is part of the patent track and is not disclosed in this repository — what is documented here is the observable contract only.

Base path: /v1/. Host: api.kyeprotocol.com.

POST/v1/searchRun a tenant-scoped query against the native search engine.

Returns a signed kye.search_result.v1 envelope. The construction is part of the patent track and is not disclosed in this repository — only the observable contract (request shape, response envelope, filter inputs) is documented here.

Auth: bearerAuth

Request body (required)

fieldtypedescription
index requiredstringOne of consultants, partners, widgets, oss-packages, evidence-packs, decisions
q requiredstring
classification_floorstringRows above the caller's floor are silently withheld and counted.
risk_tier_maxstringOne of minimal, limited, high, unacceptable, prohibited
limitinteger
offsetinteger
modestringOne of lexical, semantic, hybrid

Responses

  • 200 Signed search result envelope.
  • 400 Bad request (unknown index / empty query).
  • 401 Missing bearer token.
  • 402 Entitlement missing (capability=search.read not in active SKU).
  • 403 Tenant suspended or key revoked.
GET/v1/search/runsList the caller tenant's last 100 search runs (WORM-persisted).

Auth: bearerAuth

Responses

  • 200 search_query_log rows.

memory

GET/v1/memoryList the caller tenant's non-forgotten memory records.

Auth: bearerAuth

Responses

  • 200 Memory record list.
POST/v1/memoryWrite a signed agent-memory record.

Auth: bearerAuth

Request body (required)

fieldtypedescription
agent_entity_id requiredstring
memory_class requiredstringOne of preference, observation, fact, evaluation, recall_hint
purpose requiredstringDeclared purpose; cross-purpose recalls are denied at the gate.
content requiredobject

Responses

  • 200 Signed memory envelope.
POST/v1/memory/recallRecall under a declared purpose; cross-purpose reads are denied.

Auth: bearerAuth

Request body (required)

fieldtypedescription
agent_entity_id requiredstring
purpose requiredstring
limitinteger

Responses

  • 200 Recall envelope.
  • 403 Cross-purpose recall denied at the gate.
POST/v1/memory/forgetTombstone a memory record (WORM-preserved deletion).

Auth: bearerAuth

Responses

  • 200 Signed forget envelope.

data-flow

GET/v1/data-flowList recent data-flow seals for the caller tenant.

Auth: bearerAuth

Responses

  • 200 Seal list.
POST/v1/data-flowTrigger a fresh signed data-flow graph seal.

Auth: bearerAuth

Responses

  • 200 Signed kye.data_flow_graph.v1 envelope.

reports

GET/v1/reportsList the caller tenant's recent reports.

Auth: bearerAuth

Responses

  • 200 Report list with count_this_quarter + frameworks_covered KPIs.
POST/v1/reportsGenerate a signed per-framework compliance report.

Auth: bearerAuth

Request body (required)

fieldtypedescription
report_kind requiredstringOne of soc2_type2, iso_27001, iso_42001, eu_ai_act, dora, gdpr, pci_dss, nist_800_207, nist_ai_rmf, fedramp, bcbs_239, sr_11_7
framework requiredstring
period_start requiredstring
period_end requiredstring

Responses

  • 200 Signed kye.report.v1 envelope.
GET/v1/reports/{report_id}Fetch one signed report envelope by id.

Auth: bearerAuth

Parameters

nameintypedescription
report_id requiredpathstring

Responses

  • 200 Signed kye.report.v1 envelope.
POST/v1/reports/{report_id}/deliverAuto-deliver a report envelope via the `reports@`-routed mail flow.

Auth: bearerAuth

Parameters

nameintypedescription
report_id requiredpathstring

Request body (required)

fieldtypedescription
recipients requiredarray

Responses

  • 200 Signed kye.report.delivery.v1 receipt.