{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"redocly_category":"Products","product_name":"Treasure Insights","type":"markdown"},"seo":{"title":"Schedule an Insights Model Build","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"schedule-an-insights-model-build","__idx":0},"children":["Schedule an Insights Model Build"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Schedule an Insights model build in Treasure Workflow. Treasure Data discourages hourly builds because they can affect performance for both Treasure Data and the analytics platform."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"timezone: UTC\nschedule:\n  daily>: 00:00:00\n+call_post_builds:\n  http>: \"https://{{baseurl}}/reporting/datamodels/xxxxxx/builds\"\n  method: POST\n  headers:\n    - authorization: \"TD1 ${secret:td.apikey}\"\n    - cache-control: \"no-cache\"\n    - accept: \"application/json\"\n    - content-type: \"application/json\"\n  content:\n    buildType: \"full\"\n  content_format: \"json\"\n  store_content: true\n+echo:\n  echo>: ${http.last_content}\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example workflow log:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"2020-08-16 06:49:03.037 +0000 [INFO] (0077@[1:test_datamodel_build]+test_datamodel_build+call_post_builds) io.digdag.core.agent.OperatorManager: http>:{{baseurl}}/reporting/datamodels/xxxxx/builds\n2020-08-16 06:49:03.057 +0000 [INFO] (0077@[1:test_datamodel_build]+test_datamodel_build+call_post_builds) io.digdag.standards.operator.HttpOperatorFactory$HttpOperator: Sending HTTP request: POST {{baseurl}}/reporting/datamodels/xxxxx/builds\n2020-08-16 06:49:03.586 +0000 [INFO] (0077@[1:test_datamodel_build]+test_datamodel_build+call_post_builds) io.digdag.standards.operator.HttpOperatorFactory$HttpOperator: Received HTTP response: POST {{baseurl}}/reporting/datamodels/xxxxx/builds: HttpContentResponse[HTTP/1.1 200 OK - 126 bytes]\n2020-08-16 06:49:04.024 +0000 [INFO] (0143@[1:test_datamodel_build]+test_datamodel_build+echo) io.digdag.core.agent.OperatorManager: echo>:\n{\"oid\":\"yyyyy\",\"buildType\":\"full\",\"status\":null,\"created\":null,\"started\":null,\"completed\":null}\n"},"children":[]}]},"headings":[{"value":"Schedule an Insights Model Build","id":"schedule-an-insights-model-build","depth":1}],"frontmatter":{"seo":{"title":"Schedule an Insights Model Build"}},"lastModified":"2026-06-01T11:27:28.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/customer-data-platform/treasure-insights/schedule-an-insights-model-build","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}