---
title: "Check if module.yaml exists at path"
method: GET
path: "/code-source/{id}/module-yaml-exists"
tags: ["CodeSources"]
---

# Check if module.yaml exists at path

`GET /code-source/{id}/module-yaml-exists`

## Request

- Base URL: `https://api.ravion.com`
- URL: `https://api.ravion.com/code-source/{id}/module-yaml-exists`
- Auth: HTTP bearer

Check if module.yaml exists at a given base path for a branch.

## Path parameters

- `id` string, required

## Query parameters

- `branch` string, nullable, required
- `basePath` string, nullable

## Response `200`

The request has succeeded.

- object
  - `data` CodeSourceModuleYamlExistsResult, required: Module YAML existence check result
    - `exists` boolean, required: Whether the module.yaml file exists

## Other responses

- `400`: The request is invalid or malformed.
- `401`: You are not authenticated
- `403`: You do not have permission to access this resource.
- `422`: Client error
- `500`: Server error

---

[API](https://skmtc.dev/ravion/apis/ravion.md) - [All operations](https://skmtc.dev/ravion/apis/ravion/llms.txt) - [OpenAPI document](https://skmtc.dev/ravion/apis/ravion/revisions/66e5732205a0?raw)
