---
title: "Changes to Create a span"
method: POST
path: "/api/request-logs/"
---

# Changes to Create a span

`POST /api/request-logs/`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 12 revisions.

- **2026-10-21** `c30bcb383ee8`: 5 breaking, 58 info
- **2026-10-02** `b830b79cfd52`: 4 warning, 3 info
- **2026-09-17** `6fa8242da8c2`: 1 warning, 1 info
- **2026-09-12** `22b868ef3f22`: 1 info

## Changes

- **2026-10-21** `c30bcb383ee8`: 5 breaking, 58 info
  - added the new required request property `model`
  - request body became required
  - the `cost` response's property format changed from `double` to no format for status `201`
  - the `latency` response's property format changed from `double` to no format for status `201`
  - the `time_to_first_token` response's property format changed from `double` to no format for status `201`
  - api operation id `spans_createSpan` removed and replaced with `createSpan`
  - api tag `Spans` added
  - api tag `spans` removed
  - added the new optional request property `completion_message`
  - added the new optional request property `completion_tokens`
  - added the new optional request property `completion_unit_price`
  - added the new optional request property `cost`
  - added the new optional request property `custom_identifier`
  - added the new optional request property `customer_identifier`
  - added the new optional request property `customer_params`
  - added the new optional request property `error_code`
  - added the new optional request property `error_message`
  - added the new optional request property `frequency_penalty`
  - added the new optional request property `full_request`
  - added the new optional request property `full_response`
  - added the new optional request property `generation_time`
  - added the new optional request property `group_identifier`
  - added the new optional request property `input`
  - added the new optional request property `is_custom_prompt`
  - added the new optional request property `keywordsai_params`
  - added the new optional request property `latency`
  - added the new optional request property `log_type`
  - added the new optional request property `max_tokens`
  - added the new optional request property `messages`
  - added the new optional request property `metadata`
  - added the new optional request property `output`
  - added the new optional request property `positive_feedback`
  - added the new optional request property `presence_penalty`
  - added the new optional request property `prompt_id`
  - added the new optional request property `prompt_messages`
  - added the new optional request property `prompt_name`
  - added the new optional request property `prompt_tokens`
  - added the new optional request property `prompt_unit_price`
  - added the new optional request property `properties`
  - added the new optional request property `respan_params`
  - …23 more
- **2026-10-02** `b830b79cfd52`: 4 warning, 3 info
  - added the new `failed` enum value to the `status` response property for the response status `201`
  - added the new `pending` enum value to the `status` response property for the response status `201`
  - added the new `running` enum value to the `status` response property for the response status `201`
  - added the new `warning` enum value to the `status` response property for the response status `201`
  - added the non-success response with the status `403`
  - removed the non-success response with the status `401`
  - removed the `error` enum value from the `status` response property for the response status `201`
- **2026-09-17** `6fa8242da8c2`: 1 warning, 1 info
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `RespanApiKey` was added to the API
- **2026-09-12** `22b868ef3f22`: 1 info
  - api operation id `create-span` removed and replaced with `spans_createSpan`

---

[Operation](https://skmtc.dev/respan/apis/respan-api/docs/api/request-logs/post.md) - [API](https://skmtc.dev/respan/apis/respan-api.md) - [Page](https://skmtc.dev/respan/apis/respan-api/changes/api/request-logs/post)
