semconv.com

gen_ai.request.previous_response.id

DevelopmentGenAI registrystringas of v1.44.0

The unique identifier of a previous response or interaction used to provide context for the current operation.

Instrumentations SHOULD populate this attribute when the request references a previous response or interaction identifier to continue a conversation or pass prior context. For example, previous_response_id in OpenAI Responses API or previous_interaction_id in Google GenAI Interactions API.

Examples

Used by

spans (2)

  • gen_ai.inference.client
  • gen_ai.invoke_agent.client

* required on that signal.

History

    Definition sourceRegistry docsJSON