Skip to main content
Codacy logo
  • Category: developer tools
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 18
  • Triggers: 0
  • Slug: CODACY
  • Version: 20261101_00

Tools

Slug: CODACY_CREATE_API_TOKENCreates a new account API token for the authenticated user. The token inherits all permissions from the account owner and provides access to the same organizations and repositories. Note: The token is created with default settings. To configure expiration dates or other settings, use the Codacy web interface. The newly created token can be used to authenticate API requests by including it in the ‘api-token’ header.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_DELETE_API_TOKENTool to delete a specific API token from the authenticated user’s account. Use after confirming the token ID.

Input Parameters

string
required
The ID of the API token to delete.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_GET_ACCOUNT_DETAILSTool to retrieve details of the authenticated user’s account. Use when confirming authentication before user-level operations.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_GET_CONFIGURATION_STATUSTool to retrieve the current configuration status of the Codacy system. Use when checking system setup completion or first-time configuration status.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_GET_HEALTHTool to check the health status of the Codacy API. Use when verifying API connectivity and service availability.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_GET_ORGANIZATIONS_REPOSITORIES_SETTINGS_LANGUAGESTool to get the list of all languages with their extensions and enabled status for a repository. Use when you need to understand which programming languages are detected and enabled for analysis in a specific Codacy repository.

Input Parameters

string
required
Git provider identifier (e.g., ‘gh’ for GitHub, ‘gl’ for GitLab, ‘bb’ for Bitbucket).
string
required
Repository name on the Git provider organization.
string
required
Organization name on the Git provider.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_GET_TOOL_PATTERNTool to retrieve the definition of a specific pattern for a given tool. Use when you need to get detailed information about a specific code pattern including its description, examples, parameters, and configuration.

Input Parameters

string
required
Unique identifier (UUID) for the tool.
string
required
Pattern identifier.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_GET_USER_ORGANIZATIONSRetrieves all organizations the authenticated user belongs to for a specific Git provider. Returns organization details including name, provider, avatar, access permissions (DAST, SCA), and join status. Use this to discover which organizations a user can access on Codacy for a given Git provider (GitHub, GitLab, or Bitbucket). Requires the user to have connected the specified provider to their Codacy account.

Input Parameters

string
required
Git provider to list organizations from. Supported values: ‘gh’ (GitHub), ‘gl’ (GitLab), ‘bb’ (Bitbucket). Note: User must have connected the corresponding provider to their Codacy account.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_GET_VERSIONTool to retrieve the version of the Codacy installation. Use when checking the Codacy API version for compatibility or debugging purposes.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_LIST_ANALYSIS_ORGANIZATIONS_REPOSITORIESList repositories with analysis information for a specified organization, optionally filtering by name. Results are paginated, with a page size of 1 to 1000; URL encode Bitbucket cursors before subsequent calls.

Input Parameters

integer
Maximum number of results to return. Must be between 1 and 1000. Default is 100.
string
Pagination cursor. For Bitbucket, you must URL encode the cursor before using it in subsequent API calls, as the pagination comes directly from the Git provider.
Filter repositories by name.
string
required
Git provider code. Valid values: ‘gh’ (GitHub), ‘ghe’ (GitHub Enterprise), ‘gl’ (GitLab), ‘gle’ (GitLab Enterprise), ‘bb’ (Bitbucket), ‘bbe’ (Bitbucket Enterprise).
string
required
Organization name on the Git provider.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_LIST_DUPLICATION_TOOLSTool to retrieve the list of duplication detection tools available in Codacy. Use when you need to identify which tools can analyze code duplication for different programming languages.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_LIST_LANGUAGES_TOOLSTool to retrieve the list of languages supported by available tools. Use when you need to determine which programming languages are supported by Codacy’s analysis tools.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_LIST_LOGIN_INTEGRATIONSTool to list configured login providers on Codacy’s platform. Use when you need to discover available authentication methods for Codacy login.

Input Parameters

integer
Maximum number of items to return. Defaults to 100.
string
Cursor to specify a batch of results to request for pagination. See https://docs.codacy.com/codacy-api/using-the-codacy-api/#using-pagination

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_LIST_METRICS_TOOLSTool to retrieve the list of metrics tools available in Codacy. Use when you need to discover which tools calculate metrics on projects and which languages they support.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_LIST_PROJECTSList projects accessible to the authenticated user, with organization and name filters and page parameters. An HTTP 404 is returned as an empty project list.

Input Parameters

integer
Page number for pagination, must be >= 1.
string
Filter projects by matching project name.
integer
Number of items per page, must be between 1 and 100.
string
Filter by organization name.
string
Filter by organization provider (e.g., ‘github’, ‘gitlab’).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_LIST_PROVIDER_INTEGRATIONSTool to list provider integrations existing on Codacy’s platform. Use when you need to discover available Git providers that can be integrated with Codacy for authentication and repository management.

Input Parameters

integer
Maximum number of items to return. Defaults to 100.
string
Cursor to specify a batch of results to request for pagination. See https://docs.codacy.com/codacy-api/using-the-codacy-api/#using-pagination

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_LIST_TOOLSTool to retrieve the list of analysis tools available in Codacy. Use when you need to identify which code analysis tools are available and which programming languages they support.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CODACY_LIST_TOOLS_PATTERNSTool to retrieve the list of patterns for a specific tool. Returns code patterns that the tool can use to find issues, with pagination support.

Input Parameters

integer
Maximum number of items to return. Default is 100.
string
Cursor to specify a batch of results to request (for pagination).
boolean
Filter by enabled status. Set to true to return only enabled patterns, or false to return only disabled patterns.
string
required
Unique identifier (UUID) for the tool.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not