Argo CD RepositoryService API

The RepositoryService API from Argo CD — 13 operation(s) for repositoryservice.

GitHub OpenAPI

Operations 17

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/repositories List configured repositories · ListRepositories gets a list of all configured repositories #
Ask an LLM
“Which repositories are configured in Argo CD?”
“Can I list only the repositories used by one app project?”
Tell an agent
List all configured repositories.
List repositories used by app project {appProject}.
POST /api/v1/repositories Add a repository configuration · CreateRepository creates a new repository configuration #
Ask an LLM
“How do I add a Git repository so Argo CD can sync from it?”
“Can I configure a Helm chart repository with a bearer token?”
Tell an agent
Create a {type} repository {repo} named {name}.
Add repository {repo} with username {username} and password {password}.
PUT /api/v1/repositories/{repo.repo} Update a repository configuration · UpdateRepository updates a repository configuration #
Ask an LLM
“How do I change the credentials on a repository I already configured?”
“Can I switch an existing repository to use a GitHub App?”
Tell an agent
Update repository {repo} to use username {username} and password {password}.
Switch existing repository {repo} to GitHub App {githubAppID} installation {githubAppInstallationID}.
GET /api/v1/repositories/{repo} Get a repository configuration · Get returns a repository or its credentials #
Ask an LLM
“What credentials are stored for a particular repository?”
“Can I look up one repository's configuration by URL?”
Tell an agent
Get repository {repo}.
Show the credentials configured for {repo}.
DELETE /api/v1/repositories/{repo} Delete a write repository · DeleteRepository deletes a repository from the configuration #
Ask an LLM
“How do I remove a write repository config from Argo CD?”
“Can I force a refresh when deleting a repository?”
Tell an agent destructive · confirm first
Delete write repository {repo}.
Remove write repo {repo} with force refresh {forceRefresh}.
GET /api/v1/repositories/{repo}/apps List applications in a repository · ListApps returns list of apps in the repo #
Ask an LLM
“Which applications are in a given repository?”
“Can I list only the apps in a repository at a specific revision?”
Tell an agent
List applications in repository {repo}.
Show apps in {repo} at revision {revision}.
GET /api/v1/repositories/{repo}/helmcharts List Helm charts in a repository · GetHelmCharts returns list of helm charts in the specified repository #
Ask an LLM
“What Helm charts are available in a Helm repository?”
“Can I list Helm charts for one app project only?”
Tell an agent
List Helm charts in repository {repo}.
Show Helm charts for {repo} in app project {appProject}.
GET /api/v1/repositories/{repo}/oci-tags List OCI image tags in a repository · Repository service list OCI tags #
Ask an LLM
“Which OCI image tags are available in an OCI repository?”
“Can I list OCI tags for a Helm chart repository?”
Tell an agent
List OCI tags in repository {repo}.
Show OCI image tags for {repo} in app project {appProject}.
GET /api/v1/repositories/{repo}/refs List Git refs in a repository · Repository service list refs #
Ask an LLM
“What branches and tags exist in a Git repository?”
“Can I list Git refs for one app project?”
Tell an agent
List Git refs in repository {repo}.
Show branches and tags in {repo} for app project {appProject}.
POST /api/v1/repositories/{repo}/validate Test access to a repository · ValidateAccess validates access to a repository with given parameters #
Ask an LLM
“Can I check that Argo CD can reach a Git repository before adding it?”
“How do I test credentials for a Helm chart repository?”
Tell an agent
Validate access to repository {repo} with username {username} and password {password}.
Test access to {repo} using SSH key {sshPrivateKey}.
POST /api/v1/repositories/{source.repoURL}/appdetails Get application details from a repository · GetAppDetails returns application details by given path #
Ask an LLM
“How do I get the details of an application from a repository path?”
“Can I fetch application details for a Helm chart at a version?”
Tell an agent
Get application details for {appName} in {source.repoURL}.
Fetch Helm chart details for {appName} at version {versionId} in {source.repoURL}.
GET /api/v1/write-repositories List write repositories · ListWriteRepositories gets a list of all configured write repositories #
Ask an LLM
“Which repositories are configured as write repositories?”
“Can I list only one write repo by its URL?”
Tell an agent
List all write repositories.
Show write repo {repo} in project {appProject}.
POST /api/v1/write-repositories Add a write repository configuration · CreateWriteRepository creates a new write repository configuration #
Ask an LLM
“How do I add a write repository so Argo CD can push to it?”
“Can I configure a write repository with a GitHub App?”
Tell an agent
Create a write repository {repo} named {name}.
Add write repository {repo} with GitHub App {githubAppID} installation {githubAppInstallationID}.
PUT /api/v1/write-repositories/{repo.repo} Update a write repository's configuration · UpdateWriteRepository updates a write repository configuration #
Ask an LLM
“How do I change the SSH key on an existing write repository?”
“Can I turn off git-lfs support for a write repo I already configured?”
Tell an agent
Update the configuration of write repository {repo.repo}.
Change the SSH private key of write repository {repo.repo} to {sshPrivateKey}.
GET /api/v1/write-repositories/{repo} Get a write repository configuration · GetWrite returns a repository or its write credentials #
Ask an LLM
“What credentials are stored for a write repository?”
“Can I look up one write repository's configuration?”
Tell an agent
Get write repository {repo}.
Show the write credentials configured for {repo}.
DELETE /api/v1/write-repositories/{repo} Delete a write repository configuration · DeleteWriteRepository deletes a write repository from the configuration #
Ask an LLM
“How do I delete a write repository so Argo CD stops pushing to it?”
“Can I remove a write repository and refresh its connection state cache at the same time?”
Tell an agent destructive · confirm first
Delete the write repository at URL {repo} from the configuration.
Delete write repository {repo} that belongs to app project {appProject}.
POST /api/v1/write-repositories/{repo}/validate Test write access to a repository · ValidateWriteAccess validates write access to a repository with given parameters #
Ask an LLM
“Can I verify I can write to a repository before committing?”
“What credentials do I need to test write access to a repo?”
Tell an agent
Validate write access to {repo}.
Test write access to repo {repo} with username {username} and password {password}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/argocd:argocd-repositoryservice-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

argocd-repositoryservice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Description of all APIs
  title: Consolidate Services Repository Service API
  version: version not set
tags:


# --- truncated at 32 KB (55 KB total) ---
# Full source: https://artifacts.apis.io/argocd/openapi/argocd-repositoryservice-api-openapi.yml