{"acl_categories":["@timeseries","@write","@fast"],"arguments":[{"name":"key","type":"key"},{"name":"retentionPeriod","optional":true,"token":"RETENTION","type":"integer"},{"arguments":[{"name":"uncompressed","token":"UNCOMPRESSED","type":"pure-token"},{"name":"compressed","token":"COMPRESSED","type":"pure-token"}],"name":"enc","optional":true,"token":"ENCODING","type":"oneof"},{"name":"size","optional":true,"token":"CHUNK_SIZE","type":"integer"},{"arguments":[{"name":"block","token":"BLOCK","type":"pure-token"},{"name":"first","token":"FIRST","type":"pure-token"},{"name":"last","token":"LAST","type":"pure-token"},{"name":"min","token":"MIN","type":"pure-token"},{"name":"max","token":"MAX","type":"pure-token"},{"name":"sum","token":"SUM","type":"pure-token"}],"name":"policy","optional":true,"token":"DUPLICATE_POLICY","type":"oneof"},{"arguments":[{"name":"ignoreMaxTimediff","type":"integer"},{"name":"ignoreMaxValDiff","type":"double"}],"name":"ignore","optional":true,"token":"IGNORE","type":"block"},{"arguments":[{"name":"label","type":"string"},{"name":"value","type":"string"}],"multiple":true,"name":"labels","optional":true,"token":"LABELS","type":"block"}],"categories":["docs","develop","stack","oss","rs","rc","oss","kubernetes","clients"],"complexity":"O(1)","description":"Create a new time series","duplicateOf":"head:data-ai-metadata","group":"timeseries","location":"body","since":"1.0.0","syntax_fmt":"TS.CREATE key [RETENTION retentionPeriod] [ENCODING \u003cUNCOMPRESSED |\n COMPRESSED\u003e] [CHUNK_SIZE size] [DUPLICATE_POLICY \u003cBLOCK | FIRST |\n LAST | MIN | MAX | SUM\u003e] [LABELS label value [label value ...]]","title":"TS.CREATE","tableOfContents":{"sections":[{"id":"required-arguments","title":"Required arguments"},{"id":"optional-arguments","title":"Optional arguments"},{"id":"examples","title":"Examples"},{"id":"redis-software-and-redis-cloud-compatibility","title":"Redis Software and Redis Cloud compatibility"},{"id":"return-information","title":"Return information"},{"id":"see-also","title":"See also"},{"id":"related-topics","title":"Related topics"}]},"codeExamples":[]}