Backoffice

Create Tools Service Execution Log Route

Changed on

Store a tools service execution log.

post/backoffice/tools-service/execution-logs

Request

  • Base URL
    https://api.toolhouse.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.toolhouse.ai/backoffice/tools-service/execution-logs
  • Auth
    HTTP bearer

Request body

user_idstring nullable
tool_namestring required
provider_namestring nullable
toolhouse_idstring nullable
toolhouse_id_namespacestring nullable
raw_toolhouse_idstring nullable
request_idstring nullable
sourcestring required
status'success' | 'error' required
started_atstring date-time required
finished_atstring date-time required
duration_msinteger required
credits_usedinteger
inputobject
outputobject nullable
errorstring nullable
credit_reservation_idinteger nullable

Response

Tools service execution log stored successfully

user_idstring nullable
tool_namestring required
provider_namestring nullable
toolhouse_idstring nullable
toolhouse_id_namespacestring nullable
raw_toolhouse_idstring nullable
request_idstring nullable
sourcestring required
status'success' | 'error' required
started_atstring date-time required
finished_atstring date-time required
duration_msinteger required
credits_usedinteger
inputobject
outputobject nullable
errorstring nullable
credit_reservation_idinteger nullable
idinteger required
created_atstring date-time required

Changes

    • breaking

      removed the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status