API reference

API reference · Recorder

Per key capture settings

GET/api/traces/captureSigned in session

Capture is off for every key until it is switched on here.

Answer 200

What each key captures, and the deployment's limits.

Fields of the 200 answer
FieldTypeWhat it is
settingsarray of CaptureSetting
settings[].keyIdinteger
settings[].enabledbooleanOff until switched on. Nothing is stored for a key that never asked.
settings[].retentionHoursinteger1 to 720. Bodies are deleted once the window passes.
settings[].updatedAtinteger
limitsobject
limits.maxBodyBytesinteger
limits.minRetentionHoursinteger
limits.maxRetentionHoursinteger
limits.defaultRetentionHoursinteger

Errors

  • 401OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter