# Get the current workspace

Source: https://ampost.io/docs/api/workspace-get · Full reference: https://ampost.io/llms-full.txt

`GET /api/workspaces/current` · MCP tool `workspace_get` · scope none (any key) · rate limit `apiRead` · success `200`

Return the workspace this key or connection acts in: its `id`, `name` and whether it is your `personal` one, your `userId` and `role` there, `access` (the scopes and platform sets this call may use, already narrowed to your role) and its `members` with their user id, name, email and role. Every post, account and platform set you reach belongs to this workspace; a key or connection works in one workspace only, so to act in another, use a key made there. A post's `createdBy` is one of the members' `userId`: use this to say who created a post. Any valid key may call it.

Example response:

```json
{
  "id": "6c2e8a4f-3b1d-4e7a-9f5c-2d8b6e1a4c30",
  "name": "Agency",
  "personal": false,
  "userId": "4e8b2d6f-1a3c-4f7e-9d5b-8c2a6e1f3b90",
  "role": "editor",
  "access": {
    "scopes": [
      "posts:read",
      "posts:write",
      "media:write"
    ],
    "platformSetIds": [
      "0b6e4d2a-9c3f-4e1b-8a7d-5f2c1e9b3d40"
    ]
  },
  "members": [
    {
      "userId": "1d7f3b9e-5a2c-4e8d-b6f1-9c3a7e2d5b80",
      "name": "Ana Owner",
      "email": "ana@example.com",
      "role": "owner",
      "joinedAt": "2026-11-02T09:00:00.000Z"
    },
    {
      "userId": "4e8b2d6f-1a3c-4f7e-9d5b-8c2a6e1f3b90",
      "name": "Sam Editor",
      "email": "sam@example.com",
      "role": "editor",
      "joinedAt": "2026-11-12T14:30:00.000Z"
    }
  ]
}
```
