Get trace context

Returns a window of messages centered on a message index within a trace.

get/api/v1/data/conversations/{conversationId}/context

Request

  • Base URL
    https://moda.dev
  • Auth
    API key in header x-api-key

Path parameters

conversationIdstring required

Trace ID (the conversation_id field).

Query parameters

msg_indexinteger

Zero-based message index to center on.

windowinteger

Messages before and after the center.

Response

Successful response.

object required

The requested trace message window and available context metadata.

Changes

No recorded changes to this operation across all 1 revision of this API.