# Reveal an API Component

Revealing an API component is basically the same as [revealing a process](https://boomi.markusschmidt.pro/boomi-console/command-collection/reveal-a-process). However, an API might have many, many service processes, which are: [*independent* children](https://boomi.markusschmidt.pro/boomi-console/commands/arguments/common-arguments#component-trees)!

There are basically two options to reveal an API.

<div align="left"><figure><img src="https://856602315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJ5pAMZk3evA8VCVuQL%2Fuploads%2Fgit-blob-8c1c46e548ddecd3a965719956bdcf14ce671173%2Fimage_7.png?alt=media" alt="" width="369"><figcaption><p>A REST service with its service processes</p></figcaption></figure></div>

### Reveal an API component without its service processes

This command retrieves the API component with its *dependent* child components, only. Dependent child components are *profiles*, *certificates* etc.

```batch
.\bc comp get /c {apiComponentId} /outdir {dir} /t compList.csv /children dependent
```

### Reveal an API component including all its service processes

{% hint style="info" %}
**NOTE**\
Depending on the number of service processes this may take a couple of seconds to retrieve all children.
{% endhint %}

This command retrieves the API component with all child components.

```batch
.\bc comp get /c {apiComponentId} /outdir {dir} /t compList.csv /children all
```
