Voxli Voxli

Test Results

Update conversation message metadata

Merge metadata into an existing conversation message, addressed by its server-generated id.

Use this to attach data that becomes available after a message was recorded, such as metrics or tracing details. Top-level metadata keys overwrite existing ones; other keys are preserved. Rejected (409) once processing has started, since scoring reads the conversation as recorded. Returns the updated entry.

PATCH /test-results/{id}/conversation/{message_id}

Authorization

HeaderTypeDescription
Authorizationrequired
string
Header with your API key as a Bearer token: Bearer <api-key>. See Authentication.

Path parameters

NameTypeDescription
idrequired
string
ID of the test result
message_idrequired
string
ID of the conversation message to update

Body

application/json
PropertyTypeDescription
metadatarequired
object
Metadata keys to merge into the message's metadata (max 100KB after merging). Top-level keys overwrite existing ones; other keys are preserved.

Response

  • 200Successful Response
PropertyTypeDescription
id
string
Server-generated identifier used to address this message, e.g. when attaching metadata after the fact.
role
enum<string>
user is the simulated user (Voxli's tester), assistant the agent under test.
Allowed values: user, assistantDefault: "assistant"
type
enum<string>
Allowed values: message, tool, internal-event, public-event, actionDefault: "message"
content
string
name
string
metadata
object
Optional user-defined metadata for tool calls. Can contain any JSON-serializable data (max 100KB).
createdAt
string (date-time)
UTC time the message was added to the conversation.

Conversations

Import a conversation