SaveLogsRequestSchema
UTC timestamp of the original inference in ISO 8601 format (e.g. 2025-06-05T15:50:00Z).
messages object[]required
The conversation turns to save as a training example. Each message must have role (system, user, or assistant) and content. The total token count for all messages must not exceed 8,192 tokens.
Possible values: >= 1
The role of the message author. system sets the assistant's behavior and persona. user represents input from the human turn. assistant represents a prior model response included for multi-turn context.
The text content of the message.
Name of the model that produced this inference output.
Llama-3.3-70B-InstructAdditional metadata key-value pairs to store with the log entry.
When true, creates a synthetic data version of this log entry.
Optional tags to attach to this log entry for later dataset filtering.
Token usage statistics for the logged inference call.
{
"model": "Llama-3.3-70B-Instruct",
"creation_time": "2025-01-15T10:30:00.000000+00:00",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
],
"tags": "apitest"
}