{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Chainloop Documentation","description":"Chainloop is the trust infrastructure for AI-driven software delivery. It collects signed, tamper-evident evidence from every build, release and AI coding session, enforces policies as code inside your CI/CD pipelines, and turns that evidence into continuous compliance. The core is open source.","colors":{"primary":"#2D1BD2","light":"#FF5C4D","dark":"#9F8951"},"logo":{"light":"https://mintcdn.com/chainloop/piBVJM34fSFTGk0R/images/logo/light.svg?fit=max\u0026auto=format\u0026n=piBVJM34fSFTGk0R\u0026q=85\u0026s=4bc355683f7e78c629ece2e28db71dff","dark":"https://mintcdn.com/chainloop/xJ5hNAgMrS6U1u_m/images/logo/dark.png?fit=max\u0026auto=format\u0026n=xJ5hNAgMrS6U1u_m\u0026q=85\u0026s=9e6be3ff192adebcb1f8fda40d07f9e4","href":"https://chainloop.dev/"},"favicon":"https://mintcdn.com/chainloop/yJa2Iopv98OPg1FZ/images/favicon/favicon-32x32.png?fit=max\u0026auto=format\u0026n=yJa2Iopv98OPg1FZ\u0026q=85\u0026s=1a0b74dcba7ec787f8ed05421f617d11","navbar":{"primary":{"type":"button","label":"Get a demo","href":"https://chainloop.dev/book-a-demo"}},"footer":{"socials":{"slack":"https://join.slack.com/t/chainloop-community/shared_invite/zt-2k34dvx3r-u85uGP_KiLC6ic5Wy4aRnQ","github":"https://github.com/chainloop-dev","x":"https://x.com/chainloop_dev","linkedin":"https://www.linkedin.com/company/chainloop-dev","youtube":"https://www.youtube.com/@chainloop-dev"}},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"dark","latex":false},"integrations":{"intercom":{"appId":"t3644vit"},"posthog":{"apiKey":"phc_rCvU7fL4Ndr4GpzH54RNdyNUWNgTpuHX7ApDxFW6G9FS","apiHost":"https://t.chainloop.dev"},"cookies":{"key":"chainloop_analytics_consent","value":"granted"}},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://chainloop.dev/"},{"anchor":"Blog","icon":"newspaper","href":"https://chainloop.dev/blog"},{"anchor":"Get Help","icon":"headset","href":"https://help.chainloop.dev"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"chainloop","hasAudioNarration":false,"actualSubdomain":"chainloop","customDomains":["docs.chainloop.dev"],"gitSource":{"type":"github","owner":"chainloop-dev","repo":"platform-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":false,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af56fdb772d79f833028f5f","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"Documentation","count":91},{"language":"default","tag":"Reference","count":65},{"language":"default","tag":"API Reference","count":62},{"language":"default","tag":"Platform Endpoints","count":59},{"language":"default","tag":"Guides","count":41},{"language":"default","tag":"Concepts","count":23},{"language":"default","tag":"References","count":17},{"language":"default","tag":"Deployment","count":16},{"language":"default","tag":"Configuration Guides","count":13},{"language":"default","tag":"AssessmentService","count":11}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/policyservice/get-a-policy-by-name","slug":"/api-reference/policyservice/get-a-policy-by-name","pageMetadata":{"title":"Get a policy by name","description":"Retrieves a policy by its name, optionally specifying a particular version by digest. If no digest is provided, the latest version is returned.","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/policies/{policy_name}","href":"/api-reference/policyservice/get-a-policy-by-name","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieves a policy by its name, optionally specifying a particular version by digest. If no digest is provided, the latest version is returned.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Get a policy by name","description":"Retrieves a policy by its name, optionally specifying a particular version by digest. If no digest is provided, the latest version is returned.","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/policies/{policy_name}","href":"/api-reference/policyservice/get-a-policy-by-name","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/chainloop/253f77efa74d603b/cioanalytics.js","/_mintlify/custom/chainloop/86afb8ad5e3e2752/banner-expiry.js","/_mintlify/custom/chainloop/6873c2c42265ece7/hubspot.js","/_mintlify/custom/chainloop/f6648ff7bc1812af/termly.js"],"openApiReferenceData":{"operation":{"description":"Retrieves a policy by its name, optionally specifying a particular version by digest. If no digest is provided, the latest version is returned.","operationId":"PolicyService_Get","parameters":["60f94e56-619b-4927-983c-eca5163d14aa","fb325879-a5fa-48c1-a7d3-c0fc41a20cda","6cfb83c2-f697-4703-bfdd-a39e28520293","dd7af491-4b8c-477f-bd52-1679c869e1f9"],"responses":{"200":"b95b8e53-18b1-47ba-b63f-969e4529f627","400":"b5700dec-00a8-431c-bca7-2bb6ddbc6189","401":"f9cdca2b-85fb-44c7-a4b9-67fa91e072e1","403":"0097f146-6e15-4680-89e7-028236599f18","500":"39ebbd38-4e69-434b-b911-8cf6b8b7e55f","default":"d96c3f62-820e-44f5-88da-f25593625f33"},"summary":"Get a policy by name","tags":["PolicyService"],"method":"get","type":"path","servers":["cffda803-c383-4264-b179-18063a2c0f46"],"security":["ace5891d-f278-4089-9e45-73c99269d5ad"],"path":"/v1/policies/{policy_name}","baseUrlOptions":["https://api.app.chainloop.dev/"],"title":"Get a policy by name","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"60f94e56-619b-4927-983c-eca5163d14aa":{"description":"The name of the policy to retrieve","in":"path","name":"policy_name","required":true,"schema":{"type":"string","isRequired":true,"description":"The name of the policy to retrieve","uniqueKey":"","typeLabel":"string"}},"fb325879-a5fa-48c1-a7d3-c0fc41a20cda":{"description":"if set, it will return the policy with the given digest\notherwise it will return the latest version\n\nIf set, returns the policy with the given digest; otherwise returns the latest version","in":"query","name":"digest","schema":{"type":"string","description":"if set, it will return the policy with the given digest\notherwise it will return the latest version\n\nIf set, returns the policy with the given digest; otherwise returns the latest version","uniqueKey":"","typeLabel":"string"}},"6cfb83c2-f697-4703-bfdd-a39e28520293":{"description":"Organization owning this policy (empty for best effort fallback)\n\nOrganization owning this policy (empty for best effort fallback)","in":"query","name":"organization_name","schema":{"type":"string","description":"Organization owning this policy (empty for best effort fallback)\n\nOrganization owning this policy (empty for best effort fallback)","uniqueKey":"","typeLabel":"string"}},"dd7af491-4b8c-477f-bd52-1679c869e1f9":{"description":"If true, bypasses CLI-version compatibility filtering and returns the latest revision regardless of min-compatible-cli-version annotations","in":"query","name":"include_all_versions","schema":{"type":"boolean","description":"If true, bypasses CLI-version compatibility filtering and returns the latest revision regardless of min-compatible-cli-version annotations","uniqueKey":"","typeLabel":"boolean"}}},"responses":{"b95b8e53-18b1-47ba-b63f-969e4529f627":{"content":{"application/json":{"schema":{"description":"Response containing a policy and its metadata","example":{"version_references":[{"digest":"digest","created_at":"2000-01-23T04:56:07.000Z"},{"digest":"digest","created_at":"2000-01-23T04:56:07.000Z"}],"inputs_json_schema":"inputs_json_schema","data":{"metadata":{"organization":"organization","name":"name","description":"description","annotations":{"key":"annotations"},"display_name":"display_name","finding_type":"finding_type"},"kind":"kind","api_version":"api_version","spec":{"path":"path","auto_match":{"path":"path","ref":"ref","embedded":"embedded"},"inputs":[{"default":"default","name":"name","description":"description","required":true},{"default":"default","name":"name","description":"description","required":true}],"policies":[{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"},{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"}],"type":"type","embedded":"embedded"}},"builtin":true,"organization_id":"organization_id","digest":"digest","raw":{"format":"FORMAT_UNSPECIFIED","body":"body"},"organization_name":"organization_name","policy":{"metadata":{"organization":"organization","name":"name","description":"description","annotations":{"key":"annotations"},"display_name":"display_name","finding_type":"finding_type"},"kind":"kind","api_version":"api_version","spec":{"path":"path","auto_match":{"path":"path","ref":"ref","embedded":"embedded"},"inputs":[{"default":"default","name":"name","description":"description","required":true},{"default":"default","name":"name","description":"description","required":true}],"policies":[{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"},{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"}],"type":"type","embedded":"embedded"}},"latest":true},"properties":{"data":{"description":"A policy that can be applied to materials in Chainloop to validate compliance with specific requirements","example":{"metadata":{"organization":"organization","name":"name","description":"description","annotations":{"key":"annotations"},"display_name":"display_name","finding_type":"finding_type"},"kind":"kind","api_version":"api_version","spec":{"path":"path","auto_match":{"path":"path","ref":"ref","embedded":"embedded"},"inputs":[{"default":"default","name":"name","description":"description","required":true},{"default":"default","name":"name","description":"description","required":true}],"policies":[{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"},{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"}],"type":"type","embedded":"embedded"}},"properties":{"api_version":{"description":"API version for the policy","title":"API version for the policy","type":"string","uniqueKey":"data.api_version","typeLabel":"string"},"kind":{"description":"Kind of resource, must be Policy","title":"Kind of resource, must be \"Policy\"","type":"string","uniqueKey":"data.kind","typeLabel":"string"},"metadata":{"description":"DUPLICATED from chainloop-dev/chainloop: app/controlplane/api/workflowcontract/v1/crafting_schema.proto\nKeep in sync with the upstream source.\nNote: field numbers 6-7 diverge from upstream (which has organization=6, finding_type=7).\nThe platform added display_name=6, so organization shifted to 7 and finding_type to 8.","example":{"organization":"organization","name":"name","description":"description","annotations":{"key":"annotations"},"display_name":"display_name","finding_type":"finding_type"},"properties":{"name":{"title":"the name of the policy","type":"string","uniqueKey":"data.metadata.name","typeLabel":"string"},"display_name":{"title":"optional display name (platform-only, not present in upstream)","type":"string","uniqueKey":"data.metadata.display_name","typeLabel":"string"},"description":{"type":"string","uniqueKey":"data.metadata.description","typeLabel":"string"},"annotations":{"additionalProperties":{"type":"string","uniqueKey":"data.metadata.annotations.additionalProperties","typeLabel":"string"},"type":"object","uniqueKey":"data.metadata.annotations","typeLabel":"object"},"organization":{"type":"string","uniqueKey":"data.metadata.organization","typeLabel":"string"},"finding_type":{"description":"Declares the structured output schema for policy violations.\nUpstream field number is 7, but shifted to 8 here due to display_name occupying field 6.","type":"string","uniqueKey":"data.metadata.finding_type","typeLabel":"string"}},"type":"object","uniqueKey":"data.metadata","typeLabel":"object"},"spec":{"description":"Specification of a policy, defining its behavior and applicable material types","example":{"path":"path","auto_match":{"path":"path","ref":"ref","embedded":"embedded"},"inputs":[{"default":"default","name":"name","description":"description","required":true},{"default":"default","name":"name","description":"description","required":true}],"policies":[{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"},{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"}],"type":"type","embedded":"embedded"},"properties":{"path":{"description":"Path to a policy script (deprecated)","title":"Path to a policy script. It might consist of a URI reference","type":"string","uniqueKey":"data.spec.path","typeLabel":"string"},"embedded":{"description":"Embedded source code for the policy (deprecated)","title":"Embedded source code (only Rego supported currently)","type":"string","uniqueKey":"data.spec.embedded","typeLabel":"string"},"type":{"description":"The material type this policy applies to","type":"string","uniqueKey":"data.spec.type","typeLabel":"string"},"policies":{"description":"List of policy specifications","items":{"description":"Version 2 of policy specification, defining the policy source and applicable material kind","example":{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"},"properties":{"path":{"description":"Path to a policy script (deprecated, use ref instead)","title":"Path to a policy script, might be a URI reference to an external script\nDeprecated: use ref instead","type":"string","uniqueKey":"data.spec.policies.items.[INDEX].path","typeLabel":"string"},"embedded":{"description":"Embedded source code for the policy (only Rego is currently supported)","title":"Embedded source code for the policy (only Rego language is currently supported)","type":"string","uniqueKey":"data.spec.policies.items.[INDEX].embedded","typeLabel":"string"},"ref":{"description":"Generic reference for file:// and http(s):// schemes","title":"Generic reference for file:// and http(s):// schemes","type":"string","uniqueKey":"data.spec.policies.items.[INDEX].ref","typeLabel":"string"},"kind":{"description":"The material type this policy applies to","title":"The material type this policy applies to\nCannot be ARTIFACT","type":"string","uniqueKey":"data.spec.policies.items.[INDEX].kind","typeLabel":"string"},"attestation_phases":{"description":"Controls at which attestation phases this policy is evaluated. Empty means all phases.","items":{"default":"ATTESTATION_PHASE_UNSPECIFIED","description":"DUPLICATED from chainloop-dev/chainloop: app/controlplane/api/workflowcontract/v1/crafting_schema.proto\nKeep in sync with the upstream source.\nLifecycle phases that control when an attestation policy is evaluated.\nOnly applicable to policies with kind ATTESTATION in PolicySpecV2.","enum":["ATTESTATION_PHASE_UNSPECIFIED","INIT","PUSH"],"type":"string","uniqueKey":"data.spec.policies.items.[INDEX].attestation_phases.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"data.spec.policies.items.[INDEX].attestation_phases","typeLabel":"enum\u003cstring>[]"}},"title":"PolicySpecV2","type":"object","uniqueKey":"data.spec.policies.items.[INDEX]","typeLabel":"PolicySpecV2 · object"},"title":"List of policy specifications for this policy","type":"array","uniqueKey":"data.spec.policies","typeLabel":"PolicySpecV2 · object[]"},"inputs":{"description":"Input parameters for this policy","items":{"description":"Defines an input parameter that can be passed to a policy during evaluation","example":{"default":"default","name":"name","description":"description","required":true},"properties":{"name":{"description":"Name of the input parameter","title":"Name of the input parameter, must contain only letters, numbers, and underscores","type":"string","uniqueKey":"data.spec.inputs.items.[INDEX].name","typeLabel":"string"},"description":{"description":"Human-readable description of this input parameter","title":"Human-readable description of the input parameter","type":"string","uniqueKey":"data.spec.inputs.items.[INDEX].description","typeLabel":"string"},"required":{"description":"Whether this input parameter is required","title":"Whether this input parameter is required","type":"boolean","uniqueKey":"data.spec.inputs.items.[INDEX].required","typeLabel":"boolean"},"default":{"description":"Default value for this input parameter if not provided","title":"Default value for this input parameter if not provided","type":"string","uniqueKey":"data.spec.inputs.items.[INDEX].default","typeLabel":"string"}},"title":"PolicyInput","type":"object","uniqueKey":"data.spec.inputs.items.[INDEX]","typeLabel":"PolicyInput · object"},"title":"Input parameters required or optional for this policy","type":"array","uniqueKey":"data.spec.inputs","typeLabel":"PolicyInput · object[]"},"auto_match":{"description":"Auto-matching policy script","example":{"path":"path","ref":"ref","embedded":"embedded"},"properties":{"path":{"description":"Path to an auto-matching policy script (deprecated, use ref instead)","title":"Path to a policy script, might be a URI reference to an external script\nDeprecated: use ref instead","type":"string","uniqueKey":"data.spec.auto_match.path","typeLabel":"string"},"embedded":{"description":"Embedded source code for the auto-matching policy (only Rego is currently supported)","title":"Embedded source code for the auto-matching policy (only Rego language is currently supported)","type":"string","uniqueKey":"data.spec.auto_match.embedded","typeLabel":"string"},"ref":{"description":"Generic reference for file:// and http(s):// schemes","title":"Generic reference for file:// and http(s):// schemes","type":"string","uniqueKey":"data.spec.auto_match.ref","typeLabel":"string"}},"title":"AutoMatch","type":"object","uniqueKey":"data.spec.auto_match","typeLabel":"AutoMatch · object"}},"title":"PolicySpec","type":"object","uniqueKey":"data.spec","typeLabel":"PolicySpec · object"}},"title":"Policy","type":"object","uniqueKey":"data","typeLabel":"Policy · object"},"policy":{"description":"A policy that can be applied to materials in Chainloop to validate compliance with specific requirements","example":{"metadata":{"organization":"organization","name":"name","description":"description","annotations":{"key":"annotations"},"display_name":"display_name","finding_type":"finding_type"},"kind":"kind","api_version":"api_version","spec":{"path":"path","auto_match":{"path":"path","ref":"ref","embedded":"embedded"},"inputs":[{"default":"default","name":"name","description":"description","required":true},{"default":"default","name":"name","description":"description","required":true}],"policies":[{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"},{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"}],"type":"type","embedded":"embedded"}},"properties":{"api_version":{"description":"API version for the policy","title":"API version for the policy","type":"string","uniqueKey":"policy.api_version","typeLabel":"string"},"kind":{"description":"Kind of resource, must be Policy","title":"Kind of resource, must be \"Policy\"","type":"string","uniqueKey":"policy.kind","typeLabel":"string"},"metadata":{"description":"DUPLICATED from chainloop-dev/chainloop: app/controlplane/api/workflowcontract/v1/crafting_schema.proto\nKeep in sync with the upstream source.\nNote: field numbers 6-7 diverge from upstream (which has organization=6, finding_type=7).\nThe platform added display_name=6, so organization shifted to 7 and finding_type to 8.","example":{"organization":"organization","name":"name","description":"description","annotations":{"key":"annotations"},"display_name":"display_name","finding_type":"finding_type"},"properties":{"name":{"title":"the name of the policy","type":"string","uniqueKey":"policy.metadata.name","typeLabel":"string"},"display_name":{"title":"optional display name (platform-only, not present in upstream)","type":"string","uniqueKey":"policy.metadata.display_name","typeLabel":"string"},"description":{"type":"string","uniqueKey":"policy.metadata.description","typeLabel":"string"},"annotations":{"additionalProperties":{"type":"string","uniqueKey":"policy.metadata.annotations.additionalProperties","typeLabel":"string"},"type":"object","uniqueKey":"policy.metadata.annotations","typeLabel":"object"},"organization":{"type":"string","uniqueKey":"policy.metadata.organization","typeLabel":"string"},"finding_type":{"description":"Declares the structured output schema for policy violations.\nUpstream field number is 7, but shifted to 8 here due to display_name occupying field 6.","type":"string","uniqueKey":"policy.metadata.finding_type","typeLabel":"string"}},"type":"object","uniqueKey":"policy.metadata","typeLabel":"object"},"spec":{"description":"Specification of a policy, defining its behavior and applicable material types","example":{"path":"path","auto_match":{"path":"path","ref":"ref","embedded":"embedded"},"inputs":[{"default":"default","name":"name","description":"description","required":true},{"default":"default","name":"name","description":"description","required":true}],"policies":[{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"},{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"}],"type":"type","embedded":"embedded"},"properties":{"path":{"description":"Path to a policy script (deprecated)","title":"Path to a policy script. It might consist of a URI reference","type":"string","uniqueKey":"policy.spec.path","typeLabel":"string"},"embedded":{"description":"Embedded source code for the policy (deprecated)","title":"Embedded source code (only Rego supported currently)","type":"string","uniqueKey":"policy.spec.embedded","typeLabel":"string"},"type":{"description":"The material type this policy applies to","type":"string","uniqueKey":"policy.spec.type","typeLabel":"string"},"policies":{"description":"List of policy specifications","items":{"description":"Version 2 of policy specification, defining the policy source and applicable material kind","example":{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"},"properties":{"path":{"description":"Path to a policy script (deprecated, use ref instead)","title":"Path to a policy script, might be a URI reference to an external script\nDeprecated: use ref instead","type":"string","uniqueKey":"policy.spec.policies.items.[INDEX].path","typeLabel":"string"},"embedded":{"description":"Embedded source code for the policy (only Rego is currently supported)","title":"Embedded source code for the policy (only Rego language is currently supported)","type":"string","uniqueKey":"policy.spec.policies.items.[INDEX].embedded","typeLabel":"string"},"ref":{"description":"Generic reference for file:// and http(s):// schemes","title":"Generic reference for file:// and http(s):// schemes","type":"string","uniqueKey":"policy.spec.policies.items.[INDEX].ref","typeLabel":"string"},"kind":{"description":"The material type this policy applies to","title":"The material type this policy applies to\nCannot be ARTIFACT","type":"string","uniqueKey":"policy.spec.policies.items.[INDEX].kind","typeLabel":"string"},"attestation_phases":{"description":"Controls at which attestation phases this policy is evaluated. Empty means all phases.","items":{"default":"ATTESTATION_PHASE_UNSPECIFIED","description":"DUPLICATED from chainloop-dev/chainloop: app/controlplane/api/workflowcontract/v1/crafting_schema.proto\nKeep in sync with the upstream source.\nLifecycle phases that control when an attestation policy is evaluated.\nOnly applicable to policies with kind ATTESTATION in PolicySpecV2.","enum":["ATTESTATION_PHASE_UNSPECIFIED","INIT","PUSH"],"type":"string","uniqueKey":"policy.spec.policies.items.[INDEX].attestation_phases.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"policy.spec.policies.items.[INDEX].attestation_phases","typeLabel":"enum\u003cstring>[]"}},"title":"PolicySpecV2","type":"object","uniqueKey":"policy.spec.policies.items.[INDEX]","typeLabel":"PolicySpecV2 · object"},"title":"List of policy specifications for this policy","type":"array","uniqueKey":"policy.spec.policies","typeLabel":"PolicySpecV2 · object[]"},"inputs":{"description":"Input parameters for this policy","items":{"description":"Defines an input parameter that can be passed to a policy during evaluation","example":{"default":"default","name":"name","description":"description","required":true},"properties":{"name":{"description":"Name of the input parameter","title":"Name of the input parameter, must contain only letters, numbers, and underscores","type":"string","uniqueKey":"policy.spec.inputs.items.[INDEX].name","typeLabel":"string"},"description":{"description":"Human-readable description of this input parameter","title":"Human-readable description of the input parameter","type":"string","uniqueKey":"policy.spec.inputs.items.[INDEX].description","typeLabel":"string"},"required":{"description":"Whether this input parameter is required","title":"Whether this input parameter is required","type":"boolean","uniqueKey":"policy.spec.inputs.items.[INDEX].required","typeLabel":"boolean"},"default":{"description":"Default value for this input parameter if not provided","title":"Default value for this input parameter if not provided","type":"string","uniqueKey":"policy.spec.inputs.items.[INDEX].default","typeLabel":"string"}},"title":"PolicyInput","type":"object","uniqueKey":"policy.spec.inputs.items.[INDEX]","typeLabel":"PolicyInput · object"},"title":"Input parameters required or optional for this policy","type":"array","uniqueKey":"policy.spec.inputs","typeLabel":"PolicyInput · object[]"},"auto_match":{"description":"Auto-matching policy script","example":{"path":"path","ref":"ref","embedded":"embedded"},"properties":{"path":{"description":"Path to an auto-matching policy script (deprecated, use ref instead)","title":"Path to a policy script, might be a URI reference to an external script\nDeprecated: use ref instead","type":"string","uniqueKey":"policy.spec.auto_match.path","typeLabel":"string"},"embedded":{"description":"Embedded source code for the auto-matching policy (only Rego is currently supported)","title":"Embedded source code for the auto-matching policy (only Rego language is currently supported)","type":"string","uniqueKey":"policy.spec.auto_match.embedded","typeLabel":"string"},"ref":{"description":"Generic reference for file:// and http(s):// schemes","title":"Generic reference for file:// and http(s):// schemes","type":"string","uniqueKey":"policy.spec.auto_match.ref","typeLabel":"string"}},"title":"AutoMatch","type":"object","uniqueKey":"policy.spec.auto_match","typeLabel":"AutoMatch · object"}},"title":"PolicySpec","type":"object","uniqueKey":"policy.spec","typeLabel":"PolicySpec · object"}},"title":"Policy","type":"object","uniqueKey":"policy","typeLabel":"Policy · object"},"digest":{"description":"The digest of the policy","type":"string","uniqueKey":"digest","typeLabel":"string"},"raw":{"example":{"format":"FORMAT_UNSPECIFIED","body":"body"},"properties":{"body":{"format":"byte","pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$","type":"string","uniqueKey":"raw.body","typeLabel":"string\u003cbyte>"},"format":{"default":"FORMAT_UNSPECIFIED","enum":["FORMAT_UNSPECIFIED","FORMAT_JSON","FORMAT_YAML"],"title":"buf:lint:ignore ENUM_VALUE_PREFIX\nbuf:lint:ignore ENUM_ZERO_VALUE_SUFFIX","type":"string","uniqueKey":"raw.format","typeLabel":"enum\u003cstring>"}},"title":"Raw representation in bytes of a resource in json or yaml","type":"object","uniqueKey":"raw","typeLabel":"Raw representation in bytes of a resource in json or yaml · object"},"latest":{"description":"Whether this is the latest version of the policy","type":"boolean","uniqueKey":"latest","typeLabel":"boolean"},"builtin":{"description":"Whether this policy is builtin or custom","title":"Whether this policy is builtin or custom","type":"boolean","uniqueKey":"builtin","typeLabel":"boolean"},"organization_id":{"description":"ID of the organization owning this policy (empty for builtin policies)","title":"Organization owning this policy (empty for builtin policies)","type":"string","uniqueKey":"organization_id","typeLabel":"string"},"organization_name":{"description":"Name of the organization owning this policy","type":"string","uniqueKey":"organization_name","typeLabel":"string"},"version_references":{"description":"References to all versions of this policy","items":{"example":{"digest":"digest","created_at":"2000-01-23T04:56:07.000Z"},"properties":{"digest":{"title":"The digest of the policy","type":"string","uniqueKey":"version_references.items.[INDEX].digest","typeLabel":"string"},"created_at":{"format":"date-time","title":"The timestamp when the policy was created","type":"string","uniqueKey":"version_references.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"}},"title":"PolicyVersionReference represents the reference to a policy version","type":"object","uniqueKey":"version_references.items.[INDEX]","typeLabel":"PolicyVersionReference represents the reference to a policy version · object"},"title":"All references to the policy versions","type":"array","uniqueKey":"version_references","typeLabel":"PolicyVersionReference represents the reference to a policy version · object[]"},"inputs_json_schema":{"description":"JSON schema of the inputs required by the policy","title":"The JSON schema version of the inputs of the policy","type":"string","uniqueKey":"inputs_json_schema","typeLabel":"string"}},"title":"PolicyServiceGetResponse","type":"object","uniqueKey":"","typeLabel":"PolicyServiceGetResponse · object"},"examples":{"Example":{"title":"Example","value":{"version_references":[{"digest":"digest","created_at":"2000-01-23T04:56:07.000Z"},{"digest":"digest","created_at":"2000-01-23T04:56:07.000Z"}],"inputs_json_schema":"inputs_json_schema","data":{"metadata":{"organization":"organization","name":"name","description":"description","annotations":{"key":"annotations"},"display_name":"display_name","finding_type":"finding_type"},"kind":"kind","api_version":"api_version","spec":{"path":"path","auto_match":{"path":"path","ref":"ref","embedded":"embedded"},"inputs":[{"default":"default","name":"name","description":"description","required":true},{"default":"default","name":"name","description":"description","required":true}],"policies":[{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"},{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"}],"type":"type","embedded":"embedded"}},"builtin":true,"organization_id":"organization_id","digest":"digest","raw":{"format":"FORMAT_UNSPECIFIED","body":"body"},"organization_name":"organization_name","policy":{"metadata":{"organization":"organization","name":"name","description":"description","annotations":{"key":"annotations"},"display_name":"display_name","finding_type":"finding_type"},"kind":"kind","api_version":"api_version","spec":{"path":"path","auto_match":{"path":"path","ref":"ref","embedded":"embedded"},"inputs":[{"default":"default","name":"name","description":"description","required":true},{"default":"default","name":"name","description":"description","required":true}],"policies":[{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"},{"path":"path","ref":"ref","kind":"kind","attestation_phases":["ATTESTATION_PHASE_UNSPECIFIED","ATTESTATION_PHASE_UNSPECIFIED"],"embedded":"embedded"}],"type":"type","embedded":"embedded"}},"latest":true}}},"exampleType":"generated"}},"description":"A successful response.","exampleType":"generated"},"b5700dec-00a8-431c-bca7-2bb6ddbc6189":{"content":{"application/json":{"schema":{"description":"Response for bad request","example":{"code":0,"details":["details","details"],"message":"message"},"properties":{"code":{"default":3,"description":"The error code indicating the type of error. It's fixed to 3, which is the code for INVALID_ARGUMENT.","format":"int32","type":"integer","isRequired":true,"uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"description":"A human-readable message providing more details about the error.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"description":"Additional details about the error.","items":{"type":"string","uniqueKey":"details.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"details","typeLabel":"string[]"}},"required":["code","message"],"title":"BadRequestResponse","type":"object","uniqueKey":"","typeLabel":"BadRequestResponse · object"},"examples":{"Example":{"title":"Example","value":{"code":0,"details":["details","details"],"message":"message"}}},"exampleType":"generated"}},"description":"Bad Request - The request was invalid or cannot be served.","exampleType":"generated"},"f9cdca2b-85fb-44c7-a4b9-67fa91e072e1":{"content":{"application/json":{"schema":{"description":"Response for unauthorized access","example":{"code":6,"details":["details","details"],"message":"message"},"properties":{"code":{"default":16,"description":"The error code indicating the type of error. It's fixed to 16, which is the code for UNAUTHENTICATED.","format":"int32","type":"integer","isRequired":true,"uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"description":"A human-readable message providing more details about the error.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"description":"Additional details about the error.","items":{"type":"string","uniqueKey":"details.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"details","typeLabel":"string[]"}},"required":["code","message"],"title":"UnauthorizedResponse","type":"object","uniqueKey":"","typeLabel":"UnauthorizedResponse · object"},"examples":{"Example":{"title":"Example","value":{"code":6,"details":["details","details"],"message":"message"}}},"exampleType":"generated"}},"description":"Unauthorized - Authentication is required.","exampleType":"generated"},"0097f146-6e15-4680-89e7-028236599f18":{"content":{"application/json":{"schema":{"description":"Response for permission denied","example":{"code":1,"details":["details","details"],"message":"message"},"properties":{"code":{"default":7,"description":"The error code indicating the type of error. It's fixed to 7, which is the code for PERMISSION_DENIED.","format":"int32","type":"integer","isRequired":true,"uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"description":"A human-readable message providing more details about the error.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"description":"Additional details about the error.","items":{"type":"string","uniqueKey":"details.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"details","typeLabel":"string[]"}},"required":["code","message"],"title":"PermissionDeniedResponse","type":"object","uniqueKey":"","typeLabel":"PermissionDeniedResponse · object"},"examples":{"Example":{"title":"Example","value":{"code":1,"details":["details","details"],"message":"message"}}},"exampleType":"generated"}},"description":"Forbidden - You do not have permission to access this resource.","exampleType":"generated"},"39ebbd38-4e69-434b-b911-8cf6b8b7e55f":{"content":{"application/json":{"schema":{"description":"Response for internal server error","example":{"code":5,"details":["details","details"],"message":"message"},"properties":{"code":{"default":13,"description":"The error code indicating the type of error. It's fixed to 13, which is the code for INTERNAL_ERROR.","format":"int32","type":"integer","isRequired":true,"uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"description":"A human-readable message providing more details about the error.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"description":"Additional details about the error.","items":{"type":"string","uniqueKey":"details.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"details","typeLabel":"string[]"}},"required":["code","message"],"title":"InternalServerErrorResponse","type":"object","uniqueKey":"","typeLabel":"InternalServerErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"code":5,"details":["details","details"],"message":"message"}}},"exampleType":"generated"}},"description":"Internal Server Error - An unexpected error occurred on the server.","exampleType":"generated"},"d96c3f62-820e-44f5-88da-f25593625f33":{"content":{"application/json":{"schema":{"example":{"code":5,"details":[{"@type":"@type"},{"@type":"@type"}],"message":"message"},"properties":{"code":{"format":"int32","type":"integer","uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"details":{"items":{"additionalProperties":{"type":"object","uniqueKey":"details.items.[INDEX].additionalProperties","typeLabel":"object"},"example":{"@type":"@type"},"properties":{"@type":{"type":"string","uniqueKey":"details.items.[INDEX].@type","typeLabel":"string"}},"type":"object","uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"details","typeLabel":"object[]"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":5,"details":[{"@type":"@type"},{"@type":"@type"}],"message":"message"}}},"exampleType":"generated"}},"description":"An unexpected error response.","exampleType":"generated"}},"security":{"ace5891d-f278-4089-9e45-73c99269d5ad":{"bearerToken":{"description":"Bearer token for authentication","type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerToken"}}},"servers":{"cffda803-c383-4264-b179-18063a2c0f46":{"url":"https://api.app.chainloop.dev/"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"Bearer token for authentication","type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerToken"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer token for authentication","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerToken","name":"Authorization"}],"title":"bearerToken"}]},"originalFileLocation":"https://api.app.chainloop.dev/openapi.yaml"},"subdomain":"chainloop","siteName":"Chainloop Documentation","title":"Get a policy by name - Chainloop Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T13:40:14.257Z","originalFileLocation":"api-reference/policyservice/get-a-policy-by-name.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=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieves a policy by its name, optionally specifying a particular version by digest. If no digest is provided, the latest version is returned.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Chainloop Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/chainloop/mw3ai7qmEaYOPNu0/_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/chainloop/mw3ai7qmEaYOPNu0/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/chainloop/mw3ai7qmEaYOPNu0/_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/chainloop/mw3ai7qmEaYOPNu0/_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/chainloop/mw3ai7qmEaYOPNu0/_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/chainloop/mw3ai7qmEaYOPNu0/_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/chainloop/mw3ai7qmEaYOPNu0/_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/chainloop/mw3ai7qmEaYOPNu0/_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/chainloop/mw3ai7qmEaYOPNu0/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get a policy by name - Chainloop Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieves a policy by its name, optionally specifying a particular version by digest. If no digest is provided, the latest version is returned.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Chainloop Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.chainloop.dev/api-reference/policyservice/get-a-policy-by-name\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://chainloop.mintlify.site/_mintlify/api/og/v2?division=PolicyService\u0026amp;title=Get+a+policy+by+name\u0026amp;description=Retrieves+a+policy+by+its+name%2C+optionally+specifying+a+particular+version+by+digest.+If+no+digest+is+provided%2C+the+latest+version+is+returned.\u0026amp;theme=40deb50ff2f71d14918a10c4\u0026amp;signature=5880dc558ef6ee971132a61c81d20599f54a7f77ec465efbc116f39a08dc937a\">\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=\"Get a policy by name - Chainloop Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieves a policy by its name, optionally specifying a particular version by digest. If no digest is provided, the latest version is returned.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://chainloop.mintlify.site/_mintlify/api/og/v2?division=PolicyService\u0026amp;title=Get+a+policy+by+name\u0026amp;description=Retrieves+a+policy+by+its+name%2C+optionally+specifying+a+particular+version+by+digest.+If+no+digest+is+provided%2C+the+latest+version+is+returned.\u0026amp;theme=40deb50ff2f71d14918a10c4\u0026amp;signature=5880dc558ef6ee971132a61c81d20599f54a7f77ec465efbc116f39a08dc937a\">\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/chainloop/mw3ai7qmEaYOPNu0/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Chainloop Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2D1BD2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.chainloop.dev/api-reference/policyservice/get-a-policy-by-name\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/policyservice/get-a-policy-by-name.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.chainloop.dev/#organization\",\"name\":\"Chainloop Documentation\",\"url\":\"https://docs.chainloop.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/chainloop/piBVJM34fSFTGk0R/images/logo/light.svg?fit=max\u0026auto=format\u0026n=piBVJM34fSFTGk0R\u0026q=85\u0026s=4bc355683f7e78c629ece2e28db71dff\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.chainloop.dev#website\",\"name\":\"Chainloop Documentation\",\"url\":\"https://docs.chainloop.dev\",\"publisher\":{\"@id\":\"https://docs.chainloop.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.chainloop.dev/api-reference/policyservice/get-a-policy-by-name#webpage\",\"url\":\"https://docs.chainloop.dev/api-reference/policyservice/get-a-policy-by-name\",\"name\":\"Get a policy by name\",\"description\":\"Retrieves a policy by its name, optionally specifying a particular version by digest. If no digest is provided, the latest version is returned.\",\"dateModified\":\"2026-11-05T13:40:14.257Z\",\"isPartOf\":{\"@id\":\"https://docs.chainloop.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.chainloop.dev/api-reference/policyservice/get-a-policy-by-name#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.chainloop.dev/api-reference/policyservice/get-a-policy-by-name#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Platform Endpoints\",\"item\":\"https://docs.chainloop.dev/api-reference/agentsservice/evaluate-evidence-with-ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PolicyService\",\"item\":\"https://docs.chainloop.dev/api-reference/policyservice/get-a-policy-group-by-name\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get a policy by name\",\"item\":\"https://docs.chainloop.dev/api-reference/policyservice/get-a-policy-by-name\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.chainloop.dev/api-reference/policyservice/get-a-policy-by-name#apireference\",\"headline\":\"Get a policy by name\",\"name\":\"Get a policy by name\",\"description\":\"Retrieves a policy by its name, optionally specifying a particular version by digest. If no digest is provided, the latest version is returned.\",\"url\":\"https://docs.chainloop.dev/api-reference/policyservice/get-a-policy-by-name\",\"mainEntityOfPage\":{\"@id\":\"https://docs.chainloop.dev/api-reference/policyservice/get-a-policy-by-name#webpage\"},\"dateModified\":\"2026-11-05T13:40:14.257Z\",\"publisher\":{\"@id\":\"https://docs.chainloop.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.chainloop.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Chainloop Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Chainloop Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/policyservice/get-a-policy-by-name.md","siteName":"Chainloop Documentation","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://chainloop.dev/"},{"anchor":"Blog","icon":"newspaper","href":"https://chainloop.dev/blog"},{"anchor":"Get Help","icon":"headset","href":"https://help.chainloop.dev"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/welcome"}]},{"tab":"Reference","menu":[{"item":"CLI Reference","icon":"terminal","pages":[{"title":"CLI Reference","href":"/cli/installation"}]},{"item":"API Reference","icon":"code","groups":[{"group":" ","pages":[{"title":"Overview","href":"/api-reference/overview"}]},{"group":"Chainloop Controlplane Endpoints","pages":[{"group":"ReferrerService","pages":[{"title":"Discover private referrer","deprecated":null,"version":null,"openapi":"https://cp.chainloop.dev/openapi.yaml get /discover/{digest}","href":"/api-reference/referrerservice/discover-private-referrer"}]},{"group":"DownloadService","pages":[{"title":"Download Artifacts from CAS","deprecated":null,"version":null,"openapi":"https://cp.chainloop.dev/openapi.yaml get /download/{digest}","href":"/api-reference/downloadservice/download-artifacts-from-cas"}]}]},{"group":"Platform Endpoints","pages":[{"group":"AgentsService","pages":[{"title":"Evaluate evidence with AI","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml post /v1/agents/evaluate-evidence","href":"/api-reference/agentsservice/evaluate-evidence-with-ai"}]},{"group":"ArtifactService","pages":[{"title":"List artifacts","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/artifacts","href":"/api-reference/artifactservice/list-artifacts"},{"title":"Describe an artifact","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/artifacts/{id}","href":"/api-reference/artifactservice/describe-an-artifact"}]},{"group":"AssessmentService","pages":[{"title":"List assessments","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/assessments","href":"/api-reference/assessmentservice/list-assessments"},{"title":"Create an assessment","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml post /v1/assessments","href":"/api-reference/assessmentservice/create-an-assessment"},{"title":"Trigger auto-assessment","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml post /v1/assessments/auto","href":"/api-reference/assessmentservice/trigger-auto-assessment"},{"title":"List effective assessments for lookups","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml post /v1/assessments/list-effective","href":"/api-reference/assessmentservice/list-effective-assessments-for-lookups"},{"title":"Approve an assessment revision","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml post /v1/assessments/revisions/{revision_id}/approve","href":"/api-reference/assessmentservice/approve-an-assessment-revision"},{"title":"Reject an assessment revision","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml post /v1/assessments/revisions/{revision_id}/reject","href":"/api-reference/assessmentservice/reject-an-assessment-revision"},{"title":"Get assessment summary","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/assessments/summary","href":"/api-reference/assessmentservice/get-assessment-summary"},{"title":"List assessment revisions","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/assessments/{assessment_id}/revisions","href":"/api-reference/assessmentservice/list-assessment-revisions"},{"title":"Get an assessment","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/assessments/{id}","href":"/api-reference/assessmentservice/get-an-assessment"},{"title":"Update an assessment","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml put /v1/assessments/{id}","href":"/api-reference/assessmentservice/update-an-assessment"},{"title":"Delete an assessment","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml delete /v1/assessments/{id}","href":"/api-reference/assessmentservice/delete-an-assessment"}]},{"group":"AttestationsService","pages":[{"title":"Creates and attestation from a piece of content","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml post /v1/attestations","href":"/api-reference/attestationsservice/creates-and-attestation-from-a-piece-of-content"}]},{"group":"ComplianceService","pages":[{"title":"List a policy evaluation's violations","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/compliance/policy-evaluations/{policy_evaluation_id}/violations","href":"/api-reference/complianceservice/list-a-policy-evaluations-violations"},{"title":"Get product-level compliance aggregation","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/compliance/product","href":"/api-reference/complianceservice/get-product-level-compliance-aggregation"},{"title":"Get single-requirement product compliance detail","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/compliance/product/requirement","href":"/api-reference/complianceservice/get-single-requirement-product-compliance-detail"},{"title":"Get lightweight product compliance summary","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/compliance/product/summary","href":"/api-reference/complianceservice/get-lightweight-product-compliance-summary"},{"title":"Get project-level compliance evaluation","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/compliance/project","href":"/api-reference/complianceservice/get-project-level-compliance-evaluation"}]},{"group":"ComponentService","pages":[{"title":"List software components","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/components","href":"/api-reference/componentservice/list-software-components"},{"title":"Summarize components","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/components/summary","href":"/api-reference/componentservice/summarize-components"},{"title":"Describe a component","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/components/{id}","href":"/api-reference/componentservice/describe-a-component"}]},{"group":"EnvironmentsService","pages":[{"title":"List deployment names","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/deployment-names","href":"/api-reference/environmentsservice/list-deployment-names"},{"title":"List deployment records","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/deployments","href":"/api-reference/environmentsservice/list-deployment-records"},{"title":"Record a deployment","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml post /v1/deployments","href":"/api-reference/environmentsservice/record-a-deployment"},{"title":"List environments","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/environments","href":"/api-reference/environmentsservice/list-environments"},{"title":"Create an environment","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml post /v1/environments","href":"/api-reference/environmentsservice/create-an-environment"},{"title":"Describe an environment","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/environments/{id}","href":"/api-reference/environmentsservice/describe-an-environment"},{"title":"Update an environment","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml put /v1/environments/{id}","href":"/api-reference/environmentsservice/update-an-environment"},{"title":"Delete an environment","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml delete /v1/environments/{id}","href":"/api-reference/environmentsservice/delete-an-environment"}]},{"group":"EvidenceService","pages":[{"title":"List pieces of evidence","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/evidence","href":"/api-reference/evidenceservice/list-pieces-of-evidence"},{"title":"Describe a piece of evidence","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/evidence/{id}","href":"/api-reference/evidenceservice/describe-a-piece-of-evidence"}]},{"group":"FindingService","pages":[{"title":"List findings","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/findings","href":"/api-reference/findingservice/list-findings"},{"title":"Trigger auto-remediation","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml post /v1/findings/auto-remediation","href":"/api-reference/findingservice/trigger-auto-remediation"},{"title":"Ingest SBOM findings","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml post /v1/findings/ingest-sbom","href":"/api-reference/findingservice/ingest-sbom-findings"},{"title":"Summarize findings","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/findings/summary","href":"/api-reference/findingservice/summarize-findings"},{"title":"Describe a finding","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/findings/{finding_id}","href":"/api-reference/findingservice/describe-a-finding"},{"title":"Update a finding","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml put /v1/findings/{finding_id}","href":"/api-reference/findingservice/update-a-finding"},{"title":"Delete a finding","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml delete /v1/findings/{finding_id}","href":"/api-reference/findingservice/delete-a-finding"}]},{"group":"PolicyService","pages":[{"title":"Get a policy group by name","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/groups/{group_name}","href":"/api-reference/policyservice/get-a-policy-group-by-name"},{"title":"Update an existing policy","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml put /v1/policies","href":"/api-reference/policyservice/update-an-existing-policy"},{"title":"Create a new policy","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml post /v1/policies","href":"/api-reference/policyservice/create-a-new-policy"},{"title":"Validate a policy attachment","description":"Validates a policy attachment by checking its arguments and requirements against the policy definition.","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml post /v1/policies/validate","href":"/api-reference/policyservice/validate-a-policy-attachment"},{"title":"Get a policy by name","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/policies/{policy_name}","href":"/api-reference/policyservice/get-a-policy-by-name"},{"title":"Remove a policy from the list","description":"Removes a policy from the listing. The policy will no longer be visible or accessible, but may still exist in the system.","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml delete /v1/policies/{policy_name}","href":"/api-reference/policyservice/remove-a-policy-from-the-list"}]},{"group":"LogicalEnvironmentsService","pages":[{"title":"List logical environments","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/logical-environments","href":"/api-reference/logicalenvironmentsservice/list-logical-environments"},{"title":"Create a logical environment","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml post /v1/logical-environments","href":"/api-reference/logicalenvironmentsservice/create-a-logical-environment"},{"title":"Describe a logical environment","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/logical-environments/{id}","href":"/api-reference/logicalenvironmentsservice/describe-a-logical-environment"},{"title":"Update a logical environment","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml put /v1/logical-environments/{id}","href":"/api-reference/logicalenvironmentsservice/update-a-logical-environment"},{"title":"Delete a logical environment","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml delete /v1/logical-environments/{id}","href":"/api-reference/logicalenvironmentsservice/delete-a-logical-environment"}]},{"group":"AsyncOperationsService","pages":[{"title":"List async operations","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/operations","href":"/api-reference/asyncoperationsservice/list-async-operations"},{"title":"Dispatch a managed workflow scan","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml post /v1/operations/dispatch-workflow-scan","href":"/api-reference/asyncoperationsservice/dispatch-a-managed-workflow-scan"},{"title":"Get async operation status","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/operations/{operation_id}","href":"/api-reference/asyncoperationsservice/get-async-operation-status"}]},{"group":"ProductsService","pages":[{"title":"List products","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/products","href":"/api-reference/productsservice/list-products"},{"title":"Get product version details","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/products/{product_id}/versions/{version_id}","href":"/api-reference/productsservice/get-product-version-details"}]},{"group":"ProjectsService","pages":[{"title":"List projects","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/projects","href":"/api-reference/projectsservice/list-projects"}]},{"group":"UserService","pages":[{"title":"Get current user information","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/users/info","href":"/api-reference/userservice/get-current-user-information"}]},{"group":"WorkflowTemplateService","pages":[{"title":"List workflow templates","deprecated":null,"version":null,"openapi":"https://api.app.chainloop.dev/openapi.yaml get /v1/workflow-templates","href":"/api-reference/workflowtemplateservice/list-workflow-templates"}]}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Get a policy by name - Chainloop Documentation","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}