List repositories
curl --request GET \
--url https://app.cysmiq.com/api/v1/{tenant_slug}/repositories \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.cysmiq.com/api/v1/{tenant_slug}/repositories"
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', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "repo_01hxyz",
"name": "widgets",
"full_name": "acme/widgets",
"source": "ghc",
"is_private": false,
"is_archived": false,
"is_enabled": true,
"scan_state": "active",
"external_id": "987654",
"org": {
"id": "org_01hxyz",
"name": "acme",
"full_path": "acme"
},
"created_at": "2024-08-01T10:00:00Z",
"updated_at": "2026-01-14T17:45:00Z"
}
],
"next_cursor": null
}
Repositories
List repositories
Returns repositories the caller can access, optionally filtered by org and VCS source.
GET
/
{tenant_slug}
/
repositories
List repositories
curl --request GET \
--url https://app.cysmiq.com/api/v1/{tenant_slug}/repositories \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.cysmiq.com/api/v1/{tenant_slug}/repositories"
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', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "repo_01hxyz",
"name": "widgets",
"full_name": "acme/widgets",
"source": "ghc",
"is_private": false,
"is_archived": false,
"is_enabled": true,
"scan_state": "active",
"external_id": "987654",
"org": {
"id": "org_01hxyz",
"name": "acme",
"full_path": "acme"
},
"created_at": "2024-08-01T10:00:00Z",
"updated_at": "2026-01-14T17:45:00Z"
}
],
"next_cursor": null
}
Authorizations
Use a Cysmiq API token in the Authorization header: Bearer {token}.
Path Parameters
Workspace slug for the tenant context.
Query Parameters
Maximum string length:
255Maximum string length:
255Maximum string length:
255Required range:
1 <= x <= 200Was this page helpful?