{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a dataset that selects gateway logs matching the specified filters for use in evaluations. Evaluations and datasets are deprecated and unavailable to new accounts.","properties":{"path":{"type":"object","properties":{"gateway_id":{"description":"Unique identifier of the AI Gateway within the account.","type":"string","maxLength":64,"minLength":1,"pattern":"^[a-z0-9_]+(?:-[a-z0-9_]+)*$","examples":["my-gateway"]},"account_id":{"type":"string","examples":["3ebbcb006d4d46d7bb6a8c7f14676cb0"]}},"required":["gateway_id","account_id"],"additionalProperties":false},"body":{"type":"object","properties":{"enable":{"type":"boolean"},"filters":{"type":"array","items":{"properties":{"key":{"type":"string","enum":["created_at","request_content_type","response_content_type","success","cached","provider","model","cost","tokens","tokens_in","tokens_out","duration","feedback"]},"operator":{"type":"string","enum":["eq","contains","lt","gt"]},"value":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}},"required":["key","operator","value"],"type":"object"}},"name":{"type":"string"}},"required":["name","filters","enable"]}},"required":["path"],"additionalProperties":false},"name":"Create a dataset (deprecated)","id":"cloudflare.aig-config-create-dataset","example":{"path":{"gateway_id":"my-gateway","account_id":"3ebbcb006d4d46d7bb6a8c7f14676cb0"}},"maxRequests":1,"summary":false}}