API Reference
API Endpoints
repositories
Get repository
Get detailed information about a specific repository
GET
/
v1
/
repos
/
{id}
Copy
Ask AI
curl --request GET \
--url https://api.ghostsecurity.ai/v1/repos/{id} \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"archived": false,
"cast_scan_enabled": true,
"cast_scan_supported": true,
"created_at": "2025-05-29T22:24:59.324066Z",
"default_branch_name": "main",
"description": "Ghostbank Go API",
"endpoints_count": 11,
"findings_count": 5,
"frameworks": [
{
"language": "Go",
"name": "gin"
}
],
"full_name": "ghostsecurity/ghostbank-go",
"id": "1e7d8c9b-ce80-41ae-8645-5b2a89165615-gitlab-69265683",
"installation_id": "2e1d9bbc-1db3-4c88-b4c7-e11e311c9a82",
"labels": [
"<string>"
],
"languages": {},
"last_commit_hash": "981be7365cc7b7da32d5ab28e635f6d35b0ff4f1",
"last_commit_hash_link": "https://gitlab.com/ghost/ghostbank/go/-/tree/981be7365cc7b7da32d5ab28e635f6d35b0ff4f1",
"last_committed_at": "2025-05-14T21:00:08Z",
"name": "go",
"organization_id": "1e7d8c9b-ce80-41ae-8645-5b2a89165615",
"primary_framework": "gin",
"primary_language": "Go",
"private": true,
"provider": "gitlab",
"provider_id": "",
"purposes": [
"<string>"
],
"size": 32784,
"summary": "This repository contains the Go port of the Ghostbank API, designed primarily as a minimal demonstration of application security vulnerabilities.",
"topics": [
"<string>"
],
"updated_at": "2025-05-29T22:24:59.324066Z",
"url": "https://gitlab.com/ghostsecurity/ghostbank-go"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Repository ID
Response
200
application/json
OK
Repository information
Copy
Ask AI
curl --request GET \
--url https://api.ghostsecurity.ai/v1/repos/{id} \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"archived": false,
"cast_scan_enabled": true,
"cast_scan_supported": true,
"created_at": "2025-05-29T22:24:59.324066Z",
"default_branch_name": "main",
"description": "Ghostbank Go API",
"endpoints_count": 11,
"findings_count": 5,
"frameworks": [
{
"language": "Go",
"name": "gin"
}
],
"full_name": "ghostsecurity/ghostbank-go",
"id": "1e7d8c9b-ce80-41ae-8645-5b2a89165615-gitlab-69265683",
"installation_id": "2e1d9bbc-1db3-4c88-b4c7-e11e311c9a82",
"labels": [
"<string>"
],
"languages": {},
"last_commit_hash": "981be7365cc7b7da32d5ab28e635f6d35b0ff4f1",
"last_commit_hash_link": "https://gitlab.com/ghost/ghostbank/go/-/tree/981be7365cc7b7da32d5ab28e635f6d35b0ff4f1",
"last_committed_at": "2025-05-14T21:00:08Z",
"name": "go",
"organization_id": "1e7d8c9b-ce80-41ae-8645-5b2a89165615",
"primary_framework": "gin",
"primary_language": "Go",
"private": true,
"provider": "gitlab",
"provider_id": "",
"purposes": [
"<string>"
],
"size": 32784,
"summary": "This repository contains the Go port of the Ghostbank API, designed primarily as a minimal demonstration of application security vulnerabilities.",
"topics": [
"<string>"
],
"updated_at": "2025-05-29T22:24:59.324066Z",
"url": "https://gitlab.com/ghostsecurity/ghostbank-go"
}
Assistant
Responses are generated using AI and may contain mistakes.