Get repository
curl --request GET \
--url https://app.cysmiq.com/api/v1/{tenant_slug}/repositories/{repo} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.cysmiq.com/api/v1/{tenant_slug}/repositories/{repo}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.cysmiq.com/api/v1/{tenant_slug}/repositories/{repo}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "repo_01hxyz",
"name": "widgets",
"full_name": "acme/widgets",
"source": "ghc",
"is_private": false,
"is_archived": false,
"is_monorepo": false,
"is_enabled": true,
"scan_state": "active",
"external_id": "987654",
"org": {
"id": "org_01hxyz",
"name": "acme",
"full_path": "acme"
},
"default_branch": {
"ref": "main",
"sha": "a1b2c3d4"
},
"created_at": "2024-08-01T10:00:00Z",
"updated_at": "2026-01-14T17:45:00Z"
}Repositories
Get repository
Returns details for a single repository, identified by prefixed id (repo_…) or org/name path.
GET
/
{tenant_slug}
/
repositories
/
{repo}
Get repository
curl --request GET \
--url https://app.cysmiq.com/api/v1/{tenant_slug}/repositories/{repo} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.cysmiq.com/api/v1/{tenant_slug}/repositories/{repo}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.cysmiq.com/api/v1/{tenant_slug}/repositories/{repo}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "repo_01hxyz",
"name": "widgets",
"full_name": "acme/widgets",
"source": "ghc",
"is_private": false,
"is_archived": false,
"is_monorepo": false,
"is_enabled": true,
"scan_state": "active",
"external_id": "987654",
"org": {
"id": "org_01hxyz",
"name": "acme",
"full_path": "acme"
},
"default_branch": {
"ref": "main",
"sha": "a1b2c3d4"
},
"created_at": "2024-08-01T10:00:00Z",
"updated_at": "2026-01-14T17:45:00Z"
}Authorizations
Use a Cysmiq API token in the Authorization header: Bearer {token}.
Path Parameters
Repository prefixed id (repo_...) or org/name path.
Response
Repository detail response.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?