API key: key id as the username, secret as the password. An account API key carries the same scopes as an OAuth token and is checked against the scopes listed under oauth2 on each operation. A trigger API key is limited to its trigger's workspace and reaches only the session operations that list this scheme alongside the oauth2 scopes.
Acceptable provider/model pairs from guild.yaml models, tried in order. An entry naming a model asks for exactly it; an entry naming only a provider lets the server pick. NULL means the agent declared none and runs on the session default. E.g. [{"provider": "ANTHROPIC", "model": "claude-sonnet-5"}, {"provider": "OPENAI"}]
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Guild","description":"Guild is the control plane for AI agents: build, run, and manage agents across workspaces, trigger them from events, schedules, or API calls, and hold conversations with them programmatically.","colors":{"primary":"#ff5500","light":"#ff5500","dark":"#ff5500"},"logo":{"light":"https://mintcdn.com/guildai/x-xVeOd53CpYbehm/logo/light.svg?fit=max\u0026auto=format\u0026n=x-xVeOd53CpYbehm\u0026q=85\u0026s=21393c9a072674c192091492cc76f441","dark":"https://mintcdn.com/guildai/x-xVeOd53CpYbehm/logo/dark.svg?fit=max\u0026auto=format\u0026n=x-xVeOd53CpYbehm\u0026q=85\u0026s=d6acfb4e042a02c7229b6dea41c1a957"},"favicon":{"light":"https://mintcdn.com/guildai/bdwyr8JP4_t-g2mL/favicon-tile-light.svg?fit=max\u0026auto=format\u0026n=bdwyr8JP4_t-g2mL\u0026q=85\u0026s=73d1ea692ac79392f47f8b39f0c99cc7","dark":"https://mintcdn.com/guildai/bdwyr8JP4_t-g2mL/favicon-tile-dark.svg?fit=max\u0026auto=format\u0026n=bdwyr8JP4_t-g2mL\u0026q=85\u0026s=2e6fbb5bd798a31616692175082e7681"},"appearance":{"default":"dark"},"background":{"color":{"light":"#fafafa","dark":"#191919"}},"navbar":{"links":[{"href":"https://guild.ai","label":"guild.ai"}],"primary":{"type":"button","label":"Sign in","href":"https://app.guild.ai"}},"footer":{"socials":{"github":"https://github.com/guildaidev","discord":"https://discord.gg/guild-ai"},"links":[{"header":"Company","items":[{"label":"About","href":"https://www.guild.ai/about"},{"label":"Contact","href":"https://www.guild.ai/contact"},{"label":"Privacy policy","href":"https://www.guild.ai/privacy-policy"},{"label":"Terms","href":"https://www.guild.ai/terms"}]},{"header":"Trust \u0026 Security","items":[{"label":"Trust Center","href":"https://trust.guild.ai/"},{"label":"Security","href":"https://www.guild.ai/security"},{"label":"Subprocessors","href":"https://trust.guild.ai/subprocessors"}]}]},"seo":{"metatags":{"og:site_name":"Guild Docs"},"organization":{"id":"https://www.guild.ai/#organization","name":"Guild","legalName":"Guild.ai, Inc.","url":"https://www.guild.ai/","sameAs":["https://www.linkedin.com/company/guild-ai-group","https://x.com/GuildAI","https://www.crunchbase.com/organization/guild-ai-86ce","https://www.threads.com/@guild.ai","https://reddit.com/r/guildai","https://youtube.com/@guild-ai","https://www.wikidata.org/wiki/Q141717471","https://github.com/guildaidev","https://discord.gg/guild-ai","https://instagram.com/guild.ai"]}},"fonts":{"family":"Geist"},"integrations":{"gtm":{"tagId":"GTM-WL84FT7T"}},"errors":{"404":{"redirect":false,"title":"Page not found","description":"That page doesn't exist. Try the [homepage](/), the full [documentation index](/llms.txt), or the [API reference](/api-reference/introduction)."}},"contextual":{"options":["copy","chatgpt","claude","mcp","cursor","vscode","download-spec"],"display":"header"},"metadata":{"timestamp":true},"markdown":{"instructions":["To act on a user's behalf in Guild, use the Guild REST API at https://api.guild.ai/v1.","The OpenAPI spec is unauthenticated: https://docs.guild.ai/openapi.json (or openapi.yaml).","Authenticate with an account API key, sent as HTTP Basic (key id as username, secret as password) or as `Authorization: Bearer \u003capi_key_id>:\u003capi_key_secret>`. See https://docs.guild.ai/api-reference/introduction#authentication.","To run one agent on demand without account-wide access, use an API trigger instead: https://docs.guild.ai/platform/api-triggers.","To act on Guild from an MCP client, connect to https://api.guild.ai/mcp (OAuth) or run `guild mcp` locally. Setup: https://docs.guild.ai/api-reference/mcp.","To search these docs from an MCP client, connect to https://docs.guild.ai/mcp. The full page index is https://docs.guild.ai/llms.txt."]},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"guildai","hasAudioNarration":false,"actualSubdomain":"guildai","customDomains":["docs.guild.ai"],"gitSource":{"type":"github","owner":"guildaidev","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af50ea29191ad6fb73e135a","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Guides","count":98},{"language":"default","tag":"API Reference","count":90},{"language":"default","tag":"Integrations","count":75},{"language":"default","tag":"Platform","count":61},{"language":"default","tag":"CLI","count":48},{"language":"default","tag":"Agents","count":34},{"language":"default","tag":"Workspaces","count":31},{"language":"default","tag":"Access \u0026 setup","count":23},{"language":"default","tag":"Commands","count":18},{"language":"default","tag":"Triggers","count":18}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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{--gray-50: 250 250 250;--gray-100: 245 245 245;--gray-200: 229 229 229;--gray-300: 212 212 212;--gray-400: 163 163 163;--gray-500: 115 115 115;--gray-600: 82 82 82;--gray-700: 64 64 64;--gray-800: 38 38 38;--gray-900: 23 23 23;--gray-950: 10 10 10}:root:not(.dark) :not(pre)>code{background-color:rgba(0, 0, 0, 0.04)!important;color:rgb(var(--gray-700))!important}.dark :not(pre)>code{background-color:rgba(255, 255, 255, 0.08)!important;color:rgb(var(--gray-300))!important}:root{--guild-accent: #ff5500;--guild-hairline: #eeeeed;--guild-muted: #746f6c}.dark{--guild-hairline: rgba(255, 255, 255, 0.12);--guild-muted: rgb(var(--gray-400))}.guild-logo{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex:none;border:1px solid var(--guild-hairline);border-radius:12px;margin:0 0 1.5rem}*:has(>.mdx-content>.guild-lockup:first-child){position:relative}*:has(>.mdx-content>.guild-lockup:first-child)>header{padding-top:4rem}.mdx-content:has(>.guild-lockup:first-child){position:static}.mdx-content>.guild-lockup:first-child{position:absolute;top:1.5rem;inset-inline-start:1.5rem;margin:0;display:flex;align-items:center;gap:0.875rem}.guild-lockup .guild-logo{margin:0}.guild-eyebrow{display:inline-flex;align-items:center;gap:0.5rem;font-size:0.8125rem;line-height:1;letter-spacing:0.01em;color:var(--guild-muted)}.guild-eyebrow::before{content:\"\";width:4px;height:4px;flex:none;background:var(--guild-accent)}.guild-logo svg,.guild-logo img{display:block;width:20px;height:20px}.integration-cards [data-component-part=\"card-content-container\"],.integration-cards [data-component-part=\"card-content-container\"] div.w-full{display:flex;flex-direction:column}.integration-cards [data-component-part=\"card-content-container\"]{gap:1rem}.integration-cards div.w-full{gap:0.25rem}.integration-cards [data-component-part=\"card-title\"],.integration-cards [data-component-part=\"card-content\"]{margin-top:0}.integration-cards [data-component-part=\"card-icon\"]{display:flex;align-items:center;width:auto;height:1.5rem}.integration-cards [data-component-part=\"card-icon\"]>img{width:auto!important;height:auto!important;max-width:none;filter:brightness(0)}.dark .integration-cards [data-component-part=\"card-icon\"]>img{filter:brightness(0) invert(1)}img[src*=\"/images/integration_marks/\"]{object-fit:contain;filter:brightness(0)}.dark img[src*=\"/images/integration_marks/\"]{filter:brightness(0) invert(1)}#sidebar-content img[src*=\"/images/integration_marks/\"]{filter:brightness(0) invert(0.64)}.dark #sidebar-content img[src*=\"/images/integration_marks/\"]{filter:brightness(0) invert(0.45)}.integration-cards [data-component-part=\"card-icon\"]>svg{width:1.25rem!important;height:1.25rem!important;background-color:currentColor!important}"}],"page":{"pagePath":"api-reference/agents/create-an-agent-version","slug":"/api-reference/agents/create-an-agent-version","pageMetadata":{"title":"Create an agent version","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /agents/{agent_id_or_name}/versions","href":"/api-reference/agents/create-an-agent-version","autogeneratedByOpenApi":true},"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":{"config":{},"pageMetadata":{"title":"Create an agent version","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /agents/{agent_id_or_name}/versions","href":"/api-reference/agents/create-an-agent-version","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/guildai/f8155b48b6398768/webmcp.js"],"openApiReferenceData":{"operation":{"operationId":"create_agent_version","summary":"Create an agent version","tags":["agents"],"security":["08aab83a-41c9-498f-bd23-5cdeaba6552f","010b2ba2-1f1a-4baa-8017-4abfea81f404","cebad632-26b6-47d4-9327-33e2e8677125"],"parameters":["daa67778-403c-4127-b7b4-68db8e3e3a77"],"requestBody":"bba4124a-9e96-4c4b-89e8-58571a8e9898","responses":{"200":"760f6627-0b96-4450-ad3f-33c2a66afece","201":"bff24fad-8480-4317-b9b4-a63253f1d5ce","400":"e699cf99-470e-4367-9049-e942c4eae4e2","401":"fd6c5040-7e02-4273-802c-1358ec1b7e04","403":"2dc782d1-edf7-431a-ba63-afb8aac4ece4","429":"e0d2fa21-5f4e-4a54-aa0b-ee892d1ab9ee"},"method":"post","type":"path","servers":["df2f1156-bbcf-4a08-b869-6cd67982d6e1"],"path":"/agents/{agent_id_or_name}/versions","baseUrlOptions":["https://api.guild.ai/v1"],"title":"Create an agent version","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"daa67778-403c-4127-b7b4-68db8e3e3a77":{"name":"agent_id_or_name","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"version_type":{"enum":["EPHEMERAL","COMMITTED"],"title":"AgentVersionType","type":"string","isRequired":true,"uniqueKey":"version_type","typeLabel":"enum\u003cstring>"},"skip_validation":{"default":false,"title":"Skip Validation","type":"boolean","uniqueKey":"skip_validation","typeLabel":"boolean"},"publish":{"default":false,"description":"Publish the version once it passes validation","title":"Publish","type":"boolean","uniqueKey":"publish","typeLabel":"boolean"},"files":{"oneOf":[{"default":null,"description":"Every source file of the new version, as path and content","title":"Files","items":{"properties":{"path":{"title":"Path","type":"string","isRequired":true,"uniqueKey":"files.oneOf.0.items.[INDEX].path","typeLabel":"string"},"content":{"title":"Content","type":"string","isRequired":true,"uniqueKey":"files.oneOf.0.items.[INDEX].content","typeLabel":"string"}},"required":["path","content"],"title":"AgentVersionFile","type":"object","uniqueKey":"files.oneOf.0.items.[INDEX]","typeLabel":"AgentVersionFile · object"},"type":"array","uniqueKey":"files.oneOf.0","typeLabel":"AgentVersionFile · object[]"},{"default":null,"description":"Every source file of the new version, as path and content","title":"Files","items":{"properties":{"path":{"title":"Path","type":"string"},"content":{"title":"Content","type":"string"}},"required":["path","content"],"title":"AgentVersionFile","type":"object"},"type":"null","uniqueKey":"files.oneOf.1","typeLabel":"null"}],"uniqueKey":"files","typeLabel":"AgentVersionFile · object[] | null"},"bundle":{"oneOf":[{"default":null,"title":"Bundle","type":"string","uniqueKey":"bundle.oneOf.0","typeLabel":"string"},{"default":null,"title":"Bundle","type":"null","uniqueKey":"bundle.oneOf.1","typeLabel":"null"}],"uniqueKey":"bundle","typeLabel":"string | null"},"encoding":{"oneOf":[{"default":null,"title":"Encoding","type":"string","uniqueKey":"encoding.oneOf.0","typeLabel":"string"},{"default":null,"title":"Encoding","type":"null","uniqueKey":"encoding.oneOf.1","typeLabel":"null"}],"uniqueKey":"encoding","typeLabel":"string | null"},"commit_sha":{"oneOf":[{"default":null,"title":"Commit Sha","type":"string","uniqueKey":"commit_sha.oneOf.0","typeLabel":"string"},{"default":null,"title":"Commit Sha","type":"null","uniqueKey":"commit_sha.oneOf.1","typeLabel":"null"}],"uniqueKey":"commit_sha","typeLabel":"string | null"},"summary":{"oneOf":[{"default":null,"description":"What changed","title":"Summary","type":"string","uniqueKey":"summary.oneOf.0","typeLabel":"string"},{"default":null,"description":"What changed","title":"Summary","type":"null","uniqueKey":"summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"summary","typeLabel":"string | null"},"version_number":{"oneOf":[{"default":null,"title":"Version Number","type":"string","uniqueKey":"version_number.oneOf.0","typeLabel":"string"},{"default":null,"title":"Version Number","type":"null","uniqueKey":"version_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"version_number","typeLabel":"string | null"}},"required":["version_type"],"title":"CreateAgentVersionInput","type":"object","uniqueKey":"","typeLabel":"CreateAgentVersionInput · object"},"examples":{"Example":{"title":"Example","value":{"skip_validation":false,"publish":false,"files":null,"bundle":null,"encoding":null,"commit_sha":null,"summary":null,"version_number":null}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"760f6627-0b96-4450-ad3f-33c2a66afece":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["job_id"],"properties":{"job_id":{"oneOf":[{"type":"string","format":"uuid","description":"The validation or publish job this request started; null when it started none.","isRequired":true,"uniqueKey":"oneOf.0.job_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"The validation or publish job this request started; null when it started none.","isRequired":true,"uniqueKey":"oneOf.0.job_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.job_id","typeLabel":"string\u003cuuid> | null"},"id":{"type":"string","format":"uuid","uniqueKey":"oneOf.0.id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","uniqueKey":"oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"agent_id":{"type":"string","format":"uuid","uniqueKey":"oneOf.0.agent_id","typeLabel":"string\u003cuuid>"},"author_id":{"type":"string","format":"uuid","uniqueKey":"oneOf.0.author_id","typeLabel":"string\u003cuuid>"},"validation_status":{"type":"string","enum":["SKIPPED","PENDING","RUNNING","PASSED","FAILED"],"uniqueKey":"oneOf.0.validation_status","typeLabel":"enum\u003cstring>"},"dependencies":{"oneOf":[{"type":"object","description":"npm package.json dependencies","uniqueKey":"oneOf.0.dependencies.oneOf.0","typeLabel":"object"},{"type":"null","description":"npm package.json dependencies","uniqueKey":"oneOf.0.dependencies.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.dependencies","typeLabel":"object | null"},"description":{"oneOf":[{"type":"string","maxLength":8192,"description":"Description for the agent extracted from the agent code.","uniqueKey":"oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":8192,"description":"Description for the agent extracted from the agent code.","uniqueKey":"oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.description","typeLabel":"string | null"},"env_references":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.0.env_references.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Workspace variable keys referenced as {{env.KEY}} in the version's prompt, extracted at build time","uniqueKey":"oneOf.0.env_references.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"Workspace variable keys referenced as {{env.KEY}} in the version's prompt, extracted at build time","uniqueKey":"oneOf.0.env_references.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.env_references","typeLabel":"any[] | null"},"input_schema":{"oneOf":[{"type":"object","description":"JSON Schema from Zod input","uniqueKey":"oneOf.0.input_schema.oneOf.0","typeLabel":"object"},{"type":"null","description":"JSON Schema from Zod input","uniqueKey":"oneOf.0.input_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.input_schema","typeLabel":"object | null"},"llm_models":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.0.llm_models.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Acceptable provider/model pairs from guild.yaml `models`, tried in order. An entry naming a model asks for exactly it; an entry naming only a provider lets the server pick. NULL means the agent declared none and runs on the session default. E.g. [{\"provider\": \"ANTHROPIC\", \"model\": \"claude-sonnet-5\"}, {\"provider\": \"OPENAI\"}]","uniqueKey":"oneOf.0.llm_models.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"Acceptable provider/model pairs from guild.yaml `models`, tried in order. An entry naming a model asks for exactly it; an entry naming only a provider lets the server pick. NULL means the agent declared none and runs on the session default. E.g. [{\"provider\": \"ANTHROPIC\", \"model\": \"claude-sonnet-5\"}, {\"provider\": \"OPENAI\"}]","uniqueKey":"oneOf.0.llm_models.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.llm_models","typeLabel":"any[] | null"},"output_schema":{"oneOf":[{"type":"object","description":"JSON Schema from Zod output","uniqueKey":"oneOf.0.output_schema.oneOf.0","typeLabel":"object"},{"type":"null","description":"JSON Schema from Zod output","uniqueKey":"oneOf.0.output_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output_schema","typeLabel":"object | null"},"published_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"oneOf.0.published_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"oneOf.0.published_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.published_at","typeLabel":"string\u003cdate-time> | null"},"publishing_started_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"oneOf.0.publishing_started_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"oneOf.0.publishing_started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.publishing_started_at","typeLabel":"string\u003cdate-time> | null"},"raw_tools":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.0.raw_tools.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Structured per-tool metadata. Each entry is a tool object discriminated by toolType (integration, legacy, agent, builtin).","uniqueKey":"oneOf.0.raw_tools.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"Structured per-tool metadata. Each entry is a tool object discriminated by toolType (integration, legacy, agent, builtin).","uniqueKey":"oneOf.0.raw_tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.raw_tools","typeLabel":"any[] | null"},"runtime_environment_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"oneOf.0.runtime_environment_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"oneOf.0.runtime_environment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.runtime_environment_id","typeLabel":"string\u003cuuid> | null"},"sha":{"oneOf":[{"type":"string","maxLength":40,"description":"Git commit SHA (40-character hexadecimal). For agents: set on version creation. For integrations: set after code is stored in GitHub.","uniqueKey":"oneOf.0.sha.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":40,"description":"Git commit SHA (40-character hexadecimal). For agents: set on version creation. For integrations: set after code is stored in GitHub.","uniqueKey":"oneOf.0.sha.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.sha","typeLabel":"string | null"},"summary":{"oneOf":[{"type":"string","maxLength":500,"description":"Commit message summary. For agents: set on version creation. For integrations: set after code is stored in GitHub.","uniqueKey":"oneOf.0.summary.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":500,"description":"Commit message summary. For agents: set on version creation. For integrations: set after code is stored in GitHub.","uniqueKey":"oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.summary","typeLabel":"string | null"},"tools":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.0.tools.oneOf.0.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.0.tools.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"uniqueKey":"oneOf.0.tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.tools","typeLabel":"any[] | null"},"version_number":{"oneOf":[{"type":"string","maxLength":100,"description":"The semantic version number (i.e., MAJOR.MINOR.PATCH) of this version","uniqueKey":"oneOf.0.version_number.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100,"description":"The semantic version number (i.e., MAJOR.MINOR.PATCH) of this version","uniqueKey":"oneOf.0.version_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.version_number","typeLabel":"string | null"},"agent":{"oneOf":[{}],"uniqueKey":"oneOf.0.agent","typeLabel":"any"},"author":{"oneOf":[{}],"uniqueKey":"oneOf.0.author","typeLabel":"any"},"status":{"oneOf":[{}],"uniqueKey":"oneOf.0.status","typeLabel":"any"},"version_type":{"oneOf":[{}],"uniqueKey":"oneOf.0.version_type","typeLabel":"any"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["job_id"],"properties":{"job_id":{"oneOf":[{"type":"string","format":"uuid","description":"The validation or publish job this request started; null when it started none.","isRequired":true,"uniqueKey":"oneOf.1.job_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"The validation or publish job this request started; null when it started none.","isRequired":true,"uniqueKey":"oneOf.1.job_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.job_id","typeLabel":"string\u003cuuid> | null"},"id":{"type":"string","format":"uuid","uniqueKey":"oneOf.1.id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","uniqueKey":"oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"oneOf.1.updated_at","typeLabel":"string\u003cdate-time>"},"agent_id":{"type":"string","format":"uuid","uniqueKey":"oneOf.1.agent_id","typeLabel":"string\u003cuuid>"},"author_id":{"type":"string","format":"uuid","uniqueKey":"oneOf.1.author_id","typeLabel":"string\u003cuuid>"},"files":{"type":"object","description":"The files for this version and their content. Format: {[key: filename]: content}","uniqueKey":"oneOf.1.files","typeLabel":"object"},"validation_status":{"type":"string","enum":["SKIPPED","PENDING","RUNNING","PASSED","FAILED"],"uniqueKey":"oneOf.1.validation_status","typeLabel":"enum\u003cstring>"},"dependencies":{"oneOf":[{"type":"object","description":"npm package.json dependencies","uniqueKey":"oneOf.1.dependencies.oneOf.0","typeLabel":"object"},{"type":"null","description":"npm package.json dependencies","uniqueKey":"oneOf.1.dependencies.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.dependencies","typeLabel":"object | null"},"description":{"oneOf":[{"type":"string","maxLength":8192,"description":"Description for the agent extracted from the agent code.","uniqueKey":"oneOf.1.description.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":8192,"description":"Description for the agent extracted from the agent code.","uniqueKey":"oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.description","typeLabel":"string | null"},"env_references":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.1.env_references.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Workspace variable keys referenced as {{env.KEY}} in the version's prompt, extracted at build time","uniqueKey":"oneOf.1.env_references.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"Workspace variable keys referenced as {{env.KEY}} in the version's prompt, extracted at build time","uniqueKey":"oneOf.1.env_references.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.env_references","typeLabel":"any[] | null"},"input_schema":{"oneOf":[{"type":"object","description":"JSON Schema from Zod input","uniqueKey":"oneOf.1.input_schema.oneOf.0","typeLabel":"object"},{"type":"null","description":"JSON Schema from Zod input","uniqueKey":"oneOf.1.input_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.input_schema","typeLabel":"object | null"},"llm_models":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.1.llm_models.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Acceptable provider/model pairs from guild.yaml `models`, tried in order. An entry naming a model asks for exactly it; an entry naming only a provider lets the server pick. NULL means the agent declared none and runs on the session default. E.g. [{\"provider\": \"ANTHROPIC\", \"model\": \"claude-sonnet-5\"}, {\"provider\": \"OPENAI\"}]","uniqueKey":"oneOf.1.llm_models.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"Acceptable provider/model pairs from guild.yaml `models`, tried in order. An entry naming a model asks for exactly it; an entry naming only a provider lets the server pick. NULL means the agent declared none and runs on the session default. E.g. [{\"provider\": \"ANTHROPIC\", \"model\": \"claude-sonnet-5\"}, {\"provider\": \"OPENAI\"}]","uniqueKey":"oneOf.1.llm_models.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.llm_models","typeLabel":"any[] | null"},"output_schema":{"oneOf":[{"type":"object","description":"JSON Schema from Zod output","uniqueKey":"oneOf.1.output_schema.oneOf.0","typeLabel":"object"},{"type":"null","description":"JSON Schema from Zod output","uniqueKey":"oneOf.1.output_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.output_schema","typeLabel":"object | null"},"raw_tools":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.1.raw_tools.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Structured per-tool metadata. Each entry is a tool object discriminated by toolType (integration, legacy, agent, builtin).","uniqueKey":"oneOf.1.raw_tools.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"Structured per-tool metadata. Each entry is a tool object discriminated by toolType (integration, legacy, agent, builtin).","uniqueKey":"oneOf.1.raw_tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.raw_tools","typeLabel":"any[] | null"},"runtime_environment_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"oneOf.1.runtime_environment_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"oneOf.1.runtime_environment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.runtime_environment_id","typeLabel":"string\u003cuuid> | null"},"tools":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.1.tools.oneOf.0.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.1.tools.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"uniqueKey":"oneOf.1.tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.tools","typeLabel":"any[] | null"},"version_number":{"oneOf":[{"type":"string","maxLength":100,"description":"The semantic version number (i.e., MAJOR.MINOR.PATCH) of this version","uniqueKey":"oneOf.1.version_number.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100,"description":"The semantic version number (i.e., MAJOR.MINOR.PATCH) of this version","uniqueKey":"oneOf.1.version_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.version_number","typeLabel":"string | null"},"agent":{"oneOf":[{}],"uniqueKey":"oneOf.1.agent","typeLabel":"any"},"author":{"oneOf":[{}],"uniqueKey":"oneOf.1.author","typeLabel":"any"},"published_at":{"oneOf":[{}],"uniqueKey":"oneOf.1.published_at","typeLabel":"any"},"publishing_started_at":{"oneOf":[{}],"uniqueKey":"oneOf.1.publishing_started_at","typeLabel":"any"},"sha":{"oneOf":[{}],"uniqueKey":"oneOf.1.sha","typeLabel":"any"},"status":{"oneOf":[{}],"uniqueKey":"oneOf.1.status","typeLabel":"any"},"summary":{"oneOf":[{}],"uniqueKey":"oneOf.1.summary","typeLabel":"any"},"version_type":{"oneOf":[{}],"uniqueKey":"oneOf.1.version_type","typeLabel":"any"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"job_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","agent_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","author_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","validation_status":"SKIPPED","dependencies":{},"description":"\u003cstring>","env_references":["\u003cunknown>"],"input_schema":{},"llm_models":["\u003cunknown>"],"output_schema":{},"published_at":"2023-11-07T05:31:56Z","publishing_started_at":"2023-11-07T05:31:56Z","raw_tools":["\u003cunknown>"],"runtime_environment_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","sha":"\u003cstring>","summary":"\u003cstring>","tools":["\u003cunknown>"],"version_number":"\u003cstring>","agent":"\u003cunknown>","author":"\u003cunknown>","status":"\u003cunknown>","version_type":"\u003cunknown>"}}},"exampleType":"generated"}},"headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window. Present when a rate limit applies to the request.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window. Present when a rate limit applies to the request.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window ends. Present when a rate limit applies to the request.","schema":{"type":"integer"}}},"exampleType":"generated"},"bff24fad-8480-4317-b9b4-a63253f1d5ce":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["job_id"],"properties":{"job_id":{"oneOf":[{"type":"string","format":"uuid","description":"The validation or publish job this request started; null when it started none.","isRequired":true,"uniqueKey":"oneOf.0.job_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"The validation or publish job this request started; null when it started none.","isRequired":true,"uniqueKey":"oneOf.0.job_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.job_id","typeLabel":"string\u003cuuid> | null"},"id":{"type":"string","format":"uuid","uniqueKey":"oneOf.0.id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","uniqueKey":"oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"agent_id":{"type":"string","format":"uuid","uniqueKey":"oneOf.0.agent_id","typeLabel":"string\u003cuuid>"},"author_id":{"type":"string","format":"uuid","uniqueKey":"oneOf.0.author_id","typeLabel":"string\u003cuuid>"},"validation_status":{"type":"string","enum":["SKIPPED","PENDING","RUNNING","PASSED","FAILED"],"uniqueKey":"oneOf.0.validation_status","typeLabel":"enum\u003cstring>"},"dependencies":{"oneOf":[{"type":"object","description":"npm package.json dependencies","uniqueKey":"oneOf.0.dependencies.oneOf.0","typeLabel":"object"},{"type":"null","description":"npm package.json dependencies","uniqueKey":"oneOf.0.dependencies.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.dependencies","typeLabel":"object | null"},"description":{"oneOf":[{"type":"string","maxLength":8192,"description":"Description for the agent extracted from the agent code.","uniqueKey":"oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":8192,"description":"Description for the agent extracted from the agent code.","uniqueKey":"oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.description","typeLabel":"string | null"},"env_references":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.0.env_references.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Workspace variable keys referenced as {{env.KEY}} in the version's prompt, extracted at build time","uniqueKey":"oneOf.0.env_references.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"Workspace variable keys referenced as {{env.KEY}} in the version's prompt, extracted at build time","uniqueKey":"oneOf.0.env_references.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.env_references","typeLabel":"any[] | null"},"input_schema":{"oneOf":[{"type":"object","description":"JSON Schema from Zod input","uniqueKey":"oneOf.0.input_schema.oneOf.0","typeLabel":"object"},{"type":"null","description":"JSON Schema from Zod input","uniqueKey":"oneOf.0.input_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.input_schema","typeLabel":"object | null"},"llm_models":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.0.llm_models.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Acceptable provider/model pairs from guild.yaml `models`, tried in order. An entry naming a model asks for exactly it; an entry naming only a provider lets the server pick. NULL means the agent declared none and runs on the session default. E.g. [{\"provider\": \"ANTHROPIC\", \"model\": \"claude-sonnet-5\"}, {\"provider\": \"OPENAI\"}]","uniqueKey":"oneOf.0.llm_models.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"Acceptable provider/model pairs from guild.yaml `models`, tried in order. An entry naming a model asks for exactly it; an entry naming only a provider lets the server pick. NULL means the agent declared none and runs on the session default. E.g. [{\"provider\": \"ANTHROPIC\", \"model\": \"claude-sonnet-5\"}, {\"provider\": \"OPENAI\"}]","uniqueKey":"oneOf.0.llm_models.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.llm_models","typeLabel":"any[] | null"},"output_schema":{"oneOf":[{"type":"object","description":"JSON Schema from Zod output","uniqueKey":"oneOf.0.output_schema.oneOf.0","typeLabel":"object"},{"type":"null","description":"JSON Schema from Zod output","uniqueKey":"oneOf.0.output_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.output_schema","typeLabel":"object | null"},"published_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"oneOf.0.published_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"oneOf.0.published_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.published_at","typeLabel":"string\u003cdate-time> | null"},"publishing_started_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"oneOf.0.publishing_started_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"oneOf.0.publishing_started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.publishing_started_at","typeLabel":"string\u003cdate-time> | null"},"raw_tools":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.0.raw_tools.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Structured per-tool metadata. Each entry is a tool object discriminated by toolType (integration, legacy, agent, builtin).","uniqueKey":"oneOf.0.raw_tools.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"Structured per-tool metadata. Each entry is a tool object discriminated by toolType (integration, legacy, agent, builtin).","uniqueKey":"oneOf.0.raw_tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.raw_tools","typeLabel":"any[] | null"},"runtime_environment_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"oneOf.0.runtime_environment_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"oneOf.0.runtime_environment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.runtime_environment_id","typeLabel":"string\u003cuuid> | null"},"sha":{"oneOf":[{"type":"string","maxLength":40,"description":"Git commit SHA (40-character hexadecimal). For agents: set on version creation. For integrations: set after code is stored in GitHub.","uniqueKey":"oneOf.0.sha.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":40,"description":"Git commit SHA (40-character hexadecimal). For agents: set on version creation. For integrations: set after code is stored in GitHub.","uniqueKey":"oneOf.0.sha.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.sha","typeLabel":"string | null"},"summary":{"oneOf":[{"type":"string","maxLength":500,"description":"Commit message summary. For agents: set on version creation. For integrations: set after code is stored in GitHub.","uniqueKey":"oneOf.0.summary.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":500,"description":"Commit message summary. For agents: set on version creation. For integrations: set after code is stored in GitHub.","uniqueKey":"oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.summary","typeLabel":"string | null"},"tools":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.0.tools.oneOf.0.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.0.tools.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"uniqueKey":"oneOf.0.tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.tools","typeLabel":"any[] | null"},"version_number":{"oneOf":[{"type":"string","maxLength":100,"description":"The semantic version number (i.e., MAJOR.MINOR.PATCH) of this version","uniqueKey":"oneOf.0.version_number.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100,"description":"The semantic version number (i.e., MAJOR.MINOR.PATCH) of this version","uniqueKey":"oneOf.0.version_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.version_number","typeLabel":"string | null"},"agent":{"oneOf":[{}],"uniqueKey":"oneOf.0.agent","typeLabel":"any"},"author":{"oneOf":[{}],"uniqueKey":"oneOf.0.author","typeLabel":"any"},"status":{"oneOf":[{}],"uniqueKey":"oneOf.0.status","typeLabel":"any"},"version_type":{"oneOf":[{}],"uniqueKey":"oneOf.0.version_type","typeLabel":"any"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["job_id"],"properties":{"job_id":{"oneOf":[{"type":"string","format":"uuid","description":"The validation or publish job this request started; null when it started none.","isRequired":true,"uniqueKey":"oneOf.1.job_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"The validation or publish job this request started; null when it started none.","isRequired":true,"uniqueKey":"oneOf.1.job_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.job_id","typeLabel":"string\u003cuuid> | null"},"id":{"type":"string","format":"uuid","uniqueKey":"oneOf.1.id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","uniqueKey":"oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"oneOf.1.updated_at","typeLabel":"string\u003cdate-time>"},"agent_id":{"type":"string","format":"uuid","uniqueKey":"oneOf.1.agent_id","typeLabel":"string\u003cuuid>"},"author_id":{"type":"string","format":"uuid","uniqueKey":"oneOf.1.author_id","typeLabel":"string\u003cuuid>"},"files":{"type":"object","description":"The files for this version and their content. Format: {[key: filename]: content}","uniqueKey":"oneOf.1.files","typeLabel":"object"},"validation_status":{"type":"string","enum":["SKIPPED","PENDING","RUNNING","PASSED","FAILED"],"uniqueKey":"oneOf.1.validation_status","typeLabel":"enum\u003cstring>"},"dependencies":{"oneOf":[{"type":"object","description":"npm package.json dependencies","uniqueKey":"oneOf.1.dependencies.oneOf.0","typeLabel":"object"},{"type":"null","description":"npm package.json dependencies","uniqueKey":"oneOf.1.dependencies.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.dependencies","typeLabel":"object | null"},"description":{"oneOf":[{"type":"string","maxLength":8192,"description":"Description for the agent extracted from the agent code.","uniqueKey":"oneOf.1.description.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":8192,"description":"Description for the agent extracted from the agent code.","uniqueKey":"oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.description","typeLabel":"string | null"},"env_references":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.1.env_references.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Workspace variable keys referenced as {{env.KEY}} in the version's prompt, extracted at build time","uniqueKey":"oneOf.1.env_references.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"Workspace variable keys referenced as {{env.KEY}} in the version's prompt, extracted at build time","uniqueKey":"oneOf.1.env_references.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.env_references","typeLabel":"any[] | null"},"input_schema":{"oneOf":[{"type":"object","description":"JSON Schema from Zod input","uniqueKey":"oneOf.1.input_schema.oneOf.0","typeLabel":"object"},{"type":"null","description":"JSON Schema from Zod input","uniqueKey":"oneOf.1.input_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.input_schema","typeLabel":"object | null"},"llm_models":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.1.llm_models.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Acceptable provider/model pairs from guild.yaml `models`, tried in order. An entry naming a model asks for exactly it; an entry naming only a provider lets the server pick. NULL means the agent declared none and runs on the session default. E.g. [{\"provider\": \"ANTHROPIC\", \"model\": \"claude-sonnet-5\"}, {\"provider\": \"OPENAI\"}]","uniqueKey":"oneOf.1.llm_models.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"Acceptable provider/model pairs from guild.yaml `models`, tried in order. An entry naming a model asks for exactly it; an entry naming only a provider lets the server pick. NULL means the agent declared none and runs on the session default. E.g. [{\"provider\": \"ANTHROPIC\", \"model\": \"claude-sonnet-5\"}, {\"provider\": \"OPENAI\"}]","uniqueKey":"oneOf.1.llm_models.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.llm_models","typeLabel":"any[] | null"},"output_schema":{"oneOf":[{"type":"object","description":"JSON Schema from Zod output","uniqueKey":"oneOf.1.output_schema.oneOf.0","typeLabel":"object"},{"type":"null","description":"JSON Schema from Zod output","uniqueKey":"oneOf.1.output_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.output_schema","typeLabel":"object | null"},"raw_tools":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.1.raw_tools.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Structured per-tool metadata. Each entry is a tool object discriminated by toolType (integration, legacy, agent, builtin).","uniqueKey":"oneOf.1.raw_tools.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"Structured per-tool metadata. Each entry is a tool object discriminated by toolType (integration, legacy, agent, builtin).","uniqueKey":"oneOf.1.raw_tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.raw_tools","typeLabel":"any[] | null"},"runtime_environment_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"oneOf.1.runtime_environment_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"oneOf.1.runtime_environment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.runtime_environment_id","typeLabel":"string\u003cuuid> | null"},"tools":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.1.tools.oneOf.0.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.1.tools.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"uniqueKey":"oneOf.1.tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.tools","typeLabel":"any[] | null"},"version_number":{"oneOf":[{"type":"string","maxLength":100,"description":"The semantic version number (i.e., MAJOR.MINOR.PATCH) of this version","uniqueKey":"oneOf.1.version_number.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100,"description":"The semantic version number (i.e., MAJOR.MINOR.PATCH) of this version","uniqueKey":"oneOf.1.version_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.version_number","typeLabel":"string | null"},"agent":{"oneOf":[{}],"uniqueKey":"oneOf.1.agent","typeLabel":"any"},"author":{"oneOf":[{}],"uniqueKey":"oneOf.1.author","typeLabel":"any"},"published_at":{"oneOf":[{}],"uniqueKey":"oneOf.1.published_at","typeLabel":"any"},"publishing_started_at":{"oneOf":[{}],"uniqueKey":"oneOf.1.publishing_started_at","typeLabel":"any"},"sha":{"oneOf":[{}],"uniqueKey":"oneOf.1.sha","typeLabel":"any"},"status":{"oneOf":[{}],"uniqueKey":"oneOf.1.status","typeLabel":"any"},"summary":{"oneOf":[{}],"uniqueKey":"oneOf.1.summary","typeLabel":"any"},"version_type":{"oneOf":[{}],"uniqueKey":"oneOf.1.version_type","typeLabel":"any"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"job_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","agent_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","author_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","validation_status":"SKIPPED","dependencies":{},"description":"\u003cstring>","env_references":["\u003cunknown>"],"input_schema":{},"llm_models":["\u003cunknown>"],"output_schema":{},"published_at":"2023-11-07T05:31:56Z","publishing_started_at":"2023-11-07T05:31:56Z","raw_tools":["\u003cunknown>"],"runtime_environment_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","sha":"\u003cstring>","summary":"\u003cstring>","tools":["\u003cunknown>"],"version_number":"\u003cstring>","agent":"\u003cunknown>","author":"\u003cunknown>","status":"\u003cunknown>","version_type":"\u003cunknown>"}}},"exampleType":"generated"}},"links":{"ValidationJob":{"operationId":"get_validation_job","parameters":{"version_id":"$response.body#/id"},"description":"When the response has a job_id, poll the new version's validation until its status is final. Skipping validation creates no job."}},"headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window. Present when a rate limit applies to the request.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window. Present when a rate limit applies to the request.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window ends. Present when a rate limit applies to the request.","schema":{"type":"integer"}}},"exampleType":"generated"},"e699cf99-470e-4367-9049-e942c4eae4e2":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"fd6c5040-7e02-4273-802c-1358ec1b7e04":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"2dc782d1-edf7-431a-ba63-afb8aac4ece4":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"e0d2fa21-5f4e-4a54-aa0b-ee892d1ab9ee":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present when a rate limit applies to the request.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"Requests allowed in the current window. Present when a rate limit applies to the request.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window. Present when a rate limit applies to the request.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window ends. Present when a rate limit applies to the request.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"08aab83a-41c9-498f-bd23-5cdeaba6552f":{"apiKey":{"type":"http","scheme":"basic","description":"API key: key id as the username, secret as the password. An account API key carries the same scopes as an OAuth token and is checked against the scopes listed under oauth2 on each operation. A trigger API key is limited to its trigger's workspace and reaches only the session operations that list this scheme alongside the oauth2 scopes.","scopes":[],"schemeName":"apiKey"}},"010b2ba2-1f1a-4baa-8017-4abfea81f404":{"bearerApiKey":{"type":"http","scheme":"bearer","bearerFormat":"\u003ckey id>:\u003csecret>","description":"The same API key as one Bearer token, `\u003ckey id>:\u003csecret>`. An account API key carries the same scopes as an OAuth token and is checked against the scopes listed under oauth2 on each operation. A trigger API key is limited to its trigger's workspace and reaches only the session operations that list this scheme alongside the oauth2 scopes.","scopes":[],"schemeName":"bearerApiKey"}},"cebad632-26b6-47d4-9327-33e2e8677125":{"oauth2":{"type":"oauth2","description":"OAuth 2.0 authorization code flow with PKCE (S256). Discovery: https://api.guild.ai/.well-known/oauth-authorization-server.","flows":{"authorizationCode":{"authorizationUrl":"https://api.guild.ai/v1/oauth/authorize","tokenUrl":"https://api.guild.ai/v1/oauth/token","refreshUrl":"https://api.guild.ai/v1/oauth/token","scopes":{"agents:read":"Read agents","agents:write":"Read and change agents","sessions:read":"Read sessions","sessions:write":"Read and change sessions","workspaces:read":"Read workspaces","workspaces:write":"Read and change workspaces","skills:read":"Read skills","skills:write":"Read and change skills","integrations:read":"Read integrations","integrations:write":"Read and change integrations","applications:read":"Read applications","applications:write":"Read and change applications","organizations:read":"Read organizations","organizations:write":"Read and change organizations","usage:read":"Read usage","usage:write":"Read and change usage","evals:read":"Read evals","evals:write":"Read and change evals"}}},"scopes":["agents:write"],"schemeName":"oauth2"}}},"servers":{"df2f1156-bbcf-4a08-b869-6cd67982d6e1":{"url":"https://api.guild.ai/v1","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"basic","description":"API key: key id as the username, secret as the password. An account API key carries the same scopes as an OAuth token and is checked against the scopes listed under oauth2 on each operation. A trigger API key is limited to its trigger's workspace and reaches only the session operations that list this scheme alongside the oauth2 scopes.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Basic Auth","type":"object","description":"API key: key id as the username, secret as the password. An account API key carries the same scopes as an OAuth token and is checked against the scopes listed under oauth2 on each operation. A trigger API key is limited to its trigger's workspace and reaches only the session operations that list this scheme alongside the oauth2 scopes.","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"\u003ckey id>:\u003csecret>","description":"The same API key as one Bearer token, `\u003ckey id>:\u003csecret>`. An account API key carries the same scopes as an OAuth token and is checked against the scopes listed under oauth2 on each operation. A trigger API key is limited to its trigger's workspace and reaches only the session operations that list this scheme alongside the oauth2 scopes.","scopes":[],"schemeName":"bearerApiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"The same API key as one Bearer token, `\u003ckey id>:\u003csecret>`. An account API key carries the same scopes as an OAuth token and is checked against the scopes listed under oauth2 on each operation. A trigger API key is limited to its trigger's workspace and reaches only the session operations that list this scheme alongside the oauth2 scopes.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerApiKey","name":"Authorization"}],"title":"bearerApiKey"},{"schemes":[{"scheme":{"type":"oauth2","description":"OAuth 2.0 authorization code flow with PKCE (S256). Discovery: https://api.guild.ai/.well-known/oauth-authorization-server.","flows":{"authorizationCode":{"authorizationUrl":"https://api.guild.ai/v1/oauth/authorize","tokenUrl":"https://api.guild.ai/v1/oauth/token","refreshUrl":"https://api.guild.ai/v1/oauth/token","scopes":{"agents:read":"Read agents","agents:write":"Read and change agents","sessions:read":"Read sessions","sessions:write":"Read and change sessions","workspaces:read":"Read workspaces","workspaces:write":"Read and change workspaces","skills:read":"Read skills","skills:write":"Read and change skills","integrations:read":"Read integrations","integrations:write":"Read and change integrations","applications:read":"Read applications","applications:write":"Read and change applications","organizations:read":"Read organizations","organizations:write":"Read and change organizations","usage:read":"Read usage","usage:write":"Read and change usage","evals:read":"Read evals","evals:write":"Read and change evals"}}},"scopes":["agents:write"],"schemeName":"oauth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"OAuth 2.0 authorization code flow with PKCE (S256). Discovery: https://api.guild.ai/.well-known/oauth-authorization-server.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"oauth2","name":"Authorization"}],"title":"oauth2"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"guildai","siteName":"Guild","title":"Create an agent version - Guild","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/agents/create-an-agent-version.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=\"application-name\" content=\"Guild\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/guildai/co0AUpnLd7CKemzr/_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/guildai/co0AUpnLd7CKemzr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/guildai/co0AUpnLd7CKemzr/_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/guildai/co0AUpnLd7CKemzr/_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/guildai/co0AUpnLd7CKemzr/_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/guildai/co0AUpnLd7CKemzr/_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/guildai/co0AUpnLd7CKemzr/_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/guildai/co0AUpnLd7CKemzr/_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/guildai/co0AUpnLd7CKemzr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create an agent version - Guild\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Guild Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.guild.ai/api-reference/agents/create-an-agent-version\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://guildai.mintlify.site/_mintlify/api/og/v2?division=Agent+versions\u0026amp;title=Create+an+agent+version\u0026amp;theme=cd717058533792a37db60a4a\u0026amp;signature=6350bdfab95af7a3c82514b8fb0e28a2c77cf5856f1aa1cea139f660393874a5\">\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=\"Create an agent version - Guild\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://guildai.mintlify.site/_mintlify/api/og/v2?division=Agent+versions\u0026amp;title=Create+an+agent+version\u0026amp;theme=cd717058533792a37db60a4a\u0026amp;signature=6350bdfab95af7a3c82514b8fb0e28a2c77cf5856f1aa1cea139f660393874a5\">\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/guildai/co0AUpnLd7CKemzr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Guild\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff5500\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.guild.ai/api-reference/agents/create-an-agent-version\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agents/create-an-agent-version.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.guild.ai/#organization\",\"name\":\"Guild\",\"legalName\":\"Guild.ai, Inc.\",\"url\":\"https://www.guild.ai/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/guildai/x-xVeOd53CpYbehm/logo/light.svg?fit=max\u0026auto=format\u0026n=x-xVeOd53CpYbehm\u0026q=85\u0026s=21393c9a072674c192091492cc76f441\"},\"sameAs\":[\"https://www.linkedin.com/company/guild-ai-group\",\"https://x.com/GuildAI\",\"https://www.crunchbase.com/organization/guild-ai-86ce\",\"https://www.threads.com/@guild.ai\",\"https://reddit.com/r/guildai\",\"https://youtube.com/@guild-ai\",\"https://www.wikidata.org/wiki/Q141717471\",\"https://github.com/guildaidev\",\"https://discord.gg/guild-ai\",\"https://instagram.com/guild.ai\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.guild.ai#website\",\"name\":\"Guild\",\"url\":\"https://docs.guild.ai\",\"publisher\":{\"@id\":\"https://www.guild.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.guild.ai/api-reference/agents/create-an-agent-version#webpage\",\"url\":\"https://docs.guild.ai/api-reference/agents/create-an-agent-version\",\"name\":\"Create an agent version\",\"isPartOf\":{\"@id\":\"https://docs.guild.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.guild.ai/api-reference/agents/create-an-agent-version#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.guild.ai/api-reference/agents/create-an-agent-version#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agent versions\",\"item\":\"https://docs.guild.ai/api-reference/agents/list-an-agents-versions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create an agent version\",\"item\":\"https://docs.guild.ai/api-reference/agents/create-an-agent-version\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.guild.ai/api-reference/agents/create-an-agent-version#apireference\",\"headline\":\"Create an agent version\",\"name\":\"Create an agent version\",\"url\":\"https://docs.guild.ai/api-reference/agents/create-an-agent-version\",\"mainEntityOfPage\":{\"@id\":\"https://docs.guild.ai/api-reference/agents/create-an-agent-version#webpage\"},\"publisher\":{\"@id\":\"https://www.guild.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.guild.ai#website\"}}]}\u003c/script>","agentPointerHref":"/api-reference/agents/create-an-agent-version.md","siteName":"Guild","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":""}]},{"tab":"CLI","icon":"terminal","pages":[{"title":"CLI","href":"/cli/getting-started"}]},{"tab":"SDK","icon":"code","pages":[{"title":"SDK","href":"/packages/agents-sdk"}]},{"tab":"API Reference","icon":"server","groups":[{"group":"Get Started","pages":[{"title":"Developers","href":"/developers"},{"title":"Guild API overview","sidebarTitle":"Introduction","href":"/api-reference/introduction"},{"title":"Agent sessions API","sidebarTitle":"Conversations","href":"/api-reference/conversations"},{"title":"Connect an MCP client","sidebarTitle":"MCP","href":"/api-reference/mcp"},{"title":"Versioning and changes","sidebarTitle":"Versioning","href":"/api-reference/versioning"},{"title":"Errors and troubleshooting","sidebarTitle":"Errors","href":"/reference/errors"}]},{"group":"OAuth","pages":[{"title":"OAuth discovery","href":"/api-reference/oauth-discovery"},{"title":"Register an OAuth client","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /oauth/register","href":"/api-reference/oauth/register-an-oauth-client"},{"title":"Start an OAuth authorization by redirecting to the consent page","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /oauth/authorize","href":"/api-reference/oauth/start-an-oauth-authorization-by-redirecting-to-the-consent-page"},{"title":"Exchange an authorization code or refresh token for an access token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /oauth/token","href":"/api-reference/oauth/exchange-an-authorization-code-or-refresh-token-for-an-access-token"}]},{"group":"Workspaces","pages":[{"title":"Create a workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /workspaces","href":"/api-reference/workspaces/create-a-workspace"},{"title":"Get a workspace and its compiled context","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /workspaces/{workspace_id_or_name}","href":"/api-reference/workspaces/get-a-workspace-and-its-compiled-context"},{"title":"List the current user's workspaces","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /me/workspaces","href":"/api-reference/workspaces/list-the-current-users-workspaces"},{"title":"List a workspace's members","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /workspaces/{workspace_id_or_name}/memberships","href":"/api-reference/workspaces/list-a-workspaces-members"},{"title":"List the agents installed in a workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /workspaces/{workspace_id_or_name}/workspace_agents","href":"/api-reference/workspaces/list-the-agents-installed-in-a-workspace"},{"title":"Install an agent in a workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /workspaces/{workspace_id_or_name}/workspace_agents","href":"/api-reference/workspaces/install-an-agent-in-a-workspace"},{"title":"Get an installed agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /workspace_agents/{workspace_agent_id}","href":"/api-reference/workspaces/get-an-installed-agent"},{"title":"Update an installed agent's version or settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /workspace_agents/{workspace_agent_id}","href":"/api-reference/workspaces/update-an-installed-agents-version-or-settings"},{"title":"Uninstall an agent from a workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /workspace_agents/{workspace_agent_id}","href":"/api-reference/workspaces/uninstall-an-agent-from-a-workspace"},{"title":"List an installed agent's version upgrades","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /workspace_agents/{workspace_agent_id}/upgrades","href":"/api-reference/workspaces/list-an-installed-agents-version-upgrades"},{"title":"List the credentials granted to an installed agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /workspace_agents/{workspace_agent_id}/credential-associations","href":"/api-reference/workspaces/list-the-credentials-granted-to-an-installed-agent"},{"title":"Grant a credential to an installed agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /workspace_agents/{workspace_agent_id}/credential-associations","href":"/api-reference/workspaces/grant-a-credential-to-an-installed-agent"},{"title":"Revoke a credential from an installed agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /workspace_agents/{workspace_agent_id}/credential-associations/{association_id}","href":"/api-reference/workspaces/revoke-a-credential-from-an-installed-agent"},{"title":"Create a dedicated API-key credential for a workspace agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /workspace_agents/{workspace_agent_id}/credentials/api-key","href":"/api-reference/workspaces/create-a-dedicated-api-key-credential-for-a-workspace-agent"},{"title":"List the skills attached to a workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /workspaces/{workspace_id_or_name}/workspace_skills","href":"/api-reference/workspaces/list-the-skills-attached-to-a-workspace"},{"title":"Attach a skill to a workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /workspaces/{workspace_id_or_name}/workspace_skills","href":"/api-reference/workspaces/attach-a-skill-to-a-workspace"},{"title":"Detach a skill from a workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /workspaces/{workspace_id_or_name}/workspace_skills/{workspace_skill_id}","href":"/api-reference/workspaces/detach-a-skill-from-a-workspace"},{"title":"List a workspace's contexts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /workspaces/{workspace_id_or_name}/contexts","href":"/api-reference/workspaces/list-a-workspaces-contexts"},{"title":"Create a workspace context","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /workspaces/{workspace_id_or_name}/contexts","href":"/api-reference/workspaces/create-a-workspace-context"},{"title":"List a workspace's sessions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /workspaces/{workspace_id_or_name}/sessions","href":"/api-reference/workspaces/list-a-workspaces-sessions"},{"title":"Create a session in a workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /workspaces/{workspace_id_or_name}/sessions","href":"/api-reference/workspaces/create-a-session-in-a-workspace"}]},{"group":"Triggers","pages":[{"title":"List a workspace's triggers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /workspaces/{workspace_id_or_name}/triggers","href":"/api-reference/workspaces/list-a-workspaces-triggers"},{"title":"Create a trigger in a workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /workspaces/{workspace_id_or_name}/triggers","href":"/api-reference/workspaces/create-a-trigger-in-a-workspace"},{"title":"Get a trigger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /triggers/{trigger_id}","href":"/api-reference/triggers/get-a-trigger"},{"title":"Update a trigger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /triggers/{trigger_id}","href":"/api-reference/triggers/update-a-trigger"},{"title":"Delete a trigger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /triggers/{trigger_id}","href":"/api-reference/triggers/delete-a-trigger"},{"title":"Activate a trigger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /triggers/{trigger_id}/activate","href":"/api-reference/triggers/activate-a-trigger"},{"title":"Deactivate a trigger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /triggers/{trigger_id}/deactivate","href":"/api-reference/triggers/deactivate-a-trigger"},{"title":"Run a scheduled trigger now","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /triggers/{trigger_id}/run","href":"/api-reference/triggers/run-a-scheduled-trigger-now"},{"title":"List the sessions a trigger started","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /triggers/{trigger_id}/sessions","href":"/api-reference/triggers/list-the-sessions-a-trigger-started"}]},{"group":"Agents","pages":[{"title":"List and search agents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /agents","href":"/api-reference/agents/list-and-search-agents"},{"title":"Create an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /agents","href":"/api-reference/agents/create-an-agent"},{"title":"Get an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /agents/{agent_id_or_name}","href":"/api-reference/agents/get-an-agent"},{"title":"Update an agent's visibility, archive state or pin","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /agents/{agent_id_or_name}","href":"/api-reference/agents/update-an-agents-visibility-archive-state-or-pin"},{"title":"Returns the latest version of this agent's code. Note that by default, it returns only PUBLISHED versions. You can specify ?include_unpublished=true to get the actual latest","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /agents/{agent_id_or_name}/code","href":"/api-reference/agents/returns-the-latest-version-of-this-agents-code-note-that-by-default-it-returns-only-published-versions-you-can-specify-?include_unpublished=true-to-get-the-actual-latest"},{"title":"Commit a new version of an LLM agent with the given tools","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /agents/{agent_id_or_name}/configure-llm","href":"/api-reference/agents/commit-a-new-version-of-an-llm-agent-with-the-given-tools"},{"title":"Wait for an agent's initialization to reach READY","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /agents/{agent_id_or_name}/wait","href":"/api-reference/agents/wait-for-an-agents-initialization-to-reach-ready"}]},{"group":"Agent versions","pages":[{"title":"List an agent's versions","description":"Requires `agents:read`. Also reachable with an OAuth user token that holds `agents:read`; a token without it gets a `404` on a private agent.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /agents/{agent_id_or_name}/versions","href":"/api-reference/agents/list-an-agents-versions"},{"title":"Create an agent version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /agents/{agent_id_or_name}/versions","href":"/api-reference/agents/create-an-agent-version"},{"title":"Get an agent version","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /versions/{version_id}","href":"/api-reference/agents/get-an-agent-version"},{"title":"Get an agent version's source files","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /versions/{version_id}/code","href":"/api-reference/agents/get-an-agent-versions-source-files"},{"title":"List a version's resolved tools: integration, sub-agent or service","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /versions/{version_id}/tools","href":"/api-reference/agents/list-a-versions-resolved-tools:-integration-sub-agent-or-service"},{"title":"Classify each of a version's tools as read or write","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /versions/{version_id}/tool-access","href":"/api-reference/agents/classify-each-of-a-versions-tools-as-read-or-write"},{"title":"Revalidate a version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /agents/{agent_id_or_name}/versions/{version_id}/revalidate","href":"/api-reference/agents/revalidate-a-version"},{"title":"Get latest validation job for an agent version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /versions/{version_id}/validation/job","href":"/api-reference/agents/get-latest-validation-job-for-an-agent-version"},{"title":"List validation steps for an agent version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /versions/{version_id}/validation/steps","href":"/api-reference/agents/list-validation-steps-for-an-agent-version"},{"title":"Run the checks a version must pass before publishing","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /versions/{version_id}/publish_pre_checks","href":"/api-reference/agents/run-the-checks-a-version-must-pass-before-publishing"},{"title":"Publish an agent version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /versions/{version_id}/publish","href":"/api-reference/agents/publish-an-agent-version"},{"title":"Get latest publish job for an agent version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /versions/{version_id}/publish/job","href":"/api-reference/agents/get-latest-publish-job-for-an-agent-version"},{"title":"List publish steps for an agent version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /versions/{version_id}/publish/steps","href":"/api-reference/agents/list-publish-steps-for-an-agent-version"},{"title":"Unpublish an agent version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /versions/{version_id}/unpublish","href":"/api-reference/agents/unpublish-an-agent-version"},{"title":"List all jobs for an agent version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /versions/{version_id}/jobs","href":"/api-reference/agents/list-all-jobs-for-an-agent-version"},{"title":"Wait for one validation or publish job and return its durable status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /versions/{version_id}/jobs/{job_id}/wait","href":"/api-reference/agents/wait-for-one-validation-or-publish-job-and-return-its-durable-status"}]},{"group":"Sessions","pages":[{"title":"Get a session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /sessions/{session_id}","href":"/api-reference/sessions/get-a-session"},{"title":"List session events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /sessions/{session_id}/events","href":"/api-reference/sessions/list-session-events"},{"title":"Send a message to a session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /sessions/{session_id}/events","href":"/api-reference/sessions/send-a-message-to-a-session"},{"title":"List session tasks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /sessions/{session_id}/tasks","href":"/api-reference/sessions/list-session-tasks"},{"title":"List the runtimes a session's tasks ran on","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /sessions/{session_id}/runtimes","href":"/api-reference/sessions/list-the-runtimes-a-sessions-tasks-ran-on"},{"title":"Observe the root task after a send-time session event watermark","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /sessions/{session_id}/wait","href":"/api-reference/sessions/observe-the-root-task-after-a-send-time-session-event-watermark"}]},{"group":"Skills","pages":[{"title":"Get a skill","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /skills/{skill_id_or_name}","href":"/api-reference/skills/get-a-skill"},{"title":"Create a skill version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /skills/{skill_id_or_name}/versions","href":"/api-reference/skills/create-a-skill-version"}]},{"group":"Integrations","pages":[{"title":"List the tools an integration provides","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /integrations/{integration_id_or_name}/tools","href":"/api-reference/integrations/list-the-tools-an-integration-provides"}]},{"group":"Accounts","pages":[{"title":"Get the identity of the calling credential","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /me","href":"/api-reference/accounts/get-the-identity-of-the-calling-credential"},{"title":"List an account's workspaces","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /accounts/{account_id_or_name}/workspaces","href":"/api-reference/accounts/list-an-accounts-workspaces"},{"title":"List an account's skills","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /accounts/{account_id_or_name}/skills","href":"/api-reference/accounts/list-an-accounts-skills"},{"title":"Create a skill owned by an account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /accounts/{account_id_or_name}/skills","href":"/api-reference/accounts/create-a-skill-owned-by-an-account"},{"title":"List an account's integration credentials","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /accounts/{account_id_or_name}/credentials","href":"/api-reference/accounts/list-an-accounts-integration-credentials"},{"title":"List an account's budgets joined with their priced current-cycle spend","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /accounts/{account_id_or_name}/budgets","href":"/api-reference/accounts/list-an-accounts-budgets-joined-with-their-priced-current-cycle-spend"},{"title":"Account KPI strip + breakdowns + time series for the Usage page","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /accounts/{account_id_or_name}/usage/summary","href":"/api-reference/accounts/account-kpi-strip-+-breakdowns-+-time-series-for-the-usage-page"},{"title":"One page of a breakdown (workspaces, agents, users, triggers, platforms, providers, models), sliced from the same cached aggregate as ``/usage/summary``","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /accounts/{account_id_or_name}/usage/breakdown/{dimension}","href":"/api-reference/accounts/one-page-of-a-breakdown-workspaces-agents-users-triggers-platforms-providers-models-sliced-from-the-same-cached-aggregate-as-``usagesummary``"}]},{"group":"Organizations and users","pages":[{"title":"List the current user's organization memberships","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /me/organizations","href":"/api-reference/accounts/list-the-current-users-organization-memberships"},{"title":"List organization invitations sent to the current user","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /me/invitations","href":"/api-reference/accounts/list-organization-invitations-sent-to-the-current-user"},{"title":"List organization invitations sent to the current user's email","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /me/email-invitations","href":"/api-reference/accounts/list-organization-invitations-sent-to-the-current-users-email"},{"title":"Get an organization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /organizations/{org_id_or_name}","href":"/api-reference/accounts/get-an-organization"},{"title":"Get usage statistics for an organization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /organizations/{org_id_or_name}/usage","href":"/api-reference/accounts/get-usage-statistics-for-an-organization"},{"title":"List an organization's members as users","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /organizations/{org_id_or_name}/members","href":"/api-reference/accounts/list-an-organizations-members-as-users"},{"title":"List an organization's memberships","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /organizations/{org_id_or_name}/memberships","href":"/api-reference/accounts/list-an-organizations-memberships"},{"title":"List an organization's invitations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /organizations/{org_id_or_name}/invitations","href":"/api-reference/accounts/list-an-organizations-invitations"},{"title":"Get usage statistics for an organization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /organizations/{org_id_or_name}/usage","href":"/api-reference/accounts/get-usage-statistics-for-an-organization"},{"title":"Get a user by id or handle","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /users/{user_id_or_name}","href":"/api-reference/accounts/get-a-user-by-id-or-handle"},{"title":"List a user's organization memberships, by id or handle","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /users/{user_id_or_name}/organizations","href":"/api-reference/accounts/list-a-users-organization-memberships-by-id-or-handle"}]}]},{"tab":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"Examples","icon":"flask","pages":[{"title":"Examples","href":"/examples/overview"}]}]},"basePath":"","title":"Create an agent version - Guild","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-C4GwDT3_.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}