---
title: "Create Tools Service Execution Log Route"
method: POST
path: "/backoffice/tools-service/execution-logs"
tags: ["Backoffice"]
---

# Create Tools Service Execution Log Route

`POST /backoffice/tools-service/execution-logs`

Store a tools service execution log.

## Request body

- CreateToolsServiceExecutionLog — Create tools service execution log request.
  - `user_id` string, nullable
  - `tool_name` string, required
  - `provider_name` string, nullable
  - `toolhouse_id` string, nullable
  - `toolhouse_id_namespace` string, nullable
  - `raw_toolhouse_id` string, nullable
  - `request_id` string, nullable
  - `source` string, required
  - `status` 'success' | 'error', required
  - `started_at` string, date-time, required
  - `finished_at` string, date-time, required
  - `duration_ms` integer, required
  - `credits_used` integer
  - `input` object
  - `output` object, nullable
  - `error` string, nullable
  - `credit_reservation_id` integer, nullable

## Response `200`

Tools service execution log stored successfully

- ToolsServiceExecutionLog — Tools service execution log row.
  - `user_id` string, nullable
  - `tool_name` string, required
  - `provider_name` string, nullable
  - `toolhouse_id` string, nullable
  - `toolhouse_id_namespace` string, nullable
  - `raw_toolhouse_id` string, nullable
  - `request_id` string, nullable
  - `source` string, required
  - `status` 'success' | 'error', required
  - `started_at` string, date-time, required
  - `finished_at` string, date-time, required
  - `duration_ms` integer, required
  - `credits_used` integer
  - `input` object
  - `output` object, nullable
  - `error` string, nullable
  - `credit_reservation_id` integer, nullable
  - `id` integer, required
  - `created_at` string, date-time, required

## Other responses

- `422` — Validation Error
- `500` — Internal server error

---

[API](https://skmtc.net/toolhouse/apis/toolhouse-api.md) · [All operations](https://skmtc.net/toolhouse/apis/toolhouse-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/toolhouse/toolhouse-api/versions/6e3bad3564b3/schema)
