Agent

Record one episodic tool-call trace event

T375. Hot path -- the MCP bridge calls this fire-and-forget after every tool invocation.

post/api/agent/sessions/{id}/trace-events

Request

  • Base URL: http://localhost:38200
  • URL: http://localhost:38200/api/agent/sessions/{id}/trace-events
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

idinteger required

Request body

tool_namestring required
argsobject
resultunknown
duration_msinteger

Response

Recorded trace event.

idinteger
tenantIdinteger nullable
sessionIdinteger
seqinteger
toolNamestring
argsJsonobject
resultJsonunknown
durationMsinteger nullable
summarystring nullable
createdAtstring date-time

Changes

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