GET
/
v1
/
repos
curl --request GET \
  --url https://api.ghostsecurity.ai/v1/repos \
  --header 'Authorization: Bearer <token>'
{
  "has_more": true,
  "items": [
    {
      "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"
    }
  ],
  "next_cursor": "eyJzb3J0X3ZhbHVlIjoiMjAyNC0wMS0xNVQxMDozMDowMFoiLCJkb2N1bWVudF9pZCI6InJlcG8xMjMiLCJzb3J0X2ZpZWxkIjoiY3JlYXRlZF9hdCJ9"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

cast
enum<string>
default:supported

Scanning supported

Available options:
supported,
unsupported,
all
cursor
string

Pagination cursor

sort
string
default:created_at

Sort field

order
enum<string>
default:desc

Sort order

Available options:
asc,
desc
size
integer
default:100

Page size

Required range: 1 <= x <= 1000

Response

200
application/json

OK

The response is of type object.