The Agent: GitHub endpoints expose GitHub authentication (device flow and PAT), repository browsing (repos, branches, working-tree status), and repository mutations (clone, commit, sync, pull request). Authentication state is process-wide, while repo/cwd-scoped operations resolve against the per-request X-Hoody-Cwd header. The token is never returned over the wire.
Reports the process-wide GitHub authentication state. Returns the linked account info; the token itself is never returned.
curl -X GET https://api.hoody.com/api/v1/agent/github/auth/status
const status = await client . agent . github . githubAuthStatus ();
Name In Type Required Description X-Hoody-Cwdheader string No Per-request working-directory scope (the .hoody project layer / record cwd / tool+workflow cwd). X-Hoody-Config-Dirheader string No Per-request --config-dir override selecting which on-disk .hoody install a stateless read/write resolves. X-Hoody-Containerheader string No Per-request bound remote container (omitted = local). Rejected (400) on routes with no container dimension. X-Hoody-Realmheader string No Per-request realm selector ("global" or a 24-hex id). Rejected (realm_scope_unsupported) on this route. realmquery string No In-query alias of the X-Hoody-Realm header (read only when the header is absent).
"scopes" : [ " repo " , " workflow " ]
"code" : " realm_scope_unsupported " ,
"message" : " realm scope not supported on this route "
Error Code Title Description Resolution bad_requestBad request The request was malformed or carried invalid parameters. Correct the request body or query parameters. realm_scope_unsupportedRealm scope unsupported A per-request realm header was supplied to a route with no realm dimension. Omit the realm header on this route, or open a session to scope by realm.
"message" : " request must arrive through the Hoody proxy "
Error Code Title Description Resolution forbiddenForbidden (not via the Hoody proxy) The request did not arrive through hoody-proxy; its source IP is private/local. Reach the agent through hoody-proxy (e.g. hoody agent … → platform → proxy).
"message" : " resource not found "
Error Code Title Description Resolution not_foundNot found The requested resource does not exist. Verify the path and identifier.
"message" : " request rate limit exceeded "
Error Code Title Description Resolution rate_limitedToo many requests The per-client request rate limit was exceeded. Honor the Retry-After header and retry; reduce the request rate.
"code" : " internal_error " ,
"message" : " internal server error "
Error Code Title Description Resolution internal_errorInternal error An unexpected error occurred while handling the request. Retry; if persistent, inspect the daemon logs.
"code" : " service_unavailable " ,
"message" : " service unavailable "
Error Code Title Description Resolution service_unavailableService unavailable The daemon could not service the request (busy or per-client stream concurrency cap). Honor Retry-After and retry.
Begins a GitHub login. With no body token, starts the device flow and returns the non-secret verification fields. With a body token (a PAT), validates and persists the token directly without a device flow. For GitHub Enterprise, set body host (default github.com).
curl -X POST https://api.hoody.com/api/v1/agent/github/auth/login
curl -X POST https://api.hoody.com/api/v1/agent/github/auth/login \
-H " Content-Type: application/json " \
-d ' {"token": "ghp_xxxxxxxxxxxxxxxxxxxx"} '
curl -X POST https://api.hoody.com/api/v1/agent/github/auth/login \
-H " Content-Type: application/json " \
-d ' {"host": "github.acme.internal"} '
await client . agent . github . githubLogin ();
await client . agent . github . githubLogin ({
data: { token: " ghp_xxxxxxxxxxxxxxxxxxxx " }
Name In Type Required Description X-Hoody-Cwdheader string No Per-request working-directory scope. X-Hoody-Config-Dirheader string No Per-request --config-dir override. X-Hoody-Containerheader string No Per-request bound remote container (omitted = local). X-Hoody-Realmheader string No Per-request realm selector. Rejected (realm_scope_unsupported) on this route. realmquery string No In-query alias of the X-Hoody-Realm header.
Name Type Required Description tokenstring No Optional PAT. When present, the login validates and persists this token (no device flow). Kept in env, never returned. hoststring No GitHub host for GitHub Enterprise (GHES); defaults to github.com. Must match the host on the subsequent poll call.
Device flow started (non-secret verification fields) OR PAT linked.
"device_code" : " 3584d83530557fdd1f46af8289938c8ef79f9dc5 " ,
"user_code" : " WDJB-MJHT " ,
"verification_uri" : " https://github.com/login/device " ,
"message" : " invalid request "
Error Code Title Description Resolution bad_requestBad request The request was malformed or carried invalid parameters. Correct the request body or query parameters. realm_scope_unsupportedRealm scope unsupported A per-request realm header was supplied to a route with no realm dimension. Omit the realm header on this route, or open a session to scope by realm.
"code" : " admin_unauthorized " ,
"message" : " memory administration requires a valid admin token "
Error Code Title Description Resolution admin_unauthorizedRejected by the daemon’s own admin gate The daemon’s Unix-socket memAdminGate / systemAdminGate refused the request. Run the daemon with socket auth and no separate admin capability so its own gate allows HTTP requests forwarded from the gateway. forbiddenForbidden (not via the Hoody proxy) The request did not arrive through hoody-proxy. Reach the agent through hoody-proxy.
"message" : " resource not found "
Error Code Title Description Resolution not_foundNot found The requested resource does not exist. Verify the path and identifier.
"code" : " payload_too_large " ,
"message" : " request body exceeds the configured size limit "
Error Code Title Description Resolution payload_too_largePayload too large The request body exceeds the configured size cap (MaxBodyBytes, default 8 MiB). Reduce the request body below the configured limit; split a large payload into smaller requests.
"message" : " request rate limit exceeded "
Error Code Title Description Resolution rate_limitedToo many requests The per-client request rate limit was exceeded. Honor the Retry-After header and retry; reduce the request rate.
"code" : " internal_error " ,
"message" : " internal server error "
Error Code Title Description Resolution internal_errorInternal error An unexpected error occurred while handling the request. Retry; if persistent, inspect the daemon logs.
"code" : " service_unavailable " ,
"message" : " service unavailable "
Error Code Title Description Resolution service_unavailableService unavailable The daemon could not service the request. Honor Retry-After and retry.
Polls an in-flight GitHub device-flow login to completion. Forward the {device_code, interval, expires_in} the start reply returned. Required to complete a device-flow login over HTTP — the start RPC only returns the verification URL and device code.
curl -X POST https://api.hoody.com/api/v1/agent/github/auth/login/poll \
-H " Content-Type: application/json " \
"device_code": "3584d83530557fdd1f46af8289938c8ef79f9dc5",
await client . agent . github . githubLoginPoll ({
device_code: " 3584d83530557fdd1f46af8289938c8ef79f9dc5 " ,
Name In Type Required Description X-Hoody-Cwdheader string No Per-request working-directory scope. X-Hoody-Config-Dirheader string No Per-request --config-dir override. X-Hoody-Containerheader string No Per-request bound remote container (omitted = local). X-Hoody-Realmheader string No Per-request realm selector. Rejected (realm_scope_unsupported) on this route. realmquery string No In-query alias of the X-Hoody-Realm header.
Name Type Required Description device_codestring Yes The device_code returned by POST /github/auth/login. hoststring No The GitHub host (default github.com); must match the start call. intervalinteger No The poll interval (seconds) the start reply returned. expires_ininteger No The device-code lifetime (seconds) the start reply returned.
Login completed; the token is persisted (never returned).
"message" : " invalid request "
Error Code Title Description Resolution bad_requestBad request The request was malformed or carried invalid parameters. Correct the request body or query parameters. realm_scope_unsupportedRealm scope unsupported A per-request realm header was supplied to a route with no realm dimension. Omit the realm header on this route, or open a session to scope by realm.
"message" : " request must arrive through the Hoody proxy "
Error Code Title Description Resolution admin_unauthorizedRejected by the daemon’s own admin gate The daemon’s Unix-socket memAdminGate / systemAdminGate refused the request. Run the daemon with socket auth and no separate admin capability so its own gate allows HTTP requests forwarded from the gateway. forbiddenForbidden (not via the Hoody proxy) The request did not arrive through hoody-proxy. Reach the agent through hoody-proxy.
"message" : " resource not found "
Error Code Title Description Resolution not_foundNot found The requested resource does not exist. Verify the path and identifier.
"code" : " payload_too_large " ,
"message" : " request body exceeds the configured size limit "
Error Code Title Description Resolution payload_too_largePayload too large The request body exceeds the configured size cap. Reduce the request body below the configured limit; split a large payload into smaller requests.
"message" : " request rate limit exceeded "
Error Code Title Description Resolution rate_limitedToo many requests The per-client request rate limit was exceeded. Honor the Retry-After header and retry; reduce the request rate.
"code" : " internal_error " ,
"message" : " internal server error "
Error Code Title Description Resolution internal_errorInternal error An unexpected error occurred while handling the request. Retry; if persistent, inspect the daemon logs.
"code" : " service_unavailable " ,
"message" : " service unavailable "
Error Code Title Description Resolution service_unavailableService unavailable The daemon could not service the request. Honor Retry-After and retry.
Lists known/configured repositories (github.repo.list).
curl -X GET " https://api.hoody.com/api/v1/agent/github/repos?page=1&limit=20 "
const repos = await client . agent . github . githubReposIterator ( {
Name In Type Required Description pagequery integer No 1-based page number for pagination. limitquery integer No Maximum items per page (0 = no pagination). X-Hoody-Cwdheader string No Per-request working-directory scope. X-Hoody-Config-Dirheader string No Per-request --config-dir override. X-Hoody-Containerheader string No Per-request bound remote container (omitted = local). X-Hoody-Realmheader string No Per-request realm selector. Rejected (realm_scope_unsupported) on this route. realmquery string No In-query alias of the X-Hoody-Realm header.
"full_name" : " octocat/Hello-World " ,
"clone_url" : " https://github.com/octocat/Hello-World.git " ,
"default_branch" : " main " ,
"message" : " invalid request "
Error Code Title Description Resolution bad_requestBad request The request was malformed or carried invalid parameters. Correct the request body or query parameters. realm_scope_unsupportedRealm scope unsupported A per-request realm header was supplied to a route with no realm dimension. Omit the realm header on this route, or open a session to scope by realm.
"message" : " request must arrive through the Hoody proxy "
Error Code Title Description Resolution forbiddenForbidden (not via the Hoody proxy) The request did not arrive through hoody-proxy. Reach the agent through hoody-proxy.
"message" : " resource not found "
Error Code Title Description Resolution not_foundNot found The requested resource does not exist. Verify the path and identifier.
"message" : " request rate limit exceeded "
Error Code Title Description Resolution rate_limitedToo many requests The per-client request rate limit was exceeded. Honor the Retry-After header and retry; reduce the request rate.
"code" : " internal_error " ,
"message" : " internal server error "
Error Code Title Description Resolution internal_errorInternal error An unexpected error occurred while handling the request. Retry; if persistent, inspect the daemon logs.
"code" : " service_unavailable " ,
"message" : " service unavailable "
Error Code Title Description Resolution service_unavailableService unavailable The daemon could not service the request. Honor Retry-After and retry.
Lists branches for the requesting cwd’s repository (github.branch.list). Cwd-scoped, not realm-scoped.
curl -X GET " https://api.hoody.com/api/v1/agent/github/branches?page=1&limit=20 "
const branches = await client . agent . github . githubBranchesIterator ( {
Name In Type Required Description pagequery integer No 1-based page number for pagination. limitquery integer No Maximum items per page (0 = no pagination). X-Hoody-Cwdheader string No Per-request working-directory scope. X-Hoody-Config-Dirheader string No Per-request --config-dir override. X-Hoody-Containerheader string No Per-request bound remote container (omitted = local). X-Hoody-Realmheader string No Per-request realm selector. Rejected (realm_scope_unsupported) on this route. realmquery string No In-query alias of the X-Hoody-Realm header.
"sha" : " c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c " ,
"sha" : " a1b2c3d4e5f6789012345678901234567890abcd " ,
"message" : " invalid request "
Error Code Title Description Resolution bad_requestBad request The request was malformed or carried invalid parameters. Correct the request body or query parameters. realm_scope_unsupportedRealm scope unsupported A per-request realm header was supplied to a route with no realm dimension. Omit the realm header on this route, or open a session to scope by realm.
"message" : " request must arrive through the Hoody proxy "
Error Code Title Description Resolution forbiddenForbidden (not via the Hoody proxy) The request did not arrive through hoody-proxy. Reach the agent through hoody-proxy.
"message" : " resource not found "
Error Code Title Description Resolution not_foundNot found The requested resource does not exist. Verify the path and identifier.
"message" : " request rate limit exceeded "
Error Code Title Description Resolution rate_limitedToo many requests The per-client request rate limit was exceeded. Honor the Retry-After header and retry; reduce the request rate.
"code" : " internal_error " ,
"message" : " internal server error "
Error Code Title Description Resolution internal_errorInternal error An unexpected error occurred while handling the request. Retry; if persistent, inspect the daemon logs.
"code" : " service_unavailable " ,
"message" : " service unavailable "
Error Code Title Description Resolution service_unavailableService unavailable The daemon could not service the request. Honor Retry-After and retry.
Returns the git working-tree status (github.status) for the requesting cwd. Cwd-scoped (git is repo/cwd-relative), not realm-scoped.
curl -X GET https://api.hoody.com/api/v1/agent/github/status
const status = await client . agent . github . githubStatus ();
Name In Type Required Description X-Hoody-Cwdheader string No Per-request working-directory scope. X-Hoody-Config-Dirheader string No Per-request --config-dir override. X-Hoody-Containerheader string No Per-request bound remote container (omitted = local). X-Hoody-Realmheader string No Per-request realm selector. Rejected (realm_scope_unsupported) on this route. realmquery string No In-query alias of the X-Hoody-Realm header.
{ "path" : " src/api.ts " , "status" : " modified " }
{ "path" : " README.md " , "status" : " modified " }
{ "path" : " src/new-feature.ts " }
"message" : " invalid request "
Error Code Title Description Resolution bad_requestBad request The request was malformed or carried invalid parameters. Correct the request body or query parameters. realm_scope_unsupportedRealm scope unsupported A per-request realm header was supplied to a route with no realm dimension. Omit the realm header on this route, or open a session to scope by realm.
"message" : " request must arrive through the Hoody proxy "
Error Code Title Description Resolution forbiddenForbidden (not via the Hoody proxy) The request did not arrive through hoody-proxy. Reach the agent through hoody-proxy.
"message" : " resource not found "
Error Code Title Description Resolution not_foundNot found The requested resource does not exist. Verify the path and identifier.
"message" : " request rate limit exceeded "
Error Code Title Description Resolution rate_limitedToo many requests The per-client request rate limit was exceeded. Honor the Retry-After header and retry; reduce the request rate.
"code" : " internal_error " ,
"message" : " internal server error "
Error Code Title Description Resolution internal_errorInternal error An unexpected error occurred while handling the request. Retry; if persistent, inspect the daemon logs.
"code" : " service_unavailable " ,
"message" : " service unavailable "
Error Code Title Description Resolution service_unavailableService unavailable The daemon could not service the request. Honor Retry-After and retry.
Clones a GitHub repository through the hardened argv builder (token only in env, cwd-scoped). Supply either repo (owner/name or an https GitHub URL) or the canonical full_name + clone_url pair. The clone runs against the active account host — a URL whose host does not match is rejected. Destructive.
curl -X POST https://api.hoody.com/api/v1/agent/github/clone \
-H " Content-Type: application/json " \
"repo": "octocat/Hello-World",
await client . agent . github . githubClone ({
repo: " octocat/Hello-World " ,
Name In Type Required Description X-Hoody-Cwdheader string No Per-request working-directory scope. X-Hoody-Config-Dirheader string No Per-request --config-dir override. X-Hoody-Containerheader string No Per-request bound remote container (omitted = local). X-Hoody-Realmheader string No Per-request realm selector. Rejected (realm_scope_unsupported) on this route. realmquery string No In-query alias of the X-Hoody-Realm header.
Name Type Required Description repostring No The repository to clone: "owner/name" or an https GitHub URL. Translated to full_name + clone_url against the active account host. dirstring No Optional managed clone root override (clone_root); the traversal-safe parent/dest are derived under it. full_namestring No Canonical "owner/name" (alternative to repo; used as-is when supplied). Requires clone_url. clone_urlstring No Canonical https clone URL (alternative to repo; re-validated against the active account host). Requires full_name. shallowboolean No Shallow clone (default true).
"full_name" : " octocat/Hello-World " ,
"path" : " /var/lib/hoody/repos/octocat/Hello-World " ,
"message" : " invalid request "
Error Code Title Description Resolution bad_requestBad request The request was malformed or carried invalid parameters. Correct the request body or query parameters. realm_scope_unsupportedRealm scope unsupported A per-request realm header was supplied to a route with no realm dimension. Omit the realm header on this route, or open a session to scope by realm.
"message" : " request must arrive through the Hoody proxy "
Error Code Title Description Resolution admin_unauthorizedRejected by the daemon’s own admin gate The daemon’s Unix-socket memAdminGate / systemAdminGate refused the request. Run the daemon with socket auth and no separate admin capability so its own gate allows HTTP requests forwarded from the gateway. forbiddenForbidden (not via the Hoody proxy) The request did not arrive through hoody-proxy. Reach the agent through hoody-proxy.
"message" : " resource not found "
Error Code Title Description Resolution not_foundNot found The requested resource does not exist. Verify the path and identifier.
"code" : " payload_too_large " ,
"message" : " request body exceeds the configured size limit "
Error Code Title Description Resolution payload_too_largePayload too large The request body exceeds the configured size cap. Reduce the request body below the configured limit; split a large payload into smaller requests.
"message" : " request rate limit exceeded "
Error Code Title Description Resolution rate_limitedToo many requests The per-client request rate limit was exceeded. Honor the Retry-After header and retry; reduce the request rate.
"code" : " internal_error " ,
"message" : " internal server error "
Error Code Title Description Resolution internal_errorInternal error An unexpected error occurred while handling the request. Retry; if persistent, inspect the daemon logs.
"code" : " service_unavailable " ,
"message" : " service unavailable "
Error Code Title Description Resolution service_unavailableService unavailable The daemon could not service the request. Honor Retry-After and retry.
Stages all changes and commits in the requesting cwd’s repository (github.commit) through the hardened argv builder, cwd-scoped. Destructive.
curl -X POST https://api.hoody.com/api/v1/agent/github/commit \
-H " Content-Type: application/json " \
-d ' {"message": "feat: add new API endpoint"} '
await client . agent . github . githubCommit ({
data: { message: " feat: add new API endpoint " }
Name In Type Required Description X-Hoody-Cwdheader string No Per-request working-directory scope. X-Hoody-Config-Dirheader string No Per-request --config-dir override. X-Hoody-Containerheader string No Per-request bound remote container (omitted = local). X-Hoody-Realmheader string No Per-request realm selector. Rejected (realm_scope_unsupported) on this route. realmquery string No In-query alias of the X-Hoody-Realm header.
Name Type Required Description messagestring Yes The commit message.
"sha" : " a1b2c3d4e5f6789012345678901234567890abcd " ,
"message" : " feat: add new API endpoint " ,
"message" : " invalid request "
Error Code Title Description Resolution bad_requestBad request The request was malformed or carried invalid parameters. Correct the request body or query parameters. realm_scope_unsupportedRealm scope unsupported A per-request realm header was supplied to a route with no realm dimension. Omit the realm header on this route, or open a session to scope by realm.
"message" : " request must arrive through the Hoody proxy "
Error Code Title Description Resolution admin_unauthorizedRejected by the daemon’s own admin gate The daemon’s Unix-socket memAdminGate / systemAdminGate refused the request. Run the daemon with socket auth and no separate admin capability so its own gate allows HTTP requests forwarded from the gateway. forbiddenForbidden (not via the Hoody proxy) The request did not arrive through hoody-proxy. Reach the agent through hoody-proxy.
"message" : " resource not found "
Error Code Title Description Resolution not_foundNot found The requested resource does not exist. Verify the path and identifier.
"code" : " payload_too_large " ,
"message" : " request body exceeds the configured size limit "
Error Code Title Description Resolution payload_too_largePayload too large The request body exceeds the configured size cap. Reduce the request body below the configured limit; split a large payload into smaller requests.
"message" : " request rate limit exceeded "
Error Code Title Description Resolution rate_limitedToo many requests The per-client request rate limit was exceeded. Honor the Retry-After header and retry; reduce the request rate.
"code" : " internal_error " ,
"message" : " internal server error "
Error Code Title Description Resolution internal_errorInternal error An unexpected error occurred while handling the request. Retry; if persistent, inspect the daemon logs.
"code" : " service_unavailable " ,
"message" : " service unavailable "
Error Code Title Description Resolution service_unavailableService unavailable The daemon could not service the request. Honor Retry-After and retry.
Runs fetch → pull → push as one logical sync (github.gw.sync), stopping at the first non-ok step so a later push never runs against a half-synced tree. Use the body direction field to pull-only (fetch+pull) or push-only. Each step runs through the hardened argv builder with a fresh request copy. Destructive.
curl -X POST https://api.hoody.com/api/v1/agent/github/sync \
-H " Content-Type: application/json " \
curl -X POST https://api.hoody.com/api/v1/agent/github/sync \
-H " Content-Type: application/json " \
-d ' {"direction": "pull"} '
await client . agent . github . githubSync ();
await client . agent . github . githubSync ({ data: { direction: " pull " } });
Name In Type Required Description X-Hoody-Cwdheader string No Per-request working-directory scope. X-Hoody-Config-Dirheader string No Per-request --config-dir override. X-Hoody-Containerheader string No Per-request bound remote container (omitted = local). X-Hoody-Realmheader string No Per-request realm selector. Rejected (realm_scope_unsupported) on this route. realmquery string No In-query alias of the X-Hoody-Realm header.
Name Type Required Description directionstring No Optional: "pull" (fetch+pull) or "push" (push only). Default is the full fetch→pull→push.
{ "step" : " fetch " , "result" : { "status" : " ok " } },
{ "step" : " pull " , "result" : { "status" : " ok " } },
{ "step" : " push " , "result" : { "status" : " ok " } }
"message" : " invalid request "
Error Code Title Description Resolution bad_requestBad request The request was malformed or carried invalid parameters. Correct the request body or query parameters. realm_scope_unsupportedRealm scope unsupported A per-request realm header was supplied to a route with no realm dimension. Omit the realm header on this route, or open a session to scope by realm.
"message" : " request must arrive through the Hoody proxy "
Error Code Title Description Resolution admin_unauthorizedRejected by the daemon’s own admin gate The daemon’s Unix-socket memAdminGate / systemAdminGate refused the request. Run the daemon with socket auth and no separate admin capability so its own gate allows HTTP requests forwarded from the gateway. forbiddenForbidden (not via the Hoody proxy) The request did not arrive through hoody-proxy. Reach the agent through hoody-proxy.
"message" : " resource not found "
Error Code Title Description Resolution not_foundNot found The requested resource does not exist. Verify the path and identifier.
"code" : " payload_too_large " ,
"message" : " request body exceeds the configured size limit "
Error Code Title Description Resolution payload_too_largePayload too large The request body exceeds the configured size cap. Reduce the request body below the configured limit; split a large payload into smaller requests.
"message" : " request rate limit exceeded "
Error Code Title Description Resolution rate_limitedToo many requests The per-client request rate limit was exceeded. Honor the Retry-After header and retry; reduce the request rate.
"code" : " internal_error " ,
"message" : " internal server error "
Error Code Title Description Resolution internal_errorInternal error An unexpected error occurred while handling the request. Retry; if persistent, inspect the daemon logs.
"code" : " sync_step_failed " ,
"message" : " sync step failed " ,
{ "step" : " fetch " , "result" : { "status" : " ok " } },
{ "step" : " pull " , "result" : { "status" : " ok " } },
{ "step" : " push " , "result" : { "status" : " error " , "message" : " updates were rejected (non-fast-forward) " } }
Error Code Title Description Resolution sync_step_failedSync step failed A downstream git/gh step (fetch/pull/push) failed after the sync was accepted; the steps that ran plus the failing one are returned under details. Resolve the underlying git state (conflict / transport / auth) and retry the sync.
"code" : " service_unavailable " ,
"message" : " service unavailable "
Error Code Title Description Resolution service_unavailableService unavailable The daemon could not service the request. Honor Retry-After and retry.
Opens a pull request for the requesting cwd’s repository (github.pr.create) through the hardened argv builder (token only in env, cwd-scoped). Destructive.
curl -X POST https://api.hoody.com/api/v1/agent/github/pr \
-H " Content-Type: application/json " \
"title": "Add new API endpoint",
"body": "Implements the new endpoint described in the spec.",
await client . agent . github . githubPullRequest ({
title: " Add new API endpoint " ,
body: " Implements the new endpoint described in the spec. " ,
Name In Type Required Description X-Hoody-Cwdheader string No Per-request working-directory scope. X-Hoody-Config-Dirheader string No Per-request --config-dir override. X-Hoody-Containerheader string No Per-request bound remote container (omitted = local). X-Hoody-Realmheader string No Per-request realm selector. Rejected (realm_scope_unsupported) on this route. realmquery string No In-query alias of the X-Hoody-Realm header.
Name Type Required Description titlestring No The PR title. bodystring No The PR description. basestring No Optional base branch (default the repo default).
"url" : " https://github.com/octocat/Hello-World/pull/42 " ,
"message" : " invalid request "
Error Code Title Description Resolution bad_requestBad request The request was malformed or carried invalid parameters. Correct the request body or query parameters. realm_scope_unsupportedRealm scope unsupported A per-request realm header was supplied to a route with no realm dimension. Omit the realm header on this route, or open a session to scope by realm.
"message" : " request must arrive through the Hoody proxy "
Error Code Title Description Resolution admin_unauthorizedRejected by the daemon’s own admin gate The daemon’s Unix-socket memAdminGate / systemAdminGate refused the request. Run the daemon with socket auth and no separate admin capability so its own gate allows HTTP requests forwarded from the gateway. forbiddenForbidden (not via the Hoody proxy) The request did not arrive through hoody-proxy. Reach the agent through hoody-proxy.
"message" : " resource not found "
Error Code Title Description Resolution not_foundNot found The requested resource does not exist. Verify the path and identifier.
"code" : " payload_too_large " ,
"message" : " request body exceeds the configured size limit "
Error Code Title Description Resolution payload_too_largePayload too large The request body exceeds the configured size cap. Reduce the request body below the configured limit; split a large payload into smaller requests.
"message" : " request rate limit exceeded "
Error Code Title Description Resolution rate_limitedToo many requests The per-client request rate limit was exceeded. Honor the Retry-After header and retry; reduce the request rate.
"code" : " internal_error " ,
"message" : " internal server error "
Error Code Title Description Resolution internal_errorInternal error An unexpected error occurred while handling the request. Retry; if persistent, inspect the daemon logs.
"code" : " service_unavailable " ,
"message" : " service unavailable "
Error Code Title Description Resolution service_unavailableService unavailable The daemon could not service the request. Honor Retry-After and retry.