Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
workspaceId
string
required
Workspace ID.
Example:
"workspace_01HXKD2E5NQM3T9AYWCF133E3Q"
Query Parameters
limit
integer<int32>
Maximum number of results to return
cursor
string
Pagination cursor from previous response
prefix
string
Filter expression (query param: prefix)
query
string
Free-form search query
state
enum<string>
Filter by agent lifecycle state
Available options:
STATE_UNSPECIFIED,
STATE_DRAFT,
STATE_PUBLISHED,
STATE_ARCHIVED
variationSelectionMode
enum<string>
Filter by variation selection mode
Available options:
VARIATION_SELECTION_MODE_UNSPECIFIED,
VARIATION_SELECTION_MODE_RANDOM,
VARIATION_SELECTION_MODE_WEIGHTED
labels
string
Filters by metadata labels. Comma-separated key=value pairs,
e.g. "env=prod,team=ai". A resource matches only if every pair
matches exactly (AND semantics).
sortOrder
string
Sort order for results (asc or desc by creation time)
includeInfo
boolean
When true, the info field on each returned agent is populated. Requests
with this flag count more against your rate limit.
Response
OK
List agents response
items
object[]
required
Show child attributes
pagination
object
Page carries cursor-based pagination state. There is no total: the cursor
walks the result set without ever counting it, and a count would cost a second
query on every list.
Show child attributes
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Cadenya","colors":{"primary":"#165B41","light":"#165B41","dark":"#E1EE9A"},"logo":{"light":"https://mintcdn.com/cadenya/jC_UqeyZ_EgHWKnX/logo/light.svg?fit=max\u0026auto=format\u0026n=jC_UqeyZ_EgHWKnX\u0026q=85\u0026s=163995d0cd296848f58b95d41cfbb847","dark":"https://mintcdn.com/cadenya/jC_UqeyZ_EgHWKnX/logo/dark.svg?fit=max\u0026auto=format\u0026n=jC_UqeyZ_EgHWKnX\u0026q=85\u0026s=3a0a588c1ea4bb31882a0eb52df74362","href":"https://cadenya.com"},"favicon":"https://mintcdn.com/cadenya/jC_UqeyZ_EgHWKnX/favicon.svg?fit=max\u0026auto=format\u0026n=jC_UqeyZ_EgHWKnX\u0026q=85\u0026s=88bfdd038a09cd476e2dd90fa68f8074","api":{"examples":{"languages":["shell","ruby","go","typescript","python"],"autogenerate":false}},"navbar":{"links":[{"href":"https://app.cadenya.com/signup","label":"Sign Up"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.cadenya.com/login"}},"footer":{"socials":{"x":"https://x.com/cadenya","github":"https://github.com/cadenya"}},"fonts":{"heading":{"family":"ABC Arizona Flare Light","weight":300,"source":"fonts/ABCArizonaFlare-Light.woff2","format":"woff2"},"body":{"family":"Berkeley Mono","weight":400}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cadenya","hasAudioNarration":false,"actualSubdomain":"cadenya","customDomains":["cadenya.com"],"gitSource":{"type":"github","owner":"cadenya","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6afa0bb8c11f076dcacd5539","clientVersion":"0.0.4177","searchFilterCounts":[{"language":"default","tag":"API Reference","count":156},{"language":"default","tag":"Objectives","count":19},{"language":"default","tag":"Webhook Events","count":15},{"language":"default","tag":"Widgets API","count":15},{"language":"default","tag":"Guides","count":14},{"language":"default","tag":"Agents","count":11},{"language":"default","tag":"API Keys","count":11},{"language":"default","tag":"Agent Variations","count":10},{"language":"default","tag":"Tool Sets","count":10},{"language":"default","tag":"Workspace Admin","count":9}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"brand.css","content":"@font-face{font-family:\"ABC Arizona Sans\";src:url(\"/fonts/ABCArizonaSansVariable.woff2\") format(\"woff2\");font-weight:100 700;font-style:normal;font-display:swap}@font-face{font-family:\"ABC Arizona Flare Light\";src:url(\"/fonts/ABCArizonaFlare-Light.woff2\") format(\"woff2\");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:\"ABC Arizona Sans\";src:url(\"/fonts/ABCArizonaSans-RegularItalic.woff2\") format(\"woff2\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:\"ABC Arizona Sans\";src:url(\"/fonts/ABCArizonaSans-BoldItalic.woff2\") format(\"woff2\");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:\"Berkeley Mono\";src:url(\"/fonts/BerkeleyMono-Regular.otf\") format(\"opentype\");font-weight:400;font-style:normal;font-display:swap}:root{--cadenya-soil: #1d2c2f;--cadenya-sky: #ffffff;--cadenya-mycelium: #165b41;--cadenya-canopy: #e1ee9a;--cadenya-table-border: rgba(29, 44, 47, 0.18);--cadenya-table-header: rgba(22, 91, 65, 0.08);--cadenya-mermaid-node: var(--cadenya-canopy);--cadenya-mermaid-border: var(--cadenya-mycelium);--cadenya-mermaid-text: var(--cadenya-soil);--cadenya-mermaid-edge: var(--cadenya-mycelium);--cadenya-mermaid-label: rgba(255, 255, 255, 0.92)}html.dark,[data-theme=\"dark\"]{--cadenya-table-border: rgba(255, 255, 255, 0.2);--cadenya-table-header: rgba(225, 238, 154, 0.1);--cadenya-mermaid-node: var(--cadenya-mycelium);--cadenya-mermaid-border: var(--cadenya-canopy);--cadenya-mermaid-text: var(--cadenya-canopy);--cadenya-mermaid-edge: var(--cadenya-canopy);--cadenya-mermaid-label: rgba(29, 44, 47, 0.94)}body{font-family:\"Berkeley Mono\", ui-monospace, \"Cascadia Code\", monospace}h1,h2,h3,h4,h5,h6{font-family:\"ABC Arizona Flare Light\", Georgia, serif!important;font-weight:300!important;letter-spacing:-0.01em}#topbar-cta-button a[href=\"https://app.cadenya.com/login\"] span,#topbar-cta-button a[href=\"https://app.cadenya.com/login\"] svg{color:var(--cadenya-soil)!important}@font-face{font-family:\"Berkeley Mono\";src:url(\"/fonts/BerkeleyMono-Bold.otf\") format(\"opentype\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"Berkeley Mono\";src:url(\"/fonts/BerkeleyMono-Bold.otf\") format(\"opentype\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Berkeley Mono\";src:url(\"/fonts/BerkeleyMono-Oblique.otf\") format(\"opentype\");font-weight:400;font-style:italic;font-display:swap}code,kbd,samp,pre,pre *{font-family:\"Berkeley Mono\", ui-monospace, \"Cascadia Code\", monospace}#content-area a.link>code{padding:0!important}strong,b{font-weight:700!important}#content-container table{border:1px solid var(--cadenya-table-border);border-collapse:separate;border-spacing:0;border-radius:0.5rem;overflow:hidden}#content-container table th,#content-container table td{border-right:1px solid var(--cadenya-table-border);border-bottom:1px solid var(--cadenya-table-border);padding-left:1rem;padding-right:1rem}#content-container table thead{background-color:var(--cadenya-table-header)}#content-container table thead th{padding-top:0.75rem;padding-bottom:0.75rem;vertical-align:middle}#content-container table th:last-child,#content-container table td:last-child{border-right:0}#content-container table tbody tr:last-child td{border-bottom:0}#content-container table.objective-events-table{width:100%;table-layout:fixed}#content-container table.objective-events-table th:first-child,#content-container table.objective-events-table td:first-child{width:25%}#content-container table.objective-events-table th:nth-child(2),#content-container table.objective-events-table td:nth-child(2){width:75%}#content-container table.objective-events-table td:first-child code{overflow-wrap:anywhere;white-space:normal}#content-container .mermaid svg{fill:var(--cadenya-mermaid-text)!important}#content-container .mermaid svg .node rect,#content-container .mermaid svg .node polygon,#content-container .mermaid svg .node path,#content-container .mermaid svg g.stateGroup rect,#content-container .mermaid svg .statediagram-cluster rect{fill:var(--cadenya-mermaid-node)!important;stroke:var(--cadenya-mermaid-border)!important}#content-container .mermaid svg .nodeLabel,#content-container .mermaid svg .cluster-label,#content-container .mermaid svg .stateLabel text,#content-container .mermaid svg g.stateGroup text,#content-container .mermaid svg g.stateGroup .state-title,#content-container .mermaid svg .edgeLabel,#content-container .mermaid svg .edgeLabel text,#content-container .mermaid svg .edgeLabel p{color:var(--cadenya-mermaid-text)!important;fill:var(--cadenya-mermaid-text)!important}#content-container .mermaid svg .transition,#content-container .mermaid svg .flowchart-link,#content-container .mermaid svg .edgePath path,#content-container .mermaid svg g.stateGroup line{stroke:var(--cadenya-mermaid-edge)!important}#content-container .mermaid svg marker path,#content-container .mermaid svg .marker,#content-container .mermaid svg [id$=\"-barbEnd\"],#content-container .mermaid svg [id$=\"-dependencyStart\"],#content-container .mermaid svg [id$=\"-dependencyEnd\"]{fill:var(--cadenya-mermaid-edge)!important;stroke:var(--cadenya-mermaid-edge)!important}#content-container .mermaid svg .edgeLabel,#content-container .mermaid svg .edgeLabel p{background-color:var(--cadenya-mermaid-label)!important}#content-container .mermaid svg .edgeLabel rect,#content-container .mermaid svg .stateLabel .box{fill:var(--cadenya-mermaid-label)!important;opacity:1!important}#content-container .mermaid svg .node circle.state-start,#content-container .mermaid svg .node .fork-join{fill:var(--cadenya-mermaid-edge)!important;stroke:var(--cadenya-mermaid-edge)!important}#content-container .mermaid svg .node circle.state-end{fill:var(--cadenya-mermaid-border)!important;stroke:var(--cadenya-mermaid-node)!important}#content-container .mermaid svg .end-state-inner{fill:var(--cadenya-mermaid-node)!important}#content-container .mermaid svg rect.actor{fill:var(--cadenya-mermaid-node)!important;stroke:var(--cadenya-mermaid-border)!important}#content-container .mermaid svg text.actor,#content-container .mermaid svg text.actor>tspan,#content-container .mermaid svg .messageText,#content-container .mermaid svg .messageText>tspan,#content-container .mermaid svg .labelText,#content-container .mermaid svg .labelText>tspan,#content-container .mermaid svg .loopText,#content-container .mermaid svg .loopText>tspan,#content-container .mermaid svg .noteText,#content-container .mermaid svg .noteText>tspan{color:var(--cadenya-mermaid-text)!important;fill:var(--cadenya-mermaid-text)!important;stroke:none!important}#content-container .mermaid svg .actor-line,#content-container .mermaid svg .messageLine0,#content-container .mermaid svg .messageLine1,#content-container .mermaid svg .loopLine{stroke:var(--cadenya-mermaid-edge)!important}#content-container .mermaid svg .labelBox,#content-container .mermaid svg .note,#content-container .mermaid svg .activation0,#content-container .mermaid svg .activation1,#content-container .mermaid svg .activation2,#content-container .mermaid svg g rect.rect{fill:var(--cadenya-mermaid-label)!important;stroke:var(--cadenya-mermaid-border)!important}#content-container .mermaid svg [id$=\"-sequencenumber\"] circle{fill:var(--cadenya-mermaid-edge)!important;stroke:var(--cadenya-mermaid-edge)!important}#content-container .mermaid svg .sequenceNumber{fill:var(--cadenya-mermaid-label)!important;stroke:none!important}.max-w-8xl,#body-content{max-width:106rem!important}#content-container{max-width:86rem!important}"}],"page":{"pagePath":"api-reference/agentservice/list-agents","slug":"/api-reference/agentservice/list-agents","pageMetadata":{"title":"List agents","description":"Lists all agents in the workspace","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/agents","href":"/api-reference/agentservice/list-agents","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Lists all agents in the workspace\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List agents","description":"Lists all agents in the workspace","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/agents","href":"/api-reference/agentservice/list-agents","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["AgentService","Agents"],"summary":"List agents","description":"Lists all agents in the workspace","operationId":"AgentService_ListAgents","parameters":["8ec18ba3-746b-4243-ad5a-42b5e0e32474","3bfe66e7-1480-4272-9859-1244a409381c","4f1caee8-2484-42d6-a971-8667d4ec440c","5a50b8c5-4f32-4d93-840d-be6d83b6522a","c24fbdf8-6d8b-4aa4-ba26-642f5562e708","265ec676-100c-4783-ac07-aeb3725878de","de34fa12-ca30-41fd-ab8e-cdb89723d562","46420681-eadc-40bb-a609-5fd6b23c7d94","bc396e40-52e3-4099-b9ea-1402ee9fd455","10b44201-d1af-4fc6-bdb3-d6a8b28a4df4"],"responses":{"200":"35a5e205-5f18-4ef0-8ae8-41c7c3a1ef88","default":"bebf8e0b-1f63-4878-8a1f-9e932ec3122a"},"x-codeSamples":[{"lang":"typescript","label":"TypeScript","source":"import Cadenya from '@cadenya/cadenya';\n\nconst client = new Cadenya();\nconst page = await client.agents.list();\nfor await (const item of page) {\n console.log(item);\n}"},{"lang":"go","label":"Go","source":"package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\tcadenya \"go.cadenya.com/cadenya-go\"\n)\n\nfunc main() {\n\tclient, err := cadenya.NewClient()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tctx := context.Background()\n\tparams := \u0026cadenya.AgentListParams{}\n\tresult, err := client.Agents().List(ctx, params)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tfmt.Printf(\"%+v\\n\", result)\n}"},{"lang":"python","label":"Python","source":"from cadenya import Cadenya\n\nwith Cadenya() as client:\n for item in client.agents.list():\n print(item)"},{"lang":"ruby","label":"Ruby","source":"require \"cadenya\"\n\nclient = Cadenya::Client.new\nclient.agents.list().each do |item|\n puts item.inspect\nend"},{"lang":"bash","label":"CLI","source":"cadenya agents list"},{"lang":"shell","label":"curl","source":"curl --request GET \\\n --url 'https://api.cadenya.com/v1/workspaces/workspace_123/agents' \\\n --header \"Authorization: Bearer ${CADENYA_API_KEY}\""}],"method":"get","type":"path","servers":["a2273d97-7234-4afb-a819-e55eda5e09e0"],"security":["3ca901ac-a242-46fa-adfa-914f40bb8d0f"],"path":"/v1/workspaces/{workspaceId}/agents","baseUrlOptions":["https://api.cadenya.com"],"title":"List agents","codeSamples":[{"label":"TypeScript","lang":"typescript","source":"import Cadenya from '@cadenya/cadenya';\n\nconst client = new Cadenya();\nconst page = await client.agents.list();\nfor await (const item of page) {\n console.log(item);\n}"},{"label":"Go","lang":"go","source":"package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\tcadenya \"go.cadenya.com/cadenya-go\"\n)\n\nfunc main() {\n\tclient, err := cadenya.NewClient()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tctx := context.Background()\n\tparams := \u0026cadenya.AgentListParams{}\n\tresult, err := client.Agents().List(ctx, params)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tfmt.Printf(\"%+v\\n\", result)\n}"},{"label":"Python","lang":"python","source":"from cadenya import Cadenya\n\nwith Cadenya() as client:\n for item in client.agents.list():\n print(item)"},{"label":"Ruby","lang":"ruby","source":"require \"cadenya\"\n\nclient = Cadenya::Client.new\nclient.agents.list().each do |item|\n puts item.inspect\nend"},{"label":"CLI","lang":"bash","source":"cadenya agents list"},{"label":"curl","lang":"shell","source":"curl --request GET \\\n --url 'https://api.cadenya.com/v1/workspaces/workspace_123/agents' \\\n --header \"Authorization: Bearer ${CADENYA_API_KEY}\""}],"requestExampleLanguages":["bash","ruby","go","typescript","python"],"requiredOnlyExamples":false,"disableCodeSampleGeneration":true,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"8ec18ba3-746b-4243-ad5a-42b5e0e32474":{"name":"workspaceId","in":"path","description":"Workspace ID.","required":true,"schema":{"type":"string","example":"workspace_01HXKD2E5NQM3T9AYWCF133E3Q","isRequired":true,"description":"Workspace ID.","uniqueKey":"","typeLabel":"string"}},"3bfe66e7-1480-4272-9859-1244a409381c":{"name":"limit","in":"query","description":"Maximum number of results to return","schema":{"type":"integer","format":"int32","description":"Maximum number of results to return","uniqueKey":"","typeLabel":"integer\u003cint32>"}},"4f1caee8-2484-42d6-a971-8667d4ec440c":{"name":"cursor","in":"query","description":"Pagination cursor from previous response","schema":{"type":"string","description":"Pagination cursor from previous response","uniqueKey":"","typeLabel":"string"}},"5a50b8c5-4f32-4d93-840d-be6d83b6522a":{"name":"prefix","in":"query","description":"Filter expression (query param: prefix)","schema":{"type":"string","description":"Filter expression (query param: prefix)","uniqueKey":"","typeLabel":"string"}},"c24fbdf8-6d8b-4aa4-ba26-642f5562e708":{"name":"query","in":"query","description":"Free-form search query","schema":{"type":"string","description":"Free-form search query","uniqueKey":"","typeLabel":"string"}},"265ec676-100c-4783-ac07-aeb3725878de":{"name":"state","in":"query","description":"Filter by agent lifecycle state","schema":{"enum":["STATE_UNSPECIFIED","STATE_DRAFT","STATE_PUBLISHED","STATE_ARCHIVED"],"type":"string","format":"enum","description":"Filter by agent lifecycle state","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"de34fa12-ca30-41fd-ab8e-cdb89723d562":{"name":"variationSelectionMode","in":"query","description":"Filter by variation selection mode","schema":{"enum":["VARIATION_SELECTION_MODE_UNSPECIFIED","VARIATION_SELECTION_MODE_RANDOM","VARIATION_SELECTION_MODE_WEIGHTED"],"type":"string","format":"enum","description":"Filter by variation selection mode","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"46420681-eadc-40bb-a609-5fd6b23c7d94":{"name":"labels","in":"query","description":"Filters by metadata labels. Comma-separated key=value pairs,\n e.g. \"env=prod,team=ai\". A resource matches only if every pair\n matches exactly (AND semantics).","schema":{"type":"string","description":"Filters by metadata labels. Comma-separated key=value pairs,\n e.g. \"env=prod,team=ai\". A resource matches only if every pair\n matches exactly (AND semantics).","uniqueKey":"","typeLabel":"string"}},"bc396e40-52e3-4099-b9ea-1402ee9fd455":{"name":"sortOrder","in":"query","description":"Sort order for results (asc or desc by creation time)","schema":{"type":"string","description":"Sort order for results (asc or desc by creation time)","uniqueKey":"","typeLabel":"string"}},"10b44201-d1af-4fc6-bdb3-d6a8b28a4df4":{"name":"includeInfo","in":"query","description":"When true, the `info` field on each returned agent is populated. Requests\n with this flag count more against your rate limit.","schema":{"type":"boolean","description":"When true, the `info` field on each returned agent is populated. Requests\n with this flag count more against your rate limit.","uniqueKey":"","typeLabel":"boolean"}}},"responses":{"35a5e205-5f18-4ef0-8ae8-41c7c3a1ef88":{"description":"OK","content":{"application/json":{"schema":{"required":["items"],"type":"object","properties":{"items":{"type":"array","items":{"required":["metadata","spec","state","info"],"type":"object","properties":{"metadata":{"type":"object","description":"Resource metadata","required":["id","accountId","workspaceId","name","profileId","createdAt","externalId","labels"],"properties":{"id":{"readOnly":true,"type":"string","description":"Unique identifier for the resource (prefixed ULID, e.g., \"agent_01HXK...\")","isRequired":true,"uniqueKey":"\\items.items.[INDEX].metadata.id","typeLabel":"string"},"accountId":{"readOnly":true,"example":"account_01HXKD2E5NQM3T9AYWCFTJHJVF","type":"string","description":"Account this resource belongs to for multi-tenant isolation (prefixed ULID)","isRequired":true,"uniqueKey":"\\items.items.[INDEX].metadata.accountId","typeLabel":"string"},"workspaceId":{"readOnly":true,"example":"workspace_01HXKD2E5NQM3T9AYWCF133E3Q","type":"string","description":"Workspace this resource belongs to for organizational grouping (prefixed ULID)","isRequired":true,"uniqueKey":"\\items.items.[INDEX].metadata.workspaceId","typeLabel":"string"},"name":{"type":"string","description":"Human-readable name for the resource (e.g., \"Customer Support Agent\", \"Email Tool\")\n Required for resources that users interact with directly","isRequired":true,"uniqueKey":"\\items.items.[INDEX].metadata.name","typeLabel":"string"},"externalId":{"type":"string","description":"External ID for the resource (e.g., a workflow ID from an external system)","isRequired":true,"uniqueKey":"\\items.items.[INDEX].metadata.externalId","typeLabel":"string"},"labels":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"\\items.items.[INDEX].metadata.labels.additionalProperties","typeLabel":"string"},"description":"Key-value pairs for categorization and filtering. Values are 0-63\n alphanumeric characters with \"-\", \"_\", or \".\" allowed between; keys\n follow the same shape and additionally accept an optional DNS-subdomain\n prefix (e.g. \"cadenya.com/\") of at most 253 characters.\n Examples: {\"environment\": \"production\", \"team\": \"platform\", \"version\": \"v2\"}","isRequired":true,"uniqueKey":"\\items.items.[INDEX].metadata.labels","typeLabel":"object"},"profileId":{"readOnly":true,"example":"profile_01HXKD2E5NQM3T9AYWCFS0AP08","type":"string","description":"ID of the actor (user or service account) that created this resource","isRequired":true,"uniqueKey":"\\items.items.[INDEX].metadata.profileId","typeLabel":"string"},"createdAt":{"readOnly":true,"type":"string","description":"Timestamp when this resource was created","format":"date-time","isRequired":true,"uniqueKey":"\\items.items.[INDEX].metadata.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"readOnly":true,"type":"string","description":"Timestamp when this resource was last updated","format":"date-time","uniqueKey":"\\items.items.[INDEX].metadata.updatedAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"\\items.items.[INDEX].metadata","typeLabel":"object"},"spec":{"type":"object","description":"Agent specification","properties":{"description":{"type":"string","description":"Description of the agent's purpose","uniqueKey":"\\items.items.[INDEX].spec.description","typeLabel":"string"},"webhookEventsUrl":{"type":"string","description":"The URL that Cadenya will send events for any objective assigned to the agent.","uniqueKey":"\\items.items.[INDEX].spec.webhookEventsUrl","typeLabel":"string"},"variationSelectionMode":{"enum":["VARIATION_SELECTION_MODE_UNSPECIFIED","VARIATION_SELECTION_MODE_RANDOM","VARIATION_SELECTION_MODE_WEIGHTED"],"type":"string","description":"Controls how variations are automatically selected when creating objectives\n Defaults to WEIGHTED when unspecified","format":"enum","uniqueKey":"\\items.items.[INDEX].spec.variationSelectionMode","typeLabel":"enum\u003cstring>"},"systemPromptDataSchema":{"type":"object","additionalProperties":true,"description":"SystemPromptDataSchema enforces the shape of system_prompt_data when objectives are created. This is valuable when using liquid formatting in agent\n variation system prompt templates. The schema is also used when the agent is attached as a sub-agent, as it becomes the tool's input parameter schema.\n If omitted, the sub-agent schema will be loaded with a simple \"prompt\" free text string as its schema.","uniqueKey":"\\items.items.[INDEX].spec.systemPromptDataSchema","typeLabel":"object"},"outputDefinition":{"type":"object","additionalProperties":true,"description":"Optional output definition for objectives created for this agent.\n When provided, Cadenya will append a tool to that will be called by the LLM in use by the variant to extract information in the format provided here.\n Use this option when you want structured data to be created by your objectives.","uniqueKey":"\\items.items.[INDEX].spec.outputDefinition","typeLabel":"object"},"enableEpisodicMemory":{"type":"boolean","description":"Enable episodic memory for objectives created for this agent.\n When true, objective creation requires an episodic_memory key (unless\n always_include_subject_memories covers it) and the system finds or creates\n a memory layer for that (agent, tenant, subject, key), letting the agent\n store and retrieve memories across objectives that share them.\n Memory is agent-level so all variations of the agent share the same layers.","uniqueKey":"\\items.items.[INDEX].spec.enableEpisodicMemory","typeLabel":"boolean"},"episodicMemoryTtl":{"example":"604800s","pattern":"^-?(?:0|[1-9][0-9]{0,11})(?:\\.[0-9]{1,9})?s$","type":"string","description":"How long episodic memories should be retained.\n Each new objective slides the layer's expiry forward by this duration, and\n stored entries expire this long after they are written.\n If not set, episodic memories are retained indefinitely.\n A duration string in seconds, such as \"604800s\".","uniqueKey":"\\items.items.[INDEX].spec.episodicMemoryTtl","typeLabel":"string"},"alwaysIncludeSubjectMemories":{"type":"boolean","description":"Always load the asserted subject's memories. Requires\n enable_episodic_memory. When an objective asserts a subject:\n\n * Every memory layer scoped to that subject loads into the cascade,\n followed by the tenant's layers that have no subject (tenant-wide\n defaults). They rank below the objective's own memory_cascade\n references and above the variation's layers.\n * The episodic_memory key becomes optional. Without one, the agent stores\n memories in a system-managed episodic layer for (agent, tenant, subject),\n so it remembers the person across objectives with no key from the\n caller. With one, the keyed layer receives writes and the subject's\n other layers, including that keyless one, still load beneath it.","uniqueKey":"\\items.items.[INDEX].spec.alwaysIncludeSubjectMemories","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"\\items.items.[INDEX].spec","typeLabel":"object"},"info":{"type":"object","description":"Agent information","required":["variationCount"],"properties":{"variationCount":{"readOnly":true,"type":"integer","format":"int32","isRequired":true,"uniqueKey":"\\items.items.[INDEX].info.variationCount","typeLabel":"integer\u003cint32>"},"createdBy":{"required":["metadata","spec"],"type":"object","properties":{"metadata":{"required":["id","accountId","name","profileId","externalId","labels"],"type":"object","properties":{"id":{"readOnly":true,"type":"string","description":"Unique identifier for the resource (prefixed ULID, e.g., \"apikey_01HXK...\")","isRequired":true,"uniqueKey":"\\items.items.[INDEX].info.createdBy.metadata.id","typeLabel":"string"},"accountId":{"readOnly":true,"example":"account_01HXKD2E5NQM3T9AYWCFTJHJVF","type":"string","description":"Account this resource belongs to for multi-tenant isolation (prefixed ULID)","isRequired":true,"uniqueKey":"\\items.items.[INDEX].info.createdBy.metadata.accountId","typeLabel":"string"},"name":{"type":"string","description":"Human-readable name for the resource (e.g., \"Customer Support Agent\", \"Email Tool\")\n Required for resources that users interact with directly","isRequired":true,"uniqueKey":"\\items.items.[INDEX].info.createdBy.metadata.name","typeLabel":"string"},"externalId":{"type":"string","description":"External ID for the resource (e.g., a workflow ID from an external system)","isRequired":true,"uniqueKey":"\\items.items.[INDEX].info.createdBy.metadata.externalId","typeLabel":"string"},"labels":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"\\items.items.[INDEX].info.createdBy.metadata.labels.additionalProperties","typeLabel":"string"},"description":"Key-value pairs for categorization and filtering. Values are 0-63\n alphanumeric characters with \"-\", \"_\", or \".\" allowed between; keys\n follow the same shape and additionally accept an optional DNS-subdomain\n prefix (e.g. \"cadenya.com/\") of at most 253 characters.\n Examples: {\"environment\": \"production\", \"team\": \"platform\", \"version\": \"v2\"}","isRequired":true,"uniqueKey":"\\items.items.[INDEX].info.createdBy.metadata.labels","typeLabel":"object"},"profileId":{"readOnly":true,"example":"profile_01HXKD2E5NQM3T9AYWCFS0AP08","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].info.createdBy.metadata.profileId","typeLabel":"string"},"createdAt":{"readOnly":true,"type":"string","format":"date-time","uniqueKey":"\\items.items.[INDEX].info.createdBy.metadata.createdAt","typeLabel":"string\u003cdate-time>"}},"description":"AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].info.createdBy.metadata","typeLabel":"object"},"spec":{"required":["type","email","name"],"type":"object","properties":{"email":{"type":"string","description":"Email address of the profile. Required and unique within an account for\n user profiles.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].info.createdBy.spec.email","typeLabel":"string"},"name":{"type":"string","description":"Display name (e.g., \"Bobby Tables\").","isRequired":true,"uniqueKey":"\\items.items.[INDEX].info.createdBy.spec.name","typeLabel":"string"},"type":{"enum":["PROFILE_TYPE_UNSPECIFIED","PROFILE_TYPE_USER","PROFILE_TYPE_API_KEY","PROFILE_TYPE_SYSTEM"],"type":"string","description":"Whether this profile represents a human user, an API key, or a system\n principal.","format":"enum","isRequired":true,"uniqueKey":"\\items.items.[INDEX].info.createdBy.spec.type","typeLabel":"enum\u003cstring>"}},"description":"Configuration for a profile.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].info.createdBy.spec","typeLabel":"object"}},"description":"A profile identifies a user or non-human principal (such as an API key)\n at the account level. Profiles are account-scoped and can be granted access\n to multiple workspaces.","uniqueKey":"\\items.items.[INDEX].info.createdBy","typeLabel":"object"}},"isRequired":true,"uniqueKey":"\\items.items.[INDEX].info","typeLabel":"object"},"state":{"readOnly":true,"enum":["STATE_UNSPECIFIED","STATE_DRAFT","STATE_PUBLISHED","STATE_ARCHIVED"],"type":"string","description":"The current lifecycle state of the agent. Output only. Agents are created\n in STATE_DRAFT; use the :publish, :unpublish, :archive, and :unarchive\n actions to transition between states.","format":"enum","isRequired":true,"uniqueKey":"\\items.items.[INDEX].state","typeLabel":"enum\u003cstring>"}},"description":"Agent resource","uniqueKey":"\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"\\items","typeLabel":"object[]"},"pagination":{"required":["nextCursor"],"type":"object","properties":{"nextCursor":{"type":"string","isRequired":true,"uniqueKey":"pagination.nextCursor","typeLabel":"string"}},"description":"Page carries cursor-based pagination state. There is no total: the cursor\n walks the result set without ever counting it, and a count would cost a second\n query on every list.","uniqueKey":"pagination","typeLabel":"object"}},"description":"List agents response","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"items":[{"metadata":{"id":"\u003cstring>","accountId":"account_01HXKD2E5NQM3T9AYWCFTJHJVF","workspaceId":"workspace_01HXKD2E5NQM3T9AYWCF133E3Q","name":"\u003cstring>","externalId":"\u003cstring>","labels":{},"profileId":"profile_01HXKD2E5NQM3T9AYWCFS0AP08","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"spec":{"description":"\u003cstring>","webhookEventsUrl":"\u003cstring>","variationSelectionMode":"VARIATION_SELECTION_MODE_UNSPECIFIED","systemPromptDataSchema":{},"outputDefinition":{},"enableEpisodicMemory":true,"episodicMemoryTtl":"604800s","alwaysIncludeSubjectMemories":true},"info":{"variationCount":123,"createdBy":{"metadata":{"id":"\u003cstring>","accountId":"account_01HXKD2E5NQM3T9AYWCFTJHJVF","name":"\u003cstring>","externalId":"\u003cstring>","labels":{},"profileId":"profile_01HXKD2E5NQM3T9AYWCFS0AP08","createdAt":"2023-11-07T05:31:56Z"},"spec":{"email":"\u003cstring>","name":"\u003cstring>","type":"PROFILE_TYPE_UNSPECIFIED"}}},"state":"STATE_UNSPECIFIED"}],"pagination":{"nextCursor":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"bebf8e0b-1f63-4878-8a1f-9e932ec3122a":{"description":"Default error response","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].","format":"int32","uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","description":"A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"oneOf":[{"type":"object","description":"google.rpc.ErrorInfo detail for widget lifecycle failures. Match both domain and reason; ignore unknown reasons rather than renewing automatically.","required":["@type","domain","reason"],"properties":{"@type":{"type":"string","enum":["type.googleapis.com/google.rpc.ErrorInfo"],"isRequired":true,"uniqueKey":"details.items.[INDEX].oneOf.0.@type","typeLabel":"enum\u003cstring>"},"domain":{"type":"string","enum":["api.cadenya.com"],"isRequired":true,"uniqueKey":"details.items.[INDEX].oneOf.0.domain","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"TOKEN_EXPIRED identifies access-token expiry beyond the 60-second clock-skew tolerance. That token cannot renew; use already-installed newer credentials or require explicit app reauthentication. SESSION_* reasons are terminal. Never infer renewability from HTTP status alone.","enum":["TOKEN_EXPIRED","SESSION_REVOKED","SESSION_EXPIRED","SESSION_EXHAUSTED"],"isRequired":true,"uniqueKey":"details.items.[INDEX].oneOf.0.reason","typeLabel":"enum\u003cstring>"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"details.items.[INDEX].oneOf.0.metadata.additionalProperties","typeLabel":"string"},"description":"Optional non-sensitive context. Never contains tokens or secrets.","uniqueKey":"details.items.[INDEX].oneOf.0.metadata","typeLabel":"object"}},"uniqueKey":"details.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.","properties":{"@type":{"type":"string","description":"The type of the serialized message.","uniqueKey":"details.items.[INDEX].oneOf.1.@type","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"details.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"description":"A list of messages that carry the error details. There is a common set of message types for APIs to use.","uniqueKey":"details","typeLabel":"object[]"}},"description":"The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","domain":"api.cadenya.com","reason":"TOKEN_EXPIRED","metadata":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3ca901ac-a242-46fa-adfa-914f40bb8d0f":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"a2273d97-7234-4afb-a819-e55eda5e09e0":{"url":"https://api.cadenya.com","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://openapi.cadenya.com/api-spec.yml"},"subdomain":"cadenya","siteName":"Cadenya","title":"List agents - Cadenya","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-15T18:49:54.072Z","originalFileLocation":"api-reference/agentservice/list-agents.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Lists all agents in the workspace\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cadenya\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_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=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List agents - Cadenya\">\u003cmeta data-mint-head property=\"og:description\" content=\"Lists all agents in the workspace\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cadenya\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://cadenya.com/docs/api-reference/agentservice/list-agents\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cadenya.mintlify.site/docs/_mintlify/api/og/v2?division=Agents\u0026amp;title=List+agents\u0026amp;description=Lists+all+agents+in+the+workspace\u0026amp;theme=5f66039c69522c5b0d37ea0d\u0026amp;signature=6a4681a7b01b795f175e21cc5ec3a91e8ffa60c2d07eddf349f3596fcfde0364\">\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=\"List agents - Cadenya\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Lists all agents in the workspace\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cadenya.mintlify.site/docs/_mintlify/api/og/v2?division=Agents\u0026amp;title=List+agents\u0026amp;description=Lists+all+agents+in+the+workspace\u0026amp;theme=5f66039c69522c5b0d37ea0d\u0026amp;signature=6a4681a7b01b795f175e21cc5ec3a91e8ffa60c2d07eddf349f3596fcfde0364\">\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=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cadenya\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#165B41\">\u003clink data-mint-head rel=\"canonical\" href=\"https://cadenya.com/docs/api-reference/agentservice/list-agents\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/agentservice/list-agents.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://cadenya.com/#organization\",\"name\":\"Cadenya\",\"url\":\"https://cadenya.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cadenya/jC_UqeyZ_EgHWKnX/logo/light.svg?fit=max\u0026auto=format\u0026n=jC_UqeyZ_EgHWKnX\u0026q=85\u0026s=163995d0cd296848f58b95d41cfbb847\"}},{\"@type\":\"WebSite\",\"@id\":\"https://cadenya.com/docs#website\",\"name\":\"Cadenya\",\"url\":\"https://cadenya.com/docs\",\"publisher\":{\"@id\":\"https://cadenya.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://cadenya.com/docs/api-reference/agentservice/list-agents#webpage\",\"url\":\"https://cadenya.com/docs/api-reference/agentservice/list-agents\",\"name\":\"List agents\",\"description\":\"Lists all agents in the workspace\",\"dateModified\":\"2026-11-15T18:49:54.072Z\",\"isPartOf\":{\"@id\":\"https://cadenya.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://cadenya.com/docs/api-reference/agentservice/list-agents#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://cadenya.com/docs/api-reference/agentservice/list-agents#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Cadenya\",\"item\":\"https://cadenya.com/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List agents\",\"item\":\"https://cadenya.com/docs/api-reference/agentservice/list-agents\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://cadenya.com/docs/api-reference/agentservice/list-agents#apireference\",\"headline\":\"List agents\",\"name\":\"List agents\",\"description\":\"Lists all agents in the workspace\",\"url\":\"https://cadenya.com/docs/api-reference/agentservice/list-agents\",\"mainEntityOfPage\":{\"@id\":\"https://cadenya.com/docs/api-reference/agentservice/list-agents#webpage\"},\"dateModified\":\"2026-11-15T18:49:54.072Z\",\"publisher\":{\"@id\":\"https://cadenya.com/#organization\"},\"isPartOf\":{\"@id\":\"https://cadenya.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cadenya\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cadenya\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/agentservice/list-agents.md","siteName":"Cadenya","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/setup-from-a-coding-agent"}]},{"tab":"API Reference","icon":"brackets-curly","groups":[{"group":"Overview","pages":[{"title":"API reference","href":"/api-reference"}]},{"group":"Tool Sets","pages":[{"title":"List tool sets","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/tool_sets","href":"/api-reference/toolservice/list-tool-sets"},{"title":"Create a new tool set","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/tool_sets","href":"/api-reference/toolservice/create-a-new-tool-set"},{"title":"Get a tool set by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/tool_sets/{id}","href":"/api-reference/toolservice/get-a-tool-set-by-id"},{"title":"Update a tool set","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml patch /v1/workspaces/{workspaceId}/tool_sets/{id}","href":"/api-reference/toolservice/update-a-tool-set"},{"title":"Delete a tool set","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/workspaces/{workspaceId}/tool_sets/{id}","href":"/api-reference/toolservice/delete-a-tool-set"},{"title":"Archive a tool set","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/tool_sets/{id}:archive","href":"/api-reference/toolservice/archive-a-tool-set"},{"title":"Unarchive a tool set","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/tool_sets/{id}:unarchive","href":"/api-reference/toolservice/unarchive-a-tool-set"},{"title":"List tool set events","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/events","href":"/api-reference/toolservice/list-tool-set-events"},{"title":"Get consumed OpenAPI spec","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/openapi_spec","href":"/api-reference/toolservice/get-consumed-openapi-spec"},{"title":"List tool set usage","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/usage","href":"/api-reference/toolservice/list-tool-set-usage"}]},{"group":"Tools","pages":[{"title":"List tools","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/tools","href":"/api-reference/toolservice/list-tools"},{"title":"Create a new tool","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/tools","href":"/api-reference/toolservice/create-a-new-tool"},{"title":"Get a tool by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/tools/{id}","href":"/api-reference/toolservice/get-a-tool-by-id"},{"title":"Update a tool","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml patch /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/tools/{id}","href":"/api-reference/toolservice/update-a-tool"},{"title":"Delete a tool","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/tools/{id}","href":"/api-reference/toolservice/delete-a-tool"},{"title":"Omit a tool","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/tools/{id}:omit","href":"/api-reference/toolservice/omit-a-tool"},{"title":"Restore a tool","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/tools/{id}:restore","href":"/api-reference/toolservice/restore-a-tool"},{"title":"Search for tools or tool sets","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/search/tools_or_tool_sets","href":"/api-reference/searchservice/search-for-tools-or-tool-sets"}]},{"group":"Tool Set Secrets","pages":[{"title":"List tool set secrets","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/secrets","href":"/api-reference/toolservice/list-tool-set-secrets"},{"title":"Create a new tool set secret","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/secrets","href":"/api-reference/toolservice/create-a-new-tool-set-secret"},{"title":"Get a tool set secret by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/secrets/{id}","href":"/api-reference/toolservice/get-a-tool-set-secret-by-id"},{"title":"Update a tool set secret","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml patch /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/secrets/{id}","href":"/api-reference/toolservice/update-a-tool-set-secret"},{"title":"Delete a tool set secret","description":"Deletes a secret scoped to the tool set","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/secrets/{id}","href":"/api-reference/toolservice/delete-a-tool-set-secret"}]},{"group":"Agents","pages":[{"title":"List agents","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/agents","href":"/api-reference/agentservice/list-agents"},{"title":"Create a new agent","description":"Creates a new agent in the workspace","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/agents","href":"/api-reference/agentservice/create-a-new-agent"},{"title":"List feedback for an agent","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/agents/{agentId}/feedback","href":"/api-reference/agentservice/list-feedback-for-an-agent"},{"title":"List webhook deliveries","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/agents/{agentId}/webhook_deliveries","href":"/api-reference/agentservice/list-webhook-deliveries"},{"title":"Get an agent by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/agents/{id}","href":"/api-reference/agentservice/get-an-agent-by-id"},{"title":"Delete an agent","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/workspaces/{workspaceId}/agents/{id}","href":"/api-reference/agentservice/delete-an-agent"},{"title":"Update an agent","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml patch /v1/workspaces/{workspaceId}/agents/{id}","href":"/api-reference/agentservice/update-an-agent"},{"title":"Publish an agent","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/agents/{id}:publish","href":"/api-reference/agentservice/publish-an-agent"},{"title":"Unpublish an agent","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/agents/{id}:unpublish","href":"/api-reference/agentservice/unpublish-an-agent"},{"title":"Archive an agent","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/agents/{id}:archive","href":"/api-reference/agentservice/archive-an-agent"},{"title":"Unarchive an agent","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/agents/{id}:unarchive","href":"/api-reference/agentservice/unarchive-an-agent"}]},{"group":"Agent Variations","pages":[{"title":"List variations","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/agents/{agentId}/variations","href":"/api-reference/agentvariationservice/list-variations"},{"title":"Create a new variation","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/agents/{agentId}/variations","href":"/api-reference/agentvariationservice/create-a-new-variation"},{"title":"Get a variation by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/agents/{agentId}/variations/{id}","href":"/api-reference/agentvariationservice/get-a-variation-by-id"},{"title":"Delete a variation","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/workspaces/{workspaceId}/agents/{agentId}/variations/{id}","href":"/api-reference/agentvariationservice/delete-a-variation"},{"title":"Update a variation","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml patch /v1/workspaces/{workspaceId}/agents/{agentId}/variations/{id}","href":"/api-reference/agentvariationservice/update-a-variation"},{"title":"Add an assignment to a variation","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/agents/{agentId}/variations/{variationId}:addAssignment","href":"/api-reference/agentvariationservice/add-an-assignment-to-a-variation"},{"title":"Remove an assignment from a variation","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/agents/{agentId}/variations/{variationId}:removeAssignment","href":"/api-reference/agentvariationservice/remove-an-assignment-from-a-variation"},{"title":"Attach a memory layer to a variation","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/agents/{agentId}/variations/{variationId}:addMemoryLayer","href":"/api-reference/agentvariationservice/attach-a-memory-layer-to-a-variation"},{"title":"Remove a memory layer assignment from a variation","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/agents/{agentId}/variations/{variationId}:removeMemoryLayer","href":"/api-reference/agentvariationservice/remove-a-memory-layer-assignment-from-a-variation"},{"title":"Update a variation's memory layer assignment","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/agents/{agentId}/variations/{variationId}:updateMemoryLayer","href":"/api-reference/agentvariationservice/update-a-variations-memory-layer-assignment"}]},{"group":"Agent Schedules","pages":[{"title":"List schedules","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/agents/{agentId}/schedules","href":"/api-reference/agentscheduleservice/list-schedules"},{"title":"Create a new schedule","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/agents/{agentId}/schedules","href":"/api-reference/agentscheduleservice/create-a-new-schedule"},{"title":"Get a schedule by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/agents/{agentId}/schedules/{id}","href":"/api-reference/agentscheduleservice/get-a-schedule-by-id"},{"title":"Delete a schedule","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/workspaces/{workspaceId}/agents/{agentId}/schedules/{id}","href":"/api-reference/agentscheduleservice/delete-a-schedule"},{"title":"Update a schedule","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml patch /v1/workspaces/{workspaceId}/agents/{agentId}/schedules/{id}","href":"/api-reference/agentscheduleservice/update-a-schedule"},{"title":"Pause a schedule","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/agents/{agentId}/schedules/{id}:pause","href":"/api-reference/agentscheduleservice/pause-a-schedule"},{"title":"Resume a schedule","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/agents/{agentId}/schedules/{id}:resume","href":"/api-reference/agentscheduleservice/resume-a-schedule"},{"title":"Archive a schedule","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/agents/{agentId}/schedules/{id}:archive","href":"/api-reference/agentscheduleservice/archive-a-schedule"}]},{"group":"Objectives","pages":[{"title":"List objectives","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/objectives","href":"/api-reference/objectiveservice/list-objectives"},{"title":"Create a new objective","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/objectives","href":"/api-reference/objectiveservice/create-a-new-objective"},{"title":"Create an objective and stream its events","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/objectives:stream","href":"/api-reference/objectiveeventstreamsservice/create-an-objective-and-stream-its-events"},{"title":"Get an objective by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/objectives/{id}","href":"/api-reference/objectiveservice/get-an-objective-by-id"},{"title":"Cancel an objective","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/objectives/{objectiveId}:cancel","href":"/api-reference/objectiveservice/cancel-an-objective"},{"title":"Compact an objective","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/objectives/{objectiveId}:compact","href":"/api-reference/objectiveservice/compact-an-objective"},{"title":"List objective context windows","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/objectives/{objectiveId}/context_windows","href":"/api-reference/objectiveservice/list-objective-context-windows"},{"title":"Continue an objective","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/objectives/{objectiveId}:continue","href":"/api-reference/objectiveservice/continue-an-objective"},{"title":"List objective events","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/objectives/{objectiveId}/events","href":"/api-reference/objectiveservice/list-objective-events"},{"title":"Stream objective events","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/objectives/{objectiveId}/events:stream","href":"/api-reference/objectiveeventstreamsservice/stream-objective-events"},{"title":"Get objective context usage","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/objectives/{objectiveId}/diagnostics","href":"/api-reference/objectiveservice/get-objective-context-usage"},{"title":"List feedback for an objective","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/objectives/{objectiveId}/feedback","href":"/api-reference/objectiveservice/list-feedback-for-an-objective"},{"title":"Submit feedback for an objective","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/objectives/{objectiveId}/feedback","href":"/api-reference/objectiveservice/submit-feedback-for-an-objective"},{"title":"List objective tool calls","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/objectives/{objectiveId}/tool_calls","href":"/api-reference/objectiveservice/list-objective-tool-calls"},{"title":"Get an objective tool call by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/objectives/{objectiveId}/tool_calls/{toolCallId}","href":"/api-reference/objectiveservice/get-an-objective-tool-call-by-id"},{"title":"Approve a tool call","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/objectives/{objectiveId}/tool_calls/{toolCallId}:approve","href":"/api-reference/objectiveservice/approve-a-tool-call"},{"title":"Deny a tool call","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/objectives/{objectiveId}/tool_calls/{toolCallId}:deny","href":"/api-reference/objectiveservice/deny-a-tool-call"},{"title":"Set a bare tool call's content","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/objectives/{objectiveId}/tool_calls/{toolCallId}:setContent","href":"/api-reference/objectiveservice/set-a-bare-tool-calls-content"},{"title":"List objective tools","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/objectives/{objectiveId}/tools","href":"/api-reference/objectiveservice/list-objective-tools"}]},{"group":"Widgets","pages":[{"title":"List widgets","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/widgets","href":"/api-reference/widgetservice/list-widgets"},{"title":"Create a new widget","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/widgets","href":"/api-reference/widgetservice/create-a-new-widget"},{"title":"Get a widget by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/widgets/{id}","href":"/api-reference/widgetservice/get-a-widget-by-id"},{"title":"Update a widget","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml patch /v1/workspaces/{workspaceId}/widgets/{id}","href":"/api-reference/widgetservice/update-a-widget"},{"title":"Delete a widget","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/workspaces/{workspaceId}/widgets/{id}","href":"/api-reference/widgetservice/delete-a-widget"},{"title":"Archive a widget","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/widgets/{id}:archive","href":"/api-reference/widgetservice/archive-a-widget"},{"title":"Unarchive a widget","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/widgets/{id}:unarchive","href":"/api-reference/widgetservice/unarchive-a-widget"}]},{"group":"Widget Sessions","pages":[{"title":"List widget sessions","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/widget_sessions","href":"/api-reference/widgetsessionservice/list-widget-sessions"},{"title":"Create a widget session","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/widget_sessions","href":"/api-reference/widgetsessionservice/create-a-widget-session"},{"title":"Get a widget session by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/widget_sessions/{id}","href":"/api-reference/widgetsessionservice/get-a-widget-session-by-id"},{"title":"Revoke a widget session","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/widget_sessions/{id}:revoke","href":"/api-reference/widgetsessionservice/revoke-a-widget-session"},{"title":"Delete a widget session","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/workspaces/{workspaceId}/widget_sessions/{id}","href":"/api-reference/widgetsessionservice/delete-a-widget-session"},{"title":"Delete all of a tenant's widget sessions","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/workspaces/{workspaceId}/widget_sessions","href":"/api-reference/widgetsessionservice/delete-all-of-a-tenants-widget-sessions"}]},{"group":"Tenants","pages":[{"title":"List tenants","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/tenants","href":"/api-reference/tenantservice/list-tenants"},{"title":"Get a tenant by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/tenants/{id}","href":"/api-reference/tenantservice/get-a-tenant-by-id"},{"title":"List a tenant's subjects","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/tenants/{tenantId}/subjects","href":"/api-reference/tenantservice/list-a-tenants-subjects"},{"title":"Erase a tenant","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/workspaces/{workspaceId}/tenants/{id}","href":"/api-reference/tenantservice/erase-a-tenant"}]},{"group":"Memory Layers","pages":[{"title":"List memory layers","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/memory_layers","href":"/api-reference/memoryservice/list-memory-layers"},{"title":"Create a new memory layer","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/memory_layers","href":"/api-reference/memoryservice/create-a-new-memory-layer"},{"title":"Get a memory layer by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/memory_layers/{id}","href":"/api-reference/memoryservice/get-a-memory-layer-by-id"},{"title":"Delete a memory layer","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/workspaces/{workspaceId}/memory_layers/{id}","href":"/api-reference/memoryservice/delete-a-memory-layer"},{"title":"Update a memory layer","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml patch /v1/workspaces/{workspaceId}/memory_layers/{id}","href":"/api-reference/memoryservice/update-a-memory-layer"}]},{"group":"Memory Entries","pages":[{"title":"List memory entries","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/memory_layers/{memoryLayerId}/entries","href":"/api-reference/memoryservice/list-memory-entries"},{"title":"Create a new memory entry","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/memory_layers/{memoryLayerId}/entries","href":"/api-reference/memoryservice/create-a-new-memory-entry"},{"title":"Get a memory entry by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/memory_layers/{memoryLayerId}/entries/{id}","href":"/api-reference/memoryservice/get-a-memory-entry-by-id"},{"title":"Delete a memory entry","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/workspaces/{workspaceId}/memory_layers/{memoryLayerId}/entries/{id}","href":"/api-reference/memoryservice/delete-a-memory-entry"},{"title":"Update a memory entry","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml patch /v1/workspaces/{workspaceId}/memory_layers/{memoryLayerId}/entries/{id}","href":"/api-reference/memoryservice/update-a-memory-entry"}]},{"group":"Models","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/models","href":"/api-reference/modelservice/list-models"},{"title":"Get a model by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/models/{id}","href":"/api-reference/modelservice/get-a-model-by-id"},{"title":"Enable a model","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/models/{id}:enable","href":"/api-reference/modelservice/enable-a-model"},{"title":"Disable a model","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/models/{id}:disable","href":"/api-reference/modelservice/disable-a-model"},{"title":"Swap models on agent variations","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/models:swapModelOnVariations","href":"/api-reference/modelservice/swap-models-on-agent-variations"}]},{"group":"Uploads","pages":[{"title":"Create an upload","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/uploads","href":"/api-reference/uploadservice/create-an-upload"},{"title":"Get an upload by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/uploads/{id}","href":"/api-reference/uploadservice/get-an-upload-by-id"}]},{"group":"Workspaces","pages":[{"title":"List workspaces","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces","href":"/api-reference/workspaceservice/list-workspaces"}]},{"group":"Workspace Secrets","pages":[{"title":"List workspace secrets","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/workspace_secrets","href":"/api-reference/workspacesecretservice/list-workspace-secrets"},{"title":"Create a new workspace secret","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/workspace_secrets","href":"/api-reference/workspacesecretservice/create-a-new-workspace-secret"},{"title":"Get a workspace secret by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/workspace_secrets/{id}","href":"/api-reference/workspacesecretservice/get-a-workspace-secret-by-id"},{"title":"Delete a workspace secret","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/workspaces/{workspaceId}/workspace_secrets/{id}","href":"/api-reference/workspacesecretservice/delete-a-workspace-secret"},{"title":"Update a workspace secret","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml patch /v1/workspaces/{workspaceId}/workspace_secrets/{id}","href":"/api-reference/workspacesecretservice/update-a-workspace-secret"}]},{"group":"Workspace Admin","pages":[{"title":"Search account profiles","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/account/profiles","href":"/api-reference/workspaceadminservice/search-account-profiles"},{"title":"List all workspaces in the account","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/account/workspaces","href":"/api-reference/workspaceadminservice/list-all-workspaces-in-the-account"},{"title":"Create a workspace","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/account/workspaces","href":"/api-reference/workspaceadminservice/create-a-workspace"},{"title":"Get a workspace by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/account/workspaces/{workspaceId}","href":"/api-reference/workspaceadminservice/get-a-workspace-by-id"},{"title":"Archive a workspace","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/account/workspaces/{workspaceId}","href":"/api-reference/workspaceadminservice/archive-a-workspace"},{"title":"Update a workspace","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml patch /v1/account/workspaces/{workspaceId}","href":"/api-reference/workspaceadminservice/update-a-workspace"},{"title":"List workspace members","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/account/workspaces/{workspaceId}/members","href":"/api-reference/workspaceadminservice/list-workspace-members"},{"title":"Add a member to a workspace","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/account/workspaces/{workspaceId}/members","href":"/api-reference/workspaceadminservice/add-a-member-to-a-workspace"},{"title":"Remove a member from a workspace","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/account/workspaces/{workspaceId}/members/{profileId}","href":"/api-reference/workspaceadminservice/remove-a-member-from-a-workspace"}]},{"group":"Accounts","pages":[{"title":"Retrieves the current account for the token accessing the API","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/account","href":"/api-reference/accountservice/retrieves-the-current-account-for-the-token-accessing-the-api"},{"title":"Retrieves the profile for the credentials accessing the API","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/whoami","href":"/api-reference/profilesservice/retrieves-the-profile-for-the-credentials-accessing-the-api"},{"title":"Rotates the webhook signing key for the account","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/account:rotateWebhookSigningKey","href":"/api-reference/accountservice/rotates-the-webhook-signing-key-for-the-account"},{"title":"Rotates the challenge token for the account","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/account:rotateChallengeToken","href":"/api-reference/accountservice/rotates-the-challenge-token-for-the-account"}]},{"group":"API Keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/account/api_keys","href":"/api-reference/apikeyservice/list-api-keys"},{"title":"Create a new API key","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/account/api_keys","href":"/api-reference/apikeyservice/create-a-new-api-key"},{"title":"Get an API key by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/account/api_keys/{id}","href":"/api-reference/apikeyservice/get-an-api-key-by-id"},{"title":"Update an API key","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml patch /v1/account/api_keys/{id}","href":"/api-reference/apikeyservice/update-an-api-key"},{"title":"Delete an API key","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/account/api_keys/{id}","href":"/api-reference/apikeyservice/delete-an-api-key"},{"title":"Rotate an API key","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/account/api_keys/{id}:rotate","href":"/api-reference/apikeyservice/rotate-an-api-key"},{"title":"Disable an API key","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/account/api_keys/{id}:disable","href":"/api-reference/apikeyservice/disable-an-api-key"},{"title":"Enable an API key","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/account/api_keys/{id}:enable","href":"/api-reference/apikeyservice/enable-an-api-key"},{"title":"Assign a workspace to an API key","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/account/api_keys/{id}:addWorkspace","href":"/api-reference/apikeyservice/assign-a-workspace-to-an-api-key"},{"title":"Remove a workspace from an API key","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/account/api_keys/{id}:removeWorkspace","href":"/api-reference/apikeyservice/remove-a-workspace-from-an-api-key"},{"title":"Reveal an API key's token","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/account/api_keys/{id}:reveal","href":"/api-reference/apikeyservice/reveal-an-api-keys-token"}]},{"group":"AI Provider Keys","pages":[{"title":"List AI provider keys","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/ai_provider_keys","href":"/api-reference/aiproviderkeyservice/list-ai-provider-keys"},{"title":"Create a new AI provider key","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml post /v1/workspaces/{workspaceId}/ai_provider_keys","href":"/api-reference/aiproviderkeyservice/create-a-new-ai-provider-key"},{"title":"Get an AI provider key by ID","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml get /v1/workspaces/{workspaceId}/ai_provider_keys/{id}","href":"/api-reference/aiproviderkeyservice/get-an-ai-provider-key-by-id"},{"title":"Update an AI provider key","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml patch /v1/workspaces/{workspaceId}/ai_provider_keys/{id}","href":"/api-reference/aiproviderkeyservice/update-an-ai-provider-key"},{"title":"Delete an AI provider key","deprecated":null,"version":null,"openapi":"https://openapi.cadenya.com/api-spec.yml delete /v1/workspaces/{workspaceId}/ai_provider_keys/{id}","href":"/api-reference/aiproviderkeyservice/delete-an-ai-provider-key"}]},{"group":"Webhook Events","pages":[{"title":"Webhook events","sidebarTitle":"Overview","href":"/api-reference/webhook-events"},{"title":"User message","sidebarTitle":"User message","href":"/api-reference/objective-user-message-event"},{"title":"Assistant message","sidebarTitle":"Assistant message","href":"/api-reference/objective-assistant-message-event"},{"title":"Tool called","sidebarTitle":"Tool called","href":"/api-reference/objective-tool-called-event"},{"title":"Tool result","sidebarTitle":"Tool result","href":"/api-reference/objective-tool-result-event"},{"title":"Tool approval requested","sidebarTitle":"Tool approval requested","href":"/api-reference/objective-tool-approval-requested-event"},{"title":"Tool approved","sidebarTitle":"Tool approved","href":"/api-reference/objective-tool-approved-event"},{"title":"Tool denied","sidebarTitle":"Tool denied","href":"/api-reference/objective-tool-denied-event"},{"title":"Tool error","sidebarTitle":"Tool error","href":"/api-reference/objective-tool-error-event"},{"title":"Sub-agent spawned","sidebarTitle":"Sub-agent spawned","href":"/api-reference/objective-sub-agent-spawned-event"},{"title":"Sub-agent updated","sidebarTitle":"Sub-agent updated","href":"/api-reference/objective-sub-agent-updated-event"},{"title":"Memory read","sidebarTitle":"Memory read","href":"/api-reference/objective-memory-read-event"},{"title":"Reasoning","sidebarTitle":"Reasoning","href":"/api-reference/objective-reasoning-event"},{"title":"Objective finalized","sidebarTitle":"Objective finalized","href":"/api-reference/objective-finalized-event"},{"title":"Error","sidebarTitle":"Error","href":"/api-reference/objective-error-event"}]}]},{"tab":"Widgets API","icon":"comments","pages":[{"title":"Widgets API","href":"/widgets-api-reference"}]}]},"basePath":"","title":"List agents - Cadenya","deploymentId":"dpl_81ettUQ5G7NASN425B6JKU3FX1Rg","buildId":"dpl_81ettUQ5G7NASN425B6JKU3FX1Rg","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-GKHRyhW5.js","utils-CXMoydtj.js","cloneDeep-Cl7CR73B.js","_Uint8Array-7sQhd3aE.js","isObject-FP1Yky1u.js","utils-ABJ_F6Yn.js","addUniqueKeysToSchema-B7v39GOQ.js","snippetPresets-CgibLHmh.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-C2n3VqMC.js","isEqual-BKe3Q7nP.js","usePlaygroundInputsStore-Iji6acs6.js","shallow-Db9K5ulX.js","getApiPlaygroundDisplay-BGnJQBSj.js","CodeSnippet-DlQqWRja.js","CodeSnippets-JF3Bj6-U.js","Page-Ctn-BHcp.js","getPastedJson-B0pIrOza.js","icon-UPBYC1Wr.js","MethodPill-CoVRW5MG.js","DuplicateIcon-BuNnsqwg.js","createIcon-Cj9cJegl.js","DynamicMarkdown-C_R66tyH.js","SectionHeading-C6RB-y9f.js","axios-vUo_bRtp.js","Markdown-g2PbGssl.js","dist-DbZ3bm7k.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-BGnit25E.js"]}