---
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 7 of 19 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
- **2026-08-13** `4e064cf81dae`: 4 breaking, 278 warning, 8 info
- **2026-07-31** `c26d550029f8`: 10 breaking, 1 warning, 284 info
- **2026-07-26** `77d94e49bc7a`: 56 warning

## 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`
- **2026-08-13** `4e064cf81dae`: 4 breaking, 278 warning, 8 info
  - the response property `id` became optional for the status `201`
  - the `environment` response's property type changed from no type to `string` for status `201`
  - the `id` response's property type changed from `integer` to `string` for status `201`
  - the `status` response's property type changed from no type to `string` for status `201`
  - removed the request property `LLM_based_answer_relevance`
  - removed the request property `LLM_based_context_precision`
  - removed the request property `LLM_based_faithfulness`
  - removed the request property `amount_to_pay`
  - removed the request property `audio_input_file`
  - removed the request property `audio_output_file`
  - removed the request property `audio_response_format`
  - removed the request property `base64_embedding`
  - removed the request property `based_log_unique_id`
  - removed the request property `blurred`
  - removed the request property `cache_bit`
  - removed the request property `cache_key`
  - removed the request property `cache_miss_bit`
  - removed the request property `cached`
  - removed the request property `calling_model`
  - removed the request property `category`
  - removed the request property `company_organization`
  - removed the request property `completion_message`
  - removed the request property `completion_messages`
  - removed the request property `completion_text`
  - removed the request property `completion_text_vector`
  - removed the request property `completion_tokens`
  - removed the request property `cost`
  - removed the request property `covered_by`
  - removed the request property `custom_endpoint`
  - removed the request property `custom_identifier`
  - removed the request property `custom_region`
  - removed the request property `customer_email`
  - removed the request property `customer_identifier`
  - removed the request property `customer_name`
  - removed the request property `customer_user`
  - removed the request property `customer_user_unique_id`
  - removed the request property `deployment_name`
  - removed the request property `dimensions`
  - removed the request property `embedding`
  - removed the request property `encoding_format`
  - …250 more
- **2026-07-31** `c26d550029f8`: 10 breaking, 1 warning, 284 info
  - the response property `latency` became nullable for the status `201`
  - the response property `prompt_cache_creation_tokens` became nullable for the status `201`
  - the response property `prompt_cache_hit_tokens` became nullable for the status `201`
  - the response property `time_to_first_token` became nullable for the status `201`
  - the response property `unique_id` became nullable for the status `201`
  - added `#/components/schemas/EnvironmentA4fEnum, #/components/schemas/BlankEnum` to the `environment` response property `oneOf` list for the response status `201`
  - added `#/components/schemas/RequestLogCreateStatusEnum, #/components/schemas/BlankEnum` to the `status` response property `oneOf` list for the response status `201`
  - the `environment` response's property type changed from `string` to no type for status `201`
  - the `id` response's property type changed from `string` to `integer` for status `201`
  - the `status` response's property type changed from `string` to no type for status `201`
  - removed the optional property `organization_id` from the response with the `201` status
  - added the new optional request property `LLM_based_answer_relevance`
  - added the new optional request property `LLM_based_context_precision`
  - added the new optional request property `LLM_based_faithfulness`
  - added the new optional request property `amount_to_pay`
  - added the new optional request property `audio_input_file`
  - added the new optional request property `audio_output_file`
  - added the new optional request property `audio_response_format`
  - added the new optional request property `base64_embedding`
  - added the new optional request property `based_log_unique_id`
  - added the new optional request property `blurred`
  - added the new optional request property `cache_bit`
  - added the new optional request property `cache_key`
  - added the new optional request property `cache_miss_bit`
  - added the new optional request property `cached`
  - added the new optional request property `calling_model`
  - added the new optional request property `category`
  - added the new optional request property `company_organization`
  - added the new optional request property `completion_message`
  - added the new optional request property `completion_messages`
  - added the new optional request property `completion_text`
  - added the new optional request property `completion_text_vector`
  - added the new optional request property `completion_tokens`
  - added the new optional request property `cost`
  - added the new optional request property `covered_by`
  - added the new optional request property `custom_endpoint`
  - added the new optional request property `custom_identifier`
  - added the new optional request property `custom_region`
  - added the new optional request property `customer_email`
  - added the new optional request property `customer_identifier`
  - …255 more
- **2026-07-26** `77d94e49bc7a`: 56 warning
  - removed the request property `completion_message`
  - removed the request property `completion_tokens`
  - removed the request property `completion_unit_price`
  - removed the request property `cost`
  - removed the request property `custom_identifier`
  - removed the request property `customer_identifier`
  - removed the request property `customer_params`
  - removed the request property `environment`
  - removed the request property `error_message`
  - removed the request property `frequency_penalty`
  - removed the request property `full_request`
  - removed the request property `full_response`
  - removed the request property `generation_time`
  - removed the request property `group_identifier`
  - removed the request property `input`
  - removed the request property `is_custom_prompt`
  - removed the request property `keywordsai_params`
  - removed the request property `latency`
  - removed the request property `log_type`
  - removed the request property `max_tokens`
  - removed the request property `messages`
  - removed the request property `metadata`
  - removed the request property `model`
  - removed the request property `output`
  - removed the request property `positive_feedback`
  - removed the request property `presence_penalty`
  - removed the request property `prompt_id`
  - removed the request property `prompt_messages`
  - removed the request property `prompt_name`
  - removed the request property `prompt_tokens`
  - removed the request property `prompt_unit_price`
  - removed the request property `properties`
  - removed the request property `respan_params`
  - removed the request property `response_format`
  - removed the request property `span_name`
  - removed the request property `span_parent_id`
  - removed the request property `span_workflow_name`
  - removed the request property `start_time`
  - removed the request property `status`
  - removed the request property `status_code`
  - …16 more

---

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