The response includes pagination information and the list of repos.
The list of repos is sorted by the repo name; sort_direction selects the
direction (asc = A–Z, the default; desc = Z–A).
Optional filters: name (exact match), search (case-insensitive substring
match on the name), provider (VCS provider), repo_id (external repo ID),
vcs_instance (VCS host, exact match), namespace (namespace prefix), and
tag (key or key:value, repeatable).
name and search are mutually exclusive; providing both returns a 400.
repo_id is the stronger identifier as names of repos can change. So if repo_id is provided, name is ignored.
Repos are captured when attestations include a reference to a repo.
This happens automatically when using Kosli CLI v2.11.35 or higher.
Links to related resources, keyed by relation (self, next, ...), each a link or a list of links
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Kosli Documentation","colors":{"primary":"#1C4BC6","light":"#ABBDFF","dark":"#1C4BC6"},"logo":{"light":"https://mintcdn.com/kosli/Cee1LAu-Jhawp1Om/logo/kosli-logo-light-main.svg?fit=max\u0026auto=format\u0026n=Cee1LAu-Jhawp1Om\u0026q=85\u0026s=fb05fdbb0c9c9ae7da266a500eac2be6","dark":"https://mintcdn.com/kosli/Cee1LAu-Jhawp1Om/logo/kosli-logo-dark-main.svg?fit=max\u0026auto=format\u0026n=Cee1LAu-Jhawp1Om\u0026q=85\u0026s=c230555c5e1d57d0f9f9630117a1467d"},"favicon":"https://mintcdn.com/kosli/CktiOOFhqneQZXyH/favicon-32x32.png?fit=max\u0026auto=format\u0026n=CktiOOFhqneQZXyH\u0026q=85\u0026s=1b16e66cd5c7266604a6a683f334f672","api":{"playground":{"display":"interactive"}},"background":{"decoration":"windows","color":{"light":"#F6F8FC","dark":"#111A26"}},"navbar":{"links":[{"href":"mailto:support@kosli.com","label":"Support"}],"primary":{"type":"button","label":"Kosli App","href":"https://app.kosli.com"}},"footer":{"socials":{"website":"https://kosli.com","github":"https://github.com/kosli-dev","linkedin":"https://linkedin.com/company/kosli-dev"},"links":[{"header":"Resources","items":[{"label":"Privacy Policy","href":"https://www.kosli.com/privacy-policy"},{"label":"Status","href":"https://status.app.kosli.com/"}]},{"header":"Learn","items":[{"label":"Labs","href":"/labs"},{"label":"Blog","href":"https://kosli.com/blog"}]},{"header":"Company","items":[{"label":"About Kosli","href":"https://www.kosli.com/about"},{"label":"Privacy","href":"https://www.kosli.com/privacy-policy"},{"label":"Community","href":"https://www.kosli.com/community"}]}]},"fonts":{"family":"IBM Plex Sans"},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":"dracula","languages":{"custom":["/languages/rego.json"]}},"latex":false},"integrations":{"posthog":{"apiKey":"phc_vKbCGJq5rzV4apArUzYDRwh6azCmgCPcLz8jTa9CgmGR","apiHost":"https://eu.posthog.com","sessionRecording":false},"cookies":{"key":"kosli_consent","value":"accepted"}},"banner":{"content":"🌱 The docs have a new layout, grouped by what you're here to do.","dismissible":true},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kosli","hasAudioNarration":false,"actualSubdomain":"kosli","customDomains":["docs.kosli.com"],"gitSource":{"type":"github","owner":"kosli-dev","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aecb97adab9b27b24420669","collectionId":"a80df489-8e62-492b-84de-7995fdccc9c0","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aecb97adab9b27b24420669"},"feedback":{"thumbs":true,"edits":false,"issues":false,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED","enabled":"DISABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED","enabled":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aedf0a1f454d7a498161a36","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Reference","count":290},{"language":"default","tag":"API Reference","count":152},{"language":"default","tag":"CLI Reference","count":103},{"language":"default","tag":"Platform administration","count":28},{"language":"default","tag":"Discover Kosli","count":28},{"language":"default","tag":"Terraform Reference","count":22},{"language":"default","tag":"Environments","count":21},{"language":"default","tag":"Attestation","count":18},{"language":"default","tag":"kosli get","count":15},{"language":"default","tag":"kosli attest","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":false,"showHelpButton":false}},"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"[data-component-part=\"step-number\"]>div{background-color:#CFD8FF!important;color:#111A26!important}"}],"page":{"pagePath":"api-reference/repos/list-repos","slug":"/api-reference/repos/list-repos","pageMetadata":{"title":"List repos","description":"List repos for an organization.\n\nRepos are paginated.\n- The response includes pagination information and the list of repos.\n- The list of repos is sorted by the repo name; sort_direction selects the\n direction (asc = A–Z, the default; desc = Z–A).\n- Optional filters: name (exact match), search (case-insensitive substring\n match on the name), provider (VCS provider), repo_id (external repo ID),\n vcs_instance (VCS host, exact match), namespace (namespace prefix), and\n tag (key or key:value, repeatable).\n- name and search are mutually exclusive; providing both returns a 400.\n- repo_id is the stronger identifier as names of repos can change. So if repo_id is provided, name is ignored.\n\nRepos are captured when attestations include a reference to a repo.\nThis happens automatically when using Kosli CLI v2.11.35 or higher.","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /repos/{org}","href":"/api-reference/repos/list-repos","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n li: \"li\",\n p: \"p\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"List repos for an organization.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Repos are paginated.\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"The response includes pagination information and the list of repos.\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"The list of repos is sorted by the repo name; sort_direction selects the\\ndirection (asc = A–Z, the default; desc = Z–A).\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Optional filters: name (exact match), search (case-insensitive substring\\nmatch on the name), provider (VCS provider), repo_id (external repo ID),\\nvcs_instance (VCS host, exact match), namespace (namespace prefix), and\\ntag (key or key:value, repeatable).\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"name and search are mutually exclusive; providing both returns a 400.\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"repo_id is the stronger identifier as names of repos can change. So if repo_id is provided, name is ignored.\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Repos are captured when attestations include a reference to a repo.\\nThis happens automatically when using Kosli CLI v2.11.35 or higher.\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":"dracula","languages":{"custom":["/languages/rego.json"]}},"config":{},"pageMetadata":{"title":"List repos","description":"List repos for an organization.\n\nRepos are paginated.\n- The response includes pagination information and the list of repos.\n- The list of repos is sorted by the repo name; sort_direction selects the\n direction (asc = A–Z, the default; desc = Z–A).\n- Optional filters: name (exact match), search (case-insensitive substring\n match on the name), provider (VCS provider), repo_id (external repo ID),\n vcs_instance (VCS host, exact match), namespace (namespace prefix), and\n tag (key or key:value, repeatable).\n- name and search are mutually exclusive; providing both returns a 400.\n- repo_id is the stronger identifier as names of repos can change. So if repo_id is provided, name is ignored.\n\nRepos are captured when attestations include a reference to a repo.\nThis happens automatically when using Kosli CLI v2.11.35 or higher.","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /repos/{org}","href":"/api-reference/repos/list-repos","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/kosli/a8952d14c382591c/termly.js"],"openApiReferenceData":{"operation":{"tags":["Repos"],"summary":"List repos","description":"List repos for an organization.\n\nRepos are paginated.\n- The response includes pagination information and the list of repos.\n- The list of repos is sorted by the repo name; sort_direction selects the\n direction (asc = A–Z, the default; desc = Z–A).\n- Optional filters: name (exact match), search (case-insensitive substring\n match on the name), provider (VCS provider), repo_id (external repo ID),\n vcs_instance (VCS host, exact match), namespace (namespace prefix), and\n tag (key or key:value, repeatable).\n- name and search are mutually exclusive; providing both returns a 400.\n- repo_id is the stronger identifier as names of repos can change. So if repo_id is provided, name is ignored.\n\nRepos are captured when attestations include a reference to a repo.\nThis happens automatically when using Kosli CLI v2.11.35 or higher.","operationId":"list_repos","security":["087ef769-797c-4819-a478-2fae24d808bc","2a347690-1862-47c1-a055-b255319020c3"],"parameters":["9c933456-9759-4d79-bce2-5cc8b5d425a8","e384ab6d-0853-47ad-ba2a-696da0861252","295bdc10-48ed-4b58-8266-e3ff45d8f068","ce4a50ab-cbb2-455c-b668-7ad38c2ec36b","99501711-e2a9-4ac6-b710-7eb7c082111c","b6c505ee-f442-4c12-808a-33ac909f68f9","62feae4f-aa1d-4b89-94ff-a7dc29c120d2","912b8122-af09-4af8-8a28-1fb31caf51ca","77591f8e-e135-4524-abda-49f673a5cf0b","6ceef1d9-7913-4b0b-bd40-b40e695f36e5","e3a9eb71-31dd-4231-9bf7-8911d0feafc4"],"responses":{"200":"f0987385-74d7-4ee1-a157-2b161f334de2","404":"b28c56ee-28d9-4bcb-a2c6-1a271d7d1a17"},"method":"get","type":"path","servers":["46f1752b-c86a-4aff-9fd4-770655ca3d72","1fbcc30c-3132-4c15-849a-19e98b1095fc"],"path":"/repos/{org}","baseUrlOptions":["https://app.kosli.com/api/v2","https://app.us.kosli.com/api/v2"],"title":"List repos","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"9c933456-9759-4d79-bce2-5cc8b5d425a8":{"name":"org","in":"path","required":true,"schema":{"type":"string","title":"Org","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"e384ab6d-0853-47ad-ba2a-696da0861252":{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":1000000,"minimum":1,"description":"Page number, counting from 1","default":1,"title":"Page","isRequired":false,"uniqueKey":"","typeLabel":"integer"},"description":"Page number, counting from 1"},"295bdc10-48ed-4b58-8266-e3ff45d8f068":{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"Number of results per page","default":15,"title":"Per Page","isRequired":false,"uniqueKey":"","typeLabel":"integer"},"description":"Number of results per page"},"ce4a50ab-cbb2-455c-b668-7ad38c2ec36b":{"name":"name","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"Name","description":"Filter by repo name (exact match). This is ignored if repo_id is provided. Returns empty list if no match. Mutually exclusive with search.","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"Filter by repo name (exact match). This is ignored if repo_id is provided. Returns empty list if no match. Mutually exclusive with search.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"Filter by repo name (exact match). This is ignored if repo_id is provided. Returns empty list if no match. Mutually exclusive with search."},"99501711-e2a9-4ac6-b710-7eb7c082111c":{"name":"search","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"Search","description":"Filter by repo name (case-insensitive substring match). Mutually exclusive with name.","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Search","description":"Filter by repo name (case-insensitive substring match). Mutually exclusive with name.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"Filter by repo name (case-insensitive substring match). Mutually exclusive with name."},"b6c505ee-f442-4c12-808a-33ac909f68f9":{"name":"provider","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"Provider","description":"Filter by VCS provider (e.g. github, gitlab, bitbucket, azure-devops, circleci).","enum":["github","gitlab","bitbucket","bitbucket_cloud","bitbucket_dc","azure-devops","azure_devops_services","azure_devops_server","circleci","git","subversion"],"uniqueKey":"oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Provider","description":"Filter by VCS provider (e.g. github, gitlab, bitbucket, azure-devops, circleci).","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring> | null"},"description":"Filter by VCS provider (e.g. github, gitlab, bitbucket, azure-devops, circleci)."},"62feae4f-aa1d-4b89-94ff-a7dc29c120d2":{"name":"repo_id","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"Repo Id","description":"Filter by external repo ID (exact match). Returns empty list if no match.","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Repo Id","description":"Filter by external repo ID (exact match). Returns empty list if no match.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"Filter by external repo ID (exact match). Returns empty list if no match."},"912b8122-af09-4af8-8a28-1fb31caf51ca":{"name":"vcs_instance","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"Vcs Instance","description":"Filter by VCS instance/host (exact match), e.g. gitlab.company.com.","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Vcs Instance","description":"Filter by VCS instance/host (exact match), e.g. gitlab.company.com.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"Filter by VCS instance/host (exact match), e.g. gitlab.company.com."},"77591f8e-e135-4524-abda-49f673a5cf0b":{"name":"namespace","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"Namespace","description":"Filter by namespace prefix, as a '/'-separated path, e.g. platform/backend. Matches repos nested anywhere under that path.","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Namespace","description":"Filter by namespace prefix, as a '/'-separated path, e.g. platform/backend. Matches repos nested anywhere under that path.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"Filter by namespace prefix, as a '/'-separated path, e.g. platform/backend. Matches repos nested anywhere under that path."},"6ceef1d9-7913-4b0b-bd40-b40e695f36e5":{"name":"sort_direction","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"title":"SortDirection","description":"Sort direction by repo name: asc (A–Z, default) or desc (Z–A).","default":"asc","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Sort direction by repo name: asc (A–Z, default) or desc (Z–A)."},"e3a9eb71-31dd-4231-9bf7-8911d0feafc4":{"name":"tag","in":"query","required":false,"schema":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Tag","description":"Filter by tag key or key:value. Can be repeated, e.g. tag=team or tag=team:security.","uniqueKey":"oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Tag","description":"Filter by tag key or key:value. Can be repeated, e.g. tag=team or tag=team:security.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string[] | null"},"description":"Filter by tag key or key:value. Can be repeated, e.g. tag=team or tag=team:security."}},"responses":{"f0987385-74d7-4ee1-a157-2b161f334de2":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"page":{"type":"integer","title":"Page","description":"Number of this page, counting from 1","isRequired":true,"uniqueKey":"page","typeLabel":"integer"},"per_page":{"type":"integer","title":"Per Page","description":"Maximum number of items on a page","isRequired":true,"uniqueKey":"per_page","typeLabel":"integer"},"total_pages":{"type":"integer","title":"Total Pages","description":"Number of pages the full result fills","isRequired":true,"uniqueKey":"total_pages","typeLabel":"integer"},"total_count":{"type":"integer","title":"Total Count","description":"Number of items across all pages","isRequired":true,"uniqueKey":"total_count","typeLabel":"integer"},"repos":{"items":{"properties":{"id":{"type":"string","title":"Id","isRequired":true,"uniqueKey":"repos.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","title":"Name","isRequired":true,"uniqueKey":"repos.items.[INDEX].name","typeLabel":"string"},"url":{"type":"string","title":"Url","isRequired":true,"uniqueKey":"repos.items.[INDEX].url","typeLabel":"string"},"short_name":{"oneOf":[{"type":"string","title":"Short Name","uniqueKey":"repos.items.[INDEX].short_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Short Name","uniqueKey":"repos.items.[INDEX].short_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"repos.items.[INDEX].short_name","typeLabel":"string | null"},"provider":{"oneOf":[{"type":"string","title":"Provider","enum":["github","gitlab","bitbucket","bitbucket_cloud","bitbucket_dc","azure-devops","azure_devops_services","azure_devops_server","circleci","git","subversion"],"uniqueKey":"repos.items.[INDEX].provider.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Provider","uniqueKey":"repos.items.[INDEX].provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"repos.items.[INDEX].provider","typeLabel":"enum\u003cstring> | null"},"repo_id":{"oneOf":[{"type":"string","title":"Repo Id","uniqueKey":"repos.items.[INDEX].repo_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Repo Id","uniqueKey":"repos.items.[INDEX].repo_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"repos.items.[INDEX].repo_id","typeLabel":"string | null"},"vcs_instance":{"oneOf":[{"type":"string","title":"Vcs Instance","uniqueKey":"repos.items.[INDEX].vcs_instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Vcs Instance","uniqueKey":"repos.items.[INDEX].vcs_instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"repos.items.[INDEX].vcs_instance","typeLabel":"string | null"},"namespace_path":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"repos.items.[INDEX].namespace_path.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Namespace Path","uniqueKey":"repos.items.[INDEX].namespace_path.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Namespace Path","uniqueKey":"repos.items.[INDEX].namespace_path.oneOf.1","typeLabel":"null"}],"uniqueKey":"repos.items.[INDEX].namespace_path","typeLabel":"string[] | null"},"additional_info":{"oneOf":[{"type":"object","title":"Additional Info","additionalProperties":true,"uniqueKey":"repos.items.[INDEX].additional_info.oneOf.0","typeLabel":"Additional Info · object"},{"type":"null","title":"Additional Info","uniqueKey":"repos.items.[INDEX].additional_info.oneOf.1","typeLabel":"null"}],"uniqueKey":"repos.items.[INDEX].additional_info","typeLabel":"Additional Info · object | null"},"description":{"oneOf":[{"type":"string","title":"Description","uniqueKey":"repos.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","uniqueKey":"repos.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"repos.items.[INDEX].description","typeLabel":"string | null"},"tags":{"additionalProperties":{"type":"string","uniqueKey":"repos.items.[INDEX].tags.additionalProperties","typeLabel":"string"},"type":"object","title":"Tags","uniqueKey":"repos.items.[INDEX].tags","typeLabel":"Tags · object"},"_links":{"oneOf":[{"type":"object","title":"Links","description":"Links to related resources, keyed by relation (`self`, `next`, ...), each a link or a list of links","additionalProperties":{"oneOf":[{"type":"object","title":"HALLink","required":["href"],"properties":{"href":{"type":"string","title":"Href","description":"Absolute URL of the linked resource","isRequired":true,"uniqueKey":"repos.items.[INDEX]._links.oneOf.0.additionalProperties.oneOf.0.href","typeLabel":"string"}},"uniqueKey":"repos.items.[INDEX]._links.oneOf.0.additionalProperties.oneOf.0","typeLabel":"HALLink · object"},{"type":"array","items":{"properties":{"href":{"type":"string","title":"Href","description":"Absolute URL of the linked resource","isRequired":true,"uniqueKey":"repos.items.[INDEX]._links.oneOf.0.additionalProperties.oneOf.1.items.[INDEX].href","typeLabel":"string"}},"type":"object","required":["href"],"title":"HALLink","uniqueKey":"repos.items.[INDEX]._links.oneOf.0.additionalProperties.oneOf.1.items.[INDEX]","typeLabel":"HALLink · object"},"uniqueKey":"repos.items.[INDEX]._links.oneOf.0.additionalProperties.oneOf.1","typeLabel":"HALLink · object[]"}],"uniqueKey":"repos.items.[INDEX]._links.oneOf.0.additionalProperties","typeLabel":"HALLink · object | HALLink · object[]"},"uniqueKey":"repos.items.[INDEX]._links.oneOf.0","typeLabel":"Links · object"},{"type":"null","title":"Links","description":"Links to related resources, keyed by relation (`self`, `next`, ...), each a link or a list of links","uniqueKey":"repos.items.[INDEX]._links.oneOf.1","typeLabel":"null"}],"uniqueKey":"repos.items.[INDEX]._links","typeLabel":"Links · object | null"}},"type":"object","required":["id","name","url"],"title":"RepoResponse","uniqueKey":"repos.items.[INDEX]","typeLabel":"RepoResponse · object"},"type":"array","title":"Repos","isRequired":true,"uniqueKey":"repos","typeLabel":"RepoResponse · object[]"},"_links":{"oneOf":[{"type":"object","title":"Links","description":"Links to related resources, keyed by relation (`self`, `next`, ...), each a link or a list of links","additionalProperties":{"oneOf":[{"type":"object","title":"HALLink","required":["href"],"properties":{"href":{"type":"string","title":"Href","description":"Absolute URL of the linked resource","isRequired":true,"uniqueKey":"_links.oneOf.0.additionalProperties.oneOf.0.href","typeLabel":"string"}},"uniqueKey":"_links.oneOf.0.additionalProperties.oneOf.0","typeLabel":"HALLink · object"},{"type":"array","items":{"properties":{"href":{"type":"string","title":"Href","description":"Absolute URL of the linked resource","isRequired":true,"uniqueKey":"_links.oneOf.0.additionalProperties.oneOf.1.items.[INDEX].href","typeLabel":"string"}},"type":"object","required":["href"],"title":"HALLink","uniqueKey":"_links.oneOf.0.additionalProperties.oneOf.1.items.[INDEX]","typeLabel":"HALLink · object"},"uniqueKey":"_links.oneOf.0.additionalProperties.oneOf.1","typeLabel":"HALLink · object[]"}],"uniqueKey":"_links.oneOf.0.additionalProperties","typeLabel":"HALLink · object | HALLink · object[]"},"uniqueKey":"_links.oneOf.0","typeLabel":"Links · object"},{"type":"null","title":"Links","description":"Links to related resources, keyed by relation (`self`, `next`, ...), each a link or a list of links","uniqueKey":"_links.oneOf.1","typeLabel":"null"}],"uniqueKey":"_links","typeLabel":"Links · object | null"}},"additionalProperties":false,"type":"object","required":["page","per_page","total_pages","total_count","repos"],"title":"RepoListResponse","uniqueKey":"","typeLabel":"RepoListResponse · object"},"examples":{"Example":{"title":"Example","value":{"page":123,"per_page":123,"total_pages":123,"total_count":123,"repos":[{"id":"\u003cstring>","name":"\u003cstring>","url":"\u003cstring>","short_name":"\u003cstring>","provider":"github","repo_id":"\u003cstring>","vcs_instance":"\u003cstring>","namespace_path":["\u003cstring>"],"additional_info":{},"description":"\u003cstring>","tags":{},"_links":{}}],"_links":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"b28c56ee-28d9-4bcb-a2c6-1a271d7d1a17":{"description":"Organization not found","content":{"application/json":{"example":{"message":"Organization not found"},"schema":{"properties":{"message":{"type":"string","title":"Message","description":"Error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"oneOf":[{"type":"object","title":"Errors","description":"Validation errors by field","additionalProperties":{"type":"string","uniqueKey":"errors.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"errors.oneOf.0","typeLabel":"Errors · object"},{"type":"null","title":"Errors","description":"Validation errors by field","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"Errors · object | null"}},"type":"object","required":["message"],"title":"NotFoundResponseModel","uniqueKey":"","typeLabel":"NotFoundResponseModel · object"},"examples":{"Example":{"title":"Example","value":{"message":"Organization not found"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"087ef769-797c-4819-a478-2fae24d808bc":{"HTTPBearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"HTTPBearer"}},"2a347690-1862-47c1-a055-b255319020c3":{"HTTPBasic":{"$ref":"25dd4e2d-f84c-44d7-9067-c0c12ca6bfd0","scopes":[]}}},"servers":{"46f1752b-c86a-4aff-9fd4-770655ca3d72":{"url":"https://app.kosli.com/api/v2","description":"EU"},"1fbcc30c-3132-4c15-849a-19e98b1095fc":{"url":"https://app.us.kosli.com/api/v2","description":"US"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"HTTPBearer"},"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":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"https://app.kosli.com/api/v2/openapi.json"},"subdomain":"kosli","siteName":"Kosli Documentation","title":"List repos - Kosli Documentation","contextualStarterQuestions":[{"_id":"69e22991f00f77c4dc7edffc","deploymentId":"694a567a82866c4f503bbfbf","questionText":"How are repos automatically captured?","status":"active","generatedBy":"contextual","path":"api-reference/repos/list-repos","createdAt":"2026-04-17T12:37:37.372Z","updatedAt":"2026-04-17T12:37:37.372Z","__v":0},{"_id":"69e22991f00f77c4dc7edffb","deploymentId":"694a567a82866c4f503bbfbf","questionText":"What makes repo_id stronger?","status":"active","generatedBy":"contextual","path":"api-reference/repos/list-repos","createdAt":"2026-04-17T12:37:37.372Z","updatedAt":"2026-04-17T12:37:37.372Z","__v":0},{"_id":"69e22991f00f77c4dc7edffa","deploymentId":"694a567a82866c4f503bbfbf","questionText":"How do I filter repos by name?","status":"active","generatedBy":"contextual","path":"api-reference/repos/list-repos","createdAt":"2026-04-17T12:37:37.371Z","updatedAt":"2026-04-17T12:37:37.371Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/repos/list-repos.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=\"List repos for an organization. Repos are paginated. - The response includes pagination information and the list of repos. - The list of repos is sorted by the repo name; sort_direction selects the direction (asc = A–Z, the default; desc = Z–A). - Optional filters: name (exact match), search (case-insensitive substring match on the name), provider (VCS provider), repo_id (external repo ID), vcs_instance (VCS host, exact match), namespace (namespace prefix), and tag (key or key:value, repeatable). - name and search are mutually exclusive; providing both returns a 400. - repo_id is the stronger identifier as names of repos can change. So if repo_id is provided, name is ignored. Repos are captured when attestations include a reference to a repo. This happens automatically when using Kosli CLI v2.11.35 or higher.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Kosli Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kosli/7UeZPXzpjJmWmx3T/_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/kosli/7UeZPXzpjJmWmx3T/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kosli/7UeZPXzpjJmWmx3T/_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/kosli/7UeZPXzpjJmWmx3T/_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/kosli/7UeZPXzpjJmWmx3T/_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/kosli/7UeZPXzpjJmWmx3T/_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/kosli/7UeZPXzpjJmWmx3T/_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/kosli/7UeZPXzpjJmWmx3T/_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/kosli/7UeZPXzpjJmWmx3T/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List repos - Kosli Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"List repos for an organization. Repos are paginated. - The response includes pagination information and the list of repos. - The list of repos is sorted by the repo name; sort_direction selects the direction (asc = A–Z, the default; desc = Z–A). - Optional filters: name (exact match), search (case-insensitive substring match on the name), provider (VCS provider), repo_id (external repo ID), vcs_instance (VCS host, exact match), namespace (namespace prefix), and tag (key or key:value, repeatable). - name and search are mutually exclusive; providing both returns a 400. - repo_id is the stronger identifier as names of repos can change. So if repo_id is provided, name is ignored. Repos are captured when attestations include a reference to a repo. This happens automatically when using Kosli CLI v2.11.35 or higher.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kosli Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.kosli.com/api-reference/repos/list-repos\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kosli.mintlify.site/_mintlify/api/og/v2?division=Repos\u0026amp;title=List+repos\u0026amp;description=List+repos+for+an+organization.%0A%0ARepos+are+paginated.%0A-+The+response+includes+pagination+information+and+the+list+of+repos.%0A-+The+list+of+repos+is+sorted+by+the\u0026amp;theme=381f3588bbad67d04f5be36e\u0026amp;signature=8887e64347131b5a9b513b422ce7b28dd82c194c7f42e94fc80c4e81a7e04853\">\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 repos - Kosli Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"List repos for an organization. Repos are paginated. - The response includes pagination information and the list of repos. - The list of repos is sorted by the repo name; sort_direction selects the direction (asc = A–Z, the default; desc = Z–A). - Optional filters: name (exact match), search (case-insensitive substring match on the name), provider (VCS provider), repo_id (external repo ID), vcs_instance (VCS host, exact match), namespace (namespace prefix), and tag (key or key:value, repeatable). - name and search are mutually exclusive; providing both returns a 400. - repo_id is the stronger identifier as names of repos can change. So if repo_id is provided, name is ignored. Repos are captured when attestations include a reference to a repo. This happens automatically when using Kosli CLI v2.11.35 or higher.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kosli.mintlify.site/_mintlify/api/og/v2?division=Repos\u0026amp;title=List+repos\u0026amp;description=List+repos+for+an+organization.%0A%0ARepos+are+paginated.%0A-+The+response+includes+pagination+information+and+the+list+of+repos.%0A-+The+list+of+repos+is+sorted+by+the\u0026amp;theme=381f3588bbad67d04f5be36e\u0026amp;signature=8887e64347131b5a9b513b422ce7b28dd82c194c7f42e94fc80c4e81a7e04853\">\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/kosli/7UeZPXzpjJmWmx3T/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Kosli Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1C4BC6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.kosli.com/api-reference/repos/list-repos\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/repos/list-repos.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.kosli.com/#organization\",\"name\":\"Kosli Documentation\",\"url\":\"https://docs.kosli.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kosli/Cee1LAu-Jhawp1Om/logo/kosli-logo-light-main.svg?fit=max\u0026auto=format\u0026n=Cee1LAu-Jhawp1Om\u0026q=85\u0026s=fb05fdbb0c9c9ae7da266a500eac2be6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.kosli.com#website\",\"name\":\"Kosli Documentation\",\"url\":\"https://docs.kosli.com\",\"publisher\":{\"@id\":\"https://docs.kosli.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.kosli.com/api-reference/repos/list-repos#webpage\",\"url\":\"https://docs.kosli.com/api-reference/repos/list-repos\",\"name\":\"List repos\",\"description\":\"List repos for an organization. Repos are paginated. - The response includes pagination information and the list of repos. - The list of repos is sorted by the repo name; sort_direction selects the direction (asc = A–Z, the default; desc = Z–A). - Optional filters: name (exact match), search (case-insensitive substring match on the name), provider (VCS provider), repo_id (external repo ID), vcs_instance (VCS host, exact match), namespace (namespace prefix), and tag (key or key:value, repeatable). - name and search are mutually exclusive; providing both returns a 400. - repo_id is the stronger identifier as names of repos can change. So if repo_id is provided, name is ignored. Repos are captured when attestations include a reference to a repo. This happens automatically when using Kosli CLI v2.11.35 or higher.\",\"isPartOf\":{\"@id\":\"https://docs.kosli.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.kosli.com/api-reference/repos/list-repos#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.kosli.com/api-reference/repos/list-repos#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Kosli Documentation\",\"item\":\"https://docs.kosli.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List repos\",\"item\":\"https://docs.kosli.com/api-reference/repos/list-repos\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.kosli.com/api-reference/repos/list-repos#apireference\",\"headline\":\"List repos\",\"name\":\"List repos\",\"description\":\"List repos for an organization. Repos are paginated. - The response includes pagination information and the list of repos. - The list of repos is sorted by the repo name; sort_direction selects the direction (asc = A–Z, the default; desc = Z–A). - Optional filters: name (exact match), search (case-insensitive substring match on the name), provider (VCS provider), repo_id (external repo ID), vcs_instance (VCS host, exact match), namespace (namespace prefix), and tag (key or key:value, repeatable). - name and search are mutually exclusive; providing both returns a 400. - repo_id is the stronger identifier as names of repos can change. So if repo_id is provided, name is ignored. Repos are captured when attestations include a reference to a repo. This happens automatically when using Kosli CLI v2.11.35 or higher.\",\"url\":\"https://docs.kosli.com/api-reference/repos/list-repos\",\"mainEntityOfPage\":{\"@id\":\"https://docs.kosli.com/api-reference/repos/list-repos#webpage\"},\"publisher\":{\"@id\":\"https://docs.kosli.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.kosli.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Kosli Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Kosli Documentation","nav":{"global":null,"tabs":[{"tab":"Discover Kosli","pages":[{"title":"Discover Kosli","href":"/understand_kosli/what_is_kosli"}]},{"tab":"Platform administration","pages":[{"title":"Platform administration","href":"/user/default_organization"}]},{"tab":"Risks and controls","pages":[{"title":"Risks and controls","href":"/understand_kosli/risks"}]},{"tab":"Environments and runtime","pages":[{"title":"Environments and runtime","href":"/administration/managing_environments/overview"}]},{"tab":"Record evidence","pages":[{"title":"Record evidence","href":"/tutorials/organizing_with_spaces"}]},{"tab":"Reference","menu":[{"item":"CLI Reference","icon":"terminal","pages":[{"title":"CLI Reference","href":"/client_reference/overview"}]},{"item":"API Reference","icon":"code","groups":[{"group":"Get started","pages":[{"title":"Kosli API","sidebarTitle":"Overview","icon":"book-open","href":"/api-reference/overview"}]},{"group":"Actions","pages":[{"title":"List actions","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /actions/{org}","href":"/api-reference/actions/list-actions"},{"title":"Create or update environment action","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /actions/{org}/environments","href":"/api-reference/actions/create-or-update-environment-action"},{"title":"Create or update flow action","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /actions/{org}/flows","href":"/api-reference/actions/create-or-update-flow-action"},{"title":"Get action","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /actions/{org}/{action_number}","href":"/api-reference/actions/get-action"},{"title":"Delete an action","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json delete /actions/{org}/{action_number}","href":"/api-reference/actions/delete-an-action"}]},{"group":"Allowlists","pages":[{"title":"List allowlist","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /allowlists/{org}","href":"/api-reference/allowlists/list-allowlist"},{"title":"Allow artifact for environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /allowlists/{org}/{env_name}","href":"/api-reference/allowlists/allow-artifact-for-environment"}]},{"group":"Artifacts","pages":[{"title":"List artifacts","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /artifacts/{org}","href":"/api-reference/artifacts/list-artifacts"},{"title":"List artifacts in flow","deprecated":true,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /artifacts/{org}/{flow_name}","href":"/api-reference/artifacts/list-artifacts-in-flow"},{"title":"Report artifact","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /artifacts/{org}/{flow_name}","href":"/api-reference/artifacts/report-artifact"},{"title":"Get artifacts by commit SHA","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /artifacts/{org}/{flow_name}/commit_sha/{commit_sha}","href":"/api-reference/artifacts/get-artifacts-by-commit-sha"},{"title":"Get artifact by fingerprint","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /artifacts/{org}/{flow_name}/fingerprint/{fingerprint}","href":"/api-reference/artifacts/get-artifact-by-fingerprint"},{"title":"Get artifact audit package","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /artifacts/{org}/{flow_name}/{fingerprint}/audit_package","href":"/api-reference/artifacts/get-artifact-audit-package"},{"title":"Get latest artifact commit","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /artifacts/{org}/{flow_name}/{fingerprint}/latest_commit","href":"/api-reference/artifacts/get-latest-artifact-commit"}]},{"group":"Asserts","pages":[{"title":"Assert artifact","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /asserts/{org}/fingerprint/{fingerprint}","href":"/api-reference/asserts/assert-artifact"}]},{"group":"Attestation","pages":[{"title":"List system attestation types","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /attestations/system-attestation-types","href":"/api-reference/attestation/list-system-attestation-types"},{"title":"List attestations","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /attestations/{org}","href":"/api-reference/attestation/list-attestations"},{"title":"List attestations for criteria","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /attestations/{org}/list_attestations_for_criteria","href":"/api-reference/attestation/list-attestations-for-criteria"},{"title":"Create an attachment upload","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /attestations/{org}/uploads","href":"/api-reference/attestation/create-an-attachment-upload"},{"title":"List flow attestations","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /attestations/{org}/{flow_name}","href":"/api-reference/attestation/list-flow-attestations"},{"title":"Get artifact attestation","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /attestations/{org}/{flow_name}/artifact/{fingerprint}/{attestation_name}","href":"/api-reference/attestation/get-artifact-attestation"},{"title":"Get trail attestation by ID","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /attestations/{org}/{flow_name}/trail/{trail_name}/attestation/{attestation_id}","href":"/api-reference/attestation/get-trail-attestation-by-id"},{"title":"Get attestation evidence file","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /attestations/{org}/{flow_name}/trail/{trail_name}/attestation/{attestation_id}/evidence","href":"/api-reference/attestation/get-attestation-evidence-file"},{"title":"Attest custom","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /attestations/{org}/{flow_name}/trail/{trail_name}/custom","href":"/api-reference/attestation/attest-custom"},{"title":"Attest generic","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /attestations/{org}/{flow_name}/trail/{trail_name}/generic","href":"/api-reference/attestation/attest-generic"},{"title":"Attest Jira issue","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /attestations/{org}/{flow_name}/trail/{trail_name}/jira","href":"/api-reference/attestation/attest-jira-issue"},{"title":"Attest JUnit test results","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /attestations/{org}/{flow_name}/trail/{trail_name}/junit","href":"/api-reference/attestation/attest-junit-test-results"},{"title":"Override attestation","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /attestations/{org}/{flow_name}/trail/{trail_name}/override","href":"/api-reference/attestation/override-attestation"},{"title":"Attest pull request","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /attestations/{org}/{flow_name}/trail/{trail_name}/pull_request","href":"/api-reference/attestation/attest-pull-request"},{"title":"Attest Snyk scan","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /attestations/{org}/{flow_name}/trail/{trail_name}/snyk","href":"/api-reference/attestation/attest-snyk-scan"},{"title":"Attest Sonar scan","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /attestations/{org}/{flow_name}/trail/{trail_name}/sonar","href":"/api-reference/attestation/attest-sonar-scan"},{"title":"Attest system","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /attestations/{org}/{flow_name}/trail/{trail_name}/system","href":"/api-reference/attestation/attest-system"},{"title":"Get trail attestation","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /attestations/{org}/{flow_name}/trail/{trail_name}/{attestation_name}","href":"/api-reference/attestation/get-trail-attestation"}]},{"group":"Builds","pages":[{"title":"List Builds","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /builds/{org}","href":"/api-reference/builds/list-builds"},{"title":"Build frequency statistics","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /builds/{org}/statistics","href":"/api-reference/builds/build-frequency-statistics"}]},{"group":"Controls","pages":[{"title":"List controls","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /controls/{org}","href":"/api-reference/controls/list-controls"},{"title":"Create a control","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /controls/{org}","href":"/api-reference/controls/create-a-control"},{"title":"List distinct tag key/value pairs for an org's controls","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /controls/{org}/tags","href":"/api-reference/controls/list-distinct-tag-keyvalue-pairs-for-an-orgs-controls"},{"title":"Get a control","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /controls/{org}/{identifier}","href":"/api-reference/controls/get-a-control"},{"title":"Update a control","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /controls/{org}/{identifier}","href":"/api-reference/controls/update-a-control"},{"title":"Archive a control","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /controls/{org}/{identifier}/archive","href":"/api-reference/controls/archive-a-control"},{"title":"Environment coverage for a control","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /controls/{org}/{identifier}/coverage","href":"/api-reference/controls/environment-coverage-for-a-control"},{"title":"List decisions for a control","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /controls/{org}/{identifier}/decisions","href":"/api-reference/controls/list-decisions-for-a-control"},{"title":"Get a single decision for a control","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /controls/{org}/{identifier}/decisions/{decision_id}","href":"/api-reference/controls/get-a-single-decision-for-a-control"},{"title":"Unarchive a control","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /controls/{org}/{identifier}/unarchive","href":"/api-reference/controls/unarchive-a-control"},{"title":"List versions of a control","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /controls/{org}/{identifier}/versions","href":"/api-reference/controls/list-versions-of-a-control"},{"title":"Get a specific version of a control","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /controls/{org}/{identifier}/versions/{version_number}","href":"/api-reference/controls/get-a-specific-version-of-a-control"}]},{"group":"Custom Attestation Types","pages":[{"title":"List custom attestation types","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /custom-attestation-types/{org}","href":"/api-reference/custom-attestation-types/list-custom-attestation-types"},{"title":"Create or update custom attestation type","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /custom-attestation-types/{org}","href":"/api-reference/custom-attestation-types/create-or-update-custom-attestation-type"},{"title":"Get custom attestation type","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /custom-attestation-types/{org}/{custom_attestation_type_name}","href":"/api-reference/custom-attestation-types/get-custom-attestation-type"},{"title":"Archive custom attestation type","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /custom-attestation-types/{org}/{custom_attestation_type_name}/archive","href":"/api-reference/custom-attestation-types/archive-custom-attestation-type"}]},{"group":"Deployments","pages":[{"title":"List Deployments","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /deployments/{org}","href":"/api-reference/deployments/list-deployments"},{"title":"Get Deployment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /deployments/{org}/{env_name}/{fingerprint}","href":"/api-reference/deployments/get-deployment"}]},{"group":"EnvDiff","pages":[{"title":"Get environment diff","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /env-diff/{org}","href":"/api-reference/envdiff/get-environment-diff"}]},{"group":"Environments","pages":[{"title":"List environments","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /environments/{org}","href":"/api-reference/environments/list-environments"},{"title":"Create or update environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /environments/{org}","href":"/api-reference/environments/create-or-update-environment"},{"title":"Get environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /environments/{org}/{env_name}","href":"/api-reference/environments/get-environment"},{"title":"Update environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json patch /environments/{org}/{env_name}","href":"/api-reference/environments/update-environment"},{"title":"Archive environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /environments/{org}/{env_name}/archive","href":"/api-reference/environments/archive-environment"},{"title":"Get environment audit log","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /environments/{org}/{env_name}/auditlog","href":"/api-reference/environments/get-environment-audit-log"},{"title":"Get deployment frequency","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /environments/{org}/{env_name}/deployment_frequency","href":"/api-reference/environments/get-deployment-frequency"},{"title":"List deployments for an environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /environments/{org}/{env_name}/deployments","href":"/api-reference/environments/list-deployments-for-an-environment"},{"title":"List environment events","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /environments/{org}/{env_name}/events","href":"/api-reference/environments/list-environment-events"},{"title":"Add environment to logical environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /environments/{org}/{env_name}/join","href":"/api-reference/environments/add-environment-to-logical-environment"},{"title":"Attach policy to environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /environments/{org}/{env_name}/policies","href":"/api-reference/environments/attach-policy-to-environment"},{"title":"Detach policy from environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json delete /environments/{org}/{env_name}/policies","href":"/api-reference/environments/detach-policy-from-environment"},{"title":"Rename environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /environments/{org}/{env_name}/rename","href":"/api-reference/environments/rename-environment"},{"title":"Report ECS environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /environments/{org}/{env_name}/report/ECS","href":"/api-reference/environments/report-ecs-environment"},{"title":"Report K8S environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /environments/{org}/{env_name}/report/K8S","href":"/api-reference/environments/report-k8s-environment"},{"title":"Report S3 environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /environments/{org}/{env_name}/report/S3","href":"/api-reference/environments/report-s3-environment"},{"title":"Report Azure Web and Function Apps environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /environments/{org}/{env_name}/report/azure-apps","href":"/api-reference/environments/report-azure-web-and-function-apps-environment"},{"title":"Report Cloud Run environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /environments/{org}/{env_name}/report/cloud-run","href":"/api-reference/environments/report-cloud-run-environment"},{"title":"Report Docker environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /environments/{org}/{env_name}/report/docker","href":"/api-reference/environments/report-docker-environment"},{"title":"Report Lambda environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /environments/{org}/{env_name}/report/lambda","href":"/api-reference/environments/report-lambda-environment"},{"title":"Report server environment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /environments/{org}/{env_name}/report/server","href":"/api-reference/environments/report-server-environment"}]},{"group":"Evaluations","pages":[{"title":"List evaluations","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /evaluations/{org}","href":"/api-reference/evaluations/list-evaluations"},{"title":"Create an evaluation","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /evaluations/{org}","href":"/api-reference/evaluations/create-an-evaluation"},{"title":"Get an evaluation","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /evaluations/{org}/{evaluation_id}","href":"/api-reference/evaluations/get-an-evaluation"},{"title":"Get an evaluation's input","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /evaluations/{org}/{evaluation_id}/input","href":"/api-reference/evaluations/get-an-evaluations-input"}]},{"group":"Flows","pages":[{"title":"List flows","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /flows/{org}","href":"/api-reference/flows/list-flows"},{"title":"Create or update flow","deprecated":true,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /flows/{org}","href":"/api-reference/flows/create-or-update-flow"},{"title":"Create or update flow with template","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /flows/{org}/template_file","href":"/api-reference/flows/create-or-update-flow-with-template"},{"title":"Get flow","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /flows/{org}/{flow_name}","href":"/api-reference/flows/get-flow"},{"title":"Archive flow","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /flows/{org}/{flow_name}/archive","href":"/api-reference/flows/archive-flow"},{"title":"Rename flow","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /flows/{org}/{flow_name}/rename","href":"/api-reference/flows/rename-flow"}]},{"group":"Audit Log","pages":[{"title":"List membership/role change history for an org","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /membership-audit-log/{org}","href":"/api-reference/audit-log/list-membershiprole-change-history-for-an-org"}]},{"group":"Notification Config","pages":[{"title":"Get notification configuration","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /notification-config/{org}/{notification_type}","href":"/api-reference/notification-config/get-notification-configuration"},{"title":"Create or update notification configuration","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /notification-config/{org}/{notification_type}","href":"/api-reference/notification-config/create-or-update-notification-configuration"},{"title":"Delete notification configuration","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json delete /notification-config/{org}/{notification_type}","href":"/api-reference/notification-config/delete-notification-configuration"}]},{"group":"Organizations","pages":[{"title":"Get organization","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /organizations/{org}","href":"/api-reference/organizations/get-organization"},{"title":"List environment notifications","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /organizations/{org}/environments_notifications","href":"/api-reference/organizations/list-environment-notifications"},{"title":"Create or update environment notification","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /organizations/{org}/environments_notifications","href":"/api-reference/organizations/create-or-update-environment-notification"},{"title":"Get environment notification","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /organizations/{org}/environments_notifications/{notification_number}","href":"/api-reference/organizations/get-environment-notification"},{"title":"Update environment notification","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /organizations/{org}/environments_notifications/{notification_number}","href":"/api-reference/organizations/update-environment-notification"},{"title":"Delete environment notification","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json delete /organizations/{org}/environments_notifications/{notification_number}","href":"/api-reference/organizations/delete-environment-notification"}]},{"group":"Policies","pages":[{"title":"List policies","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /policies/{org}","href":"/api-reference/policies/list-policies"},{"title":"Create or update policy","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /policies/{org}","href":"/api-reference/policies/create-or-update-policy"},{"title":"Get policy","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /policies/{org}/{policy_name}","href":"/api-reference/policies/get-policy"}]},{"group":"Rego Policies","pages":[{"title":"List rego policies","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /rego-policies/{org}","href":"/api-reference/rego-policies/list-rego-policies"},{"title":"Get a rego policy","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /rego-policies/{org}/{identifier}","href":"/api-reference/rego-policies/get-a-rego-policy"},{"title":"Publish a version of a rego policy","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /rego-policies/{org}/{identifier}","href":"/api-reference/rego-policies/publish-a-version-of-a-rego-policy"},{"title":"List versions of a rego policy","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /rego-policies/{org}/{identifier}/versions","href":"/api-reference/rego-policies/list-versions-of-a-rego-policy"},{"title":"Get a version of a rego policy","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /rego-policies/{org}/{identifier}/versions/{version_number}","href":"/api-reference/rego-policies/get-a-version-of-a-rego-policy"},{"title":"Download the files of a version of a rego policy","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /rego-policies/{org}/{identifier}/versions/{version_number}/bundle","href":"/api-reference/rego-policies/download-the-files-of-a-version-of-a-rego-policy"},{"title":"List the files of a version of a rego policy","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /rego-policies/{org}/{identifier}/versions/{version_number}/files","href":"/api-reference/rego-policies/list-the-files-of-a-version-of-a-rego-policy"},{"title":"Get the source of a file in a version of a rego policy","description":"**Beta** — the Controls feature is in beta. Requests from organizations without it enabled receive `403 Forbidden`.","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /rego-policies/{org}/{identifier}/versions/{version_number}/files/{file_path}","href":"/api-reference/rego-policies/get-the-source-of-a-file-in-a-version-of-a-rego-policy"}]},{"group":"Repos","pages":[{"title":"List repos","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /repos/{org}","href":"/api-reference/repos/list-repos"},{"title":"List repo filter options","description":"List the distinct facet values (providers, VCS instances, and namespace\nvalues) across the organization's repos, scoped by the given filters.\n\nUsed to populate the repos faceted filters. Each facet reflects every\nfilter except its own dimension, so alternative values stay visible (e.g.\nthe returned `providers` list isn't narrowed by the `provider` filter\nitself). `namespace_values` cascades: it returns the values one level below\n`namespace`, so drilling into a namespace reveals the next level.\n\nDeclared before the \"/{org}/{repo_name}\" route so the literal\n\"filter-options\" segment is not captured as a repo name.","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /repos/{org}/filter-options","href":"/api-reference/repos/list-repo-filter-options"},{"title":"Get live artifacts for a repo","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /repos/{org}/live-artifacts/{repo_name}","href":"/api-reference/repos/get-live-artifacts-for-a-repo"},{"title":"List repo tag choices","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /repos/{org}/tags","href":"/api-reference/repos/list-repo-tag-choices"},{"title":"Get a repo","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /repos/{org}/{repo_name}","href":"/api-reference/repos/get-a-repo"},{"title":"Deployment frequency and lead-time statistics for a repo","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /repos/{org}/{repo}/deployment-statistics","href":"/api-reference/repos/deployment-frequency-and-lead-time-statistics-for-a-repo"},{"title":"List deployments for a repo","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /repos/{org}/{repo}/deployments","href":"/api-reference/repos/list-deployments-for-a-repo"}]},{"group":"Schemas","pages":[{"title":"Environment policy schema v1","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /schemas/environment-policy/v1","href":"/api-reference/schemas/environment-policy-schema-v1"},{"title":"Rego policy input schema for a single trail v1","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /schemas/evaluation-input/trail/v1","href":"/api-reference/schemas/rego-policy-input-schema-for-a-single-trail-v1"},{"title":"Rego policy input schema for many trails v1","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /schemas/evaluation-input/trails/v1","href":"/api-reference/schemas/rego-policy-input-schema-for-many-trails-v1"},{"title":"Flow template schema v1","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /schemas/flow-template/v1","href":"/api-reference/schemas/flow-template-schema-v1"}]},{"group":"Search","pages":[{"title":"Search commits by SHA prefix","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /search/{org}/commit/{sha_prefix}","href":"/api-reference/search/search-commits-by-sha-prefix"},{"title":"List trails for a commit","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /search/{org}/commit/{sha}/trails","href":"/api-reference/search/list-trails-for-a-commit"},{"title":"Search artifacts by SHA or fingerprint","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /search/{org}/sha/{search_value}","href":"/api-reference/search/search-artifacts-by-sha-or-fingerprint"}]},{"group":"Service Accounts","pages":[{"title":"List service accounts in an organization","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /service-accounts/{org}","href":"/api-reference/service-accounts/list-service-accounts-in-an-organization"},{"title":"Create a service account","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /service-accounts/{org}","href":"/api-reference/service-accounts/create-a-service-account"},{"title":"Get a service account","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /service-accounts/{org}/{name}","href":"/api-reference/service-accounts/get-a-service-account"},{"title":"Delete a service account","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json delete /service-accounts/{org}/{name}","href":"/api-reference/service-accounts/delete-a-service-account"},{"title":"Update a service account","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json patch /service-accounts/{org}/{name}","href":"/api-reference/service-accounts/update-a-service-account"},{"title":"List API keys for a service account","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /service-accounts/{org}/{name}/api-keys","href":"/api-reference/service-accounts/list-api-keys-for-a-service-account"},{"title":"Create an API key for a service account","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /service-accounts/{org}/{name}/api-keys","href":"/api-reference/service-accounts/create-an-api-key-for-a-service-account"},{"title":"Get an API key for a service account","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /service-accounts/{org}/{name}/api-keys/{key_id}","href":"/api-reference/service-accounts/get-an-api-key-for-a-service-account"},{"title":"Revoke an API key for a service account","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json delete /service-accounts/{org}/{name}/api-keys/{key_id}","href":"/api-reference/service-accounts/revoke-an-api-key-for-a-service-account"},{"title":"Rotate an API key for a service account","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /service-accounts/{org}/{name}/api-keys/{key_id}/rotate","href":"/api-reference/service-accounts/rotate-an-api-key-for-a-service-account"}]},{"group":"Snapshots","pages":[{"title":"List snapshots","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /snapshots/{org}/{env_name}","href":"/api-reference/snapshots/list-snapshots"},{"title":"Get snapshot","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /snapshots/{org}/{env_name}/{snapshot_expression}","href":"/api-reference/snapshots/get-snapshot"}]},{"group":"Tags","pages":[{"title":"Update tags","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json patch /tags/{org}/{resource_type}/{resource_id}","href":"/api-reference/tags/update-tags"}]},{"group":"Trails","pages":[{"title":"List trails for organization","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /trails/{org}","href":"/api-reference/trails/list-trails-for-organization"},{"title":"List trails","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /trails/{org}/{flow_name}","href":"/api-reference/trails/list-trails"},{"title":"Begin trail","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /trails/{org}/{flow_name}","href":"/api-reference/trails/begin-trail"},{"title":"Get trail","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /trails/{org}/{flow_name}/{trail_name}","href":"/api-reference/trails/get-trail"},{"title":"Download trail audit package","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /trails/{org}/{flow_name}/{trail_name}/audit_package","href":"/api-reference/trails/download-trail-audit-package"},{"title":"Download trail audit PDF","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /trails/{org}/{flow_name}/{trail_name}/audit_pdf","href":"/api-reference/trails/download-trail-audit-pdf"},{"title":"List trail events","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /trails/{org}/{flow_name}/{trail_name}/events","href":"/api-reference/trails/list-trail-events"},{"title":"Download trail events PDF","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /trails/{org}/{flow_name}/{trail_name}/events_pdf","href":"/api-reference/trails/download-trail-events-pdf"},{"title":"List trail moments","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /trails/{org}/{flow_name}/{trail_name}/moments","href":"/api-reference/trails/list-trail-moments"},{"title":"Get trail moment","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /trails/{org}/{flow_name}/{trail_name}/moments/{moment_expression}","href":"/api-reference/trails/get-trail-moment"},{"title":"Download trail status PDF","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /trails/{org}/{flow_name}/{trail_name}/status_pdf","href":"/api-reference/trails/download-trail-status-pdf"}]},{"group":"User","pages":[{"title":"List personal API keys","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /user/api-keys","href":"/api-reference/user/list-personal-api-keys"},{"title":"Create a personal API key","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /user/api-keys","href":"/api-reference/user/create-a-personal-api-key"},{"title":"Get a personal API key","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /user/api-keys/{key_id}","href":"/api-reference/user/get-a-personal-api-key"},{"title":"Revoke a personal API key","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json delete /user/api-keys/{key_id}","href":"/api-reference/user/revoke-a-personal-api-key"},{"title":"Rotate a personal API key","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json post /user/api-keys/{key_id}/rotate","href":"/api-reference/user/rotate-a-personal-api-key"},{"title":"Get default organization","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json get /user/default-org","href":"/api-reference/user/get-default-organization"},{"title":"Set default organization","deprecated":null,"version":null,"openapi":"https://app.kosli.com/api/v2/openapi.json put /user/{org}","href":"/api-reference/user/set-default-organization"}]}]},{"item":"GitHub Action Reference","icon":"github","pages":[{"title":"GitHub Action Reference","href":"/github-action-reference/setup_cli_action"}]},{"item":"Terraform Reference","icon":"cubes","pages":[{"title":"Terraform Reference","href":"/terraform-reference"}]},{"item":"Helm Reference","icon":"layer-group","pages":[{"title":"Helm Reference","href":"/helm/k8s_reporter/overview"}]},{"item":"Template Reference","icon":"file-code","pages":[{"title":"Template Reference","href":"/template-reference/flow_template"}]},{"item":"Policy Reference","icon":"scroll","pages":[{"title":"Policy Reference","href":"/policy-reference/environment_policy"}]}]},{"tab":"Changelog","icon":"clock","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"List repos - Kosli Documentation","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}