Decision Trail

Log Decision

Log an AI inference decision with full provenance.

Records the query, retrieved facts, model used, output produced, and optionally Ed25519-signs the decision record.

post/v1/decisions/log

Request

  • Base URL: https://api.grafomem.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.grafomem.com/v1/decisions/log
  • Auth: none declared

Request body

store_idstring required
session_idstring nullable
querystring required
retrieved_fact_refsinteger[]
retrieved_contentsstring[]
retrieval_scoresnumber[]
retrieval_optionsobject
model_idstring required
prompt_template_hashstring nullable
parametersobject
raw_outputstring required
parsed_outputobject nullable
output_tokensinteger nullable
latency_msinteger nullable
signing_keystring nullable
parent_decision_idstring nullable

Response

Successful Response

decision_idstring required
tenant_idstring required
store_idstring required
session_idstring nullable
created_atstring required
querystring required
retrieved_fact_refsinteger[]
retrieved_contentsstring[]
retrieval_scoresnumber[]
retrieval_optionsobject
model_idstring required
prompt_hashstring nullable
parametersobject
raw_outputstring required
parsed_outputobject nullable
output_tokensinteger nullable
latency_msinteger nullable
signaturestring nullable
public_keystring nullable
parent_decision_idstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.