{"componentChunkName":"component---src-templates-simple-markdown-js","path":"/process-intelligence-apis/agents-api/get-started/getting-started/","matchPath":"","result":{"data":{"markdownRemark":{"html":"<h1 style=\"position:relative;\"><a href=\"#getting-started\" aria-label=\"getting started permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"getting-started\"></div>Getting Started</h1>\n<p>This page describes how to get started with the AI domain of Process Intelligence APIs (Chat or Tools APIs) in a simple way using Postman.</p>\n<h2 style=\"position:relative;\"><a href=\"#prerequisites\" aria-label=\"prerequisites permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"prerequisites\"></div>Prerequisites</h2>\n<ol>\n<li>\nYou need to have a \n<a href=\"https://docs.celonis.com/en/knowledge-models.html\">Process Copilot</a>\n available in your team.\n</li>\n<li>\nYou must request the activation of the API in your Celonis Platform Team to your Celonis account team.\n</li>\n</ol>\n<h3 style=\"position:relative;\"><a href=\"#authentication\" aria-label=\"authentication permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"authentication\"></div>Authentication</h3>\n<p>The authentication options applicable to all Celonis APIs are described <a href=\"/celonis-apis/auth/\">here</a>.</p>\n<h3 style=\"position:relative;\"><a href=\"#authorization\" aria-label=\"authorization permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"authorization\"></div>Authorization</h3>\n<h4 style=\"position:relative;\"><a href=\"#oauth-scopes-for-ai-api\" aria-label=\"oauth scopes for ai api permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"oauth-scopes-for-ai-api\"></div>OAuth Scopes for AI API</h4>\n<p>OAuth clients for Tools API should be configured with the scope:</p>\n<ul>\n<li>\n<code class=\"language-text\">intelligence.tools:execute</code>\n</li>\n</ul>\n<p>OAuth clients for Chat API should be configured with the scope:</p>\n<ul>\n<li>\n<code class=\"language-text\">intelligence.conversations:write</code>\n</li>\n</ul>\n<h4 style=\"position:relative;\"><a href=\"#client-permissions-for-ai-api\" aria-label=\"client permissions for ai api permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"client-permissions-for-ai-api\"></div>Client Permissions for AI API</h4>\n<p>Process Copilot access is managed by studio package permissions. </p>\n<p>You must <a href=\"https://docs.celonis.com/en/application-keys.html\">set the right permissions</a>\nand ensure the <a href=\"#authentication\">User API Key or the Application API Key</a> leveraged for authorization\npurposes has access to the <a href=\"https://docs.celonis.com/en/studio.html#UUID-54a37cea-24d8-8459-8668-a517455a4e19_id_Studio-Workingwithpackages\">Celonis Platform Studio package</a>\ncontaining the Copilot(s) you would like to access through AI API.</p>\n<p>You can grant access permissions by following these steps:</p>\n<ul>\n<li>\nGo to the Studio package.\n</li>\n<li>\nClick the three dots and select \n<code class=\"language-text\">Permissions</code>\n from the pop-up menu.\n</li>\n<li>\nSearch for the User (if you are using a \n<a href=\"/celonis-apis/auth/#using-a-user-api-key\">Bearer token</a>\n) or AppKey (if you are using an \n<a href=\"/celonis-apis/auth/#using-an-application-api-key\">AppKey</a>\n) and grant at least \n<code class=\"language-text\">USE PACKAGE</code>\n rights.\n</li>\n</ul>\n<h2 style=\"position:relative;\"><a href=\"#consuming-the-ai-api\" aria-label=\"consuming the ai api permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"consuming-the-ai-api\"></div>Consuming the AI API</h2>\n<p>Once you have completed the previous steps, you can start making requests to the API. For that you will use Postman (or any other REST client), which you should already have installed in our system. </p>\n<ol>\n<li>\nGo to \n<strong>File > New...</strong>\n and select \"HTTP Request\". Once you do this, you should see something like this:\n</li>\n</ol>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 640px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 63.59649122807017%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAANCAYAAACpUE5eAAAACXBIWXMAAAsTAAALEwEAmpwYAAACgUlEQVQ4y3WSTW/TQBCGfYMTAqqKtkkce70fXn/EcZ04KUIookJ8tLQCJDiB2lKgl8BfQOJi9QIX/hT/BaEc62Z3mN04EAk4PPLO7My77+zaEZyd5/1eNR6X1agcVsV2XqVpXPl+t/KJWyVpVA0HeZX1oopizCipKA2qRArMJdX9UV59P9s9/3pYfnKu3LzhHO9twMneLTjZ37CcPtmC04NNeH/QgelzAdNnHM6eCXj7VMCbQw5Hjzfh9cM1OHq0DsfYd3awBd9eufD5pQuTnfXQ2X8wgUEeXfRiWqdRUBd9WY+HvbosknpyZ1RnMaulIHUkAovkXh0yt05Cvx5sx3VMNy+4v65CGfyQnDBnPN4BJkJFGdeUCfAIA58EWsaJTtJMcxFqzkNt9gPKNKXcrrmItBRMk3unynvxBVyRz7prV7kTRRFwzpQpvj3o68k40yQIoMgy3UsTCCNpkWEIQgiQUgKlFAKsIZ4LXr6r2ndPwGPxzN+4zp00TVGQK4FOijzTRT/RjHGQQugYD/N9HzzPsyJYZ9cGs47iGKjXVr2QAA2C2VarzZ0kScypqiyHuhgMYFiWkKE7D4X8FQghlmVsHBp8QhRekcnNXNddCBqHMop1lI20TPpaCG6atXGydNigMbas5FRTN+t2u9wxd8IYUwiOSs3asuqmQa+KL2Pf91SzvxA0zcYhopcsxJnGkX47WhIERAfG/Z+caq5k1ul0uGMuF5svG+YYW7Bgjk7mWGwxa/wj5lkazykl826zh/lLMw0e/rPVajEraH4H823E/zcyRIvr+edjoaDCRxFm5A948hTFLJi0oP2/aLfbFtddxKYO32CKYh+x9x1+r/0Ci1Jeg1PHgDIAAAAASUVORK5CYII='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Postman empty request\"\n        title=\"Postman empty request\"\n        src=\"/static/444d0630e912c1bbf27961556b2441c2/6af66/empty-request.png\"\n        srcset=\"/static/444d0630e912c1bbf27961556b2441c2/d4770/empty-request.png 228w,\n/static/444d0630e912c1bbf27961556b2441c2/379c3/empty-request.png 455w,\n/static/444d0630e912c1bbf27961556b2441c2/6af66/empty-request.png 640w\"\n        sizes=\"(max-width: 640px) 100vw, 640px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<ol start=\"2\">\n<li>\nEnter the request URL next to the \n<strong>Send</strong>\n button. For this URL you will use the one from the \"Determine the\nURL for your team\" section: \n<a href=\"https://dev.us-2.celonis.cloud/intelligence/api\">https://dev.us-2.celonis.cloud/intelligence/api</a>\n.\n</li>\n<li>\nNow you need to set your API or Application Key in order to authenticate our requests. To do this, click on the \n<strong>Headers</strong>\n\ntab beneath the URL you just entered. Enter \"Authorization\" as the Key and for Value, enter: \n</li>\n<li>\n<code class=\"language-text\">Bearer &lt;YOUR_KEY></code>\n if you have a User API Key\n</li>\n<li>\n<code class=\"language-text\">AppKey &lt;YOUR_KEY></code>\n if you have a AppKey\n</li>\n</ol>\n<p>In the following example, you have an AppKey:</p>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 910px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 28.07017543859649%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAGCAIAAABM9SnKAAAACXBIWXMAAAsTAAALEwEAmpwYAAAA10lEQVQY01WOzW3DMAyFNUZPtShS1D8VGLHjnIomh47QHTpNF+pupWW0SD5QBEmJes+ISGut9376o9YKANZaB+Ce0XnOWR8gkkg3rVZduKzrsix6tm1bRz3Pc8k5PXA0upxTnD6/X75+DDOXlO6SPyQI+zCuoxJi4OAcHuowZA99NQWx2/6myiXF6B2wAxx2PVEKgRCZyCP6kYP3pRTdRES13UouKZj7qV3ZneH17KbFTVpcGXV4k/Ku0fZ8a/nCSMw4lEm/GxjtcWj+B+2T3eVDWNwheOYXq5s5YxohJvgAAAAASUVORK5CYII='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Postman authentication section\"\n        title=\"Postman authentication section\"\n        src=\"/static/b4f7175e363e77f7360795113d9f68ff/c6bbc/auth.png\"\n        srcset=\"/static/b4f7175e363e77f7360795113d9f68ff/d4770/auth.png 228w,\n/static/b4f7175e363e77f7360795113d9f68ff/379c3/auth.png 455w,\n/static/b4f7175e363e77f7360795113d9f68ff/c6bbc/auth.png 910w,\n/static/b4f7175e363e77f7360795113d9f68ff/00d43/auth.png 1000w\"\n        sizes=\"(max-width: 910px) 100vw, 910px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<h3 style=\"position:relative;\"><a href=\"#chat-with-a-process-copilot\" aria-label=\"chat with a process copilot permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"chat-with-a-process-copilot\"></div>Chat with a Process Copilot</h3>\n<p>Once you have completed the steps above, you should now be able to start a conversation with Celonis Process Copilot. You will start by finding the Id of your Copilot from your browser as depicted here:\n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 910px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 56.14035087719298%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAYAAAB/Ca1DAAAACXBIWXMAAAsTAAALEwEAmpwYAAACBElEQVQoz41Ry27TUBD1ByGExIJN00JVKYBaXiWQT4AFSAiJHXtYsGeHQKJNIJA2QTRFpb9RoYITx07sGDdxXNeva/swYydpkKjElY7mzp2ZM2fuSBubFbx9t4EP9QaqnxvYrG3jzfsqKp+28KW1i+ZOCw3G19w2d3axRba2t49Kaw/Vb99Rp9jHWhP1+jYk1wtw7HqYPyn+8/wjUXKOPaimh57lY+jG8IMoy0ySBHEc/wUhYkRi4lM8y5mC3pIkhsQEnb4N48iD4wl4fnSmID+IMRyLswWnKSQhBIYjm8Z2EYUhokjMgi59hdY3oQ8saLoFWTGhkt/TTSiqDt0cwQtYsSB1+fxSQCSGeUSkDik4JXRPfIwdF/bYxQn9c0CFnp8gDCO65/D9cAYePyO0xhGGtpMRxnEyIwzJcgMGF2dE1Dwgyzn8n6xqCp4oG5kLRkT42xpRpyBL5sD8Crl7kBHmxDkh5yUTpLO7xA6PZFo2bSulApEVTelYdRCdLiLb9JzPWw8nPg8tKWof3a6Kgx+HaHcUdFUVSk+H1u1A1xTIbQW9tkxWxqFM+MVoQ9M0GLoOwzAwMAfQyf7s9CHduH0H5XIZpdI9rK/fRfFqEZeWCig9eIpHr15j9fFLPHz2AvefPMeF5RWcX7yCc4UlXCwUsLxyGWu3ruNmaRXX1opYWFzAH3NVII5eyF7bAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Copilot Id\"\n        title=\"Copilot Id\"\n        src=\"/static/51a53f764fded2381a8908b7024540be/c6bbc/copilot-id.png\"\n        srcset=\"/static/51a53f764fded2381a8908b7024540be/d4770/copilot-id.png 228w,\n/static/51a53f764fded2381a8908b7024540be/379c3/copilot-id.png 455w,\n/static/51a53f764fded2381a8908b7024540be/c6bbc/copilot-id.png 910w,\n/static/51a53f764fded2381a8908b7024540be/d8104/copilot-id.png 1365w,\n/static/51a53f764fded2381a8908b7024540be/fb937/copilot-id.png 1820w,\n/static/51a53f764fded2381a8908b7024540be/29114/copilot-id.png 1920w\"\n        sizes=\"(max-width: 910px) 100vw, 910px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<p>First, append \"/ai/agents/\" plus the node id to the URL you used in the previous steps:\nPOST <a href=\"https://$team.$realm.celonis.cloud/intelligence/api/ai/agents/$copilot-id/conversations\">https://$team.$realm.celonis.cloud/intelligence/api/ai/agents/$copilot-id/conversations</a>.</p>\n<p>After that, click the <strong>Send</strong> button next to the URL and you should see something like:</p>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 910px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 56.14035087719298%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAYAAAB/Ca1DAAAACXBIWXMAAAsTAAALEwEAmpwYAAABl0lEQVQoz41TW3KjMBDkHlu76IWQQAjbSQqXydNkz5H7n6LTGmxqk0oq+9GFNGh6enqk6ng8IsaI2HUYhgGBa9c4pCFz3aFtW34DGt/Cc900DYwxsNbCWwWjCWPhDme4bocq9T1SHrC8vmKeZ3jv0ZGgT4nxEXncsVBmwQQfOjgSaa0vMCTTQvhrfkOdTqiKgjSScFkwTdNaOURR14cWsSj0DTyVKRIopf4hvIAxU/8W8qocXBUuOJ1O0o4uLTDueKCxhq1ZtrYmFgLFNrVa92qDltzKOYe8y3h6fhIPrx5JZWPk4J9aoS5JQqaFrGax2unNT2ud5Ajhfj/i5fyCRN86DiePIyK97Tkg7+wGW5ILmGgc/fNGPC1dlsFuCqfpDo+PDyQcUPaG1TKJU9ugo3/95Rs5/SCw69qt6wJXuikKLYM3+4y/9HC+vxf56oM3a7v1p9hnXAckCkd6+EwPb29uReGXk/xPrEPhtTkv5+3aXAnVD6q+UlmVF5KHhMNhL0MpUy5FvsP1f2j5unhXIx9BGUgIQfAO1+4+bVyt1J4AAAAASUVORK5CYII='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Chat API Response\"\n        title=\"Chat API Response\"\n        src=\"/static/3bfc1e2c64f6e34464ae73a465d4776f/c6bbc/chat.png\"\n        srcset=\"/static/3bfc1e2c64f6e34464ae73a465d4776f/d4770/chat.png 228w,\n/static/3bfc1e2c64f6e34464ae73a465d4776f/379c3/chat.png 455w,\n/static/3bfc1e2c64f6e34464ae73a465d4776f/c6bbc/chat.png 910w,\n/static/3bfc1e2c64f6e34464ae73a465d4776f/d8104/chat.png 1365w,\n/static/3bfc1e2c64f6e34464ae73a465d4776f/fb937/chat.png 1820w,\n/static/3bfc1e2c64f6e34464ae73a465d4776f/29114/chat.png 1920w\"\n        sizes=\"(max-width: 910px) 100vw, 910px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<p>You can <a href=\"/process-intelligence-apis/agents-api/api-reference/error-catalog/\">check the full list of possible errors</a> that you can receive in the API, in case you need to troubleshoot any issue.</p>\n<p>In this quick guide, YOU managed to create your first request to AI Chat API.</p>","headings":[{"value":"Getting Started","depth":1},{"value":"Prerequisites","depth":2},{"value":"Authentication","depth":3},{"value":"Authorization","depth":3},{"value":"OAuth Scopes for AI API","depth":4},{"value":"Client Permissions for AI API","depth":4},{"value":"Consuming the AI API","depth":2},{"value":"Chat with a Process Copilot","depth":3}]},"contentItem":{"data":{"lastModified":"2025-10-07T16:52:38.000Z","enableToc":null,"disableLastModified":null,"tocMaxDepth":null,"requestLogin":false}},"siteConfig":{"enableToc":false,"disableLastModified":false,"tocMaxDepth":4}},"pageContext":{"matchPath":"","id":"d4e9d064-4114-5493-ab1d-77c4aeb5b379__redocly content/process-intelligence-apis/agents-api/get-started/getting-started/","seo":{"title":"Getting Started","description":null,"image":"","keywords":null,"jsonLd":null,"lang":null,"siteUrl":null},"pageId":"process-intelligence-apis/agents-api/get-started/getting-started.md","pageBaseUrl":"/process-intelligence-apis/agents-api/get-started/getting-started","type":"markdown","toc":{"enable":true,"maxDepth":4,"headings":[{"depth":1,"value":"Getting Started","id":"getting-started"},{"depth":2,"value":"Prerequisites","id":"prerequisites"},{"depth":3,"value":"Authentication","id":"authentication"},{"depth":3,"value":"Authorization","id":"authorization"},{"depth":4,"value":"OAuth Scopes for AI API","id":"oauth-scopes-for-ai-api"},{"depth":4,"value":"Client Permissions for AI API","id":"client-permissions-for-ai-api"},{"depth":2,"value":"Consuming the AI API","id":"consuming-the-ai-api"},{"depth":3,"value":"Chat with a Process Copilot","id":"chat-with-a-process-copilot"}]},"data":{"title":""},"catalogInfo":null,"link":"/process-intelligence-apis/agents-api/get-started/getting-started/","sidebarName":"celonis","isLanding":false,"showPrevButton":null,"showNextButton":null,"apiVersions":null,"apiVersionId":null,"isDefaultApiVersion":null}},"staticQueryHashes":["1123603147","1302185487","1344209882","1398840060","1520077861","1975142765","2667623876","2950305614","3240152602","3743992808","561138138"]}