# The workspace this credential belongs to

URL: https://docs.fxapis.com/api-reference/workspace/the-workspace-this-credential-belongs-to

> The workspace this credential belongs to. Its plan, and whether trading is switched off.

`GET https://api.fxapis.com/v1/workspace`

Its plan, and whether trading is switched off. Our staff switch trading off for a whole workspace only during an incident; this is where to see it.

Authentication: `Authorization: Bearer <API key>`.

#### Responses

- `200`
- `401`

Failures return `{ "error": { "code", "message" } }`; every code is listed at https://docs.fxapis.com/errors.

#### 200 response fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | object | no |  |
| `data.id` | string (uuid) | yes |  |
| `data.name` | string | yes |  |
| `data.plan` | string | yes | The plan in force. `none` when the workspace pays for nothing and no free plan is offered: choose a plan to connect accounts and open trades. |
| `data.planName` | string | yes |  |
| `data.planAssigned` | boolean | yes | The plan was arranged with us rather than paid for, and is changed by talking to us. |
| `data.tradingDisabled` | boolean | yes | Trading is switched off for the whole workspace. While it is, every order is refused with `409 TRADING_DISABLED` — closes included. |