# info

## Usage

```bash
bdy api info [options] <method> <url>
```

## Arguments

| **Argument** | **Description** |
| :--- | :--- |
| `method` | Endpoint method (get, post, put, patch, delete) (required) |
| `url` | Endpoint url (required) |

## Options

| **Option** | **Description** |
| :--- | :--- |
| `-w, --workspace <domain>` | Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE |
| `-p, --project <name>` | Project name. Can be set via variable: BUDDY_PROJECT |
| `--request-schema <schema>` | Pass schema name or index to view it |
| `--response-schema <schema>` | Pass schema name or index to view it |
| `-h, --help` | display help for command |


---
Original source: https://buddy.works/docs/cli/api/info