← Tools Reference

Codegen

Codegen integration (Developer Tools, AI). Imported from open-connector.

API key6 toolshttps://api.codegen.com
GET
codegen_get_current_user
Retrieve the Codegen user associated with the API token.

/v1/users/me

GET
codegen_list_organizations
List Codegen organizations available to the authenticated API token.

/v1/organizations

2 parameters
ParamTypeRequiredDescription
skipintegeroptionalThe number of items to skip before returning results.
limitintegeroptionalThe maximum number of items to return. Codegen allows 1 to 100.
GET
codegen_list_repositories
List repositories for a Codegen organization.

/repos

3 parameters
ParamTypeRequiredDescription
org_idintegeroptionalThe Codegen organization ID. Omit this field to use the organization ID saved w…
skipintegeroptionalThe number of items to skip before returning results.
limitintegeroptionalThe maximum number of items to return. Codegen allows 1 to 100.
GET
codegen_list_users
List users for a Codegen organization.

/users

3 parameters
ParamTypeRequiredDescription
org_idintegeroptionalThe Codegen organization ID. Omit this field to use the organization ID saved w…
skipintegeroptionalThe number of items to skip before returning results.
limitintegeroptionalThe maximum number of items to return. Codegen allows 1 to 100.
GET
codegen_list_agent_runs
List Codegen agent runs for an organization.

/v1/organizations/{orgId}/agent/runs

6 parameters
ParamTypeRequiredDescription
org_idintegeroptionalThe Codegen organization ID. Omit this field to use the organization ID saved w…
user_idintegeroptional
source_typestringoptional
skipintegeroptionalThe number of items to skip before returning results.
limitintegeroptionalThe maximum number of items to return. Codegen allows 1 to 100.
orgIdstringrequiredPath parameter: orgId
GET
codegen_get_agent_run
Retrieve a single Codegen agent run status and result.

/v1/organizations/{orgId}/agent/run/{agentRunId}

4 parameters
ParamTypeRequiredDescription
org_idintegeroptionalThe Codegen organization ID. Omit this field to use the organization ID saved w…
agent_run_idintegerrequiredThe Codegen agent run ID to retrieve.
orgIdstringrequiredPath parameter: orgId
agentRunIdstringrequiredPath parameter: agentRunId