CINXE.COM
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8" data-next-head=""/><link href="https://support.anthropic.com/assets/font/546004" rel="preload" as="font" class="jsx-4205026642" data-next-head=""/><link href="https://support.anthropic.com/assets/font/546005" rel="preload" as="font" class="jsx-2827830746" data-next-head=""/><title data-next-head="">API Prompt Design | Anthropic Help Center</title><meta property="og:title" content="API Prompt Design | Anthropic Help Center" data-next-head=""/><meta name="twitter:title" content="API Prompt Design | Anthropic Help Center" data-next-head=""/><meta property="og:description" content="" data-next-head=""/><meta name="twitter:description" content="" data-next-head=""/><meta name="description" content="" data-next-head=""/><meta property="og:type" content="website" data-next-head=""/><meta name="robots" content="all" data-next-head=""/><meta name="viewport" content="width=device-width, initial-scale=1" data-next-head=""/><link href="https://intercom.help/anthropic-6f71807d7c3e/assets/favicon" rel="icon" data-next-head=""/><link rel="canonical" href="https://support.anthropic.com/en/collections/4078533-api-prompt-design" data-next-head=""/><link rel="alternate" href="https://support.anthropic.com/en/collections/4078533-api-prompt-design" hrefLang="en" data-next-head=""/><link rel="alternate" href="https://support.anthropic.com/fr/collections/4078533-conception-de-l-invite-api" hrefLang="fr" data-next-head=""/><link rel="alternate" href="https://support.anthropic.com/de/collections/4078533-api-prompt-design" hrefLang="de" data-next-head=""/><link rel="alternate" href="https://support.anthropic.com/id/collections/4078533-desain-prompt-api" hrefLang="id" data-next-head=""/><link rel="alternate" href="https://support.anthropic.com/it/collections/4078533-progettazione-delle-richieste-api" hrefLang="it" data-next-head=""/><link rel="alternate" href="https://support.anthropic.com/ja/collections/4078533-api-プロンプト設計" hrefLang="ja" data-next-head=""/><link rel="alternate" href="https://support.anthropic.com/ko/collections/4078533-api-프롬프트-디자인" hrefLang="ko" data-next-head=""/><link rel="alternate" href="https://support.anthropic.com/pt/collections/4078533-design-de-prompt-de-api" hrefLang="pt" data-next-head=""/><link rel="alternate" href="https://support.anthropic.com/ru/collections/4078533-дизайн-запросов-api" hrefLang="ru" data-next-head=""/><link rel="alternate" href="https://support.anthropic.com/zh-CN/collections/4078533-api提示设计" hrefLang="zh-CN" data-next-head=""/><link rel="alternate" href="https://support.anthropic.com/es/collections/4078533-diseno-de-indicaciones-de-api" hrefLang="es" data-next-head=""/><link rel="alternate" href="https://support.anthropic.com/zh-TW/collections/4078533-api提示設計" hrefLang="zh-TW" data-next-head=""/><link rel="alternate" href="https://support.anthropic.com/en/collections/4078533-api-prompt-design" hrefLang="x-default" data-next-head=""/><link nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=" rel="preload" href="https://static.intercomassets.com/_next/static/css/afa7144d4ea60549.css" as="style"/><link nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=" rel="stylesheet" href="https://static.intercomassets.com/_next/static/css/afa7144d4ea60549.css" data-n-g=""/><noscript data-n-css="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4="></noscript><script defer="" nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=" nomodule="" src="https://static.intercomassets.com/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script defer="" src="https://static.intercomassets.com/_next/static/chunks/9807.06bd1120513ccdff.js" nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4="></script><script src="https://static.intercomassets.com/_next/static/chunks/webpack-62eef468f4cc2eb4.js" nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/framework-3d6664b6c0448cad.js" nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/main-5cbcf1ac1f0e6a80.js" nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/pages/_app-fde89013783682d5.js" nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/da8cbcf2-2967075de51b8338.js" nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/7833-f979af8436ee7faa.js" nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/639-8f8746e48a00ce60.js" nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/2266-6ece4d4ecd5a090f.js" nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/chunks/pages/%5BhelpCenterIdentifier%5D/%5Blocale%5D/collections/%5BcollectionSlug%5D-ed7bbbcef5fa38b9.js" nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/iG0HOKe3PN3yuVPp-t5Xh/_buildManifest.js" nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=" defer=""></script><script src="https://static.intercomassets.com/_next/static/iG0HOKe3PN3yuVPp-t5Xh/_ssgManifest.js" nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=" defer=""></script><meta name="sentry-trace" content="d231064caf5dd8ccccbc596344b86e4e-ef7603461b500d7f-0"/><meta name="baggage" content="sentry-environment=production,sentry-release=iG0HOKe3PN3yuVPp-t5Xh,sentry-public_key=187f842308a64dea9f1f64d4b1b9c298,sentry-trace_id=d231064caf5dd8ccccbc596344b86e4e,sentry-sampled=false"/><style id="__jsx-1735917983">:root{--body-bg: rgb(255, 255, 255); --body-image: none; --body-bg-rgb: 255, 255, 255; --body-border: rgb(230, 230, 230); --body-primary-color: #1a1a1a; --body-secondary-color: #737373; --body-reaction-bg: rgb(242, 242, 242); --body-reaction-text-color: rgb(64, 64, 64); --body-toc-active-border: #737373; --body-toc-inactive-border: #f2f2f2; --body-toc-inactive-color: #737373; --body-toc-active-font-weight: 400; --body-table-border: rgb(204, 204, 204); --body-color: hsl(0, 0%, 0%); --footer-bg: rgb(25, 25, 25); --footer-image: none; --footer-border: rgb(50, 50, 50); --footer-color: hsl(60, 14%, 93%); --header-bg: rgb(240, 240, 235); --header-image: none; --header-color: hsl(0, 0%, 10%); --collection-card-bg: rgb(204, 120, 92); --collection-card-image: none; --collection-card-color: hsl(60, 14%, 93%); --card-bg: rgb(255, 255, 255); --card-border-color: rgb(230, 230, 230); --card-border-inner-radius: 11px; --card-border-radius: 14px; --card-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); --search-bar-border-radius: 10px; --search-bar-width: 100%; --ticket-blue-bg-color: #dce1f9; --ticket-blue-text-color: #334bfa; --ticket-green-bg-color: #d7efdc; --ticket-green-text-color: #0f7134; --ticket-orange-bg-color: #ffebdb; --ticket-orange-text-color: #b24d00; --header-height: 245px; --header-subheader-background-color: #CC785C; --header-subheader-font-color: #F0F0EB; --content-block-bg: rgb(255, 255, 255); --content-block-image: none; --content-block-color: hsl(0, 0%, 10%); --content-block-button-bg: rgb(51, 75, 250); --content-block-button-image: none; --content-block-button-color: hsl(0, 0%, 100%); --content-block-button-radius: 6px; --primary-color: hsl(195, 100%, 40%); --primary-color-alpha-10: hsla(195, 100%, 40%, 0.1); --primary-color-alpha-60: hsla(195, 100%, 40%, 0.6); --text-on-primary-color: #1a1a1a}</style><style id="__jsx-4205026642">@font-face{font-family:Tiempos Text Regular;font-display:fallback;font-weight: 400; font-style: normal; src: url('https://support.anthropic.com/assets/font/546004')}</style><style id="__jsx-2827830746">@font-face{font-family:Tiempos Text Regular;font-display:fallback;font-weight: 400; font-style: italic; src: url('https://support.anthropic.com/assets/font/546005')}</style><style id="__jsx-1883100361">:root{--font-family-primary: Tiempos Text Regular}</style><style id="__jsx-2605255833">:root{--font-family-secondary: system-ui, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}</style><style id="__jsx-73269029ea53bf4f">.fade-background.jsx-73269029ea53bf4f{background:-webkit-radial-gradient(50%0%,333.38%100%,rgba(var(--body-bg-rgb),0)0%,rgba(var(--body-bg-rgb),.00925356)11.67%,rgba(var(--body-bg-rgb),.0337355)21.17%,rgba(var(--body-bg-rgb),.0718242)28.85%,rgba(var(--body-bg-rgb),.121898)35.03%,rgba(var(--body-bg-rgb),.182336)40.05%,rgba(var(--body-bg-rgb),.251516)44.25%,rgba(var(--body-bg-rgb),.327818)47.96%,rgba(var(--body-bg-rgb),.409618)51.51%,rgba(var(--body-bg-rgb),.495297)55.23%,rgba(var(--body-bg-rgb),.583232)59.47%,rgba(var(--body-bg-rgb),.671801)64.55%,rgba(var(--body-bg-rgb),.759385)70.81%,rgba(var(--body-bg-rgb),.84436)78.58%,rgba(var(--body-bg-rgb),.9551)88.2%,rgba(var(--body-bg-rgb),1)100%),var(--header-image),var(--header-bg);background:-moz-radial-gradient(50%0%,333.38%100%,rgba(var(--body-bg-rgb),0)0%,rgba(var(--body-bg-rgb),.00925356)11.67%,rgba(var(--body-bg-rgb),.0337355)21.17%,rgba(var(--body-bg-rgb),.0718242)28.85%,rgba(var(--body-bg-rgb),.121898)35.03%,rgba(var(--body-bg-rgb),.182336)40.05%,rgba(var(--body-bg-rgb),.251516)44.25%,rgba(var(--body-bg-rgb),.327818)47.96%,rgba(var(--body-bg-rgb),.409618)51.51%,rgba(var(--body-bg-rgb),.495297)55.23%,rgba(var(--body-bg-rgb),.583232)59.47%,rgba(var(--body-bg-rgb),.671801)64.55%,rgba(var(--body-bg-rgb),.759385)70.81%,rgba(var(--body-bg-rgb),.84436)78.58%,rgba(var(--body-bg-rgb),.9551)88.2%,rgba(var(--body-bg-rgb),1)100%),var(--header-image),var(--header-bg);background:-o-radial-gradient(50%0%,333.38%100%,rgba(var(--body-bg-rgb),0)0%,rgba(var(--body-bg-rgb),.00925356)11.67%,rgba(var(--body-bg-rgb),.0337355)21.17%,rgba(var(--body-bg-rgb),.0718242)28.85%,rgba(var(--body-bg-rgb),.121898)35.03%,rgba(var(--body-bg-rgb),.182336)40.05%,rgba(var(--body-bg-rgb),.251516)44.25%,rgba(var(--body-bg-rgb),.327818)47.96%,rgba(var(--body-bg-rgb),.409618)51.51%,rgba(var(--body-bg-rgb),.495297)55.23%,rgba(var(--body-bg-rgb),.583232)59.47%,rgba(var(--body-bg-rgb),.671801)64.55%,rgba(var(--body-bg-rgb),.759385)70.81%,rgba(var(--body-bg-rgb),.84436)78.58%,rgba(var(--body-bg-rgb),.9551)88.2%,rgba(var(--body-bg-rgb),1)100%),var(--header-image),var(--header-bg);background:radial-gradient(333.38%100%at 50%0%,rgba(var(--body-bg-rgb),0)0%,rgba(var(--body-bg-rgb),.00925356)11.67%,rgba(var(--body-bg-rgb),.0337355)21.17%,rgba(var(--body-bg-rgb),.0718242)28.85%,rgba(var(--body-bg-rgb),.121898)35.03%,rgba(var(--body-bg-rgb),.182336)40.05%,rgba(var(--body-bg-rgb),.251516)44.25%,rgba(var(--body-bg-rgb),.327818)47.96%,rgba(var(--body-bg-rgb),.409618)51.51%,rgba(var(--body-bg-rgb),.495297)55.23%,rgba(var(--body-bg-rgb),.583232)59.47%,rgba(var(--body-bg-rgb),.671801)64.55%,rgba(var(--body-bg-rgb),.759385)70.81%,rgba(var(--body-bg-rgb),.84436)78.58%,rgba(var(--body-bg-rgb),.9551)88.2%,rgba(var(--body-bg-rgb),1)100%),var(--header-image),var(--header-bg);-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;background-position-x:center}</style></head><body><div id="__next"><div dir="ltr" class="h-full w-full"><a href="#main-content" class="sr-only">Skip to main content</a><main class="header__lite"><header id="header" data-testid="header" class="jsx-73269029ea53bf4f flex flex-col text-header-color"><div class="jsx-73269029ea53bf4f relative flex grow flex-col mb-9 bg-header-bg bg-header-image bg-cover bg-center pb-9"><div class="jsx-73269029ea53bf4f flex h-full flex-col items-center marker:shrink-0"><section class="relative flex w-full flex-col mb-6 pb-6"><div class="header__meta_wrapper flex justify-center px-5 pt-6 leading-none sm:px-10"><div class="flex items-center w-240" data-testid="subheader-container"><div class="mo__body header__site_name"><div class="header__logo"><a href="/en/"><img src="https://downloads.intercomcdn.com/i/o/546010/2e39352aaa95b44e966b380e/669122d1461c59c54866f83e622136ab.png" height="330" alt="Anthropic Help Center"/></a></div></div><div><div class="flex items-center font-semibold"><div class="flex items-center md:hidden" data-testid="small-screen-children"><button class="flex items-center border-none bg-transparent px-1.5" data-testid="hamburger-menu-button" aria-label="Open menu"><svg width="24" height="24" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="fill-current"><path d="M1.86861 2C1.38889 2 1 2.3806 1 2.85008C1 3.31957 1.38889 3.70017 1.86861 3.70017H14.1314C14.6111 3.70017 15 3.31957 15 2.85008C15 2.3806 14.6111 2 14.1314 2H1.86861Z"></path><path d="M1 8C1 7.53051 1.38889 7.14992 1.86861 7.14992H14.1314C14.6111 7.14992 15 7.53051 15 8C15 8.46949 14.6111 8.85008 14.1314 8.85008H1.86861C1.38889 8.85008 1 8.46949 1 8Z"></path><path d="M1 13.1499C1 12.6804 1.38889 12.2998 1.86861 12.2998H14.1314C14.6111 12.2998 15 12.6804 15 13.1499C15 13.6194 14.6111 14 14.1314 14H1.86861C1.38889 14 1 13.6194 1 13.1499Z"></path></svg></button><div class="fixed right-0 top-0 z-50 h-full w-full hidden" data-testid="hamburger-menu"><div class="flex h-full w-full justify-end bg-black bg-opacity-30"><div class="flex h-fit w-full flex-col bg-white opacity-100 sm:h-full sm:w-1/2"><button class="text-body-font flex items-center self-end border-none bg-transparent pr-6 pt-6" data-testid="hamburger-menu-close-button" aria-label="Close menu"><svg width="24" height="24" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M3.5097 3.5097C3.84165 3.17776 4.37984 3.17776 4.71178 3.5097L7.99983 6.79775L11.2879 3.5097C11.6198 3.17776 12.158 3.17776 12.49 3.5097C12.8219 3.84165 12.8219 4.37984 12.49 4.71178L9.20191 7.99983L12.49 11.2879C12.8219 11.6198 12.8219 12.158 12.49 12.49C12.158 12.8219 11.6198 12.8219 11.2879 12.49L7.99983 9.20191L4.71178 12.49C4.37984 12.8219 3.84165 12.8219 3.5097 12.49C3.17776 12.158 3.17776 11.6198 3.5097 11.2879L6.79775 7.99983L3.5097 4.71178C3.17776 4.37984 3.17776 3.84165 3.5097 3.5097Z"></path></svg></button><nav class="flex flex-col pl-4 text-black"><a target="_blank" rel="noopener noreferrer" href="https://docs.anthropic.com/en/docs/welcome" class="mx-5 mb-5 text-md no-underline hover:opacity-80 md:mx-3 md:my-0 md:text-base" data-testid="header-link-0">API Docs</a><a target="_blank" rel="noopener noreferrer" href="https://docs.anthropic.com/en/release-notes/overview" class="mx-5 mb-5 text-md no-underline hover:opacity-80 md:mx-3 md:my-0 md:text-base" data-testid="header-link-1">Release Notes</a><a target="_blank" rel="noopener noreferrer" href="https://support.anthropic.com/en/articles/9015913-how-can-i-contact-support" class="mx-5 mb-5 text-md no-underline hover:opacity-80 md:mx-3 md:my-0 md:text-base" data-testid="header-link-2">How to Get Support</a><div class="relative cursor-pointer has-[:focus]:outline"><select class="peer absolute z-10 block h-6 w-full cursor-pointer opacity-0 md:text-base"><option value="/en/collections/4078533-api-prompt-design" class="text-black" selected="">English</option><option value="/fr/collections/4078533-conception-de-l-invite-api" class="text-black">Français</option><option value="/de/collections/4078533-api-prompt-design" class="text-black">Deutsch</option><option value="/id/collections/4078533-desain-prompt-api" class="text-black">Bahasa Indonesia</option><option value="/it/collections/4078533-progettazione-delle-richieste-api" class="text-black">Italiano</option><option value="/ja/collections/4078533-api-プロンプト設計" class="text-black">日本語</option><option value="/ko/collections/4078533-api-프롬프트-디자인" class="text-black">한국어</option><option value="/pt/collections/4078533-design-de-prompt-de-api" class="text-black">Português</option><option value="/ru/collections/4078533-дизайн-запросов-api" class="text-black">Pусский</option><option value="/zh-CN/collections/4078533-api提示设计" class="text-black">简体中文</option><option value="/es/collections/4078533-diseno-de-indicaciones-de-api" class="text-black">Español</option><option value="/zh-TW/collections/4078533-api提示設計" class="text-black">繁體中文</option>;</select><div class="mb-10 ml-5 flex items-center gap-1 text-md hover:opacity-80 peer-hover:opacity-80 md:m-0 md:ml-3 md:text-base"><svg id="locale-picker-globe" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="shrink-0" aria-hidden="true"><path d="M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8 15C9.39949 15 10.534 11.866 10.534 8C10.534 4.13401 9.39949 1 8 1C6.60051 1 5.466 4.13401 5.466 8C5.466 11.866 6.60051 15 8 15Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.448 5.75989H14.524" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.448 10.2402H14.524" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>English<svg id="locale-picker-arrow" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="shrink-0" aria-label="Change language" role="button"><path d="M5 6.5L8.00093 9.5L11 6.50187" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"></path></svg></div></div></nav></div></div></div></div><nav class="hidden items-center md:flex" data-testid="large-screen-children"><a target="_blank" rel="noopener noreferrer" href="https://docs.anthropic.com/en/docs/welcome" class="mx-5 mb-5 text-md no-underline hover:opacity-80 md:mx-3 md:my-0 md:text-base" data-testid="header-link-0">API Docs</a><a target="_blank" rel="noopener noreferrer" href="https://docs.anthropic.com/en/release-notes/overview" class="mx-5 mb-5 text-md no-underline hover:opacity-80 md:mx-3 md:my-0 md:text-base" data-testid="header-link-1">Release Notes</a><a target="_blank" rel="noopener noreferrer" href="https://support.anthropic.com/en/articles/9015913-how-can-i-contact-support" class="mx-5 mb-5 text-md no-underline hover:opacity-80 md:mx-3 md:my-0 md:text-base" data-testid="header-link-2">How to Get Support</a><div class="relative cursor-pointer has-[:focus]:outline"><select class="peer absolute z-10 block h-6 w-full cursor-pointer opacity-0 md:text-base"><option value="/en/collections/4078533-api-prompt-design" class="text-black" selected="">English</option><option value="/fr/collections/4078533-conception-de-l-invite-api" class="text-black">Français</option><option value="/de/collections/4078533-api-prompt-design" class="text-black">Deutsch</option><option value="/id/collections/4078533-desain-prompt-api" class="text-black">Bahasa Indonesia</option><option value="/it/collections/4078533-progettazione-delle-richieste-api" class="text-black">Italiano</option><option value="/ja/collections/4078533-api-プロンプト設計" class="text-black">日本語</option><option value="/ko/collections/4078533-api-프롬프트-디자인" class="text-black">한국어</option><option value="/pt/collections/4078533-design-de-prompt-de-api" class="text-black">Português</option><option value="/ru/collections/4078533-дизайн-запросов-api" class="text-black">Pусский</option><option value="/zh-CN/collections/4078533-api提示设计" class="text-black">简体中文</option><option value="/es/collections/4078533-diseno-de-indicaciones-de-api" class="text-black">Español</option><option value="/zh-TW/collections/4078533-api提示設計" class="text-black">繁體中文</option>;</select><div class="mb-10 ml-5 flex items-center gap-1 text-md hover:opacity-80 peer-hover:opacity-80 md:m-0 md:ml-3 md:text-base"><svg id="locale-picker-globe" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="shrink-0" aria-hidden="true"><path d="M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8 15C9.39949 15 10.534 11.866 10.534 8C10.534 4.13401 9.39949 1 8 1C6.60051 1 5.466 4.13401 5.466 8C5.466 11.866 6.60051 15 8 15Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.448 5.75989H14.524" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.448 10.2402H14.524" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>English<svg id="locale-picker-arrow" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="shrink-0" aria-label="Change language" role="button"><path d="M5 6.5L8.00093 9.5L11 6.50187" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"></path></svg></div></div></nav></div></div></div></div></section><section class="relative mx-5 flex h-full w-full flex-col items-center px-5 sm:px-10"><div class="flex h-full max-w-full flex-col w-240 justify-end" data-testid="main-header-container"><div id="search-bar" class="relative w-full"><form action="/en/" autoComplete="off"><div class="flex w-full flex-col items-center"><div class="relative flex w-full sm:w-search-bar"><input type="text" autoComplete="off" class="peer w-full rounded-search-bar border border-black-alpha-8 bg-white-alpha-20 p-4 ps-12 font-secondary text-lg text-header-color shadow-search-bar outline-none transition ease-linear placeholder:text-header-color hover:bg-white-alpha-27 hover:shadow-search-bar-hover focus:border-transparent focus:bg-white focus:text-black-10 focus:shadow-search-bar-focused placeholder:focus:text-black-45" placeholder="Search for articles..." name="q" value=""/><div class="pointer-events-none absolute inset-y-0 start-0 flex items-center fill-header-color ps-5 peer-focus-visible:fill-black-45"><svg width="22" height="21" viewBox="0 0 22 21" xmlns="http://www.w3.org/2000/svg" class="fill-inherit" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.27485 8.7001C3.27485 5.42781 5.92757 2.7751 9.19985 2.7751C12.4721 2.7751 15.1249 5.42781 15.1249 8.7001C15.1249 11.9724 12.4721 14.6251 9.19985 14.6251C5.92757 14.6251 3.27485 11.9724 3.27485 8.7001ZM9.19985 0.225098C4.51924 0.225098 0.724854 4.01948 0.724854 8.7001C0.724854 13.3807 4.51924 17.1751 9.19985 17.1751C11.0802 17.1751 12.8176 16.5627 14.2234 15.5265L19.0981 20.4013C19.5961 20.8992 20.4033 20.8992 20.9013 20.4013C21.3992 19.9033 21.3992 19.0961 20.9013 18.5981L16.0264 13.7233C17.0625 12.3176 17.6749 10.5804 17.6749 8.7001C17.6749 4.01948 13.8805 0.225098 9.19985 0.225098Z"></path></svg></div></div></div></form></div></div></section></div></div></header><div class="z-1 flex shrink-0 grow basis-auto justify-center px-5 sm:px-10"><section data-testid="main-content" id="main-content" class="max-w-full w-240"><div class="flex flex-wrap items-baseline pb-4 text-base"><a href="/en/" class="pr-2 text-body-primary-color no-underline hover:text-body-secondary-color">All Collections</a><div class="pr-2" aria-hidden="true"><svg width="6" height="10" viewBox="0 0 6 10" class="block h-2 w-2 fill-body-secondary-color rtl:rotate-180" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.648862 0.898862C0.316916 1.23081 0.316916 1.769 0.648862 2.10094L3.54782 4.9999L0.648862 7.89886C0.316916 8.23081 0.316917 8.769 0.648862 9.10094C0.980808 9.43289 1.519 9.43289 1.85094 9.10094L5.35094 5.60094C5.68289 5.269 5.68289 4.73081 5.35094 4.39886L1.85094 0.898862C1.519 0.566916 0.980807 0.566916 0.648862 0.898862Z"></path></svg></div><div class="text-body-secondary-color">API Prompt Design</div></div><div class="flex flex-col gap-10 max-sm:gap-8 max-sm:pt-2 pt-4" id="api-prompt-design"><div><div class="mb-5"><div id="collection-icon-4078533" class="flex items-center rounded-card bg-cover stroke-collection-card-color text-collection-card-color h-14 w-14 justify-center bg-collection-card-bg bg-collection-card-image" data-testid="collection-photo"><div class="h-9 w-9 sm:h-10 sm:w-10"><img src="https://intercom.help/anthropic-6f71807d7c3e/assets/svg/icon:sft-wrench-screwdriver/F0F0EB" alt="" width="100%" height="100%" loading="lazy"/></div></div></div><div class="flex flex-col"><header class="mb-1 font-primary text-2xl font-bold leading-10 text-body-primary-color">API Prompt Design</header></div><div class="mt-5"><div class="flex"><span class="line-clamp-1 flex text-base text-body-secondary-color">4 articles</span></div></div></div><div class="flex flex-col gap-5"><section class="flex flex-col rounded-card border border-solid border-card-border bg-card-bg p-2 sm:p-3"><a class="duration-250 group/article flex flex-row justify-between gap-2 py-2 no-underline transition ease-linear hover:bg-primary-alpha-10 hover:text-primary sm:rounded-card-inner sm:py-3 rounded-card-inner px-3" href="https://support.anthropic.com/en/articles/7996853-introduction-to-prompt-design" data-testid="article-link"><div class="flex flex-col p-0"><span class="m-0 text-md text-body-primary-color group-hover/article:text-primary font-regular">Introduction to Prompt Design</span></div><div class="flex shrink-0 flex-col justify-center p-0"><svg class="block h-4 w-4 text-primary ltr:-rotate-90 rtl:rotate-90" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></div></a><a class="duration-250 group/article flex flex-row justify-between gap-2 py-2 no-underline transition ease-linear hover:bg-primary-alpha-10 hover:text-primary sm:rounded-card-inner sm:py-3 rounded-card-inner px-3" href="https://support.anthropic.com/en/articles/7996856-what-is-the-maximum-prompt-length" data-testid="article-link"><div class="flex flex-col p-0"><span class="m-0 text-md text-body-primary-color group-hover/article:text-primary font-regular">What is the maximum prompt length?</span></div><div class="flex shrink-0 flex-col justify-center p-0"><svg class="block h-4 w-4 text-primary ltr:-rotate-90 rtl:rotate-90" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></div></a><a class="duration-250 group/article flex flex-row justify-between gap-2 py-2 no-underline transition ease-linear hover:bg-primary-alpha-10 hover:text-primary sm:rounded-card-inner sm:py-3 rounded-card-inner px-3" href="https://support.anthropic.com/en/articles/8114518-claude-s-response-to-my-prompt-is-too-brief" data-testid="article-link"><div class="flex flex-col p-0"><span class="m-0 text-md text-body-primary-color group-hover/article:text-primary font-regular">Claude’s response to my prompt is too brief.</span></div><div class="flex shrink-0 flex-col justify-center p-0"><svg class="block h-4 w-4 text-primary ltr:-rotate-90 rtl:rotate-90" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></div></a><a class="duration-250 group/article flex flex-row justify-between gap-2 py-2 no-underline transition ease-linear hover:bg-primary-alpha-10 hover:text-primary sm:rounded-card-inner sm:py-3 rounded-card-inner px-3" href="https://support.anthropic.com/en/articles/7996857-my-prompt-isn-t-giving-me-a-helpful-answer" data-testid="article-link"><div class="flex flex-col p-0"><span class="m-0 text-md text-body-primary-color group-hover/article:text-primary font-regular">My prompt isn’t giving me a helpful answer.</span></div><div class="flex shrink-0 flex-col justify-center p-0"><svg class="block h-4 w-4 text-primary ltr:-rotate-90 rtl:rotate-90" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></div></a></section></div></div></section></div><footer id="footer" class="mt-24 shrink-0 bg-footer-bg px-0 py-12 text-left text-base text-footer-color"><div class="shrink-0 grow basis-auto px-5 sm:px-10"><div class="mx-auto max-w-240 sm:w-auto"><div><div class="flex flex-col md:flex-row" data-testid="classic-footer-layout"><div class="mb-6 me-0 max-w-65 shrink-0 sm:mb-0 sm:me-18 sm:w-auto"><div class="align-middle text-lg text-footer-color"><a class="no-underline" href="/en/"><img data-testid="logo-img" src="https://downloads.intercomcdn.com/i/o/487548/17213f6a445c8e6e874b1f4b/fad85208982e639d11b9108df895a293.png" alt="Anthropic Help Center" class="max-h-8 contrast-80"/></a></div><div class="mt-10"></div></div><div class="mt-18 flex grow flex-col md:mt-0 md:items-end"><div class="grid grid-cols-2 gap-x-7 gap-y-14 md:flex md:flex-row md:flex-wrap"><div class="w-1/2 sm:w-auto"><div class="flex w-footer-column flex-col break-words"><ul data-testid="custom-links" class="p-0" id="custom-links"><li class="mb-4 list-none"><a target="_blank" href="https://www.anthropic.com/product" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-0" class="no-underline">Product</a></li><li class="mb-4 list-none"><a target="_blank" href="https://www.anthropic.com/research" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-1" class="no-underline">Research</a></li><li class="mb-4 list-none"><a target="_blank" href="https://www.anthropic.com/company" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-2" class="no-underline">Company</a></li><li class="mb-4 list-none"><a target="_blank" href="https://www.anthropic.com/news" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-3" class="no-underline">News</a></li><li class="mb-4 list-none"><a target="_blank" href="https://www.anthropic.com/careers" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-4" class="no-underline">Careers</a></li></ul></div></div><div class="w-1/2 sm:w-auto"><div class="flex w-footer-column flex-col break-words"><ul data-testid="custom-links" class="p-0" id="custom-links"><li class="mb-4 list-none"><a target="_blank" href="https://www.anthropic.com/terms" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-0" class="no-underline">Terms of Service - Consumer</a></li><li class="mb-4 list-none"><a target="_blank" href="https://www.anthropic.com/legal/commercial-terms" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-1" class="no-underline">Terms of Service - Commercial</a></li><li class="mb-4 list-none"><a target="_blank" href="https://www.anthropic.com/privacy" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-2" class="no-underline">Privacy Policy</a></li><li class="mb-4 list-none"><a target="_blank" href="https://www.anthropic.com/aup" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-3" class="no-underline">Usage Policy</a></li><li class="mb-4 list-none"><a target="_blank" href="https://www.anthropic.com/responsible-disclosure-policy" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-4" class="no-underline">Responsible Disclosure Policy</a></li><li class="mb-4 list-none"><a target="_blank" href="https://trust.anthropic.com/" rel="nofollow noreferrer noopener" data-testid="footer-custom-link-5" class="no-underline">Compliance</a></li></ul></div></div></div></div></div></div></div></div></footer></main></div></div><script id="__NEXT_DATA__" type="application/json" nonce="Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=">{"props":{"pageProps":{"app":{"id":"lupk8zyo","messengerUrl":"https://widget.intercom.io/widget/lupk8zyo","name":"Anthropic","poweredByIntercomUrl":"https://www.intercom.com/intercom-link?company=Anthropic\u0026solution=customer-support\u0026utm_campaign=intercom-link\u0026utm_content=We+run+on+Intercom\u0026utm_medium=help-center\u0026utm_referrer=https%3A%2F%2Fsupport.anthropic.com%2Fen%2Fcollections%2F4078533-api-prompt-design\u0026utm_source=desktop-web","features":{"customNotFoundErrorMessage":false}},"helpCenterSite":{"customDomain":"support.anthropic.com","defaultLocale":"en","disableBranding":true,"externalLoginName":null,"externalLoginUrl":null,"footerContactDetails":null,"footerLinks":{"custom":[{"id":51272,"help_center_site_id":3634723,"title":"Terms of Service - Consumer","url":"https://www.anthropic.com/terms","sort_order":1,"link_location":"footer","site_link_group_id":35050},{"id":51277,"help_center_site_id":3634723,"title":"Product","url":"https://www.anthropic.com/product","sort_order":1,"link_location":"footer","site_link_group_id":35051},{"id":51278,"help_center_site_id":3634723,"title":"Research","url":"https://www.anthropic.com/research","sort_order":2,"link_location":"footer","site_link_group_id":35051},{"id":57744,"help_center_site_id":3634723,"title":"Terms of Service - Commercial","url":"https://www.anthropic.com/legal/commercial-terms","sort_order":2,"link_location":"footer","site_link_group_id":35050},{"id":51273,"help_center_site_id":3634723,"title":"Privacy Policy","url":"https://www.anthropic.com/privacy","sort_order":3,"link_location":"footer","site_link_group_id":35050},{"id":51279,"help_center_site_id":3634723,"title":"Company","url":"https://www.anthropic.com/company","sort_order":3,"link_location":"footer","site_link_group_id":35051},{"id":51274,"help_center_site_id":3634723,"title":"Usage Policy","url":"https://www.anthropic.com/aup","sort_order":4,"link_location":"footer","site_link_group_id":35050},{"id":51280,"help_center_site_id":3634723,"title":"News","url":"https://www.anthropic.com/news","sort_order":4,"link_location":"footer","site_link_group_id":35051},{"id":51275,"help_center_site_id":3634723,"title":"Responsible Disclosure Policy","url":"https://www.anthropic.com/responsible-disclosure-policy","sort_order":5,"link_location":"footer","site_link_group_id":35050},{"id":51281,"help_center_site_id":3634723,"title":"Careers","url":"https://www.anthropic.com/careers","sort_order":5,"link_location":"footer","site_link_group_id":35051},{"id":51276,"help_center_site_id":3634723,"title":"Compliance","url":"https://trust.anthropic.com/","sort_order":6,"link_location":"footer","site_link_group_id":35050}],"socialLinks":[],"linkGroups":[{"title":null,"links":[{"title":"Product","url":"https://www.anthropic.com/product"},{"title":"Research","url":"https://www.anthropic.com/research"},{"title":"Company","url":"https://www.anthropic.com/company"},{"title":"News","url":"https://www.anthropic.com/news"},{"title":"Careers","url":"https://www.anthropic.com/careers"}]},{"title":null,"links":[{"title":"Terms of Service - Consumer","url":"https://www.anthropic.com/terms"},{"title":"Terms of Service - Commercial","url":"https://www.anthropic.com/legal/commercial-terms"},{"title":"Privacy Policy","url":"https://www.anthropic.com/privacy"},{"title":"Usage Policy","url":"https://www.anthropic.com/aup"},{"title":"Responsible Disclosure Policy","url":"https://www.anthropic.com/responsible-disclosure-policy"},{"title":"Compliance","url":"https://trust.anthropic.com/"}]}]},"headerLinks":[{"site_link_group_id":38088,"id":57735,"help_center_site_id":3634723,"title":"API Docs","url":"https://docs.anthropic.com/en/docs/welcome","sort_order":1,"link_location":"header"},{"site_link_group_id":38088,"id":57734,"help_center_site_id":3634723,"title":"Release Notes","url":"https://docs.anthropic.com/en/release-notes/overview","sort_order":2,"link_location":"header"},{"site_link_group_id":38088,"id":52057,"help_center_site_id":3634723,"title":"How to Get Support","url":"https://support.anthropic.com/en/articles/9015913-how-can-i-contact-support","sort_order":3,"link_location":"header"}],"homeCollectionCols":3,"googleAnalyticsTrackingId":"G-2BFLFQSER8","googleTagManagerId":null,"pathPrefixForCustomDomain":null,"seoIndexingEnabled":true,"helpCenterId":3634723,"url":"https://support.anthropic.com","customizedFooterTextContent":null},"localeLinks":[{"id":"en","absoluteUrl":"https://support.anthropic.com/en/collections/4078533-api-prompt-design","available":true,"name":"English","selected":true,"url":"/en/collections/4078533-api-prompt-design"},{"id":"fr","absoluteUrl":"https://support.anthropic.com/fr/collections/4078533-conception-de-l-invite-api","available":true,"name":"Français","selected":false,"url":"/fr/collections/4078533-conception-de-l-invite-api"},{"id":"de","absoluteUrl":"https://support.anthropic.com/de/collections/4078533-api-prompt-design","available":true,"name":"Deutsch","selected":false,"url":"/de/collections/4078533-api-prompt-design"},{"id":"id","absoluteUrl":"https://support.anthropic.com/id/collections/4078533-desain-prompt-api","available":true,"name":"Bahasa Indonesia","selected":false,"url":"/id/collections/4078533-desain-prompt-api"},{"id":"it","absoluteUrl":"https://support.anthropic.com/it/collections/4078533-progettazione-delle-richieste-api","available":true,"name":"Italiano","selected":false,"url":"/it/collections/4078533-progettazione-delle-richieste-api"},{"id":"ja","absoluteUrl":"https://support.anthropic.com/ja/collections/4078533-api-プロンプト設計","available":true,"name":"日本語","selected":false,"url":"/ja/collections/4078533-api-プロンプト設計"},{"id":"ko","absoluteUrl":"https://support.anthropic.com/ko/collections/4078533-api-프롬프트-디자인","available":true,"name":"한국어","selected":false,"url":"/ko/collections/4078533-api-프롬프트-디자인"},{"id":"pt","absoluteUrl":"https://support.anthropic.com/pt/collections/4078533-design-de-prompt-de-api","available":true,"name":"Português","selected":false,"url":"/pt/collections/4078533-design-de-prompt-de-api"},{"id":"ru","absoluteUrl":"https://support.anthropic.com/ru/collections/4078533-дизайн-запросов-api","available":true,"name":"Pусский","selected":false,"url":"/ru/collections/4078533-дизайн-запросов-api"},{"id":"zh-CN","absoluteUrl":"https://support.anthropic.com/zh-CN/collections/4078533-api提示设计","available":true,"name":"简体中文","selected":false,"url":"/zh-CN/collections/4078533-api提示设计"},{"id":"es","absoluteUrl":"https://support.anthropic.com/es/collections/4078533-diseno-de-indicaciones-de-api","available":true,"name":"Español","selected":false,"url":"/es/collections/4078533-diseno-de-indicaciones-de-api"},{"id":"zh-TW","absoluteUrl":"https://support.anthropic.com/zh-TW/collections/4078533-api提示設計","available":true,"name":"繁體中文","selected":false,"url":"/zh-TW/collections/4078533-api提示設計"}],"requestContext":{"articleSource":null,"canonicalUrl":"https://support.anthropic.com/en/collections/4078533-api-prompt-design","headerless":false,"isDefaultDomainRequest":false,"nonce":"Qeg8mmfKJUCJAHm7uVUGXiAP0wFtqxs7RcJ1lFbyGj4=","rootUrl":"/en/","sheetUserCipher":null,"type":"help-center"},"theme":{"color":"0099cc","siteName":"Anthropic Help Center","headline":"Discover answers and insights from the Anthropic team","headerFontColor":"191919","logo":"https://downloads.intercomcdn.com/i/o/546010/2e39352aaa95b44e966b380e/669122d1461c59c54866f83e622136ab.png","logoHeight":"330","header":null,"favicon":"https://intercom.help/anthropic-6f71807d7c3e/assets/favicon","locale":"en","homeUrl":"https://www.anthropic.com","social":null,"urlPrefixForDefaultDomain":"https://intercom.help/anthropic-6f71807d7c3e","customDomain":"support.anthropic.com","customDomainUsesSsl":true,"customizationOptions":{"customizationType":1,"header":{"backgroundColor":"#F0F0EB","fontColor":"#191919","fadeToEdge":false,"backgroundGradient":null,"backgroundImageId":null,"backgroundImageUrl":null},"body":{"backgroundColor":"#FFFFFF","fontColor":null,"fadeToEdge":null,"backgroundGradient":null,"backgroundImageId":null},"footer":{"backgroundColor":"#191919","fontColor":"#F0F0EB","fadeToEdge":null,"backgroundGradient":null,"backgroundImageId":null,"showRichTextField":false},"layout":{"homePage":{"blocks":[{"type":"tickets-portal-link","enabled":false},{"type":"collection-list","columns":3,"template":0},{"type":"article-list","columns":2,"enabled":false,"localizedContent":[{"title":"","locale":"en","links":[{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"}]},{"title":"","locale":"ja","links":[{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"}]},{"title":"","locale":"fr","links":[{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"}]},{"title":"","locale":"de","links":[{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"}]},{"title":"","locale":"id","links":[{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"}]},{"title":"","locale":"it","links":[{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"}]},{"title":"","locale":"ko","links":[{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"}]},{"title":"","locale":"ru","links":[{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"}]},{"title":"","locale":"zh-CN","links":[{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"}]},{"title":"","locale":"es","links":[{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"}]},{"title":"","locale":"zh-TW","links":[{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"}]},{"title":"","locale":"pt","links":[{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"},{"articleId":"empty_article_slot","type":"article-link"}]}]},{"type":"content-block","enabled":false,"columns":1}]},"collectionsPage":{"showArticleDescriptions":false},"articlePage":{},"searchPage":{}},"collectionCard":{"global":{"backgroundColor":"#CC785C","fontColor":"#F0F0EB","fadeToEdge":null,"backgroundGradient":null,"backgroundImageId":null,"showIcons":true,"backgroundImageUrl":null},"collections":[]},"global":{"font":{"customFontFaces":[{"assetId":546000,"fileName":"StyreneALC-Medium.otf","fontFamily":"Styrene A LC Medium","weight":400,"style":"normal","url":"https://support.anthropic.com/assets/font/546000"},{"assetId":546001,"fileName":"StyreneALC-Regular.otf","fontFamily":"Styrene A LC","weight":400,"style":"normal","url":"https://support.anthropic.com/assets/font/546001"},{"assetId":546002,"fileName":"StyreneBLC-Medium.otf","fontFamily":"Styrene B LC Medium","weight":400,"style":"normal","url":"https://support.anthropic.com/assets/font/546002"},{"assetId":546003,"fileName":"StyreneBLC-Regular.otf","fontFamily":"Styrene B LC","weight":400,"style":"normal","url":"https://support.anthropic.com/assets/font/546003"},{"assetId":546004,"fileName":"TiemposText-Regular.otf","fontFamily":"Tiempos Text Regular","weight":400,"style":"normal","url":"https://support.anthropic.com/assets/font/546004"},{"assetId":546005,"fileName":"TiemposText-RegularItalic.otf","fontFamily":"Tiempos Text Regular","weight":400,"style":"italic","url":"https://support.anthropic.com/assets/font/546005"}],"primary":"Tiempos Text Regular","secondary":"System Default"},"componentStyle":{"card":{"type":"bordered","borderRadius":14}},"namedComponents":{"header":{"subheader":{"enabled":false,"style":{"backgroundColor":"#CC785C","fontColor":"#F0F0EB"}},"style":{"height":"245px","align":"center","justify":"end"}},"searchBar":{"style":{"width":"100%","borderRadius":10}},"footer":{"type":1}},"brand":{"colors":["#CC785C","#191919","#F0F0EB"],"websiteUrl":"http://anthropic.com"}},"contentBlock":{"blockStyle":{"backgroundColor":"#ffffff","fontColor":"#1a1a1a","fadeToEdge":null,"backgroundGradient":null,"backgroundImageId":null,"backgroundImageUrl":null},"buttonOptions":{"backgroundColor":"#334BFA","fontColor":"#ffffff","borderRadius":6},"isFullWidth":false}},"helpCenterName":"Anthropic","footerLogo":"https://downloads.intercomcdn.com/i/o/487548/17213f6a445c8e6e874b1f4b/fad85208982e639d11b9108df895a293.png","footerLogoHeight":"330","localisedInformation":{"contentBlock":{"locale":"en","title":"Content section title","withButton":false,"description":"","buttonTitle":"Button title","buttonUrl":""}}},"user":null,"collection":{"articleCount":4,"articleSummaries":[{"author":null,"id":"7929221","lastUpdated":"Updated over a week ago","summary":"","title":"Introduction to Prompt Design","url":"https://support.anthropic.com/en/articles/7996853-introduction-to-prompt-design"},{"author":null,"id":"7929224","lastUpdated":"Updated over a week ago","summary":"","title":"What is the maximum prompt length?","url":"https://support.anthropic.com/en/articles/7996856-what-is-the-maximum-prompt-length"},{"author":null,"id":"8070480","lastUpdated":"Updated over a week ago","summary":"","title":"Claude’s response to my prompt is too brief.","url":"https://support.anthropic.com/en/articles/8114518-claude-s-response-to-my-prompt-is-too-brief"},{"author":null,"id":"7929225","lastUpdated":"Updated over a week ago","summary":"","title":"My prompt isn’t giving me a helpful answer.","url":"https://support.anthropic.com/en/articles/7996857-my-prompt-isn-t-giving-me-a-helpful-answer"}],"authorCount":0,"authors":[],"description":"","iconContentType":"image/svg+xml","iconUrl":"https://intercom.help/anthropic-6f71807d7c3e/assets/svg/icon:sft-wrench-screwdriver","id":"4078533","name":"API Prompt Design","slug":"api-prompt-design","subcollections":[],"url":"https://support.anthropic.com/en/collections/4078533-api-prompt-design"},"breadcrumbs":[],"layoutOptions":{"showArticleDescriptions":false},"themeCSSCustomProperties":{"--body-bg":"rgb(255, 255, 255)","--body-image":"none","--body-bg-rgb":"255, 255, 255","--body-border":"rgb(230, 230, 230)","--body-primary-color":"#1a1a1a","--body-secondary-color":"#737373","--body-reaction-bg":"rgb(242, 242, 242)","--body-reaction-text-color":"rgb(64, 64, 64)","--body-toc-active-border":"#737373","--body-toc-inactive-border":"#f2f2f2","--body-toc-inactive-color":"#737373","--body-toc-active-font-weight":400,"--body-table-border":"rgb(204, 204, 204)","--body-color":"hsl(0, 0%, 0%)","--footer-bg":"rgb(25, 25, 25)","--footer-image":"none","--footer-border":"rgb(50, 50, 50)","--footer-color":"hsl(60, 14%, 93%)","--header-bg":"rgb(240, 240, 235)","--header-image":"none","--header-color":"hsl(0, 0%, 10%)","--collection-card-bg":"rgb(204, 120, 92)","--collection-card-image":"none","--collection-card-color":"hsl(60, 14%, 93%)","--card-bg":"rgb(255, 255, 255)","--card-border-color":"rgb(230, 230, 230)","--card-border-inner-radius":"11px","--card-border-radius":"14px","--card-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--search-bar-border-radius":"10px","--search-bar-width":"100%","--ticket-blue-bg-color":"#dce1f9","--ticket-blue-text-color":"#334bfa","--ticket-green-bg-color":"#d7efdc","--ticket-green-text-color":"#0f7134","--ticket-orange-bg-color":"#ffebdb","--ticket-orange-text-color":"#b24d00","--header-height":"245px","--header-subheader-background-color":"#CC785C","--header-subheader-font-color":"#F0F0EB","--content-block-bg":"rgb(255, 255, 255)","--content-block-image":"none","--content-block-color":"hsl(0, 0%, 10%)","--content-block-button-bg":"rgb(51, 75, 250)","--content-block-button-image":"none","--content-block-button-color":"hsl(0, 0%, 100%)","--content-block-button-radius":"6px","--primary-color":"hsl(195, 100%, 40%)","--primary-color-alpha-10":"hsla(195, 100%, 40%, 0.1)","--primary-color-alpha-60":"hsla(195, 100%, 40%, 0.6)","--text-on-primary-color":"#1a1a1a"},"intl":{"defaultLocale":"en","locale":"en","messages":{"layout.skip_to_main_content":"Skip to main content","article.attachment_icon":"Attachment icon","article.related_articles":"Related Articles","article.written_by":"Written by \u003cb\u003e{author}\u003c/b\u003e","article.table_of_contents":"Table of contents","breadcrumb.all_collections":"All Collections","collection.article_count.one":"{count} article","collection.article_count.other":"{count} articles","collection.articles_heading":"Articles","collection.sections_heading":"Collections","collection.written_by.one":"Written by \u003cb\u003e{author}\u003c/b\u003e","collection.written_by.two":"Written by \u003cb\u003e{author1}\u003c/b\u003e and \u003cb\u003e{author2}\u003c/b\u003e","collection.written_by.three":"Written by \u003cb\u003e{author1}\u003c/b\u003e, \u003cb\u003e{author2}\u003c/b\u003e and \u003cb\u003e{author3}\u003c/b\u003e","collection.written_by.four":"Written by \u003cb\u003e{author1}\u003c/b\u003e, \u003cb\u003e{author2}\u003c/b\u003e, \u003cb\u003e{author3}\u003c/b\u003e and 1 other","collection.written_by.other":"Written by \u003cb\u003e{author1}\u003c/b\u003e, \u003cb\u003e{author2}\u003c/b\u003e, \u003cb\u003e{author3}\u003c/b\u003e and {count} others","collection.by.one":"By {author}","collection.by.two":"By {author1} and 1 other","collection.by.other":"By {author1} and {count} others","collection.by.count_one":"1 author","collection.by.count_plural":"{count} authors","community_banner.tip":"Tip","community_banner.label":"\u003cb\u003eNeed more help?\u003c/b\u003e Get support from our {link}","community_banner.link_label":"Community Forum","community_banner.description":"Find answers and get help from Intercom Support and Community Experts","header.headline":"Advice and answers from the {appName} Team","header.menu.open":"Open menu","header.menu.close":"Close menu","locale_picker.aria_label":"Change language","not_authorized.cta":"You can try sending us a message or logging in at {link}","not_found.title":"Uh oh. That page doesn’t exist.","not_found.not_authorized":"Unable to load this article, you may need to sign in first","not_found.try_searching":"Try searching for your answer or just send us a message.","tickets_portal_bad_request.title":"No access to tickets portal","tickets_portal_bad_request.learn_more":"Learn more","tickets_portal_bad_request.send_a_message":"Please contact your admin.","no_articles.title":"Empty Help Center","no_articles.no_articles":"This Help Center doesn't have any articles or collections yet.","preview.invalid_preview":"There is no preview available for {previewType}","reaction_picker.did_this_answer_your_question":"Did this answer your question?","reaction_picker.reaction.disappointed.title":"Disappointed","reaction_picker.reaction.disappointed.aria_label":"Disappointed Reaction","reaction_picker.reaction.neutral.title":"Neutral","reaction_picker.reaction.neutral.aria_label":"Neutral Reaction","reaction_picker.reaction.smiley.title":"Smiley","reaction_picker.reaction.smiley.aria_label":"Smiley Reaction","search.box_placeholder":"Search for articles...","search.no_results":"We couldn't find any articles for:","search.clear_search":"Clear search query","search.successful":"Search results for:","search.submit_btn":"Search for articles","footer.powered_by":"We run on Intercom","footer.social.facebook":"Facebook","footer.social.linkedin":"LinkedIn","footer.social.twitter":"Twitter","tickets.title":"Tickets","tickets.company_selector_option":"{companyName}’s tickets","tickets.all_states":"All states","tickets.filters.company_tickets":"All tickets","tickets.filters.my_tickets":"Created by me","tickets.no_tickets_found":"No tickets found","tickets.navigation.home":"Home","tickets.navigation.tickets_portal":"Tickets portal","tickets.navigation.ticket_details":"Ticket #{ticketId}","tickets.view_conversation":"View conversation","tickets.send_message":"Send us a message","tickets.continue_conversation":"Continue the conversation","tickets.avatar_image.image_alt":"{firstName}’s avatar","tickets.fields.id":"Ticket ID","tickets.fields.type":"Ticket type","tickets.fields.title":"Title","tickets.fields.description":"Description","tickets.fields.created_by":"Created by","tickets.fields.email_for_notification":"You will be notified here and by email","tickets.fields.created_at":"Creation date","tickets.fields.state":"Ticket state","tickets.fields.assignee":"Assignee","tickets.link-block.title":"Tickets portal.","tickets.link-block.description":"Track the progress of all tickets related to your company.","tickets.states.submitted":"Submitted","tickets.states.in_progress":"In progress","tickets.states.waiting_on_customer":"Waiting on you","tickets.states.resolved":"Resolved","tickets.states.description.unassigned.submitted":"We will pick this up soon","tickets.states.description.assigned.submitted":"{assigneeName} will pick this up soon","tickets.states.description.unassigned.in_progress":"We are working on this!","tickets.states.description.assigned.in_progress":"{assigneeName} is working on this!","tickets.states.description.unassigned.waiting_on_customer":"We need more information from you","tickets.states.description.assigned.waiting_on_customer":"{assigneeName} needs more information from you","tickets.states.description.unassigned.resolved":"We have completed your ticket","tickets.states.description.assigned.resolved":"{assigneeName} has completed your ticket","tickets.attributes.boolean.true":"Yes","tickets.attributes.boolean.false":"No"}},"collectionCardCustomProperties":{},"_sentryTraceData":"d231064caf5dd8ccccbc596344b86e4e-0c6cb643ffb2ac86-0","_sentryBaggage":"sentry-environment=production,sentry-release=iG0HOKe3PN3yuVPp-t5Xh,sentry-public_key=187f842308a64dea9f1f64d4b1b9c298,sentry-trace_id=d231064caf5dd8ccccbc596344b86e4e,sentry-sampled=false"},"__N_SSP":true},"page":"/[helpCenterIdentifier]/[locale]/collections/[collectionSlug]","query":{"helpCenterIdentifier":"anthropic-6f71807d7c3e","locale":"en","collectionSlug":"4078533-api-prompt-design"},"buildId":"iG0HOKe3PN3yuVPp-t5Xh","assetPrefix":"https://static.intercomassets.com","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[9807],"gssp":true,"scriptLoader":[]}</script></body></html>