# Basics API

Every basics call: what to send, what comes back, and copy-ready examples.

## Show this key and workspace

`GET /me` (scope: Any key)

```bash
curl "https://api.usetotems.com/v1/me" \
  -H "Authorization: Bearer $TOTEMS_KEY"
```

```json
{
  "data": {
    "key": {
      "id": "6f1d2c9a-3b47-4c0e-9a55-1f2e3d4c5b6a",
      "name": "Docs samples",
      "scopes": [
        "reports:read",
        "content:read"
      ],
      "test": true
    },
    "workspace": {
      "id": "6f1d4b89-3b47-4c0e-9a55-1f2e3d4c5b6a",
      "name": "Demo Studio",
      "slug": "demo-studio",
      "currency": "USD",
      "timezone": "America/New_York"
    }
  },
  "request_id": "req_..."
}
```

## API file

`GET /openapi.json` (no key needed)

```bash
curl "https://api.usetotems.com/v1/openapi.json"
```
