[{"data":1,"prerenderedAt":1624},["ShallowReactive",2],{"navigation_docs":3,"-applications-tickets-api-walkthrough":388,"-applications-tickets-api-walkthrough-surround":1619},[4,82,147,173,202,259,298,355],{"title":5,"icon":6,"redirect":7,"path":8,"stem":9,"children":10,"page":73},"Start","i-lucide-compass","\u002Fintro\u002Fquickstart","\u002Fintro","1.intro",[11,14,18,22,74,78],{"title":12,"path":7,"stem":13},"Quickstart","1.intro\u002F0.quickstart",{"title":15,"path":16,"stem":17},"Pipeline Applications","\u002Fintro\u002Fpipeline-app-walkthrough","1.intro\u002F1.pipeline-app-walkthrough",{"title":19,"path":20,"stem":21},"How Redgold works","\u002Fintro\u002Foverview","1.intro\u002F2.overview",{"title":23,"icon":24,"visibility":25,"redirect":26,"path":27,"stem":28,"children":29,"page":73},"Comparison","i-lucide-scale","private","\u002Fintro\u002Fcomparison\u002Fpositioning","\u002Fintro\u002Fcomparison","1.intro\u002F3.comparison",[30,33,37,41,45,49,53,57,61,65,69],{"title":31,"path":26,"stem":32},"Positioning","1.intro\u002F3.comparison\u002F1.positioning",{"title":34,"path":35,"stem":36},"vs Lovable","\u002Fintro\u002Fcomparison\u002Fvs-lovable","1.intro\u002F3.comparison\u002F10.vs-lovable",{"title":38,"path":39,"stem":40},"vs Cloudflare OS","\u002Fintro\u002Fcomparison\u002Fvs-cloudflare-os","1.intro\u002F3.comparison\u002F11.vs-cloudflare-os",{"title":42,"path":43,"stem":44},"vs a backend-as-a-service","\u002Fintro\u002Fcomparison\u002Fvs-baas","1.intro\u002F3.comparison\u002F2.vs-baas",{"title":46,"path":47,"stem":48},"vs serverless compute","\u002Fintro\u002Fcomparison\u002Fvs-serverless-compute","1.intro\u002F3.comparison\u002F3.vs-serverless-compute",{"title":50,"path":51,"stem":52},"vs a do-it-yourself data stack","\u002Fintro\u002Fcomparison\u002Fvs-diy-data-stack","1.intro\u002F3.comparison\u002F4.vs-diy-data-stack",{"title":54,"path":55,"stem":56},"vs Rama","\u002Fintro\u002Fcomparison\u002Fvs-rama","1.intro\u002F3.comparison\u002F5.vs-rama",{"title":58,"path":59,"stem":60},"vs Apache Spark","\u002Fintro\u002Fcomparison\u002Fvs-spark","1.intro\u002F3.comparison\u002F6.vs-spark",{"title":62,"path":63,"stem":64},"vs Apache DataFusion","\u002Fintro\u002Fcomparison\u002Fvs-datafusion","1.intro\u002F3.comparison\u002F7.vs-datafusion",{"title":66,"path":67,"stem":68},"vs Heroku","\u002Fintro\u002Fcomparison\u002Fvs-heroku","1.intro\u002F3.comparison\u002F8.vs-heroku",{"title":70,"path":71,"stem":72},"vs AI model providers","\u002Fintro\u002Fcomparison\u002Fvs-ai-providers","1.intro\u002F3.comparison\u002F9.vs-ai-providers",false,{"title":75,"path":76,"stem":77},"Common tasks","\u002Fintro\u002Fstarting-points","1.intro\u002F4.starting-points",{"title":79,"path":80,"stem":81},"FAQ","\u002Fintro\u002Ffaq","1.intro\u002F5.faq",{"title":83,"icon":84,"redirect":85,"path":86,"stem":87,"children":88,"page":73},"Examples","i-lucide-chef-hat","\u002Fcookbook\u002Foverview","\u002Fcookbook","10.cookbook",[89,91,95,99,103,107,111,115,119,123,127,131,135,139,143],{"title":83,"path":85,"stem":90},"10.cookbook\u002F1.overview",{"title":92,"path":93,"stem":94},"One-shot task in CI","\u002Fcookbook\u002Fone-shot-ci","10.cookbook\u002F10.one-shot-ci",{"title":96,"path":97,"stem":98},"Rate-limit retries","\u002Fcookbook\u002Fretry-rate-limits","10.cookbook\u002F11.retry-rate-limits",{"title":100,"path":101,"stem":102},"Connect GitHub review automation","\u002Fcookbook\u002Fconnect-github-app","10.cookbook\u002F12.connect-github-app",{"title":104,"path":105,"stem":106},"Delegate a task to another agent","\u002Fcookbook\u002Fdelegate-agent-task","10.cookbook\u002F13.delegate-agent-task",{"title":108,"path":109,"stem":110},"Validate a pipeline application change","\u002Fcookbook\u002Fvalidate-pipeline-app","10.cookbook\u002F14.validate-pipeline-app",{"title":112,"path":113,"stem":114},"Verify a managed application deployment","\u002Fcookbook\u002Fverify-managed-deploy","10.cookbook\u002F15.verify-managed-deploy",{"title":116,"path":117,"stem":118},"First API call","\u002Fcookbook\u002Ffirst-api-call","10.cookbook\u002F2.first-api-call",{"title":120,"path":121,"stem":122},"Python client","\u002Fcookbook\u002Fmodel-api-python","10.cookbook\u002F3.model-api-python",{"title":124,"path":125,"stem":126},"Anthropic Messages","\u002Fcookbook\u002Fanthropic-messages","10.cookbook\u002F4.anthropic-messages",{"title":128,"path":129,"stem":130},"Check credits","\u002Fcookbook\u002Fcheck-credits","10.cookbook\u002F5.check-credits",{"title":132,"path":133,"stem":134},"Query data via MCP","\u002Fcookbook\u002Fmcp-query-data","10.cookbook\u002F6.mcp-query-data",{"title":136,"path":137,"stem":138},"Drive an agent via MCP","\u002Fcookbook\u002Fmcp-drive-agent","10.cookbook\u002F7.mcp-drive-agent",{"title":140,"path":141,"stem":142},"Install the client","\u002Fcookbook\u002Finstall-client","10.cookbook\u002F8.install-client",{"title":144,"path":145,"stem":146},"Use another API host","\u002Fcookbook\u002Fpoint-client-at-host","10.cookbook\u002F9.point-client-at-host",{"title":148,"icon":149,"redirect":150,"path":151,"stem":152,"children":153,"page":73},"Agent operations","i-lucide-network","\u002Ffleet\u002Foverview","\u002Ffleet","11.fleet",[154,157,161,165,169],{"title":155,"path":150,"stem":156},"Running agent work","11.fleet\u002F0.overview",{"title":158,"path":159,"stem":160},"Workstreams and issues","\u002Ffleet\u002Fworkstreams-and-issues","11.fleet\u002F1.workstreams-and-issues",{"title":162,"path":163,"stem":164},"Agent lifecycle","\u002Ffleet\u002Fagent-lifecycle","11.fleet\u002F2.agent-lifecycle",{"title":166,"path":167,"stem":168},"Supervision and recovery","\u002Ffleet\u002Fsupervision","11.fleet\u002F3.supervision",{"title":170,"path":171,"stem":172},"An application workstream from request to delivery","\u002Ffleet\u002Fapplication-workstream","11.fleet\u002F4.application-workstream",{"title":174,"icon":175,"redirect":176,"path":177,"stem":178,"children":179,"page":73},"Architecture","i-lucide-layers","\u002Finfrastructure\u002Foverview","\u002Finfrastructure","3.infrastructure",[180,182,186,190,194,198],{"title":174,"path":176,"stem":181},"3.infrastructure\u002F0.overview",{"title":183,"path":184,"stem":185},"A request through the platform","\u002Finfrastructure\u002Frequest-path","3.infrastructure\u002F11.request-path",{"title":187,"path":188,"stem":189},"Agent work and durable state","\u002Finfrastructure\u002Fagent-work","3.infrastructure\u002F12.agent-work",{"title":191,"path":192,"stem":193},"Data and pipelines","\u002Finfrastructure\u002Fdata","3.infrastructure\u002F3.data",{"title":195,"path":196,"stem":197},"AI and agents","\u002Finfrastructure\u002Fai","3.infrastructure\u002F4.ai",{"title":199,"path":200,"stem":201},"Managed deployment","\u002Finfrastructure\u002Fdeployment","3.infrastructure\u002F7.deployment",{"title":203,"icon":204,"redirect":205,"path":206,"stem":207,"children":208,"page":73},"API","i-lucide-book-marked","\u002Freference\u002Fauthentication","\u002Freference","4.reference",[209,212,216,220,224,228,232,236,240,244,248],{"title":210,"path":205,"stem":211},"Authentication","4.reference\u002F1.authentication",{"title":213,"path":214,"stem":215},"Security disclosure policy","\u002Freference\u002Fsecurity-disclosure","4.reference\u002F11.security-disclosure",{"title":217,"path":218,"stem":219},"Model API","\u002Freference\u002Fllm-api","4.reference\u002F2.llm-api",{"title":221,"path":222,"stem":223},"MCP server","\u002Freference\u002Fmcp","4.reference\u002F2.mcp",{"title":225,"path":226,"stem":227},"Data platform preview","\u002Freference\u002Fdata-platform-preview","4.reference\u002F3.data-platform-preview",{"title":229,"path":230,"stem":231},"Terminal client","\u002Freference\u002Fcli","4.reference\u002F6.cli",{"title":233,"path":234,"stem":235},"Pipeline manifest preview","\u002Freference\u002Fpipeline-preview","4.reference\u002F7.pipeline-preview",{"title":237,"path":238,"stem":239},"Limits and retries","\u002Freference\u002Flimits","4.reference\u002F8.limits",{"title":241,"path":242,"stem":243},"API contract details","\u002Freference\u002Fapi-contracts","4.reference\u002F9.api-contracts",{"title":245,"path":246,"stem":247},"Errors","\u002Freference\u002Ferrors","4.reference\u002F9.errors",{"title":249,"icon":250,"visibility":251,"path":252,"stem":253,"children":254,"page":73},"Public API","i-lucide-route","public","\u002Freference\u002Froutes","4.reference\u002Froutes",[255],{"title":256,"path":257,"stem":258},"V1 routes","\u002Freference\u002Froutes\u002Fv1","4.reference\u002Froutes\u002Fv1",{"title":260,"icon":261,"visibility":25,"redirect":262,"path":263,"stem":264,"children":265,"page":73},"Develop","i-lucide-code","\u002Fdevelop\u002Fpipeline-apps\u002Foverview","\u002Fdevelop","5.develop",[266,270,286,290,294],{"title":267,"path":268,"stem":269},"Author a batch transform","\u002Fdevelop\u002Fauthor-a-batch-transform","5.develop\u002F10.author-a-batch-transform",{"title":271,"visibility":251,"redirect":262,"path":272,"stem":273,"children":274,"page":73},"Pipeline Apps","\u002Fdevelop\u002Fpipeline-apps","5.develop\u002F11.pipeline-apps",[275,278,282],{"title":276,"path":262,"stem":277},"Pipeline apps","5.develop\u002F11.pipeline-apps\u002F1.overview",{"title":279,"path":280,"stem":281},"Collaborative board walkthrough","\u002Fdevelop\u002Fpipeline-apps\u002Fcollaborative-board","5.develop\u002F11.pipeline-apps\u002F2.collaborative-board",{"title":283,"path":284,"stem":285},"Release and security lifecycle","\u002Fdevelop\u002Fpipeline-apps\u002Frelease-lifecycle","5.develop\u002F11.pipeline-apps\u002F3.release-lifecycle",{"title":287,"path":288,"stem":289},"Build a vertical","\u002Fdevelop\u002Fbuild-a-vertical","5.develop\u002F5.build-a-vertical",{"title":291,"path":292,"stem":293},"Managed application artifacts","\u002Fdevelop\u002Fscaffold-a-narrow-app","5.develop\u002F7.scaffold-a-narrow-app",{"title":295,"path":296,"stem":297},"Import your data","\u002Fdevelop\u002Fimport-your-data","5.develop\u002F8.import-your-data",{"title":299,"icon":300,"redirect":301,"path":302,"stem":303,"children":304,"page":73},"Guides","i-lucide-layout-grid","\u002Fapplications\u002Fai-agents\u002Foverview","\u002Fapplications","7.applications",[305,309,329,341],{"title":306,"path":307,"stem":308},"Application maturity catalog","\u002Fapplications\u002Fcatalog","7.applications\u002F0.catalog",{"title":310,"visibility":251,"path":311,"stem":312,"children":313,"page":73},"AI Agents","\u002Fapplications\u002Fai-agents","7.applications\u002F1.ai-agents",[314,317,321,325],{"title":315,"path":301,"stem":316},"Coding agents","7.applications\u002F1.ai-agents\u002F01.overview",{"title":318,"path":319,"stem":320},"GitHub App automation","\u002Fapplications\u002Fai-agents\u002Fgithub-app-automation","7.applications\u002F1.ai-agents\u002F04.github-app-automation",{"title":322,"path":323,"stem":324},"agent-cli assistance","\u002Fapplications\u002Fai-agents\u002Fagent-cli-assistance","7.applications\u002F1.ai-agents\u002F05.agent-cli-assistance",{"title":326,"path":327,"stem":328},"Agent REST control","\u002Fapplications\u002Fai-agents\u002Frest-agent-control","7.applications\u002F1.ai-agents\u002F06.rest-agent-control",{"title":330,"visibility":251,"path":331,"stem":332,"children":333,"page":73},"Tickets","\u002Fapplications\u002Ftickets","7.applications\u002F2.tickets",[334,337],{"title":330,"path":335,"stem":336},"\u002Fapplications\u002Ftickets\u002Foverview","7.applications\u002F2.tickets\u002F01.overview",{"title":338,"path":339,"stem":340},"API walkthrough","\u002Fapplications\u002Ftickets\u002Fapi-walkthrough","7.applications\u002F2.tickets\u002F02.api-walkthrough",{"title":342,"icon":343,"visibility":251,"path":344,"stem":345,"children":346,"page":73},"Case studies","i-lucide-book-open-check","\u002Fapplications\u002Fcase-studies","7.applications\u002F6.case-studies",[347,351],{"title":348,"path":349,"stem":350},"Case study: owner-scoped tickets","\u002Fapplications\u002Fcase-studies\u002Ftickets","7.applications\u002F6.case-studies\u002F01.tickets",{"title":352,"path":353,"stem":354},"Case study: repository review and correction","\u002Fapplications\u002Fcase-studies\u002Frepository-review","7.applications\u002F6.case-studies\u002F02.repository-review",{"title":356,"icon":357,"redirect":358,"path":359,"stem":360,"children":361,"page":73},"Resources","i-lucide-library","\u002Fresources\u002Fglossary","\u002Fresources","9.resources",[362,365,369,373,377,380,384],{"title":363,"path":358,"stem":364},"Glossary","9.resources\u002F1.glossary",{"title":366,"path":367,"stem":368},"Terms of Service","\u002Fresources\u002Fterms","9.resources\u002F2.terms",{"title":370,"path":371,"stem":372},"Privacy Policy","\u002Fresources\u002Fprivacy","9.resources\u002F3.privacy",{"title":374,"path":375,"stem":376},"Acceptable Use Policy","\u002Fresources\u002Facceptable-use","9.resources\u002F4.acceptable-use",{"title":79,"path":378,"stem":379},"\u002Fresources\u002Ffaq","9.resources\u002F5.faq",{"title":381,"path":382,"stem":383},"Documentation feedback","\u002Fresources\u002Fdocs-feedback","9.resources\u002F6.docs-feedback",{"title":385,"path":386,"stem":387},"Refund and Cancellation Policy","\u002Fresources\u002Frefund-cancellation","9.resources\u002F7.refund-cancellation",{"id":389,"title":390,"access":391,"audience":392,"body":393,"description":1610,"extension":1611,"last_verified":1612,"links":1613,"maturity":1614,"meta":1615,"navigation":1616,"path":339,"seo":1617,"stem":340,"__hash__":1618},"docs\u002F7.applications\u002F2.tickets\u002F02.api-walkthrough.md","Tickets API walkthrough","onboarding","developer",{"type":394,"value":395,"toc":1600},"minimark",[396,422,427,445,448,490,497,501,698,701,767,777,781,784,871,874,945,969,973,1061,1064,1146,1149,1153,1156,1267,1274,1368,1372,1454,1460,1464,1555,1560,1564,1596],[397,398,399,400,404,405,409,410,413,414,417,418,421],"p",{},"This walkthrough exercises the deployed tickets application through its authenticated ",[401,402,403],"code",{},"\u002Fv1\u002Ftickets\u002F*"," routes. Those routes are available to onboarded accounts for managed preview and are absent from the generated public allowlist in the ",[406,407,408],"a",{"href":257},"V1 route reference",", so they are outside the self-service public API contract. It demonstrates the same Rust serde schema → CBOR → route → executor → dataset path described in the ",[406,411,412],{"href":335},"tickets architecture overview",", using an ",[401,415,416],{},"sk-rg-"," key and ",[401,419,420],{},"curl",".",[423,424,426],"h2",{"id":425},"prerequisites","Prerequisites",[428,429,430,437],"ul",{},[431,432,433,434,436],"li",{},"A Redgold account and ",[401,435,416],{}," API key.",[431,438,439,441,442,421],{},[401,440,420],{}," and ",[401,443,444],{},"jq",[397,446,447],{},"Keep the key out of shell history by placing it in an environment variable:",[449,450,455],"pre",{"className":451,"code":452,"language":453,"meta":454,"style":454},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export REDGOLD_API_KEY=sk-rg-...\nexport REDGOLD_API=https:\u002F\u002Fapi.redgold.ai\n","bash","",[401,456,457,477],{"__ignoreMap":454},[458,459,462,466,470,474],"span",{"class":460,"line":461},"line",1,[458,463,465],{"class":464},"spNyl","export",[458,467,469],{"class":468},"sTEyZ"," REDGOLD_API_KEY",[458,471,473],{"class":472},"sMK4o","=",[458,475,476],{"class":468},"sk-rg-...\n",[458,478,480,482,485,487],{"class":460,"line":479},2,[458,481,465],{"class":464},[458,483,484],{"class":468}," REDGOLD_API",[458,486,473],{"class":472},[458,488,489],{"class":468},"https:\u002F\u002Fapi.redgold.ai\n",[397,491,492,493,496],{},"Every route below stamps or filters the authenticated caller as owner. Request bodies contain no ",[401,494,495],{},"ownerId"," field.",[423,498,500],{"id":499},"_1-create-a-ticket","1. Create a ticket",[449,502,504],{"className":451,"code":503,"language":453,"meta":454,"style":454},"create_response=$(curl --fail-with-body --silent --show-error \\\n  \"$REDGOLD_API\u002Fv1\u002Ftickets\u002Fupsert\" \\\n  -H \"Authorization: Bearer $REDGOLD_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\n    \"title\": \"Verify the example pipeline\",\n    \"body\": \"Run the documented request and record the result.\",\n    \"labels\": [\"docs\", \"example\"],\n    \"priority\": 100\n  }')\n\nticket_id=$(printf '%s' \"$create_response\" | jq -r '.ticket_id')\nprintf 'created %s\\n' \"$ticket_id\"\n",[401,505,506,530,546,565,579,591,597,603,609,615,627,634,678],{"__ignoreMap":454},[458,507,508,511,514,517,521,524,527],{"class":460,"line":461},[458,509,510],{"class":468},"create_response",[458,512,513],{"class":472},"=$(",[458,515,420],{"class":516},"sBMFI",[458,518,520],{"class":519},"sfazB"," --fail-with-body",[458,522,523],{"class":519}," --silent",[458,525,526],{"class":519}," --show-error",[458,528,529],{"class":468}," \\\n",[458,531,532,535,538,541,544],{"class":460,"line":479},[458,533,534],{"class":472},"  \"",[458,536,537],{"class":468},"$REDGOLD_API",[458,539,540],{"class":519},"\u002Fv1\u002Ftickets\u002Fupsert",[458,542,543],{"class":472},"\"",[458,545,529],{"class":468},[458,547,549,552,555,558,561,563],{"class":460,"line":548},3,[458,550,551],{"class":519},"  -H",[458,553,554],{"class":472}," \"",[458,556,557],{"class":519},"Authorization: Bearer ",[458,559,560],{"class":468},"$REDGOLD_API_KEY",[458,562,543],{"class":472},[458,564,529],{"class":468},[458,566,568,570,572,575,577],{"class":460,"line":567},4,[458,569,551],{"class":519},[458,571,554],{"class":472},[458,573,574],{"class":519},"Content-Type: application\u002Fjson",[458,576,543],{"class":472},[458,578,529],{"class":468},[458,580,582,585,588],{"class":460,"line":581},5,[458,583,584],{"class":519},"  --data",[458,586,587],{"class":472}," '",[458,589,590],{"class":519},"{\n",[458,592,594],{"class":460,"line":593},6,[458,595,596],{"class":519},"    \"title\": \"Verify the example pipeline\",\n",[458,598,600],{"class":460,"line":599},7,[458,601,602],{"class":519},"    \"body\": \"Run the documented request and record the result.\",\n",[458,604,606],{"class":460,"line":605},8,[458,607,608],{"class":519},"    \"labels\": [\"docs\", \"example\"],\n",[458,610,612],{"class":460,"line":611},9,[458,613,614],{"class":519},"    \"priority\": 100\n",[458,616,618,621,624],{"class":460,"line":617},10,[458,619,620],{"class":519},"  }",[458,622,623],{"class":472},"'",[458,625,626],{"class":472},")\n",[458,628,630],{"class":460,"line":629},11,[458,631,633],{"emptyLinePlaceholder":632},true,"\n",[458,635,637,640,642,646,648,651,653,655,658,660,663,666,669,671,674,676],{"class":460,"line":636},12,[458,638,639],{"class":468},"ticket_id",[458,641,513],{"class":472},[458,643,645],{"class":644},"s2Zo4","printf",[458,647,587],{"class":472},[458,649,650],{"class":519},"%s",[458,652,623],{"class":472},[458,654,554],{"class":472},[458,656,657],{"class":468},"$create_response",[458,659,543],{"class":472},[458,661,662],{"class":472}," |",[458,664,665],{"class":516}," jq",[458,667,668],{"class":519}," -r",[458,670,587],{"class":472},[458,672,673],{"class":519},".ticket_id",[458,675,623],{"class":472},[458,677,626],{"class":472},[458,679,681,683,685,688,690,692,695],{"class":460,"line":680},13,[458,682,645],{"class":644},[458,684,587],{"class":472},[458,686,687],{"class":519},"created %s\\n",[458,689,623],{"class":472},[458,691,554],{"class":472},[458,693,694],{"class":468},"$ticket_id",[458,696,697],{"class":472},"\"\n",[397,699,700],{},"The response uses snake_case:",[449,702,706],{"className":703,"code":704,"language":705,"meta":454,"style":454},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"ok\": true,\n  \"ticket_id\": \"tk-...\",\n  \"updated_ts_ms\": 1785456000000\n}\n","json",[401,707,708,712,727,747,762],{"__ignoreMap":454},[458,709,710],{"class":460,"line":461},[458,711,590],{"class":472},[458,713,714,716,719,721,724],{"class":460,"line":479},[458,715,534],{"class":472},[458,717,718],{"class":464},"ok",[458,720,543],{"class":472},[458,722,723],{"class":472},":",[458,725,726],{"class":472}," true,\n",[458,728,729,731,733,735,737,739,742,744],{"class":460,"line":548},[458,730,534],{"class":472},[458,732,639],{"class":464},[458,734,543],{"class":472},[458,736,723],{"class":472},[458,738,554],{"class":472},[458,740,741],{"class":519},"tk-...",[458,743,543],{"class":472},[458,745,746],{"class":472},",\n",[458,748,749,751,754,756,758],{"class":460,"line":567},[458,750,534],{"class":472},[458,752,753],{"class":464},"updated_ts_ms",[458,755,543],{"class":472},[458,757,723],{"class":472},[458,759,761],{"class":760},"sbssI"," 1785456000000\n",[458,763,764],{"class":460,"line":581},[458,765,766],{"class":472},"}\n",[397,768,769,770,773,774,776],{},"Creating a ticket without ",[401,771,772],{},"ticketId"," generates an id. Supplying an existing owned ",[401,775,772],{}," updates that ticket by appending another event.",[423,778,780],{"id":779},"_2-read-it-back","2. Read it back",[397,782,783],{},"View one ticket. Requests use camelCase:",[449,785,787],{"className":451,"code":786,"language":453,"meta":454,"style":454},"curl --fail-with-body --silent --show-error \\\n  \"$REDGOLD_API\u002Fv1\u002Ftickets\u002Fview\" \\\n  -H \"Authorization: Bearer $REDGOLD_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data \"$(jq -nc --arg id \"$ticket_id\" '{ticketId: $id}')\" | jq\n",[401,788,789,801,814,828,840],{"__ignoreMap":454},[458,790,791,793,795,797,799],{"class":460,"line":461},[458,792,420],{"class":516},[458,794,520],{"class":519},[458,796,523],{"class":519},[458,798,526],{"class":519},[458,800,529],{"class":468},[458,802,803,805,807,810,812],{"class":460,"line":479},[458,804,534],{"class":472},[458,806,537],{"class":468},[458,808,809],{"class":519},"\u002Fv1\u002Ftickets\u002Fview",[458,811,543],{"class":472},[458,813,529],{"class":468},[458,815,816,818,820,822,824,826],{"class":460,"line":548},[458,817,551],{"class":519},[458,819,554],{"class":472},[458,821,557],{"class":519},[458,823,560],{"class":468},[458,825,543],{"class":472},[458,827,529],{"class":468},[458,829,830,832,834,836,838],{"class":460,"line":567},[458,831,551],{"class":519},[458,833,554],{"class":472},[458,835,574],{"class":519},[458,837,543],{"class":472},[458,839,529],{"class":468},[458,841,842,844,847,849,852,854,856,858,860,863,866,868],{"class":460,"line":581},[458,843,584],{"class":519},[458,845,846],{"class":472}," \"$(",[458,848,444],{"class":516},[458,850,851],{"class":519}," -nc --arg id ",[458,853,543],{"class":472},[458,855,694],{"class":468},[458,857,543],{"class":472},[458,859,587],{"class":472},[458,861,862],{"class":519},"{ticketId: $id}",[458,864,865],{"class":472},"')\"",[458,867,662],{"class":472},[458,869,870],{"class":516}," jq\n",[397,872,873],{},"List your tickets and filter by label:",[449,875,877],{"className":451,"code":876,"language":453,"meta":454,"style":454},"curl --fail-with-body --silent --show-error \\\n  \"$REDGOLD_API\u002Fv1\u002Ftickets\u002Flist\" \\\n  -H \"Authorization: Bearer $REDGOLD_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\"label\":\"docs\",\"limit\":20,\"offset\":0}' | jq\n",[401,878,879,891,904,918,930],{"__ignoreMap":454},[458,880,881,883,885,887,889],{"class":460,"line":461},[458,882,420],{"class":516},[458,884,520],{"class":519},[458,886,523],{"class":519},[458,888,526],{"class":519},[458,890,529],{"class":468},[458,892,893,895,897,900,902],{"class":460,"line":479},[458,894,534],{"class":472},[458,896,537],{"class":468},[458,898,899],{"class":519},"\u002Fv1\u002Ftickets\u002Flist",[458,901,543],{"class":472},[458,903,529],{"class":468},[458,905,906,908,910,912,914,916],{"class":460,"line":548},[458,907,551],{"class":519},[458,909,554],{"class":472},[458,911,557],{"class":519},[458,913,560],{"class":468},[458,915,543],{"class":472},[458,917,529],{"class":468},[458,919,920,922,924,926,928],{"class":460,"line":567},[458,921,551],{"class":519},[458,923,554],{"class":472},[458,925,574],{"class":519},[458,927,543],{"class":472},[458,929,529],{"class":468},[458,931,932,934,936,939,941,943],{"class":460,"line":581},[458,933,584],{"class":519},[458,935,587],{"class":472},[458,937,938],{"class":519},"{\"label\":\"docs\",\"limit\":20,\"offset\":0}",[458,940,623],{"class":472},[458,942,662],{"class":472},[458,944,870],{"class":516},[397,946,947,948,441,951,954,955,958,959,958,962,965,966,421],{},"The list response contains ",[401,949,950],{},"tickets",[401,952,953],{},"count",". Results are newest-update first. Optional filters are ",[401,956,957],{},"state",", ",[401,960,961],{},"label",[401,963,964],{},"limit",", and ",[401,967,968],{},"offset",[423,970,972],{"id":971},"_3-add-and-read-a-comment","3. Add and read a comment",[449,974,976],{"className":451,"code":975,"language":453,"meta":454,"style":454},"curl --fail-with-body --silent --show-error \\\n  \"$REDGOLD_API\u002Fv1\u002Ftickets\u002Fcomment\" \\\n  -H \"Authorization: Bearer $REDGOLD_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data \"$(jq -nc --arg id \"$ticket_id\" \\\n    '{ticketId: $id, body: \"The example returned the expected rows.\"}')\" | jq\n",[401,977,978,990,1003,1017,1029,1047],{"__ignoreMap":454},[458,979,980,982,984,986,988],{"class":460,"line":461},[458,981,420],{"class":516},[458,983,520],{"class":519},[458,985,523],{"class":519},[458,987,526],{"class":519},[458,989,529],{"class":468},[458,991,992,994,996,999,1001],{"class":460,"line":479},[458,993,534],{"class":472},[458,995,537],{"class":468},[458,997,998],{"class":519},"\u002Fv1\u002Ftickets\u002Fcomment",[458,1000,543],{"class":472},[458,1002,529],{"class":468},[458,1004,1005,1007,1009,1011,1013,1015],{"class":460,"line":548},[458,1006,551],{"class":519},[458,1008,554],{"class":472},[458,1010,557],{"class":519},[458,1012,560],{"class":468},[458,1014,543],{"class":472},[458,1016,529],{"class":468},[458,1018,1019,1021,1023,1025,1027],{"class":460,"line":567},[458,1020,551],{"class":519},[458,1022,554],{"class":472},[458,1024,574],{"class":519},[458,1026,543],{"class":472},[458,1028,529],{"class":468},[458,1030,1031,1033,1035,1037,1039,1041,1043,1045],{"class":460,"line":581},[458,1032,584],{"class":519},[458,1034,846],{"class":472},[458,1036,444],{"class":516},[458,1038,851],{"class":519},[458,1040,543],{"class":472},[458,1042,694],{"class":468},[458,1044,543],{"class":472},[458,1046,529],{"class":468},[458,1048,1049,1052,1055,1057,1059],{"class":460,"line":593},[458,1050,1051],{"class":472},"    '",[458,1053,1054],{"class":519},"{ticketId: $id, body: \"The example returned the expected rows.\"}",[458,1056,865],{"class":472},[458,1058,662],{"class":472},[458,1060,870],{"class":516},[397,1062,1063],{},"Read the ticket's comments:",[449,1065,1067],{"className":451,"code":1066,"language":453,"meta":454,"style":454},"curl --fail-with-body --silent --show-error \\\n  \"$REDGOLD_API\u002Fv1\u002Ftickets\u002Fcomments\" \\\n  -H \"Authorization: Bearer $REDGOLD_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data \"$(jq -nc --arg id \"$ticket_id\" '{ticketId: $id}')\" | jq\n",[401,1068,1069,1081,1094,1108,1120],{"__ignoreMap":454},[458,1070,1071,1073,1075,1077,1079],{"class":460,"line":461},[458,1072,420],{"class":516},[458,1074,520],{"class":519},[458,1076,523],{"class":519},[458,1078,526],{"class":519},[458,1080,529],{"class":468},[458,1082,1083,1085,1087,1090,1092],{"class":460,"line":479},[458,1084,534],{"class":472},[458,1086,537],{"class":468},[458,1088,1089],{"class":519},"\u002Fv1\u002Ftickets\u002Fcomments",[458,1091,543],{"class":472},[458,1093,529],{"class":468},[458,1095,1096,1098,1100,1102,1104,1106],{"class":460,"line":548},[458,1097,551],{"class":519},[458,1099,554],{"class":472},[458,1101,557],{"class":519},[458,1103,560],{"class":468},[458,1105,543],{"class":472},[458,1107,529],{"class":468},[458,1109,1110,1112,1114,1116,1118],{"class":460,"line":567},[458,1111,551],{"class":519},[458,1113,554],{"class":472},[458,1115,574],{"class":519},[458,1117,543],{"class":472},[458,1119,529],{"class":468},[458,1121,1122,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1144],{"class":460,"line":581},[458,1123,584],{"class":519},[458,1125,846],{"class":472},[458,1127,444],{"class":516},[458,1129,851],{"class":519},[458,1131,543],{"class":472},[458,1133,694],{"class":468},[458,1135,543],{"class":472},[458,1137,587],{"class":472},[458,1139,862],{"class":519},[458,1141,865],{"class":472},[458,1143,662],{"class":472},[458,1145,870],{"class":516},[397,1147,1148],{},"Comments are owner-scoped. A caller cannot use a ticket id to enumerate another account's ticket or comments.",[423,1150,1152],{"id":1151},"_4-claim-and-release-work","4. Claim and release work",[397,1154,1155],{},"A claim records the executor identifier responsible for the ticket. Use a stable identifier from your own automation:",[449,1157,1159],{"className":451,"code":1158,"language":453,"meta":454,"style":454},"slot_id=docs-example-run\n\ncurl --fail-with-body --silent --show-error \\\n  \"$REDGOLD_API\u002Fv1\u002Ftickets\u002Fclaim\" \\\n  -H \"Authorization: Bearer $REDGOLD_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data \"$(jq -nc --arg id \"$ticket_id\" --arg slot \"$slot_id\" \\\n    '{ticketId: $id, slotId: $slot}')\" | jq\n",[401,1160,1161,1171,1175,1187,1200,1214,1226,1254],{"__ignoreMap":454},[458,1162,1163,1166,1168],{"class":460,"line":461},[458,1164,1165],{"class":468},"slot_id",[458,1167,473],{"class":472},[458,1169,1170],{"class":519},"docs-example-run\n",[458,1172,1173],{"class":460,"line":479},[458,1174,633],{"emptyLinePlaceholder":632},[458,1176,1177,1179,1181,1183,1185],{"class":460,"line":548},[458,1178,420],{"class":516},[458,1180,520],{"class":519},[458,1182,523],{"class":519},[458,1184,526],{"class":519},[458,1186,529],{"class":468},[458,1188,1189,1191,1193,1196,1198],{"class":460,"line":567},[458,1190,534],{"class":472},[458,1192,537],{"class":468},[458,1194,1195],{"class":519},"\u002Fv1\u002Ftickets\u002Fclaim",[458,1197,543],{"class":472},[458,1199,529],{"class":468},[458,1201,1202,1204,1206,1208,1210,1212],{"class":460,"line":581},[458,1203,551],{"class":519},[458,1205,554],{"class":472},[458,1207,557],{"class":519},[458,1209,560],{"class":468},[458,1211,543],{"class":472},[458,1213,529],{"class":468},[458,1215,1216,1218,1220,1222,1224],{"class":460,"line":593},[458,1217,551],{"class":519},[458,1219,554],{"class":472},[458,1221,574],{"class":519},[458,1223,543],{"class":472},[458,1225,529],{"class":468},[458,1227,1228,1230,1232,1234,1236,1238,1240,1242,1245,1247,1250,1252],{"class":460,"line":599},[458,1229,584],{"class":519},[458,1231,846],{"class":472},[458,1233,444],{"class":516},[458,1235,851],{"class":519},[458,1237,543],{"class":472},[458,1239,694],{"class":468},[458,1241,543],{"class":472},[458,1243,1244],{"class":519}," --arg slot ",[458,1246,543],{"class":472},[458,1248,1249],{"class":468},"$slot_id",[458,1251,543],{"class":472},[458,1253,529],{"class":468},[458,1255,1256,1258,1261,1263,1265],{"class":460,"line":605},[458,1257,1051],{"class":472},[458,1259,1260],{"class":519},"{ticketId: $id, slotId: $slot}",[458,1262,865],{"class":472},[458,1264,662],{"class":472},[458,1266,870],{"class":516},[397,1268,1269,1270,1273],{},"Release requires the exact ",[401,1271,1272],{},"slotId"," written by the successful claim. This prevents delayed cleanup from clearing a newer assignment:",[449,1275,1277],{"className":451,"code":1276,"language":453,"meta":454,"style":454},"curl --fail-with-body --silent --show-error \\\n  \"$REDGOLD_API\u002Fv1\u002Ftickets\u002Frelease\" \\\n  -H \"Authorization: Bearer $REDGOLD_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data \"$(jq -nc --arg id \"$ticket_id\" --arg slot \"$slot_id\" \\\n    '{ticketId: $id, slotId: $slot}')\" | jq\n",[401,1278,1279,1291,1304,1318,1330,1356],{"__ignoreMap":454},[458,1280,1281,1283,1285,1287,1289],{"class":460,"line":461},[458,1282,420],{"class":516},[458,1284,520],{"class":519},[458,1286,523],{"class":519},[458,1288,526],{"class":519},[458,1290,529],{"class":468},[458,1292,1293,1295,1297,1300,1302],{"class":460,"line":479},[458,1294,534],{"class":472},[458,1296,537],{"class":468},[458,1298,1299],{"class":519},"\u002Fv1\u002Ftickets\u002Frelease",[458,1301,543],{"class":472},[458,1303,529],{"class":468},[458,1305,1306,1308,1310,1312,1314,1316],{"class":460,"line":548},[458,1307,551],{"class":519},[458,1309,554],{"class":472},[458,1311,557],{"class":519},[458,1313,560],{"class":468},[458,1315,543],{"class":472},[458,1317,529],{"class":468},[458,1319,1320,1322,1324,1326,1328],{"class":460,"line":567},[458,1321,551],{"class":519},[458,1323,554],{"class":472},[458,1325,574],{"class":519},[458,1327,543],{"class":472},[458,1329,529],{"class":468},[458,1331,1332,1334,1336,1338,1340,1342,1344,1346,1348,1350,1352,1354],{"class":460,"line":581},[458,1333,584],{"class":519},[458,1335,846],{"class":472},[458,1337,444],{"class":516},[458,1339,851],{"class":519},[458,1341,543],{"class":472},[458,1343,694],{"class":468},[458,1345,543],{"class":472},[458,1347,1244],{"class":519},[458,1349,543],{"class":472},[458,1351,1249],{"class":468},[458,1353,543],{"class":472},[458,1355,529],{"class":468},[458,1357,1358,1360,1362,1364,1366],{"class":460,"line":593},[458,1359,1051],{"class":472},[458,1361,1260],{"class":519},[458,1363,865],{"class":472},[458,1365,662],{"class":472},[458,1367,870],{"class":516},[423,1369,1371],{"id":1370},"_5-close-the-ticket","5. Close the ticket",[449,1373,1375],{"className":451,"code":1374,"language":453,"meta":454,"style":454},"curl --fail-with-body --silent --show-error \\\n  \"$REDGOLD_API\u002Fv1\u002Ftickets\u002Fclose\" \\\n  -H \"Authorization: Bearer $REDGOLD_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data \"$(jq -nc --arg id \"$ticket_id\" '{ticketId: $id}')\" | jq\n",[401,1376,1377,1389,1402,1416,1428],{"__ignoreMap":454},[458,1378,1379,1381,1383,1385,1387],{"class":460,"line":461},[458,1380,420],{"class":516},[458,1382,520],{"class":519},[458,1384,523],{"class":519},[458,1386,526],{"class":519},[458,1388,529],{"class":468},[458,1390,1391,1393,1395,1398,1400],{"class":460,"line":479},[458,1392,534],{"class":472},[458,1394,537],{"class":468},[458,1396,1397],{"class":519},"\u002Fv1\u002Ftickets\u002Fclose",[458,1399,543],{"class":472},[458,1401,529],{"class":468},[458,1403,1404,1406,1408,1410,1412,1414],{"class":460,"line":548},[458,1405,551],{"class":519},[458,1407,554],{"class":472},[458,1409,557],{"class":519},[458,1411,560],{"class":468},[458,1413,543],{"class":472},[458,1415,529],{"class":468},[458,1417,1418,1420,1422,1424,1426],{"class":460,"line":567},[458,1419,551],{"class":519},[458,1421,554],{"class":472},[458,1423,574],{"class":519},[458,1425,543],{"class":472},[458,1427,529],{"class":468},[458,1429,1430,1432,1434,1436,1438,1440,1442,1444,1446,1448,1450,1452],{"class":460,"line":581},[458,1431,584],{"class":519},[458,1433,846],{"class":472},[458,1435,444],{"class":516},[458,1437,851],{"class":519},[458,1439,543],{"class":472},[458,1441,694],{"class":468},[458,1443,543],{"class":472},[458,1445,587],{"class":472},[458,1447,862],{"class":519},[458,1449,865],{"class":472},[458,1451,662],{"class":472},[458,1453,870],{"class":516},[397,1455,1456,1457,421],{},"A final view should report ",[401,1458,1459],{},"state: \"done\"",[423,1461,1463],{"id":1462},"contract-details","Contract details",[1465,1466,1467,1480],"table",{},[1468,1469,1470],"thead",{},[1471,1472,1473,1477],"tr",{},[1474,1475,1476],"th",{},"Property",[1474,1478,1479],{},"Contract",[1481,1482,1483,1493,1505,1517,1525,1533],"tbody",{},[1471,1484,1485,1488],{},[1486,1487,210],"td",{},[1486,1489,1490],{},[401,1491,1492],{},"Authorization: Bearer sk-rg-...",[1471,1494,1495,1498],{},[1486,1496,1497],{},"Requests",[1486,1499,1500,1501,441,1503],{},"JSON with camelCase fields such as ",[401,1502,772],{},[401,1504,1272],{},[1471,1506,1507,1510],{},[1486,1508,1509],{},"Responses",[1486,1511,1512,1513,441,1515],{},"JSON with snake_case fields such as ",[401,1514,639],{},[401,1516,753],{},[1471,1518,1519,1522],{},[1486,1520,1521],{},"Ownership",[1486,1523,1524],{},"Caller identity is verified at the edge; reads and writes are owner-scoped",[1471,1526,1527,1530],{},[1486,1528,1529],{},"Updates",[1486,1531,1532],{},"Event-sourced; the latest event for a ticket id is the current view",[1471,1534,1535,1538],{},[1486,1536,1537],{},"States",[1486,1539,1540,958,1543,958,1546,958,1549,958,1552],{},[401,1541,1542],{},"open",[401,1544,1545],{},"in_progress",[401,1547,1548],{},"blocked",[401,1550,1551],{},"done",[401,1553,1554],{},"cancelled",[397,1556,1557,1558,421],{},"Pipeline implementation can move through staged rollout while this managed-preview HTTP contract remains under review. The routes are not a self-service public API until they appear in the generated ",[406,1559,408],{"href":257},[423,1561,1563],{"id":1562},"troubleshooting","Troubleshooting",[428,1565,1566,1572,1578,1584,1590],{},[431,1567,1568,1571],{},[401,1569,1570],{},"401"," means the bearer key is missing, malformed, or revoked.",[431,1573,1574,1577],{},[401,1575,1576],{},"400"," usually means a required camelCase field is absent or a state name is invalid.",[431,1579,1580,1583],{},[401,1581,1582],{},"404"," means the route is unavailable on the selected host.",[431,1585,1586,1589],{},[401,1587,1588],{},"{\"error\":\"ticket not found\"}"," means the ticket is absent or outside the caller's owner scope.",[431,1591,1592,1593,1595],{},"A failed release with an assignment mismatch means the ticket is held by a different ",[401,1594,1272],{},"; read the ticket before retrying.",[1597,1598,1599],"style",{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":454,"searchDepth":479,"depth":479,"links":1601},[1602,1603,1604,1605,1606,1607,1608,1609],{"id":425,"depth":479,"text":426},{"id":499,"depth":479,"text":500},{"id":779,"depth":479,"text":780},{"id":971,"depth":479,"text":972},{"id":1151,"depth":479,"text":1152},{"id":1370,"depth":479,"text":1371},{"id":1462,"depth":479,"text":1463},{"id":1562,"depth":479,"text":1563},"Create, read, comment on, claim, release, and close an owner-scoped ticket through the managed preview API.","md","2026-08-12",null,"preview",{"toc":632,"visibility":251},{"title":338},{"title":390,"description":1610},"On1hMbYcU9YoxYobwWp8iqizuJLWjYN7coRJjZH2cBE",[1620,1622],{"title":330,"path":335,"stem":336,"description":1621,"children":-1},"The issue-board app, walked end to end — one checked-in Rust serde schema encoded with CBOR, a set of pipeline routes, owner-scoped storage, and a GitOps deploy — as the worked example of the platform's narrow-app shape.",{"title":348,"path":349,"stem":350,"description":1623,"children":-1},"How the tickets application combines typed records, narrow routes, lifecycle transitions, and agent dispatch.",1789873222661]