{"openapi":"3.1.0","info":{"title":"Boardwalk organization API","version":"1.0.0","description":"Read-only organization data. Lists return object, data, and next_cursor; pass the cursor with the same filters. Requests lists contain completed and refused requests; a detail lookup can also return running requests. Times are ISO 8601 UTC; query time bounds are epoch milliseconds. Money is exact decimal micro-dollar strings. No balance requirement. Rate limits are independent from inference, per key and per org, per server task."},"servers":[{"url":"https://api.boardwalk.cloud"}],"paths":{"/v1/org/requests":{"get":{"operationId":"listRequests","summary":"list Requests","description":"Requires requests:read. The organization comes from the API key.","security":[{"apiKey":[]}],"x-required-scopes":["requests:read"],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":256}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":200}},{"name":"model_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"api_key_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["success","client_error","server_error"]}},{"name":"from","in":"query","required":false,"description":"Inclusive epoch milliseconds.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"to","in":"query","required":false,"description":"Exclusive epoch milliseconds.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestList"}}}},"400":{"description":"Invalid query","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, revoked, or expired credential, or inactive organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Missing scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found in this organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"405":{"description":"Unsupported method","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; obey Retry-After","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/org/requests/{request_id}":{"get":{"operationId":"getRequest","summary":"get Request","description":"Requires requests:read. The organization comes from the API key.","security":[{"apiKey":[]}],"x-required-scopes":["requests:read"],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Request"}}}},"400":{"description":"Invalid query","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, revoked, or expired credential, or inactive organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Missing scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found in this organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"405":{"description":"Unsupported method","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; obey Retry-After","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/org/receipts/{request_id}":{"get":{"operationId":"getReceipt","summary":"get Receipt","description":"Requires requests:read or inference:write. The organization comes from the API key.","security":[{"apiKey":[]}],"x-required-scopes":["requests:read","inference:write"],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Receipt"}}}},"400":{"description":"Invalid query","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, revoked, or expired credential, or inactive organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Missing scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found in this organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"405":{"description":"Unsupported method","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; obey Retry-After","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/org/models":{"get":{"operationId":"listOrgModels","summary":"list Org Models","description":"Requires models:read. The organization comes from the API key.","security":[{"apiKey":[]}],"x-required-scopes":["models:read"],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":256}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":200}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["pending","active","disabled"]}},{"name":"visibility","in":"query","required":false,"schema":{"type":"string","enum":["public","private"]}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelList"}}}},"400":{"description":"Invalid query","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, revoked, or expired credential, or inactive organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Missing scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found in this organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"405":{"description":"Unsupported method","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; obey Retry-After","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/org/models/{id}":{"get":{"operationId":"getOrgModel","summary":"get Org Model","description":"Requires models:read. The organization comes from the API key.","security":[{"apiKey":[]}],"x-required-scopes":["models:read"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Model"}}}},"400":{"description":"Invalid query","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, revoked, or expired credential, or inactive organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Missing scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found in this organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"405":{"description":"Unsupported method","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; obey Retry-After","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/org/deployments":{"get":{"operationId":"listDeployments","summary":"list Deployments","description":"Requires deployments:read. The organization comes from the API key.","security":[{"apiKey":[]}],"x-required-scopes":["deployments:read"],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":256}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":200}},{"name":"model_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["running","succeeded","failed","stopped"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentList"}}}},"400":{"description":"Invalid query","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, revoked, or expired credential, or inactive organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Missing scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found in this organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"405":{"description":"Unsupported method","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; obey Retry-After","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/org/deployments/{id}":{"get":{"operationId":"getDeployment","summary":"get Deployment","description":"Requires deployments:read. The organization comes from the API key.","security":[{"apiKey":[]}],"x-required-scopes":["deployments:read"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentDetail"}}}},"400":{"description":"Invalid query","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, revoked, or expired credential, or inactive organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Missing scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found in this organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"405":{"description":"Unsupported method","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; obey Retry-After","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/org/audit-events":{"get":{"operationId":"listAuditEvents","summary":"list Audit Events","description":"Requires audit:read. The organization comes from the API key.","security":[{"apiKey":[]}],"x-required-scopes":["audit:read"],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":256}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":200}},{"name":"actor_user_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"resource_type","in":"query","required":false,"schema":{"type":"string","enum":["org","membership","invitation","api_key","billing","model_config"]}},{"name":"from","in":"query","required":false,"description":"Inclusive epoch milliseconds.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"to","in":"query","required":false,"description":"Exclusive epoch milliseconds.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditEventList"}}}},"400":{"description":"Invalid query","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, revoked, or expired credential, or inactive organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Missing scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found in this organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"405":{"description":"Unsupported method","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; obey Retry-After","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/org/audit-events/{id}":{"get":{"operationId":"getAuditEvent","summary":"get Audit Event","description":"Requires audit:read. The organization comes from the API key.","security":[{"apiKey":[]}],"x-required-scopes":["audit:read"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditEvent"}}}},"400":{"description":"Invalid query","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, revoked, or expired credential, or inactive organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Missing scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found in this organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"405":{"description":"Unsupported method","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; obey Retry-After","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"bw_live_…"}},"schemas":{"Request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"object":{"type":"string","const":"request"},"state":{"type":"string","enum":["completed","refused","running"]},"model_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"api_key_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]},"endpoint":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"status_code":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"input_tokens":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"output_tokens":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"cache_read_tokens":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"cache_write_tokens":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"cost_micros":{"anyOf":[{"type":"string","pattern":"^\\d+$"},{"type":"null"}]},"ttft_ms":{"anyOf":[{"type":"number"},{"type":"null"}]},"latency_ms":{"anyOf":[{"type":"number"},{"type":"null"}]},"finish_reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"streamed":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"error":{"anyOf":[{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"param":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["code","message","param"],"additionalProperties":false},{"type":"null"}]},"receipt_url":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","object","state","model_id","model","api_key_id","endpoint","created_at","status_code","input_tokens","output_tokens","cache_read_tokens","cache_write_tokens","cost_micros","ttft_ms","latency_ms","finish_reason","streamed","error","receipt_url"],"additionalProperties":false},"RequestList":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"object":{"type":"string","const":"list"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"object":{"type":"string","const":"request"},"state":{"type":"string","enum":["completed","refused","running"]},"model_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"api_key_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]},"endpoint":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"status_code":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"input_tokens":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"output_tokens":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"cache_read_tokens":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"cache_write_tokens":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"cost_micros":{"anyOf":[{"type":"string","pattern":"^\\d+$"},{"type":"null"}]},"ttft_ms":{"anyOf":[{"type":"number"},{"type":"null"}]},"latency_ms":{"anyOf":[{"type":"number"},{"type":"null"}]},"finish_reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"streamed":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"error":{"anyOf":[{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"param":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["code","message","param"],"additionalProperties":false},{"type":"null"}]},"receipt_url":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","object","state","model_id","model","api_key_id","endpoint","created_at","status_code","input_tokens","output_tokens","cache_read_tokens","cache_write_tokens","cost_micros","ttft_ms","latency_ms","finish_reason","streamed","error","receipt_url"],"additionalProperties":false}},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["object","data","next_cursor"],"additionalProperties":false},"Model":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"object":{"type":"string","const":"org_model"},"slug":{"type":"string"},"display_name":{"type":"string"},"status":{"type":"string","enum":["pending","active","disabled"]},"visibility":{"type":"string","enum":["public","private"]},"hf_repo":{"type":"string"},"hf_revision":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"revision":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"status":{"type":"string","enum":["draft","active","superseded"]},"hf_revision":{"type":"string"},"dtype":{"type":"string"},"quantization":{"type":"string"},"max_model_len":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"engine":{"type":"string"},"engine_version":{"type":"string"},"gpu_pool":{"type":"string"},"gpu_count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"prices":{"type":"object","properties":{"input_micros_per_mtok":{"type":"string","pattern":"^\\d+$"},"output_micros_per_mtok":{"type":"string","pattern":"^\\d+$"},"cache_read_micros_per_mtok":{"type":"string","pattern":"^\\d+$"},"cache_write_micros_per_mtok":{"type":"string","pattern":"^\\d+$"}},"required":["input_micros_per_mtok","output_micros_per_mtok","cache_read_micros_per_mtok","cache_write_micros_per_mtok"],"additionalProperties":false},"verified_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]}},"required":["id","status","hf_revision","dtype","quantization","max_model_len","engine","engine_version","gpu_pool","gpu_count","prices","verified_at"],"additionalProperties":false},{"type":"null"}]}},"required":["id","object","slug","display_name","status","visibility","hf_repo","hf_revision","created_at","updated_at","revision"],"additionalProperties":false},"ModelList":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"object":{"type":"string","const":"list"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"object":{"type":"string","const":"org_model"},"slug":{"type":"string"},"display_name":{"type":"string"},"status":{"type":"string","enum":["pending","active","disabled"]},"visibility":{"type":"string","enum":["public","private"]},"hf_repo":{"type":"string"},"hf_revision":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"revision":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"status":{"type":"string","enum":["draft","active","superseded"]},"hf_revision":{"type":"string"},"dtype":{"type":"string"},"quantization":{"type":"string"},"max_model_len":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"engine":{"type":"string"},"engine_version":{"type":"string"},"gpu_pool":{"type":"string"},"gpu_count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"prices":{"type":"object","properties":{"input_micros_per_mtok":{"type":"string","pattern":"^\\d+$"},"output_micros_per_mtok":{"type":"string","pattern":"^\\d+$"},"cache_read_micros_per_mtok":{"type":"string","pattern":"^\\d+$"},"cache_write_micros_per_mtok":{"type":"string","pattern":"^\\d+$"}},"required":["input_micros_per_mtok","output_micros_per_mtok","cache_read_micros_per_mtok","cache_write_micros_per_mtok"],"additionalProperties":false},"verified_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]}},"required":["id","status","hf_revision","dtype","quantization","max_model_len","engine","engine_version","gpu_pool","gpu_count","prices","verified_at"],"additionalProperties":false},{"type":"null"}]}},"required":["id","object","slug","display_name","status","visibility","hf_repo","hf_revision","created_at","updated_at","revision"],"additionalProperties":false}},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["object","data","next_cursor"],"additionalProperties":false},"Deployment":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"object":{"type":"string","const":"deployment"},"model_id":{"type":"string","minLength":1,"maxLength":64},"model":{"type":"string"},"status":{"type":"string","enum":["screening","materializing","waiting","queued","provisioning","booting","checking","measuring","benchmarking","activating","activated","failed","cancelled"]},"failure_detail":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"ended_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"revision_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]},"hf_revision":{"anyOf":[{"type":"string"},{"type":"null"}]},"started_by_user_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]}},"required":["id","object","model_id","model","status","failure_detail","created_at","updated_at","ended_at","revision_id","hf_revision","started_by_user_id"],"additionalProperties":false},"DeploymentDetail":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"object":{"type":"string","const":"deployment"},"model_id":{"type":"string","minLength":1,"maxLength":64},"model":{"type":"string"},"status":{"type":"string","enum":["screening","materializing","waiting","queued","provisioning","booting","checking","measuring","benchmarking","activating","activated","failed","cancelled"]},"failure_detail":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"ended_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"revision_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]},"hf_revision":{"anyOf":[{"type":"string"},{"type":"null"}]},"started_by_user_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]},"phases":{"type":"array","items":{"type":"object","properties":{"status":{"type":"string"},"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["status","at"],"additionalProperties":false}},"checks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"passed":{"type":"boolean"},"detail":{"type":"string"}},"required":["name","passed"],"additionalProperties":false}},"revision":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"status":{"type":"string","enum":["draft","active","superseded"]},"hf_revision":{"type":"string"},"dtype":{"type":"string"},"quantization":{"type":"string"},"max_model_len":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"engine":{"type":"string"},"engine_version":{"type":"string"},"gpu_pool":{"type":"string"},"gpu_count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"prices":{"type":"object","properties":{"input_micros_per_mtok":{"type":"string","pattern":"^\\d+$"},"output_micros_per_mtok":{"type":"string","pattern":"^\\d+$"},"cache_read_micros_per_mtok":{"type":"string","pattern":"^\\d+$"},"cache_write_micros_per_mtok":{"type":"string","pattern":"^\\d+$"}},"required":["input_micros_per_mtok","output_micros_per_mtok","cache_read_micros_per_mtok","cache_write_micros_per_mtok"],"additionalProperties":false},"verified_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]}},"required":["id","status","hf_revision","dtype","quantization","max_model_len","engine","engine_version","gpu_pool","gpu_count","prices","verified_at"],"additionalProperties":false},{"type":"null"}]}},"required":["id","object","model_id","model","status","failure_detail","created_at","updated_at","ended_at","revision_id","hf_revision","started_by_user_id","phases","checks","revision"],"additionalProperties":false},"DeploymentList":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"object":{"type":"string","const":"list"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"object":{"type":"string","const":"deployment"},"model_id":{"type":"string","minLength":1,"maxLength":64},"model":{"type":"string"},"status":{"type":"string","enum":["screening","materializing","waiting","queued","provisioning","booting","checking","measuring","benchmarking","activating","activated","failed","cancelled"]},"failure_detail":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"ended_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"revision_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]},"hf_revision":{"anyOf":[{"type":"string"},{"type":"null"}]},"started_by_user_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]}},"required":["id","object","model_id","model","status","failure_detail","created_at","updated_at","ended_at","revision_id","hf_revision","started_by_user_id"],"additionalProperties":false}},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["object","data","next_cursor"],"additionalProperties":false},"AuditEvent":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"object":{"type":"string","const":"audit_event"},"actor_kind":{"type":"string","enum":["user","system","webhook","admin"]},"actor_user_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]},"resource_type":{"type":"string","enum":["org","membership","invitation","api_key","billing","model_config"]},"resource_id":{"type":"string"},"action":{"type":"string","enum":["created","updated","activated","deleted","revoked","invited","joined","role_changed","removed","resumed","granted"]},"before":{"$ref":"#/components/schemas/AuditEvent/$defs/__schema0"},"after":{"$ref":"#/components/schemas/AuditEvent/$defs/__schema1"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","object","actor_kind","actor_user_id","resource_type","resource_id","action","before","after","created_at"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/AuditEvent/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/AuditEvent/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/AuditEvent/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/AuditEvent/$defs/__schema1"}}]}}},"AuditEventList":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"object":{"type":"string","const":"list"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"object":{"type":"string","const":"audit_event"},"actor_kind":{"type":"string","enum":["user","system","webhook","admin"]},"actor_user_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]},"resource_type":{"type":"string","enum":["org","membership","invitation","api_key","billing","model_config"]},"resource_id":{"type":"string"},"action":{"type":"string","enum":["created","updated","activated","deleted","revoked","invited","joined","role_changed","removed","resumed","granted"]},"before":{"$ref":"#/components/schemas/AuditEventList/$defs/__schema0"},"after":{"$ref":"#/components/schemas/AuditEventList/$defs/__schema1"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","object","actor_kind","actor_user_id","resource_type","resource_id","action","before","after","created_at"],"additionalProperties":false}},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["object","data","next_cursor"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/AuditEventList/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/AuditEventList/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/AuditEventList/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/AuditEventList/$defs/__schema1"}}]}}},"Receipt":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"model":{"type":"string"},"hf_revision":{"type":"string"},"config_revision":{"type":"string"},"base_hf_revision":{"type":"string"},"adapter_hf_revision":{"type":"string"},"adapter_content_hash":{"type":"string"},"engine_version":{"type":"string"},"verification":{"anyOf":[{"type":"object","properties":{"checks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"passed":{"type":"boolean"},"detail":{"type":"string"}},"required":["name","passed"],"additionalProperties":false}},"outputFingerprints":{"type":"array","items":{"type":"object","properties":{"prompt":{"type":"string"},"sha256":{"type":"string"}},"required":["prompt","sha256"],"additionalProperties":false}},"fingerprintCard":{"anyOf":[{"type":"string"},{"type":"null"}]},"fidelity":{"type":"object","properties":{"tier":{"type":"string","enum":["exact","approximate"]},"suite":{"type":"string"},"suiteVersion":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"n":{"type":"integer","minimum":0,"maximum":9007199254740991},"passed":{"type":"object","properties":{"child":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"adapter":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"base":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["child","adapter","base"],"additionalProperties":false},"rule1":{"type":"object","properties":{"passed":{"type":"boolean"},"diffPoints":{"type":"number"},"standardErrorPoints":{"type":"number"}},"required":["passed","diffPoints","standardErrorPoints"],"additionalProperties":false},"rule2":{"type":"object","properties":{"status":{"type":"string","enum":["passed","failed","vacuous"]},"identicalAdapterChild":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"identicalBaseChild":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"medianDivergenceChars":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["status","identicalAdapterChild","identicalBaseChild","medianDivergenceChars"],"additionalProperties":false},"withinUlpMin":{"anyOf":[{"type":"number"},{"type":"null"}]},"measuredAt":{"type":"number"}},"required":["tier","suite","suiteVersion","n","passed","rule1","rule2","withinUlpMin","measuredAt"],"additionalProperties":false}},"required":["checks"],"additionalProperties":false},{"type":"null"}]},"endpoint":{"type":"string"},"usage":{"type":"object","properties":{"input_tokens":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"output_tokens":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cache_read_tokens":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"cache_write_tokens":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["input_tokens","output_tokens","cache_read_tokens","cache_write_tokens"],"additionalProperties":false},"prices":{"type":"object","properties":{"input_micros_per_mtok":{"type":"string","pattern":"^\\d+$"},"output_micros_per_mtok":{"type":"string","pattern":"^\\d+$"},"cache_read_micros_per_mtok":{"type":"string","pattern":"^\\d+$"},"cache_write_micros_per_mtok":{"type":"string","pattern":"^\\d+$"}},"required":["input_micros_per_mtok","output_micros_per_mtok","cache_read_micros_per_mtok","cache_write_micros_per_mtok"],"additionalProperties":false},"note":{"type":"string"},"cost_micros":{"type":"string","pattern":"^\\d+$"},"ttft_ms":{"anyOf":[{"type":"number"},{"type":"null"}]},"latency_ms":{"type":"number"},"finish_reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"status_code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"streamed":{"type":"boolean"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["request_id","model","hf_revision","engine_version","verification","endpoint","usage","prices","cost_micros","ttft_ms","latency_ms","finish_reason","status_code","streamed","created_at"],"additionalProperties":false},"Error":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string"},"type":{"type":"string"},"code":{"type":"string"},"param":{"anyOf":[{"type":"string"},{"type":"null"}]},"request_id":{"type":"string"}},"required":["message","type","code"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}}