v1
latestOpenAPI 3.1.02026-07-261690320.7 KBGet code repository detail
Returns the details of a code repository
get/repositories/code/{code_repo_id}
Path parameters
code_repo_idinteger required
The ID of the code repo
Response
A code repository
Example response
{
"id": 1,
"name": "Compression service",
"provider": "github",
"external_repo_id": "R_kgDOI5RlKA",
"external_repo_numeric_id": 1234567890,
"active": true,
"branch": "main",
"url": "https://api.github.com/repos/aikidemo/compression-service",
"last_scanned_at": 1678886400,
"linked_teams": [
{
"id": 1,
"name": "Backend Team"
},
{
"id": 1,
"name": "Custom Aikido Team"
}
],
"excluded_paths": [
{
"id": 1,
"path": "tests/"
},
{
"id": 2,
"path": "docs/"
}
],
"connectivity": "connected",
"sensitivity": "normal",
"labels": [
{
"id": 1,
"name": "production",
"is_imported": false
},
{
"id": 2,
"name": "core",
"is_imported": true
}
]
}