{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Kolena","colors":{"primary":"#6434c1","light":"#6434c1","dark":"#6434c1"},"logo":{"light":"https://mintcdn.com/kolena/RcQQL0B5MRBeobfg/assets/wordmark.png?fit=max\u0026auto=format\u0026n=RcQQL0B5MRBeobfg\u0026q=85\u0026s=75dc903296dd57fc21c61b4d6aadff38","dark":"https://mintcdn.com/kolena/RcQQL0B5MRBeobfg/assets/wordmark.png?fit=max\u0026auto=format\u0026n=RcQQL0B5MRBeobfg\u0026q=85\u0026s=75dc903296dd57fc21c61b4d6aadff38"},"favicon":"https://mintcdn.com/kolena/RcQQL0B5MRBeobfg/assets/favicon-96x96.webp?fit=max\u0026auto=format\u0026n=RcQQL0B5MRBeobfg\u0026q=85\u0026s=0acb5fa71c8c598c9cedbaafeaef2c0d","api":{"playground":{"display":"none"},"examples":{"defaults":"required"},"mdx":{"server":"https://agents-api.kolena.com"}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"mailto:support@kolena.com","label":"Support"}],"primary":{"type":"button","label":"Kolena","href":"https://agents.kolena.com"}},"footer":{"socials":{"x":"https://x.com/kolenaIO","github":"https://github.com/kolenaIO","linkedin":"https://www.linkedin.com/company/kolena-ai"}},"fonts":{"heading":{"family":"Sora","weight":500},"body":{"family":"Inter"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kolena","hasAudioNarration":false,"actualSubdomain":"kolena","customDomains":["docs.agents.kolena.com"],"gitSource":{"type":"github","owner":"kolenaio","repo":"restructured","deployBranch":"trunk","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10aa0d9ffae5051c3fbf6a"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b12fb97b7a05fe0a16a1ed0","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"Developers","count":51},{"language":"default","tag":"Users","count":35},{"language":"default","tag":"API","count":33},{"language":"default","tag":"API Reference","count":30},{"language":"default","tag":"Python Client","count":18},{"language":"default","tag":"Get Started","count":14},{"language":"default","tag":"Managing Your Organization","count":12},{"language":"default","tag":"Agents","count":11},{"language":"default","tag":"Ground Truths","count":11},{"language":"default","tag":"Resources","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"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":"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":"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":"turbopuffer-dual-write","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":"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},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"api-reference/copy-agent","slug":"/api-reference/copy-agent","pageMetadata":{"title":"Copy Agent","description":"Make a copy of an existing Agent","openapi":"openapi.json POST /api/v1/client/agents/{agent_id}/copy","href":"/api-reference/copy-agent"},"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: \"Make a copy of an existing Agent\"\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const limit_0=60;function _createMdxContent(props){const _components={p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Info}=_components;if(!Info)_missingMdxReference(`Info`,true);return _jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Rate Limit:`}),` This endpoint is limited to `,_jsxs(_components.strong,{children:[limit_0.toLocaleString(),` requests per minute`]}),` per user.`]})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{limit_0,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Copy Agent","description":"Make a copy of an existing Agent","openapi":"openapi.json POST /api/v1/client/agents/{agent_id}/copy","href":"/api-reference/copy-agent"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[452,540,"(_components.strong,{children:` requests per minute`}),` per"]]},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["client","agents"],"summary":"Client Copy Agent","operationId":"client_copy_agent_api_v1_client_agents__agent_id__copy_post","security":["c6fb3848-2ef1-49d2-8cda-011868ba6292"],"parameters":["42f3a381-af63-42eb-af7d-c204a0ba0240"],"requestBody":"b0a424dc-8120-4e18-a39e-f3d0f7f4c5d3","responses":{"200":"60071233-6268-4bb3-b337-05e1659c3ba4","422":"ae8f1db4-184d-4cf0-badf-8dc312bc7b72"},"method":"post","type":"path","servers":[],"path":"/api/v1/client/agents/{agent_id}/copy","baseUrlOptions":["https://agents-api.kolena.com"],"title":"Client Copy Agent","description":"Make a copy of an existing Agent","codeSamples":[],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"42f3a381-af63-42eb-af7d-c204a0ba0240":{"name":"agent_id","in":"path","required":true,"schema":{"type":"integer","title":"Agent Id","isRequired":true,"uniqueKey":"","typeLabel":"integer"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the agent to be created by copying the source agent.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"target_workspace_id":{"oneOf":[{"type":"integer","title":"Target Workspace Id","description":"Optionally specify the workspace ID for the new agent.","uniqueKey":"target_workspace_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Target Workspace Id","description":"Optionally specify the workspace ID for the new agent.","uniqueKey":"target_workspace_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"target_workspace_id","typeLabel":"integer | null"},"target_folder_id":{"oneOf":[{"type":"integer","title":"Target Folder Id","description":"Optionally specify the folder ID for the new agent.","uniqueKey":"target_folder_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Target Folder Id","description":"Optionally specify the folder ID for the new agent.","uniqueKey":"target_folder_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"target_folder_id","typeLabel":"integer | null"}},"type":"object","required":["name"],"title":"CopyAgentRequest","uniqueKey":"","typeLabel":"CopyAgentRequest · object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","target_workspace_id":123,"target_folder_id":123}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"60071233-6268-4bb3-b337-05e1659c3ba4":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"integer","title":"Id","description":"The ID of this Agent.","isRequired":true,"uniqueKey":"id","typeLabel":"integer"},"workspace_id":{"type":"integer","title":"Workspace Id","description":"The ID of the workspace hosting this Agent.","isRequired":true,"uniqueKey":"workspace_id","typeLabel":"integer"},"name":{"type":"string","title":"Name","description":"The name of this Agent.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"objective":{"type":"string","title":"Objective","description":"A short description of this Agent's objective, e.g. \"Extract key information from leases and addendum documents\".","isRequired":true,"uniqueKey":"objective","typeLabel":"string"},"created":{"type":"string","format":"date-time","title":"Created","description":"When this Agent was created, formatted as an ISO 8601 timestamp (e.g. `2025-12-31T10:15:45+00:00`)","isRequired":true,"uniqueKey":"created","typeLabel":"string\u003cdate-time>"},"updated":{"type":"string","format":"date-time","title":"Updated","description":"When this Agent was last updated, formatted as an ISO 8601 timestamp (e.g. `2025-12-31T10:15:45+00:00`)","isRequired":true,"uniqueKey":"updated","typeLabel":"string\u003cdate-time>"},"created_by":{"type":"string","title":"Created By","description":"The email address of the user who created this Agent.","isRequired":true,"uniqueKey":"created_by","typeLabel":"string"},"agent_guidelines":{"oneOf":[{"type":"object","title":"AgentGuidelines","description":"The Agent Guidelines that will be used for all Prompts in this Agent.","required":["prompt","created","updated"],"properties":{"prompt":{"type":"string","title":"Prompt","description":"The instructions that will be used for all Prompts in this Agent.","isRequired":true,"uniqueKey":"agent_guidelines.oneOf.0.prompt","typeLabel":"string"},"created":{"type":"string","format":"date-time","title":"Created","description":"When these Agent Guidelines were created, formatted as an ISO 8601 timestamp (e.g. `2025-12-31T10:15:45+00:00`)","isRequired":true,"uniqueKey":"agent_guidelines.oneOf.0.created","typeLabel":"string\u003cdate-time>"},"updated":{"type":"string","format":"date-time","title":"Updated","description":"When these Agent Guidelines were last updated, formatted as an ISO 8601 timestamp (e.g. `2025-12-31T10:15:45+00:00`)","isRequired":true,"uniqueKey":"agent_guidelines.oneOf.0.updated","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"agent_guidelines.oneOf.0","typeLabel":"AgentGuidelines · object"},{"type":"null","description":"The Agent Guidelines that will be used for all Prompts in this Agent.","isRequired":true,"uniqueKey":"agent_guidelines.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent_guidelines","typeLabel":"AgentGuidelines · object | null"},"n_runs":{"type":"integer","title":"N Runs","description":"The number of times this Agent has been Run.","isRequired":true,"uniqueKey":"n_runs","typeLabel":"integer"},"prompts":{"items":{"properties":{"id":{"type":"integer","title":"Id","description":"The ID of this Prompt.","isRequired":true,"uniqueKey":"prompts.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","title":"Name","description":"The name of this Prompt.","isRequired":true,"uniqueKey":"prompts.items.[INDEX].name","typeLabel":"string"},"created":{"type":"string","format":"date-time","title":"Created","description":"When this Prompt was created, formatted as an ISO 8601 timestamp (e.g. `2025-12-31T10:15:45+00:00`)","isRequired":true,"uniqueKey":"prompts.items.[INDEX].created","typeLabel":"string\u003cdate-time>"},"updated":{"type":"string","format":"date-time","title":"Updated","description":"When this Prompt was last updated, formatted as an ISO 8601 timestamp (e.g. `2025-12-31T10:15:45+00:00`)","isRequired":true,"uniqueKey":"prompts.items.[INDEX].updated","typeLabel":"string\u003cdate-time>"},"model":{"properties":{"type":{"type":"string","title":"Type","description":"The type of this model, either `default`, `efficient`, or `high`.","isRequired":true,"uniqueKey":"prompts.items.[INDEX].model.type","typeLabel":"string"},"version":{"type":"string","title":"Version","description":"The specific version of the `default`, `efficient`, or `high` model used.","isRequired":true,"uniqueKey":"prompts.items.[INDEX].model.version","typeLabel":"string"}},"type":"object","required":["type","version"],"title":"PromptModel","description":"The model used by this Prompt.","isRequired":true,"uniqueKey":"prompts.items.[INDEX].model","typeLabel":"PromptModel · object"},"options":{"additionalProperties":true,"type":"object","title":"Options","description":"The configuration options for this Prompt.","isRequired":true,"uniqueKey":"prompts.items.[INDEX].options","typeLabel":"Options · object"},"documents":{"items":{"properties":{"filename":{"type":"string","title":"Filename","description":"Filename of this Prompt Document.","isRequired":true,"uniqueKey":"prompts.items.[INDEX].documents.items.[INDEX].filename","typeLabel":"string"},"content_hash":{"oneOf":[{"type":"string","title":"Content Hash","description":"The content hash of the original uploaded file.","uniqueKey":"prompts.items.[INDEX].documents.items.[INDEX].content_hash.oneOf.0","typeLabel":"string"},{"type":"null","title":"Content Hash","description":"The content hash of the original uploaded file.","uniqueKey":"prompts.items.[INDEX].documents.items.[INDEX].content_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompts.items.[INDEX].documents.items.[INDEX].content_hash","typeLabel":"string | null"}},"type":"object","required":["filename"],"title":"PromptDocument","uniqueKey":"prompts.items.[INDEX].documents.items.[INDEX]","typeLabel":"PromptDocument · object"},"type":"array","title":"Documents","description":"Any files attached to this Prompt.","isRequired":true,"uniqueKey":"prompts.items.[INDEX].documents","typeLabel":"PromptDocument · object[]"},"input_prompt_ids":{"items":{"type":"integer","uniqueKey":"prompts.items.[INDEX].input_prompt_ids.items.[INDEX]","typeLabel":"integer"},"type":"array","title":"Input Prompt Ids","description":"A list of Prompt IDs that provide input to this Prompt. These are the prompts whose outputs can be referenced within this Prompt.","uniqueKey":"prompts.items.[INDEX].input_prompt_ids","typeLabel":"integer[]"},"last_updated_by":{"oneOf":[{"type":"string","title":"Last Updated By","description":"The email address of the user who last updated this Prompt.","uniqueKey":"prompts.items.[INDEX].last_updated_by.oneOf.0","typeLabel":"string"},{"type":"null","title":"Last Updated By","description":"The email address of the user who last updated this Prompt.","uniqueKey":"prompts.items.[INDEX].last_updated_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompts.items.[INDEX].last_updated_by","typeLabel":"string | null"}},"type":"object","required":["id","name","created","updated","model","options","documents"],"title":"Prompt","uniqueKey":"prompts.items.[INDEX]","typeLabel":"Prompt · object"},"type":"array","title":"Prompts","description":"The Prompts configured for this Agent.","examples":[[{"created":"2025-01-01T00:00:00","documents":[],"id":1,"input_prompt_ids":[],"last_updated_by":"user@example.com","model":{"type":"efficient","version":"2.2.0"},"name":"Account number","options":{"code_generation":false,"document_filter":false,"enhanced_vision":false,"prompt":"Find the account number","type":"string","web_search":false},"updated":"2025-01-01T00:00:00"},{"created":"2025-01-01T00:00:00","documents":[],"id":2,"input_prompt_ids":[1],"last_updated_by":"user@example.com","model":{"type":"default","version":"2.4.0"},"name":"Account info","options":{"code_generation":false,"document_filter":false,"enhanced_vision":false,"fields":["full name","address"],"prompt":"Extract form fields using account number: \u003ckolena-prompt id='1'/>","type":"form","web_search":false},"updated":"2025-01-02T00:00:00"},{"created":"2025-01-01T00:00:00","documents":[],"id":3,"input_prompt_ids":[],"last_updated_by":"user@example.com","model":{"type":"efficient","version":"2.2.0"},"name":"Relevant invoices","options":{"code_generation":false,"document_filter":false,"enhanced_vision":false,"filter_by_filename":true,"prompt":"Only include invoices from the current year.","type":"doc-filter","web_search":false},"updated":"2025-01-01T00:00:00"}]],"isRequired":true,"uniqueKey":"prompts","typeLabel":"Prompt · object[]"},"output_templates":{"items":{"properties":{"id":{"type":"integer","title":"Id","description":"The ID of this Template.","isRequired":true,"uniqueKey":"output_templates.items.[INDEX].id","typeLabel":"integer"},"filename":{"type":"string","title":"Filename","description":"The original filename of this Template.","isRequired":true,"uniqueKey":"output_templates.items.[INDEX].filename","typeLabel":"string"},"created":{"type":"string","format":"date-time","title":"Created","description":"When this Template was created, formatted as an ISO 8601 timestamp (e.g. `2025-12-31T10:15:45+00:00`)","isRequired":true,"uniqueKey":"output_templates.items.[INDEX].created","typeLabel":"string\u003cdate-time>"},"updated":{"type":"string","format":"date-time","title":"Updated","description":"When this Template was last updated, formatted as an ISO 8601 timestamp (e.g. `2025-12-31T10:15:45+00:00`)","isRequired":true,"uniqueKey":"output_templates.items.[INDEX].updated","typeLabel":"string\u003cdate-time>"}},"type":"object","required":["id","filename","created","updated"],"title":"OutputTemplate","uniqueKey":"output_templates.items.[INDEX]","typeLabel":"OutputTemplate · object"},"type":"array","title":"Output Templates","description":"The Templates configured for this Agent, used to generate formatted output documents.","uniqueKey":"output_templates","typeLabel":"OutputTemplate · object[]"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","description":"Metadata for this Agent.","examples":[{"department":"finance","environment":"production","tags":["invoice-processing","high-priority"],"version":2}],"uniqueKey":"metadata","typeLabel":"Metadata · object"}},"type":"object","required":["id","workspace_id","name","objective","created","updated","created_by","agent_guidelines","n_runs","prompts"],"title":"Agent","uniqueKey":"","typeLabel":"Agent · object"},"examples":{"Example":{"title":"Example","value":{"id":123,"workspace_id":123,"name":"\u003cstring>","objective":"\u003cstring>","created":"2023-11-07T05:31:56Z","updated":"2023-11-07T05:31:56Z","created_by":"\u003cstring>","agent_guidelines":{"prompt":"\u003cstring>","created":"2023-11-07T05:31:56Z","updated":"2023-11-07T05:31:56Z"},"n_runs":123,"prompts":[{"created":"2025-01-01T00:00:00","documents":[],"id":1,"input_prompt_ids":[],"last_updated_by":"user@example.com","model":{"type":"efficient","version":"2.2.0"},"name":"Account number","options":{"code_generation":false,"document_filter":false,"enhanced_vision":false,"prompt":"Find the account number","type":"string","web_search":false},"updated":"2025-01-01T00:00:00"},{"created":"2025-01-01T00:00:00","documents":[],"id":2,"input_prompt_ids":[1],"last_updated_by":"user@example.com","model":{"type":"default","version":"2.4.0"},"name":"Account info","options":{"code_generation":false,"document_filter":false,"enhanced_vision":false,"fields":["full name","address"],"prompt":"Extract form fields using account number: \u003ckolena-prompt id='1'/>","type":"form","web_search":false},"updated":"2025-01-02T00:00:00"},{"created":"2025-01-01T00:00:00","documents":[],"id":3,"input_prompt_ids":[],"last_updated_by":"user@example.com","model":{"type":"efficient","version":"2.2.0"},"name":"Relevant invoices","options":{"code_generation":false,"document_filter":false,"enhanced_vision":false,"filter_by_filename":true,"prompt":"Only include invoices from the current year.","type":"doc-filter","web_search":false},"updated":"2025-01-01T00:00:00"}],"output_templates":[{"id":123,"filename":"\u003cstring>","created":"2023-11-07T05:31:56Z","updated":"2023-11-07T05:31:56Z"}],"metadata":{"department":"finance","environment":"production","tags":["invoice-processing","high-priority"],"version":2}}}},"exampleType":"generated"}},"exampleType":"generated"},"ae8f1db4-184d-4cf0-badf-8dc312bc7b72":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c6fb3848-2ef1-49d2-8cda-011868ba6292":{"HTTPBearer":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`. The `\u003ctoken>` represents your API key, which must be acquired from the Kolena platform.","scopes":[],"schemeName":"HTTPBearer"}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`. The `\u003ctoken>` represents your API key, which must be acquired from the Kolena platform.","scopes":[],"schemeName":"HTTPBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`. The `\u003ctoken>` represents your API key, which must be acquired from the Kolena platform.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"openapi.json"},"subdomain":"kolena","siteName":"Kolena","title":"Copy Agent - Kolena","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-04T19:19:25.006Z","originalFileLocation":"api-reference/copy-agent.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Make a copy of an existing Agent\">\u003cmeta data-mint-head name=\"application-name\" content=\"Kolena\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kolena/3gGeYDhdmk73d0dO/_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/kolena/3gGeYDhdmk73d0dO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kolena/3gGeYDhdmk73d0dO/_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/kolena/3gGeYDhdmk73d0dO/_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/kolena/3gGeYDhdmk73d0dO/_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/kolena/3gGeYDhdmk73d0dO/_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/kolena/3gGeYDhdmk73d0dO/_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/kolena/3gGeYDhdmk73d0dO/_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/kolena/3gGeYDhdmk73d0dO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Copy Agent - Kolena\">\u003cmeta data-mint-head property=\"og:description\" content=\"Make a copy of an existing Agent\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kolena\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.agents.kolena.com/api-reference/copy-agent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kolena.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Copy+Agent\u0026amp;description=Make+a+copy+of+an+existing+Agent\u0026amp;theme=09600c4c21fa73a31bb96a86\u0026amp;signature=887bda6b9dd973a6ee2fe199ecdd9eff94ee37624b9e09b36564743184ba4fba\">\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=\"Copy Agent - Kolena\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Make a copy of an existing Agent\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kolena.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Copy+Agent\u0026amp;description=Make+a+copy+of+an+existing+Agent\u0026amp;theme=09600c4c21fa73a31bb96a86\u0026amp;signature=887bda6b9dd973a6ee2fe199ecdd9eff94ee37624b9e09b36564743184ba4fba\">\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/kolena/3gGeYDhdmk73d0dO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Kolena\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6434c1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.agents.kolena.com/api-reference/copy-agent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/copy-agent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.agents.kolena.com/#organization\",\"name\":\"Kolena\",\"url\":\"https://docs.agents.kolena.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kolena/RcQQL0B5MRBeobfg/assets/wordmark.png?fit=max\u0026auto=format\u0026n=RcQQL0B5MRBeobfg\u0026q=85\u0026s=75dc903296dd57fc21c61b4d6aadff38\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.agents.kolena.com#website\",\"name\":\"Kolena\",\"url\":\"https://docs.agents.kolena.com\",\"publisher\":{\"@id\":\"https://docs.agents.kolena.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.agents.kolena.com/api-reference/copy-agent#webpage\",\"url\":\"https://docs.agents.kolena.com/api-reference/copy-agent\",\"name\":\"Copy Agent\",\"description\":\"Make a copy of an existing Agent\",\"dateModified\":\"2026-02-04T19:19:25.006Z\",\"isPartOf\":{\"@id\":\"https://docs.agents.kolena.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.agents.kolena.com/api-reference/copy-agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.agents.kolena.com/api-reference/copy-agent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.agents.kolena.com/api-reference/quickstart\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agents\",\"item\":\"https://docs.agents.kolena.com/api-reference/list-agents\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Copy Agent\",\"item\":\"https://docs.agents.kolena.com/api-reference/copy-agent\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.agents.kolena.com/api-reference/copy-agent#apireference\",\"headline\":\"Copy Agent\",\"name\":\"Copy Agent\",\"description\":\"Make a copy of an existing Agent\",\"url\":\"https://docs.agents.kolena.com/api-reference/copy-agent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.agents.kolena.com/api-reference/copy-agent#webpage\"},\"dateModified\":\"2026-02-04T19:19:25.006Z\",\"publisher\":{\"@id\":\"https://docs.agents.kolena.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.agents.kolena.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Kolena\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Kolena\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/copy-agent.md","siteName":"Kolena","nav":{"global":null,"tabs":[{"tab":"Users","pages":[{"title":"Users","href":"/introduction"}]},{"tab":"Developers","dropdowns":[{"dropdown":"API","icon":"code","groups":[{"group":"Connecting to Kolena","pages":[{"title":"Overview","href":"/connecting-to-kolena"},{"title":"Manage API Keys","href":"/api-keys"}]},{"group":"API Reference","pages":[{"title":"Quickstart Guide","href":"/api-reference/quickstart"},{"group":"Agents","pages":[{"title":"List Agents","openapi":"openapi.json GET /api/v1/client/agents","href":"/api-reference/list-agents"},{"title":"Get Agent","description":"Return a single Agent","openapi":"openapi.json GET /api/v1/client/agents/{agent_id}","href":"/api-reference/get-agent"},{"title":"Copy Agent","openapi":"openapi.json POST /api/v1/client/agents/{agent_id}/copy","href":"/api-reference/copy-agent"},{"title":"Update Agent","description":"Update properties of an Agent","openapi":"openapi.json PATCH /api/v1/client/agents/{agent_id}","href":"/api-reference/update-agent"},{"title":"Add Agent Run","openapi":"openapi.json POST /api/v1/client/agents/{agent_id}/runs","href":"/api-reference/add-agent-run"},{"title":"Add Agent Run (and Wait)","openapi":"openapi.json POST /api/v1/client/agents/{agent_id}/runs/wait","href":"/api-reference/add-agent-run-wait"},{"title":"List Agent Runs","openapi":"openapi.json GET /api/v1/client/agents/{agent_id}/runs","href":"/api-reference/list-agent-runs"},{"title":"Get Agent Run","openapi":"openapi.json GET /api/v1/client/agents/{agent_id}/runs/{run_id}","href":"/api-reference/get-agent-run"},{"title":"Download Agent Run Templated Output","openapi":"openapi.json POST /api/v1/client/agents/{agent_id}/runs/{run_id}/templated-output","href":"/api-reference/download-agent-run-templated-output"},{"title":"Download Agent Runs Templated Output","openapi":"openapi.json POST /api/v1/client/agents/{agent_id}/runs/templated-output","href":"/api-reference/download-agent-runs-templated-output"},{"title":"Delete Agent Run","openapi":"openapi.json DELETE /api/v1/client/agents/{agent_id}/runs/{run_id}","href":"/api-reference/delete-agent-run"}]},{"group":"Access Logs","pages":[{"title":"Query Access Logs","openapi":"PUT /api/v1/client/access-logs/query","href":"/api-reference/query-access-logs"}]},{"group":"Ground Truths","pages":[{"title":"Create Ground Truth","openapi":"openapi.json POST /api/v1/client/agents/{agent_id}/ground_truths","href":"/api-reference/ground-truths/create-ground-truth"},{"title":"List Ground Truths","openapi":"openapi.json GET /api/v1/client/agents/{agent_id}/ground_truths","href":"/api-reference/ground-truths/list-ground-truth"},{"title":"Get Ground Truth","openapi":"openapi.json GET /api/v1/client/agents/{agent_id}/ground_truths/{ground_truth_id}","href":"/api-reference/ground-truths/get-ground-truth"},{"title":"Delete Ground Truth","openapi":"openapi.json DELETE /api/v1/client/agents/{agent_id}/ground_truths/{ground_truth_id}","href":"/api-reference/ground-truths/delete-ground-truth"},{"title":"Create Ground Truth Version","openapi":"openapi.json POST /api/v1/client/agents/{agent_id}/ground_truths/{ground_truth_id}/versions","href":"/api-reference/ground-truths/create-ground-truth-version"},{"title":"List Ground Truth Versions","openapi":"openapi.json GET /api/v1/client/agents/{agent_id}/ground_truths/{ground_truth_id}/versions","href":"/api-reference/ground-truths/list-ground-truth-versions"},{"title":"Get Ground Truth Version","openapi":"openapi.json GET /api/v1/client/agents/{agent_id}/ground_truths/{ground_truth_id}/versions/{version}","href":"/api-reference/ground-truths/get-ground-truth-version"},{"title":"Create Validation","openapi":"openapi.json POST /api/v1/client/agents/{agent_id}/ground_truths/{ground_truth_id}/validations","href":"/api-reference/ground-truths/create-validation"},{"title":"List Validations","openapi":"openapi.json GET /api/v1/client/agents/{agent_id}/ground_truths/{ground_truth_id}/validations","href":"/api-reference/ground-truths/list-validations"},{"title":"Get Validation","openapi":"openapi.json GET /api/v1/client/agents/{agent_id}/ground_truths/{ground_truth_id}/validations/{validation_id}","href":"/api-reference/ground-truths/get-validation"},{"title":"Delete Validation","openapi":"openapi.json DELETE /api/v1/client/agents/{agent_id}/ground_truths/{ground_truth_id}/validations/{validation_id}","href":"/api-reference/ground-truths/delete-validation"}]},{"group":"Usage","pages":[{"title":"List Usage Records","openapi":"openapi.json GET /api/v1/client/usage","href":"/api-reference/list-usage-records"}]},{"group":"Workspaces","pages":[{"title":"List Workspaces","openapi":"openapi.json GET /api/v1/client/workspaces","href":"/api-reference/list-workspaces"}]},{"group":"API Keys","pages":[{"title":"Create API Key","openapi":"openapi.json POST /api/v1/client/api-keys","href":"/api-reference/create-api-key"},{"title":"List API Keys","openapi":"openapi.json GET /api/v1/client/api-keys","href":"/api-reference/list-api-keys"},{"title":"Get API Key","openapi":"openapi.json GET /api/v1/client/api-keys/{key_id}","href":"/api-reference/get-api-key"},{"title":"Delete API Key","openapi":"openapi.json DELETE /api/v1/client/api-keys/{key_id}","href":"/api-reference/delete-api-key"}]}]},{"group":"Webhook","pages":[{"title":"Webhook Integration","href":"/webhook"}]}]},{"dropdown":"Python Client","icon":"python","versions":[{"version":"v0.20.0","tag":"Latest","groups":[{"group":"Get Started","pages":[{"title":"Quickstart Guide","href":"/python-client/quickstart"}]},{"group":"Reference","pages":[{"title":"kolena_agents","href":"/python-client/reference/v0.20.0/kolena-agents"},{"title":"kolena_agents.webhook","href":"/python-client/reference/v0.20.0/webhook"}]},{"group":"Resources","pages":[{"title":"client.access_logs","href":"/python-client/reference/v0.20.0/access-logs"},{"title":"client.agent","href":"/python-client/reference/v0.20.0/agent"},{"title":"client.agent_run","href":"/python-client/reference/v0.20.0/agent-run"},{"title":"client.api_key","href":"/python-client/reference/v0.20.0/api-key"},{"title":"client.ground_truth","href":"/python-client/reference/v0.20.0/ground-truth"},{"title":"client.usage","href":"/python-client/reference/v0.20.0/usage"},{"title":"client.validation","href":"/python-client/reference/v0.20.0/validation"},{"title":"client.workspace","href":"/python-client/reference/v0.20.0/workspace"}]},{"group":"Types","pages":[{"title":"kolena_agents.types.access_logs","href":"/python-client/reference/v0.20.0/types-access-logs"},{"title":"kolena_agents.types.agent","href":"/python-client/reference/v0.20.0/types-agent"},{"title":"kolena_agents.types.agent_run","href":"/python-client/reference/v0.20.0/types-agent-run"},{"title":"kolena_agents.types.api_key","href":"/python-client/reference/v0.20.0/types-api-key"},{"title":"kolena_agents.types.exceptions","href":"/python-client/reference/v0.20.0/types-exceptions"},{"title":"kolena_agents.types.ground_truth","href":"/python-client/reference/v0.20.0/types-ground-truth"},{"title":"kolena_agents.types.usage","href":"/python-client/reference/v0.20.0/types-usage"}]}]}]}]}]},"basePath":"","title":"Copy Agent - Kolena","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js","Markdown-4tjIF-hK.js","AssistantPageLink-BcChI7L3.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}