# nokku.v1.Target

Type: `object`

- `id` (string)
- `daemonId` (string)
- `name` (string)
- `description` (string)
- `hostPublicKey` (string): pinned SSH host public key (manual mode)
- `tags` (array<string>)
- `endpoints` (array<string>)
- `usernames` (array<string>)
- `accounts` (array<nokku.v1.TargetAccount>)
- `metadata` (object)
- `createdAt` (string): A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
- `updatedAt` (string): A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
- `lastSyncAt` (string): A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
- `usernameExpiresAt` (object): username_expires_at holds the usernames the subject asked about may only use until then. The others are for good.
- `blocked` (string): blocked says why the subject's grants here let nobody in today. Unset when they work. One of: `ACCESS_BLOCK_UNSPECIFIED`, `ACCESS_BLOCK_USER_INACTIVE`, `ACCESS_BLOCK_DAEMON_NOT_APPROVED`.
- `daemon` (object): daemon is the server's daemon with its live state, from ListTargets and GetTarget. Unset for nk sync servers.
  - `id` (string)
  - `name` (string)
  - `online` (boolean)
  - `status` (string): One of: `DAEMON_STATUS_UNSPECIFIED`, `DAEMON_STATUS_PENDING`, `DAEMON_STATUS_ACCEPTED`, `DAEMON_STATUS_REJECTED`.
  - `config` (object)
    - `recordSessions` (boolean)
    - `allowForwarding` (boolean)
    - `allowAgentForwarding` (boolean)
    - `gatewayPorts` (boolean)
    - `ephemeral` (boolean)
    - `idleTimeout` (string): idle_timeout closes an interactive session nobody typed into for that long. It is the workspace's session_idle_timeout, filled in by the core on sync and ignored when sent.
  - `updatedAt` (string): A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
  - `createdAt` (string): A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
  - `lastSeenAt` (string): A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
  - `version` (string): version is nokkud's, as its last enroll or sync reported it.
  - `behindSince` (string): behind_since is when a connected daemon stopped keeping up with access changes. Unset while it keeps up.
