Copy {
"content" : {
"application/json" : {
"schema" : {
"type" : "object" ,
"additionalProperties" : false,
"properties" : {
"data" : {
"type" : "object" ,
"additionalProperties" : false,
"properties" : {
"items" : {
"type" : "array" ,
"maxItems" : 100 ,
"items" : {
"type" : "object" ,
"additionalProperties" : true,
"properties" : {
"id" : {
"type" : "integer" ,
"minimum" : 1 ,
"maximum" : 9007199254740991
},
"user_id" : {
"type" : "integer" ,
"minimum" : 0 ,
"maximum" : 9007199254740991
},
"created_at" : {
"type" : "integer" ,
"minimum" : 0 ,
"maximum" : 9007199254740991
},
"type" : {
"type" : "integer" ,
"minimum" : 0 ,
"maximum" : 9007199254740991
},
"prompt_tokens" : {
"type" : "integer" ,
"minimum" : 0 ,
"maximum" : 9007199254740991
},
"completion_tokens" : {
"type" : "integer" ,
"minimum" : 0 ,
"maximum" : 9007199254740991
},
"use_time" : {
"type" : "integer" ,
"minimum" : 0 ,
"maximum" : 9007199254740991
},
"channel" : {
"type" : "integer" ,
"minimum" : 0 ,
"maximum" : 9007199254740991
},
"token_id" : {
"type" : "integer" ,
"minimum" : 0 ,
"maximum" : 9007199254740991
},
"username" : {
"type" : "string"
},
"token_name" : {
"type" : "string"
},
"model_name" : {
"type" : "string"
},
"channel_name" : {
"type" : "string"
},
"group" : {
"type" : "string"
},
"request_id" : {
"type" : "string"
},
"is_stream" : {
"type" : "boolean"
},
"quota" : {
"type" : "string" ,
"pattern" : "^(0|-?[1-9][0-9]{0,18})$" ,
"description" : "Canonical signed int64 native quota; unsafe native JSON numbers fail closed."
},
"quota_credits" : {
"type" : "string" ,
"pattern" : "^-?[0-9]+\\.[0-9]{4}$"
},
"quota_display" : {
"type" : "string" ,
"pattern" : "^-?[0-9]+\\.[0-9]{2}$"
},
"quota_per_usd" : {
"const" : 1000000
},
"task_id" : {
"type" : [
"string" ,
"null"
],
"maxLength" : 191
},
"resource_lookup" : {
"type" : "object" ,
"additionalProperties" : false,
"required" : [
"state" ,
"href"
],
"properties" : {
"state" : {
"type" : "string" ,
"enum" : [
"resolvable" ,
"not_applicable" ,
"not_retained" ,
"unknown"
]
},
"href" : {
"type" : [
"string" ,
"null"
],
"description" : "Relative authenticated resource metadata URL. Null if no safe lookup is possible. Resolvable does not guarantee retained output."
}
}
}
},
"required" : [
"id" ,
"quota" ,
"quota_credits" ,
"quota_display" ,
"quota_per_usd" ,
"task_id" ,
"resource_lookup"
],
"description" : "Safe native log projection plus owned generated-resource lookup. Self log id is a pagination sequence, not stable resource identity."
}
},
"total" : {
"type" : "integer" ,
"minimum" : 0 ,
"maximum" : 9007199254740991
},
"page" : {
"type" : "integer" ,
"minimum" : 1 ,
"maximum" : 10000
},
"size" : {
"type" : "integer" ,
"minimum" : 1 ,
"maximum" : 100
}
},
"required" : [
"items" ,
"total" ,
"page" ,
"size"
]
}
},
"required" : [
"data"
]
}
}
}
}