---
title: "List Upstreams"
method: GET
path: "/v0/users/{user_id}/upstreams"
tags: ["users"]
---

# List Upstreams

`GET /v0/users/{user_id}/upstreams`

## Request

- Base URL: `https://api.pantheon.io`
- URL: `https://api.pantheon.io/v0/users/{user_id}/upstreams`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/pantheon/apis/pantheon-public-api-service/docs/v0/users/:user_id/upstreams/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists all upstreams available to a specific user.
Returns information about upstream repositories.

## Path parameters

- `user_id` string, required

## Response `200`

- UpstreamList
  - `upstreams` Upstream[], required: List of upstreams
    - `description` string: Upstream description
    - `framework` 'drupal' | 'drupal8' | 'wordpress' | 'nodejs': Framework type
    - `id` string, required: Upstream UUID
    - `label` string: Upstream name
    - `machine_name` string: Machine-readable name
    - `organization_id` string: Organization ID
    - `repository_url` string: Repository URL
    - `type` 'core' | 'custom': Upstream type

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/pantheon/apis/pantheon-public-api-service.md) - [All operations](https://skmtc.dev/pantheon/apis/pantheon-public-api-service/llms.txt) - [OpenAPI document](https://skmtc.dev/pantheon/apis/pantheon-public-api-service/revisions/5d158d59f4c3?raw)
