# PersonalAccessToken

> The PersonalAccessToken object in the Guv API.

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `id` * | string |  |
| `name` * | string |  |
| `prefix` * | string | First characters of the token, for recognition. |
| `workspace_id` | string or null |  |
| `scopes` * | array of [Scope](/docs/api/objects/scope/) |  |
| `expires_at` | string (date-time) or null |  |
| `last_used_at` | string (date-time) or null |  |
| `created_at` * | string (date-time) |  |

\* always present

## Example

```json
{
  "id": "pat_01jbx2m9k7q4r8t5v6w3y0z1pr",
  "name": "string",
  "prefix": "guv_pat_7Hc2",
  "workspace_id": "string",
  "scopes": [
    "deploy:staging"
  ],
  "expires_at": "2026-10-22T13:05:00Z",
  "last_used_at": "2026-10-22T13:05:00Z",
  "created_at": "2026-10-22T13:05:00Z"
}
```
