What cliq hug dev calls: shows a hug’s built bundle on the local Hug page — no run, no Hug —
with the given params, attachments, or an answer to show in view mode. Calling again with the
same dev_id after a rebuild reloads the page. Local callers only.
No credential is needed from this machine. From another host, send Authorization: Bearer with a dispatch token CliqHub signed for this daemon or a cliq_tok_… personal token of a user in the daemon’s realm; this only works once the daemon is connected to CliqHub. See Authentication.
Not needed from the same machine. From another host: a dispatch JWT CliqHub signed for this daemon, or a cliq_tok_… personal token whose user is in the daemon's realm.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"cliq","description":"Ready-made AI teams. Your requirements. No code. Get started, concepts, CLI, Hub API, and Daemon API.","colors":{"primary":"#6366F1","light":"#A5B4FC","dark":"#818CF8"},"logo":{"light":"https://mintcdn.com/cliq-bfc61444/Qv4fKCToxYZ9eIU-/logo/light.svg?fit=max\u0026auto=format\u0026n=Qv4fKCToxYZ9eIU-\u0026q=85\u0026s=1e870d95d0e7c37b083a67675484bf8d","dark":"https://mintcdn.com/cliq-bfc61444/Qv4fKCToxYZ9eIU-/logo/dark.svg?fit=max\u0026auto=format\u0026n=Qv4fKCToxYZ9eIU-\u0026q=85\u0026s=a3a04d200588f8d7fe8eecb6500dcd63","href":"https://getcliq.io"},"favicon":"https://mintcdn.com/cliq-bfc61444/Qv4fKCToxYZ9eIU-/favicon.svg?fit=max\u0026auto=format\u0026n=Qv4fKCToxYZ9eIU-\u0026q=85\u0026s=902b753eb8f93b636c5eb7347d1ac7e0","appearance":{"default":"dark"},"background":{"decoration":"gradient","color":{"light":"#F8FAFC","dark":"#0B1020"}},"navbar":{"links":[{"href":"https://cliqhub.io","label":"Hub"},{"href":"https://getcliq.io","label":"Product"}],"primary":{"type":"button","label":"Get started","href":"/get-started"}},"footer":{"socials":{"github":"https://github.com/getcliqio/cliq","website":"https://getcliq.io"}},"fonts":{"family":"IBM Plex Sans"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"github-light","dark":"one-dark-pro"}},"latex":false},"interaction":{"drilldown":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cliq-bfc61444","hasAudioNarration":false,"actualSubdomain":"cliq-bfc61444","customDomains":["docs.getcliq.io"],"gitSource":{"type":"github","owner":"getcliqio","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6af413e186ca753a0f8f4998","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Hub API","count":152},{"language":"default","tag":"Docs","count":71},{"language":"default","tag":"Daemon API","count":70},{"language":"default","tag":"Agents","count":46},{"language":"default","tag":"Hugs","count":33},{"language":"default","tag":"Runs","count":27},{"language":"default","tag":"Teams","count":26},{"language":"default","tag":"Organizations","count":26},{"language":"default","tag":"Realms","count":14},{"language":"default","tag":"Workspaces","count":12}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--cliq-ink: #0b1020;--cliq-panel: #12182b;--cliq-indigo: #6366f1;--cliq-indigo-bright: #a5b4fc;--cliq-heat: #f97316}#navbar{backdrop-filter:blur(14px);border-bottom:1px solid color-mix(in srgb, var(--cliq-indigo) 25%, transparent)}#page-title{letter-spacing:-0.03em;font-weight:700}eyebrow{letter-spacing:0.1em;text-transform:uppercase;font-size:0.68rem;font-weight:700;color:var(--cliq-indigo-bright)}code-block{border-radius:10px!important;border:1px solid color-mix(in srgb, var(--cliq-indigo) 28%, transparent)}method-pill,method-nav-pill{font-weight:700;letter-spacing:0.03em}card{border-radius:12px;border:1px solid color-mix(in srgb, #fff 8%, transparent);background:color-mix(in srgb, var(--cliq-panel) 80%, transparent);transition:border-color 140ms ease, transform 140ms ease}card:hover{border-color:color-mix(in srgb, var(--cliq-indigo) 55%, transparent);transform:translateY(-1px)}.cliq-hero{position:relative;overflow:hidden;border-radius:16px;padding:2.5rem 2rem;margin-bottom:2rem;background:radial-gradient(90% 80% at 50% 0%, color-mix(in srgb, #6366f1 35%, transparent), transparent 60%),\n radial-gradient(70% 60% at 100% 100%, color-mix(in srgb, #312e81 40%, transparent), transparent 55%),\n linear-gradient(165deg, #0b1020 0%, #1e1b4b 100%);color:#e2e8f0;border:1px solid color-mix(in srgb, #818cf8 25%, transparent)}.cliq-hero h1{margin:0.4rem 0 0.85rem;font-size:clamp(2.1rem, 4.5vw, 2.9rem);line-height:1.1;letter-spacing:-0.035em;font-weight:700;color:#fff}.cliq-hero p{max-width:38rem;margin:0;font-size:1.05rem;line-height:1.55;color:#cbd5e1}.cliq-hero-brand{font-family:ui-monospace, SFMono-Regular, Menlo, monospace;font-size:0.78rem;font-weight:500;letter-spacing:0.16em;text-transform:lowercase;color:var(--cliq-indigo-bright)}.cliq-hero-cta{display:flex;flex-wrap:wrap;gap:0.75rem;margin-top:1.6rem}.cliq-btn{display:inline-flex;align-items:center;gap:0.35rem;padding:0.7rem 1.15rem;border-radius:999px;font-weight:700;font-size:0.88rem;text-decoration:none;transition:transform 140ms ease, filter 140ms ease}.cliq-btn:hover{transform:translateY(-1px);filter:brightness(1.06)}.cliq-btn-primary{background:linear-gradient(90deg, #6366f1 0%, #a855f7 100%);color:#fff}.cliq-btn-ghost{background:color-mix(in srgb, #fff 6%, transparent);color:#e2e8f0;border:1px solid color-mix(in srgb, #a5b4fc 35%, transparent)}.cliq-kicker{font-size:0.72rem;font-weight:700;letter-spacing:0.14em;text-transform:uppercase;color:var(--cliq-indigo-bright);margin-bottom:0.4rem}.cliq-token-grid{display:grid;gap:0.75rem;margin:1rem 0 1.5rem}html[data-current-path=\"/\"] #page-title,html[data-current-path=\"/index\"] #page-title{display:none}"}],"page":{"pagePath":"api-reference/daemon-hugs/show-a-hug-in-development","slug":"/api-reference/daemon-hugs/show-a-hug-in-development","pageMetadata":{"title":"Show a hug in development","description":"What `cliq hug dev` calls: shows a hug's built bundle on the local Hug page — no run, no Hug —\nwith the given params, attachments, or an answer to show in view mode. Calling again with the\nsame `dev_id` after a rebuild reloads the page. Local callers only.\n\nNo credential is needed from this machine. From another host, send `Authorization: Bearer` with a dispatch token CliqHub signed for this daemon or a `cliq_tok_…` personal token of a user in the daemon's realm; this only works once the daemon is connected to CliqHub. See [Authentication](/daemon-api/overview#authentication).","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-hug.yaml post /v1/hugs/dev","href":"/api-reference/daemon-hugs/show-a-hug-in-development","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"What \", _jsx(_components.code, {\n children: \"cliq hug dev\"\n }), \" calls: shows a hug’s built bundle on the local Hug page — no run, no Hug —\\nwith the given params, attachments, or an answer to show in view mode. Calling again with the\\nsame \", _jsx(_components.code, {\n children: \"dev_id\"\n }), \" after a rebuild reloads the page. Local callers only.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"No credential is needed from this machine. From another host, send \", _jsx(_components.code, {\n children: \"Authorization: Bearer\"\n }), \" with a dispatch token CliqHub signed for this daemon or a \", _jsx(_components.code, {\n children: \"cliq_tok_…\"\n }), \" personal token of a user in the daemon’s realm; this only works once the daemon is connected to CliqHub. See \", _jsx(_components.a, {\n href: \"/daemon-api/overview#authentication\",\n children: \"Authentication\"\n }), \".\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"one-dark-pro"}},"config":{},"pageMetadata":{"title":"Show a hug in development","description":"What `cliq hug dev` calls: shows a hug's built bundle on the local Hug page — no run, no Hug —\nwith the given params, attachments, or an answer to show in view mode. Calling again with the\nsame `dev_id` after a rebuild reloads the page. Local callers only.\n\nNo credential is needed from this machine. From another host, send `Authorization: Bearer` with a dispatch token CliqHub signed for this daemon or a `cliq_tok_…` personal token of a user in the daemon's realm; this only works once the daemon is connected to CliqHub. See [Authentication](/daemon-api/overview#authentication).","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-hug.yaml post /v1/hugs/dev","href":"/api-reference/daemon-hugs/show-a-hug-in-development","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Daemon Hugs"],"summary":"Show a hug in development","operationId":"daemon_post_hugs_dev","description":"What `cliq hug dev` calls: shows a hug's built bundle on the local Hug page — no run, no Hug —\nwith the given params, attachments, or an answer to show in view mode. Calling again with the\nsame `dev_id` after a rebuild reloads the page. Local callers only.\n\nNo credential is needed from this machine. From another host, send `Authorization: Bearer` with a dispatch token CliqHub signed for this daemon or a `cliq_tok_…` personal token of a user in the daemon's realm; this only works once the daemon is connected to CliqHub. See [Authentication](/daemon-api/overview#authentication).","x-cliq-auth":"No credential is needed from this machine. From another host, send `Authorization: Bearer` with a dispatch token CliqHub signed for this daemon or a `cliq_tok_…` personal token of a user in the daemon's realm; this only works once the daemon is connected to CliqHub. See [Authentication](/daemon-api/overview#authentication).","security":["a7d1137a-db8d-4f48-804d-729a9478d25a","51bb2523-3382-4b70-8e02-294f8d7b3de3"],"requestBody":"3e97f1bc-76d2-4b30-a4b1-ca2004eea19f","responses":{"200":"72fa44e4-9d39-40e4-bee6-455fab57891c","400":"0da82d9c-fb90-4b84-9e5a-9c3320d2176d","401":"03eaa744-c173-46c9-8e00-b51aa9e60987","403":"82a9ac24-c1c6-4b4b-96c6-e4877688547f","422":"90d244ec-39af-4842-8b69-bf1f16559772","500":"98e547bc-1e80-48a7-930e-12f85d5c0822"},"method":"post","type":"path","servers":["05dd8c5d-3a4f-4032-883a-f23b1e64531a"],"path":"/v1/hugs/dev","baseUrlOptions":["http://127.0.0.1:4900"],"title":"Show a hug in development","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"dist":{"type":"string","minLength":1,"description":"The hug's built bundle folder (absolute path)","isRequired":true,"uniqueKey":"dist","typeLabel":"string"},"dev_id":{"description":"Refresh this dev Hug after a rebuild (its page reloads)","type":"string","minLength":1,"maxLength":100,"uniqueKey":"dev_id","typeLabel":"string"},"params":{"description":"The hug's params (checked against its definition)","uniqueKey":"params","typeLabel":"any"},"attachments":{"description":"Files the hug may read (absolute paths)","maxItems":50,"type":"array","items":{"type":"string","minLength":1,"uniqueKey":"attachments.items.[INDEX]","typeLabel":"string"},"uniqueKey":"attachments","typeLabel":"string[]"},"view":{"description":"Values to show in view mode, as a submitted answer","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"view.additionalProperties","typeLabel":"any"},"uniqueKey":"view","typeLabel":"object"}},"required":["dist"],"uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","value":{"dist":"/home/ann/team/hugs/review-batch/dist","params":{"company":"ACME","documents":[{"id":"lease","name":"Lease"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"72fa44e4-9d39-40e4-bee6-455fab57891c":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","required":["ok","data"],"properties":{"ok":{"type":"boolean","const":true,"isRequired":true,"uniqueKey":"ok","typeLabel":"boolean"},"data":{"type":"object","properties":{"dev_id":{"type":"string","uniqueKey":"data.dev_id","typeLabel":"string"},"page_path":{"type":"string","description":"The page's path on cliqd, with its secret after `#`.","uniqueKey":"data.page_path","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"ok":true,"data":{"dev_id":"d-1","page_path":"/hugs/d-1#3b9f…"}},"examples":{"Example":{"title":"Example","value":{"ok":true,"data":{"dev_id":"d-1","page_path":"/hugs/d-1#3b9f…"}}}},"exampleType":"examples"}},"exampleType":"examples"},"0da82d9c-fb90-4b84-9e5a-9c3320d2176d":{"description":"`PAYLOAD_INVALID` — The body (query string for `GET`) fails the request schema. `details` lists each issue.\n\n`BAD_REQUEST` — The body is not valid JSON or is larger than the route allows (10 MB; artifact uploads more).","content":{"application/json":{"schema":{"type":"object","description":"Every failure. Switch on `error.code` — it is stable; `message` is for people and may change.","required":["ok","error"],"properties":{"ok":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"ok","typeLabel":"boolean"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable error code. See [Errors](/daemon-api/errors).","example":"TEAM_NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"What went wrong and, where possible, what to do.","example":"Team 'acme/code-review' not found","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"description":"Structured detail when there is some: the list of schema issues for `PAYLOAD_INVALID`, the agent problems for `TEAM_AGENT_CONFIG_REQUIRED`, …","uniqueKey":"error.details","typeLabel":"any"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"PAYLOAD_INVALID":{"title":"PAYLOAD_INVALID","value":{"ok":false,"error":{"code":"PAYLOAD_INVALID","message":"dist: Invalid input: expected string, received undefined","details":[{"path":"dist","message":"Invalid input: expected string, received undefined"}]}}},"BAD_REQUEST":{"title":"BAD_REQUEST","value":{"ok":false,"error":{"code":"BAD_REQUEST","message":"Request body could not be read: Unexpected token } in JSON at position 12"}}}},"exampleType":"examples"}},"exampleType":"examples"},"03eaa744-c173-46c9-8e00-b51aa9e60987":{"description":"`UNAUTHORIZED` — A caller on another host sent no `Authorization: Bearer` token, or one that does not verify (expired, wrong audience).","content":{"application/json":{"schema":{"type":"object","description":"Every failure. Switch on `error.code` — it is stable; `message` is for people and may change.","required":["ok","error"],"properties":{"ok":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"ok","typeLabel":"boolean"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable error code. See [Errors](/daemon-api/errors).","example":"TEAM_NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"What went wrong and, where possible, what to do.","example":"Team 'acme/code-review' not found","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"description":"Structured detail when there is some: the list of schema issues for `PAYLOAD_INVALID`, the agent problems for `TEAM_AGENT_CONFIG_REQUIRED`, …","uniqueKey":"error.details","typeLabel":"any"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"UNAUTHORIZED":{"title":"UNAUTHORIZED","value":{"ok":false,"error":{"code":"UNAUTHORIZED","message":"Missing or invalid Authorization Bearer token"}}}},"exampleType":"examples"}},"exampleType":"examples"},"82a9ac24-c1c6-4b4b-96c6-e4877688547f":{"description":"`FORBIDDEN` — The caller isn't on the daemon's own machine.\n\n`WEB_REQUEST_REFUSED` — The request carries an `Origin` header (it came from a web page).\n\n`HOST_NOT_LOCAL` — A loopback caller addressed a `Host` other than localhost (DNS rebinding guard).\n\n`LOCAL_ONLY` — The daemon isn't connected to CliqHub (no dispatch key) and the caller is on another host.","content":{"application/json":{"schema":{"type":"object","description":"Every failure. Switch on `error.code` — it is stable; `message` is for people and may change.","required":["ok","error"],"properties":{"ok":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"ok","typeLabel":"boolean"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable error code. See [Errors](/daemon-api/errors).","example":"TEAM_NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"What went wrong and, where possible, what to do.","example":"Team 'acme/code-review' not found","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"description":"Structured detail when there is some: the list of schema issues for `PAYLOAD_INVALID`, the agent problems for `TEAM_AGENT_CONFIG_REQUIRED`, …","uniqueKey":"error.details","typeLabel":"any"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"FORBIDDEN":{"title":"FORBIDDEN","value":{"ok":false,"error":{"code":"FORBIDDEN","message":"Forbidden"}}},"WEB_REQUEST_REFUSED":{"title":"WEB_REQUEST_REFUSED","value":{"ok":false,"error":{"code":"WEB_REQUEST_REFUSED","message":"cliqd doesn't accept requests from web pages"}}},"HOST_NOT_LOCAL":{"title":"HOST_NOT_LOCAL","value":{"ok":false,"error":{"code":"HOST_NOT_LOCAL","message":"cliqd only answers requests addressed to localhost"}}},"LOCAL_ONLY":{"title":"LOCAL_ONLY","value":{"ok":false,"error":{"code":"LOCAL_ONLY","message":"This cliqd isn't connected to CliqHub yet, so from another machine it only accepts a local token (minted by tokens/create on the machine running cliqd)"}}}},"exampleType":"examples"}},"exampleType":"examples"},"90d244ec-39af-4842-8b69-bf1f16559772":{"description":"`UNPROCESSABLE` — The folder isn't a built hug, or the params don't match its definition.","content":{"application/json":{"schema":{"type":"object","description":"Every failure. Switch on `error.code` — it is stable; `message` is for people and may change.","required":["ok","error"],"properties":{"ok":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"ok","typeLabel":"boolean"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable error code. See [Errors](/daemon-api/errors).","example":"TEAM_NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"What went wrong and, where possible, what to do.","example":"Team 'acme/code-review' not found","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"description":"Structured detail when there is some: the list of schema issues for `PAYLOAD_INVALID`, the agent problems for `TEAM_AGENT_CONFIG_REQUIRED`, …","uniqueKey":"error.details","typeLabel":"any"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"UNPROCESSABLE":{"title":"UNPROCESSABLE","value":{"ok":false,"error":{"code":"UNPROCESSABLE","message":"Unprocessable entity"}}}},"exampleType":"examples"}},"exampleType":"examples"},"98e547bc-1e80-48a7-930e-12f85d5c0822":{"description":"`INTERNAL_ERROR` — An unexpected daemon fault. The message names the request id; the cause is in the cliqd log.","content":{"application/json":{"schema":{"type":"object","description":"Every failure. Switch on `error.code` — it is stable; `message` is for people and may change.","required":["ok","error"],"properties":{"ok":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"ok","typeLabel":"boolean"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable error code. See [Errors](/daemon-api/errors).","example":"TEAM_NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"What went wrong and, where possible, what to do.","example":"Team 'acme/code-review' not found","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"description":"Structured detail when there is some: the list of schema issues for `PAYLOAD_INVALID`, the agent problems for `TEAM_AGENT_CONFIG_REQUIRED`, …","uniqueKey":"error.details","typeLabel":"any"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"INTERNAL_ERROR":{"title":"INTERNAL_ERROR","value":{"ok":false,"error":{"code":"INTERNAL_ERROR","message":"cliqd hit an unexpected error (request 7f3a…). Details are in the cliqd log."}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"a7d1137a-db8d-4f48-804d-729a9478d25a":{},"51bb2523-3382-4b70-8e02-294f8d7b3de3":{"DaemonBearer":{"type":"http","scheme":"bearer","description":"Not needed from the same machine. From another host: a dispatch JWT CliqHub signed for this daemon, or a `cliq_tok_…` personal token whose user is in the daemon's realm.","scopes":[],"schemeName":"DaemonBearer"}}},"servers":{"05dd8c5d-3a4f-4032-883a-f23b1e64531a":{"url":"http://127.0.0.1:4900","description":"Local daemon (default port; `CLIQ_DAEMON_PORT` changes it)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Not needed from the same machine. From another host: a dispatch JWT CliqHub signed for this daemon, or a `cliq_tok_…` personal token whose user is in the daemon's realm.","scopes":[],"schemeName":"DaemonBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Not needed from the same machine. From another host: a dispatch JWT CliqHub signed for this daemon, or a `cliq_tok_…` personal token whose user is in the daemon's realm.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"DaemonBearer","name":"Authorization"}],"title":"DaemonBearer"}]},"originalFileLocation":"openapi/daemon-by-tag/daemon-hug.yaml"},"subdomain":"cliq-bfc61444","siteName":"cliq","title":"Show a hug in development - cliq","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T06:24:55.894Z","originalFileLocation":"api-reference/daemon-hugs/show-a-hug-in-development.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"What cliq hug dev calls: shows a hug\u0026#x27;s built bundle on the local Hug page — no run, no Hug — with the given params, attachments, or an answer to show in view mode. Calling again with the same dev_id after a rebuild reloads the page. Local callers only. No credential is needed from this machine. From another host, send Authorization: Bearer with a dispatch token CliqHub signed for this daemon or a cliq_tok_… personal token of a user in the daemon\u0026#x27;s realm; this only works once the daemon is connected to CliqHub. See Authentication.\">\u003cmeta data-mint-head name=\"application-name\" content=\"cliq\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cliq-bfc61444/db4-CFxuo784dgun/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cliq-bfc61444/db4-CFxuo784dgun/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cliq-bfc61444/db4-CFxuo784dgun/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cliq-bfc61444/db4-CFxuo784dgun/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cliq-bfc61444/db4-CFxuo784dgun/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cliq-bfc61444/db4-CFxuo784dgun/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cliq-bfc61444/db4-CFxuo784dgun/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cliq-bfc61444/db4-CFxuo784dgun/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cliq-bfc61444/db4-CFxuo784dgun/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Show a hug in development - cliq\">\u003cmeta data-mint-head property=\"og:description\" content=\"What cliq hug dev calls: shows a hug\u0026#x27;s built bundle on the local Hug page — no run, no Hug — with the given params, attachments, or an answer to show in view mode. Calling again with the same dev_id after a rebuild reloads the page. Local callers only. No credential is needed from this machine. From another host, send Authorization: Bearer with a dispatch token CliqHub signed for this daemon or a cliq_tok_… personal token of a user in the daemon\u0026#x27;s realm; this only works once the daemon is connected to CliqHub. See Authentication.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"cliq\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.getcliq.io/api-reference/daemon-hugs/show-a-hug-in-development\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cliq-bfc61444.mintlify.site/_mintlify/api/og/v2?division=Hugs\u0026amp;title=Show+a+hug+in+development\u0026amp;description=What+%60cliq+hug+dev%60+calls%3A+shows+a+hug%27s+built+bundle+on+the+local+Hug+page+%E2%80%94+no+run%2C+no+Hug+%E2%80%94%0Awith+the+given+params%2C+attachments%2C+or+an+answer+to+show+in+view+\u0026amp;theme=795058868cd79bbaa8139fd3\u0026amp;signature=f87fd8a759a20c8944bdc63a911f4a2b3cfa3ae8b5d4ec20551ffcf385993a70\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Show a hug in development - cliq\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"What cliq hug dev calls: shows a hug\u0026#x27;s built bundle on the local Hug page — no run, no Hug — with the given params, attachments, or an answer to show in view mode. Calling again with the same dev_id after a rebuild reloads the page. Local callers only. No credential is needed from this machine. From another host, send Authorization: Bearer with a dispatch token CliqHub signed for this daemon or a cliq_tok_… personal token of a user in the daemon\u0026#x27;s realm; this only works once the daemon is connected to CliqHub. See Authentication.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cliq-bfc61444.mintlify.site/_mintlify/api/og/v2?division=Hugs\u0026amp;title=Show+a+hug+in+development\u0026amp;description=What+%60cliq+hug+dev%60+calls%3A+shows+a+hug%27s+built+bundle+on+the+local+Hug+page+%E2%80%94+no+run%2C+no+Hug+%E2%80%94%0Awith+the+given+params%2C+attachments%2C+or+an+answer+to+show+in+view+\u0026amp;theme=795058868cd79bbaa8139fd3\u0026amp;signature=f87fd8a759a20c8944bdc63a911f4a2b3cfa3ae8b5d4ec20551ffcf385993a70\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cliq-bfc61444/db4-CFxuo784dgun/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"cliq\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366F1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.getcliq.io/api-reference/daemon-hugs/show-a-hug-in-development\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/daemon-hugs/show-a-hug-in-development.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.getcliq.io/#organization\",\"name\":\"cliq\",\"url\":\"https://docs.getcliq.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cliq-bfc61444/Qv4fKCToxYZ9eIU-/logo/light.svg?fit=max\u0026auto=format\u0026n=Qv4fKCToxYZ9eIU-\u0026q=85\u0026s=1e870d95d0e7c37b083a67675484bf8d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.getcliq.io#website\",\"name\":\"cliq\",\"url\":\"https://docs.getcliq.io\",\"publisher\":{\"@id\":\"https://docs.getcliq.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.getcliq.io/api-reference/daemon-hugs/show-a-hug-in-development#webpage\",\"url\":\"https://docs.getcliq.io/api-reference/daemon-hugs/show-a-hug-in-development\",\"name\":\"Show a hug in development\",\"description\":\"What cliq hug dev calls: shows a hug's built bundle on the local Hug page — no run, no Hug — with the given params, attachments, or an answer to show in view mode. Calling again with the same dev_id after a rebuild reloads the page. Local callers only. No credential is needed from this machine. From another host, send Authorization: Bearer with a dispatch token CliqHub signed for this daemon or a cliq_tok_… personal token of a user in the daemon's realm; this only works once the daemon is connected to CliqHub. See Authentication.\",\"dateModified\":\"2026-11-11T06:24:55.894Z\",\"isPartOf\":{\"@id\":\"https://docs.getcliq.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getcliq.io/api-reference/daemon-hugs/show-a-hug-in-development#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getcliq.io/api-reference/daemon-hugs/show-a-hug-in-development#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hugs\",\"item\":\"https://docs.getcliq.io/api-reference/daemon-hugs/open-a-hug\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Show a hug in development\",\"item\":\"https://docs.getcliq.io/api-reference/daemon-hugs/show-a-hug-in-development\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.getcliq.io/api-reference/daemon-hugs/show-a-hug-in-development#apireference\",\"headline\":\"Show a hug in development\",\"name\":\"Show a hug in development\",\"description\":\"What cliq hug dev calls: shows a hug's built bundle on the local Hug page — no run, no Hug — with the given params, attachments, or an answer to show in view mode. Calling again with the same dev_id after a rebuild reloads the page. Local callers only. No credential is needed from this machine. From another host, send Authorization: Bearer with a dispatch token CliqHub signed for this daemon or a cliq_tok_… personal token of a user in the daemon's realm; this only works once the daemon is connected to CliqHub. See Authentication.\",\"url\":\"https://docs.getcliq.io/api-reference/daemon-hugs/show-a-hug-in-development\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getcliq.io/api-reference/daemon-hugs/show-a-hug-in-development#webpage\"},\"dateModified\":\"2026-11-11T06:24:55.894Z\",\"publisher\":{\"@id\":\"https://docs.getcliq.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.getcliq.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"cliq\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"cliq\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/daemon-hugs/show-a-hug-in-development.md","siteName":"cliq","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"Hub API","pages":[{"title":"Hub API","href":"/hub-api/overview"}]},{"tab":"Daemon API","groups":[{"group":"Introduction","pages":[{"title":"cliqd API","sidebarTitle":"Overview","href":"/daemon-api/overview"},{"title":"Errors","href":"/daemon-api/errors"}]},{"group":"System","pages":[{"title":"Check daemon health","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-system.yaml get /v1/system/health","href":"/api-reference/daemon-system/check-daemon-health"}]},{"group":"Teams","pages":[{"title":"Install a team from a manifest","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-teams.yaml post /v1/teams/install","href":"/api-reference/daemon-teams/install-a-team-from-a-manifest"},{"title":"Uninstall a team","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-teams.yaml post /v1/teams/uninstall","href":"/api-reference/daemon-teams/uninstall-a-team"},{"title":"List installed teams","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-teams.yaml post /v1/teams/get","href":"/api-reference/daemon-teams/list-installed-teams"},{"title":"Search CliqHub's team catalog","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-teams.yaml post /v1/teams/search","href":"/api-reference/daemon-teams/search-cliqhubs-team-catalog"},{"title":"Get one installed team","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-teams.yaml post /v1/teams/get_by_name","href":"/api-reference/daemon-teams/get-one-installed-team"},{"title":"Update an installed team","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-teams.yaml post /v1/teams/update","href":"/api-reference/daemon-teams/update-an-installed-team"},{"title":"Publish a team to CliqHub","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-teams.yaml post /v1/teams/publish","href":"/api-reference/daemon-teams/publish-a-team-to-cliqhub"},{"title":"Validate a team manifest","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-teams.yaml post /v1/teams/validate","href":"/api-reference/daemon-teams/validate-a-team-manifest"},{"title":"Install a team from CliqHub","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-teams.yaml post /v1/teams/hub_install","href":"/api-reference/daemon-teams/install-a-team-from-cliqhub"}]},{"group":"Workspaces","pages":[{"title":"List workspaces","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-workspaces.yaml post /v1/workspaces/get","href":"/api-reference/daemon-workspaces/list-workspaces"},{"title":"Register a workspace","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-workspaces.yaml post /v1/workspaces/init","href":"/api-reference/daemon-workspaces/register-a-workspace"},{"title":"Assign a team to a workspace","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-workspaces.yaml post /v1/workspaces/assemble_team","href":"/api-reference/daemon-workspaces/assign-a-team-to-a-workspace"},{"title":"Remove a team from a workspace","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-workspaces.yaml post /v1/workspaces/remove_team","href":"/api-reference/daemon-workspaces/remove-a-team-from-a-workspace"},{"title":"Start a run","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-workspaces.yaml post /v1/workspaces/run","href":"/api-reference/daemon-workspaces/start-a-run"},{"title":"Get workspace status","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-workspaces.yaml post /v1/workspaces/status","href":"/api-reference/daemon-workspaces/get-workspace-status"},{"title":"Clean run history from a workspace","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-workspaces.yaml post /v1/workspaces/clean","href":"/api-reference/daemon-workspaces/clean-run-history-from-a-workspace"},{"title":"Unregister a workspace","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-workspaces.yaml post /v1/workspaces/remove","href":"/api-reference/daemon-workspaces/unregister-a-workspace"},{"title":"Diagnose this daemon","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-workspaces.yaml post /v1/workspaces/doctor","href":"/api-reference/daemon-workspaces/diagnose-this-daemon"}]},{"group":"Runs","pages":[{"title":"Stream run events","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-runs.yaml get /v1/runs/events","href":"/api-reference/daemon-runs/stream-run-events"},{"title":"Push a run event","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-runs.yaml post /v1/runs/events","href":"/api-reference/daemon-runs/push-a-run-event"},{"title":"Subscribe to run events","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-runs.yaml post /v1/runs/events/subscribe","href":"/api-reference/daemon-runs/subscribe-to-run-events"},{"title":"Unsubscribe from run events","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-runs.yaml post /v1/runs/events/unsubscribe","href":"/api-reference/daemon-runs/unsubscribe-from-run-events"},{"title":"List runs","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-runs.yaml post /v1/runs/get","href":"/api-reference/daemon-runs/list-runs"},{"title":"Read a run log","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-runs.yaml post /v1/runs/logs","href":"/api-reference/daemon-runs/read-a-run-log"},{"title":"Get a run tree","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-runs.yaml post /v1/runs/tree","href":"/api-reference/daemon-runs/get-a-run-tree"},{"title":"Send a run data record","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-runs.yaml post /v1/runs/create_rdr","href":"/api-reference/daemon-runs/send-a-run-data-record"},{"title":"Resume a run from a phase","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-runs.yaml post /v1/runs/resume","href":"/api-reference/daemon-runs/resume-a-run-from-a-phase"},{"title":"List run phases","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-runs.yaml post /v1/runs/phases","href":"/api-reference/daemon-runs/list-run-phases"}]},{"group":"Artifacts","pages":[{"title":"Upload an artifact","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-artifacts.yaml post /v1/runs/artifacts/submit","href":"/api-reference/daemon-artifacts/upload-an-artifact"},{"title":"Get an artifact","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-artifacts.yaml post /v1/artifacts/get_by_id","href":"/api-reference/daemon-artifacts/get-an-artifact"},{"title":"Download an artifact","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-artifacts.yaml post /v1/artifacts/download","href":"/api-reference/daemon-artifacts/download-an-artifact"}]},{"group":"Agents","pages":[{"title":"List local agents","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-agents.yaml post /v1/agents/get","href":"/api-reference/daemon-agents/list-local-agents"},{"title":"Get a local agent","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-agents.yaml post /v1/agents/get_by_id","href":"/api-reference/daemon-agents/get-a-local-agent"},{"title":"Register an agent with CliqHub","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-agents.yaml post /v1/agents/register","href":"/api-reference/daemon-agents/register-an-agent-with-cliqhub"},{"title":"Unregister an agent from CliqHub","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-agents.yaml post /v1/agents/unregister","href":"/api-reference/daemon-agents/unregister-an-agent-from-cliqhub"}]},{"group":"Settings","pages":[{"title":"List settings","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-settings.yaml post /v1/settings/get","href":"/api-reference/daemon-settings/list-settings"},{"title":"Get a setting","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-settings.yaml post /v1/settings/get_by_key","href":"/api-reference/daemon-settings/get-a-setting"},{"title":"Set a setting","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-settings.yaml post /v1/settings/set","href":"/api-reference/daemon-settings/set-a-setting"}]},{"group":"Instances","pages":[{"title":"List instances","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-instances.yaml post /v1/instances/get","href":"/api-reference/daemon-instances/list-instances"},{"title":"Get an instance","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-instances.yaml post /v1/instances/get_by_id","href":"/api-reference/daemon-instances/get-an-instance"},{"title":"Stop an instance","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-instances.yaml post /v1/instances/stop","href":"/api-reference/daemon-instances/stop-an-instance"}]},{"group":"Daemon","pages":[{"title":"Get daemon status","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-daemon.yaml post /v1/daemon/status","href":"/api-reference/daemon-daemon/get-daemon-status"},{"title":"Restart the daemon","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-daemon.yaml post /v1/daemon/restart","href":"/api-reference/daemon-daemon/restart-the-daemon"},{"title":"Get daemon summary","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-daemon.yaml post /v1/daemon/summary","href":"/api-reference/daemon-daemon/get-daemon-summary"}]},{"group":"Sign-in","pages":[{"title":"Sign in to CliqHub","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-auth.yaml post /v1/login","href":"/api-reference/daemon-sign-in/sign-in-to-cliqhub"},{"title":"Sign out of CliqHub","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-auth.yaml post /v1/logout","href":"/api-reference/daemon-sign-in/sign-out-of-cliqhub"},{"title":"Mint a CliqHub token","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-auth.yaml post /v1/auth/token","href":"/api-reference/daemon-sign-in/mint-a-cliqhub-token"},{"title":"Rotate a dispatch key","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-auth.yaml post /v1/auth/rotate_dispatch","href":"/api-reference/daemon-sign-in/rotate-a-dispatch-key"}]},{"group":"Local tokens","pages":[{"title":"Create a local token","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-tokens.yaml post /v1/tokens/create","href":"/api-reference/daemon-local-tokens/create-a-local-token"},{"title":"List local tokens","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-tokens.yaml post /v1/tokens/get","href":"/api-reference/daemon-local-tokens/list-local-tokens"},{"title":"Revoke a local token","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-tokens.yaml post /v1/tokens/revoke","href":"/api-reference/daemon-local-tokens/revoke-a-local-token"}]},{"group":"Hugs","pages":[{"title":"Open a Hug","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-hug.yaml post /v1/hugs/open","href":"/api-reference/daemon-hugs/open-a-hug"},{"title":"Wait for Hug events","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-hug.yaml post /v1/hugs/next","href":"/api-reference/daemon-hugs/wait-for-hug-events"},{"title":"Save the agent's Hug state","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-hug.yaml post /v1/hugs/save_state","href":"/api-reference/daemon-hugs/save-the-agents-hug-state"},{"title":"Close a Hug","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-hug.yaml post /v1/hugs/close","href":"/api-reference/daemon-hugs/close-a-hug"},{"title":"Deliver a Hug event","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-hug.yaml post /v1/hugs/deliver","href":"/api-reference/daemon-hugs/deliver-a-hug-event"},{"title":"Answer a local Hug","description":"Standalone mode: answers a local Hug — what scripts and tests send (people answer on the\nlocal Hug page). `values` are the hug's keys, and `summary` the answer in one line; cliqd\nchecks the envelope, and the agent checks the answer against the hug's definition. An upload\nslot takes `{ path, name, size, sha256 }` for a file in the Hug's directory\n(`.cliq/hugs/\u003chug_id>/`) that suits the slot (its accepted types and size); the daemon moves\nit into its own store and the answer carries a reference to it, as a CliqHub answer would.\nThe answer counts for every channel the Hug went to.\n\nNo credential is needed from this machine. From another host, send `Authorization: Bearer` with a dispatch token CliqHub signed for this daemon or a `cliq_tok_…` personal token of a user in the daemon's realm; this only works once the daemon is connected to CliqHub. See [Authentication](/daemon-api/overview#authentication).","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-hug.yaml post /v1/hugs/respond","href":"/api-reference/daemon-hugs/answer-a-local-hug"},{"title":"Show a hug in development","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-hug.yaml post /v1/hugs/dev","href":"/api-reference/daemon-hugs/show-a-hug-in-development"}]},{"group":"Hub commands","pages":[{"title":"Execute a run","description":"Starts a run CliqHub has already validated and assigned to this daemon, and answers as\nsoon as it starts. The run keeps CliqHub's `run_id`; a repeat of a run that is still going\nreturns it again. Without `workspace_dir` the run gets a fresh folder under the daemon's\nworkspace root (`ephemeral/\u003crun_id>`); a new path is registered as a workspace.\n\nThe team is named by id only: `team_id` is CliqHub's id for this daemon's install of it (the\ncopy's `hub_team_id`) and `version_id` the version to run. The daemon runs that version's\nfolder of its CliqHub copy — no manifest travels with the run — and downloads the version\nfirst when it doesn't have it yet (a rollout it hasn't caught up with). The run keeps that\nversion: updating the team later doesn't change it. Only CliqHub's copy runs — a local copy\nof the same team beside it never does. Agent and input checks still run: a run whose agents are not\nready or whose inputs are missing is refused (`RUN_AGENT_NOT_READY`,\n`RUN_INPUTS_REQUIRED`, with what is missing in `details`).\n\nNo credential is needed from this machine. From another host, send `Authorization: Bearer` with a dispatch token CliqHub signed for this daemon or a `cliq_tok_…` personal token of a user in the daemon's realm; this only works once the daemon is connected to CliqHub. See [Authentication](/daemon-api/overview#authentication).","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-commands.yaml post /v1/execute","href":"/api-reference/daemon-hub-commands/execute-a-run"},{"title":"Offer a run","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-commands.yaml post /v1/offer_job","href":"/api-reference/daemon-hub-commands/offer-a-run"},{"title":"Install an authorized team","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-commands.yaml post /v1/install","href":"/api-reference/daemon-hub-commands/install-an-authorized-team"},{"title":"Cancel a run","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-commands.yaml post /v1/cancel","href":"/api-reference/daemon-hub-commands/cancel-a-run"},{"title":"Initialize a workspace","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-commands.yaml post /v1/init","href":"/api-reference/daemon-hub-commands/initialize-a-workspace"},{"title":"Assign a team","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-commands.yaml post /v1/assemble","href":"/api-reference/daemon-hub-commands/assign-a-team"},{"title":"Unbind a team","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-commands.yaml post /v1/unbind","href":"/api-reference/daemon-hub-commands/unbind-a-team"},{"title":"Uninstall a team","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-commands.yaml post /v1/uninstall","href":"/api-reference/daemon-hub-commands/uninstall-a-team"},{"title":"Resume a run","deprecated":null,"version":null,"openapi":"/openapi/daemon-by-tag/daemon-commands.yaml post /v1/resume","href":"/api-reference/daemon-hub-commands/resume-a-run"}]}]}]},"basePath":"","title":"Show a hug in development - cliq","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-D6S0Yh6q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}