---
title: Read the repository information for an xcode cloud workflow
framework: appstoreconnectapi
role: symbol
role_heading: Web Service Endpoint
path: appstoreconnectapi/get-v1-ciworkflows-_id_-repository
---

# Read the repository information for an xcode cloud workflow

Get information about the Git repository of a specific Xcode Cloud workflow.

## URL

GET https://api.appstoreconnect.apple.com/v1/ciWorkflows/{id}/repository

## Path Parameters

id: The opaque resource ID that uniquely identifies the Workflows  resource.

## Query Parameters

fields[scmRepositories]: Additional fields to include for the Repositories resource returned by the response. fields[scmGitReferences]: fields[scmProviders]: include:

## Response Codes

200 OK: The request completed successfully. 400 Bad Request: An error occurred with your request. 401 Unauthorized: 403 Forbidden: Request not authorized. 404 Not Found: Resource not found. 429 :

## Discussion

Discussion The example request below retrieves information about an Xcode Cloud workflow’s repository. Use the data provided in the response to read additional information; for example, pull request information. Example Request and Response

## See Also

### Getting Xcode Cloud Workflows

- [Read xcode cloud workflow information](appstoreconnectapi/get-v1-ciworkflows-_id_.md)
- [List all xcode cloud builds for a workflow](appstoreconnectapi/get-v1-ciworkflows-_id_-buildruns.md)
- [List build run IDs for a CI workflow](appstoreconnectapi/get-v1-ciworkflows-_id_-relationships-buildruns.md)
- [Get the repository ID for a CI workflow](appstoreconnectapi/get-v1-ciworkflows-_id_-relationships-repository.md)
