Agent Memory

Record one Jev or Claude call made by the lab

post/api/v1/agent-memory/ai-usage

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/api/v1/agent-memory/ai-usage
  • Auth: HTTP bearer

Request body

external_call_idstring required
operation'label' | 'draft' | 'rule' | 'entry' required
provider'anthropic' | 'jev' required
modelstring required
status'success' | 'error' required
error_codestring
started_atstring date-time required
duration_msinteger required
input_tokensinteger
cached_input_tokensinteger
output_tokensinteger
reasoning_tokensinteger

Response

Recorded, or already recorded

recordedboolean required

Changes

No recorded changes to this operation across all 3 revisions of this API.