Skip to main content

GetLogsResponseSchema

page_numberintegerrequired

Current page number returned in this response.

tagsstring[]required

Distinct tags found in the returned log entries.

totalintegerrequired

Total number of matching log entries across all pages.

logs object[]

Paginated array of training log entries matching the query.

  • Array [
  • created_atstringrequired

    ISO 8601 timestamp when the log was created.

    has_been_synthesizedbooleanrequired

    Whether synthetic messages have been generated for this log.

    idintegerrequired

    Unique numeric identifier for the log entry.

    kwargsobjectrequired

    Additional keyword arguments stored with the log, if any.

    messages object[]required

    Ordered list of chat messages in this log.

  • Array [
  • rolestringrequired

    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.

    Possible values: [system, user, assistant]

    contentstring

    The text content of the message.

  • ]
  • modelstringrequired

    Name of the model that generated the response in this log.

    synthetic_messages[]required

    Synthesized messages generated from this log, if any.

    tagsstringrequired

    Comma-separated tag names applied to this log.

    updated_atstringrequired

    ISO 8601 timestamp of the most recent update.

    user_idintegerrequired

    ID of the user who created this log entry.

    organization_idinteger

    ID of the organization that owns this log entry.

    usageobject

    Token usage statistics for this log entry, if recorded.

    Default: null
  • ]
  • modelsstring[]

    Distinct model names referenced across the returned log entries.

    Default: null
    GetLogsResponseSchema
    {
    "page_number": 0,
    "tags": [
    "string"
    ],
    "total": 0,
    "logs": [
    {
    "created_at": "string",
    "has_been_synthesized": true,
    "id": 0,
    "kwargs": {},
    "messages": [
    {
    "role": "system",
    "content": null
    }
    ],
    "model": "string",
    "synthetic_messages": [
    null
    ],
    "tags": "string",
    "updated_at": "string",
    "user_id": 0,
    "organization_id": 0,
    "usage": {}
    }
    ],
    "models": [
    "string"
    ]
    }