---
title: "List repositories the current organization can see."
method: GET
path: "/api/me/repositories"
tags: ["Auth"]
---

# List repositories the current organization can see.

`GET /api/me/repositories`

## Request

- Base URL: `https://platform.buildpulse.io`
- URL: `https://platform.buildpulse.io/api/me/repositories`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer

Returns the repositories scoped to the caller's current
organization (resolved by the auth middleware from the token
and, for multi-org mcpSession callers, the
`?organization_id=` query parameter).

Used by the MCP server's `list_repositories` tool so the
model can disambiguate "do I have flaky tests?" without the
user having to remember repo names.

## Response `200`

Caller's accessible repositories.

- object
  - `repositories` object[], required
    - `id` string, required: Repository UUID.
    - `name` string, required
    - `full_name` string, required: `owner/name`.
    - `url` string, required
    - `description` string

## Other responses

- `401`: Missing, malformed, or invalid token; or — for legacy 40-hex tokens only — the organization has no active plan (`marketplacePurchases.unitCount > 0`). The new `bp_<64-hex>` path has no plan gate, so a 401 there means the token shape was wrong, the hash didn't match, or the token has expired. Response body is empty (matches legacy Rails).

---

[API](https://skmtc.dev/buildpulse/apis/buildpulse-platform-api.md) · [All operations](https://skmtc.dev/buildpulse/apis/buildpulse-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/buildpulse/apis/buildpulse-platform-api/revisions/2e68b4b2df6a?raw)
