> For the complete documentation index, see [llms.txt](https://developer.celigo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.celigo.com/cli/commands/platform.md).

# platform

Send one GET to any path of the integrator.io REST API that the command groups do not cover, with the profile's token — `v1/preferences`, `v1/bartenderTemplates`, and the other public endpoints no group has a command for. The request goes through the same client as every other command: the profile's token and base URL, its retries, and the [profile pin policy](https://developer.celigo.com/cli/getting-started/profiles.md#refusing-a-pinned-profile) all apply, and `--jq` and `--format` work as usual.

`platform get` is the supported way to reach such an endpoint. Do not read the token out of `~/.celigo/config.json` to call the API with curl. The group is read-only: there is no write verb, and `get` runs in every [permission mode](https://developer.celigo.com/cli/getting-started/profiles.md#permission-modes), `read` included. It does not manage the account's own APIs — those are the [apis](https://developer.celigo.com/cli/commands/apis.md) group.

> Added in celigo-cli 2026.10.1.

**REST API**: [API reference](https://developer.celigo.com/api/api-reference) — every path `platform get` can reach is documented there.

```
celigo platform get <path> [flags]
```

Supports all [global flags](https://developer.celigo.com/cli/getting-started/global-flags.md).

***

## Subcommands

| Subcommand   | Purpose                                       |
| ------------ | --------------------------------------------- |
| `get <path>` | GET one API path and print the response body. |

***

## `celigo platform get <path>`

GET one API path and print the response body. The path starts with `v1/`; a leading `/` and a query string are fine. The host always comes from the profile, never from the argument, so the CLI refuses these before any request and exits 1:

* A full URL, including one that names the profile's own host.
* A path that resolves outside `v1/`, such as `v1/../flows`.
* A path with an empty segment — a trailing or doubled slash, such as `v1/flows/`.

A backslash in the query string is sent percent-encoded (`%5C`). The command sends exactly one request, so a list endpoint that pages returns only its first page: narrow it with the endpoint's own query parameters. When a command group covers the resource, prefer the group's command — it pages lists to the end and knows the resource.

**Signature**

```bash
celigo platform get <path>
```

**Arguments**

| Argument | Type   | Required | Description                                                               |
| -------- | ------ | -------- | ------------------------------------------------------------------------- |
| `<path>` | string | Yes      | A path under `v1/`, with its query string (for example `v1/preferences`). |

**Flags**

Uses [global flags](https://developer.celigo.com/cli/getting-started/global-flags.md) only.

**Example**

```bash
# An endpoint no command group covers
celigo platform get v1/preferences

# A leading slash and a query string are fine; quote the path for the shell
celigo platform get '/v1/bartenderTemplates?name=amazon'

# --jq works as on every command
celigo platform get v1/preferences --jq 'keys'
```

A full URL is refused, whatever host it names:

```
$ celigo platform get https://api.integrator.io/v1/flows
'https://api.integrator.io/v1/flows' is not a path under v1/ on the profile's host. Pass one like v1/preferences — a full URL is refused, since the host always comes from the profile. (The account's own APIs are the 'apis' group: celigo apis get <id>.)
```

An empty segment is refused too:

```
$ celigo platform get v1/flows/
'v1/flows/' has an empty path segment (a trailing or doubled slash). Pass the path as the API documents it, e.g. v1/flows.
```

**Corresponds to**: `GET /<path>` on the profile's host — the [API reference](https://developer.celigo.com/api/api-reference) documents each endpoint.

***

## Gotchas

* **One request, one page.** `platform get` never follows a `Link` header. A paged list returns its first page only; use the endpoint's own query parameters to narrow it, or the command group's `list`, which reads every page.
* **The host comes from the profile.** Select another account or environment with `--profile`, not with a URL in the argument. `celigo profile whoami` confirms which account and environment the profile's credential reaches.
* **Quote a path that carries a query string.** `?`, `&`, and `*` are special characters in most shells.
* **There is no write verb.** Creates, updates, and deletes go through the resource groups, where the permission-mode gates and the pre-send checks live.
* **This is not the `apis` group.** `platform` reaches the integrator.io REST API itself; the APIs you build and publish on your account are managed with [apis](https://developer.celigo.com/cli/commands/apis.md).

## Related

* [apis](https://developer.celigo.com/cli/commands/apis.md) — the account's own API resources (builder and script modes).
* [profile](https://developer.celigo.com/cli/commands/profile.md) — `profile whoami` shows which account and environment `platform get` reaches.
* [Global flags](https://developer.celigo.com/cli/getting-started/global-flags.md) — `--profile`, `--format`, and `--jq` apply to `platform get` as to every command.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.celigo.com/cli/commands/platform.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
