---
title: "GET /organization/{organizationId}/vcs"
method: GET
path: "/organization/{organizationId}/vcs"
tags: ["vcs"]
---

# GET /organization/{organizationId}/vcs

`GET /organization/{organizationId}/vcs`

## Request

- Base URL: `https://4014930676-files.gitbook.io/api/v1`
- URL: `https://4014930676-files.gitbook.io/api/v1/organization/{organizationId}/vcs`
- Auth: none declared
- TypeScript: <https://skmtc.dev/terrakube/apis/elide-service/docs/organization/:organizationId/vcs/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the relationship vcs

## Query parameters

- `sort` string[]
- `fields[vcs]` string[]
- `include` string[]
- `filter[vcs]` string
- `page[number]` integer
- `page[size]` integer
- `page[offset]` integer
- `page[limit]` integer
- `page[totals]` string

## Response `200`

Successful response

- object
  - `data` Vcs[]
    - `type` string: Create Permissions : (team manage vcs) Delete Permissions : (team manage vcs)
    - `id` string
    - `attributes` object
      - `accessToken` string: Read Permissions : (read access token) Update Permissions : (team manage vcs)
      - `clientId` string: Read Permissions : (team view vcs) Update Permissions : (team manage vcs)
      - `clientSecret` string: Read Permissions : (read vcs secret) Update Permissions : (team manage vcs)
      - `createdBy` string: Read Permissions : (team view vcs) Update Permissions : (team manage vcs)
      - `createdDate` string, date-time: Read Permissions : (team view vcs) Update Permissions : (team manage vcs)
      - `description` string: Read Permissions : (team view vcs) Update Permissions : (team manage vcs)
      - `name` string: Read Permissions : (team view vcs) Update Permissions : (team manage vcs)
      - `status` 'PENDING' | 'COMPLETED' | 'ERROR': Read Permissions : (team view vcs) Update Permissions : (user is a super service)
      - `updatedBy` string: Read Permissions : (team view vcs) Update Permissions : (team manage vcs)
      - `updatedDate` string, date-time: Read Permissions : (team view vcs) Update Permissions : (team manage vcs)
      - `vcsType` 'GITHUB' | 'GITLAB' | 'BITBUCKET' | 'AZURE_DEVOPS' | 'PUBLIC': Read Permissions : (team view vcs) Update Permissions : (team manage vcs)
    - `relationships` object
      - `organization` object: Read Permissions : (team view vcs) Update Permissions : (team manage vcs)
        - `id` string
        - `type` 'organization'
  - `included` object[]: Included resources
    - `attributes` object
    - `id` string
    - `relationships` object
    - `type` string

---

[API](https://skmtc.dev/terrakube/apis/elide-service.md) - [All operations](https://skmtc.dev/terrakube/apis/elide-service/llms.txt) - [OpenAPI document](https://skmtc.dev/terrakube/apis/elide-service/revisions/e7891deb8c02?raw)
