# Models: L

> API models starting with L.

## `LicensePreview`

This build's own expiry, before Kindgi 1.0: a preview release stops starting 90 days after it was released, in every mode, unless a production key exempts it. Absent when nothing expires: a 1.0 or later release, a build from source, or a production key.

- `version: str`
- `released_at: AwareDatetime` (`releasedAt` on the wire)
- `expires_at: AwareDatetime` (`expiresAt` on the wire)
- `days_left: int` (`daysLeft` on the wire)
- `standing: Literal['valid', 'expiring', 'expired']`

## `LicenseStatus`

- `mode: Literal['development', 'licensed']`
- `name: str | None` (optional)
- `use: Optional[Literal['production', 'non-production']]` (optional)
- `expires_at: AwareDatetime | None` (`expiresAt` on the wire) (optional)
- `starts_until: AwareDatetime | None` (`startsUntil` on the wire) (optional)
- `days_left: int | None` (`daysLeft` on the wire) (optional)
- `standing: Optional[Literal['valid', 'expiring', 'grace', 'expired']]` (optional)
- `renew_by: Optional[Literal['command', 'contact']]` (`renewBy` on the wire) (optional)
- `renew: str | None` (optional)
- `preview: kindgi.client.LicensePreview | None` (optional)

## `LicenseUsage`

- `since: AwareDatetime`
- `until: AwareDatetime`
- `runtime_version: str` (`runtimeVersion` on the wire)
- `runs: int`
- `people: int`
- `projects_in_production: int | None` (`projectsInProduction` on the wire) (optional)

## `Live`

- `project_id: str | None` (`projectId` on the wire) (optional)
- `segments: list[kindgi.client.ScopeSegment] | None` (optional)

## `LivePin`

- `agent_id: str` (`agentId` on the wire)
- `scope: kindgi.client.LiveScopeTenant | kindgi.client.LiveScopeOrg | kindgi.client.LiveScopeProject | kindgi.client.LiveScopeSegment`
- `version: str`
- `promotion_id: uuid.UUID` (`promotionId` on the wire)
- `set_at: AwareDatetime` (`setAt` on the wire)

## `LivePinList`

- `data: list[kindgi.client.LivePin]`

## `LiveScopeOrg`

An org's projects.

- `kind: Literal['org']`
- `org_id: uuid.UUID` (`orgId` on the wire)

## `LiveScopeProject`

One project.

- `kind: Literal['project']`
- `project_id: uuid.UUID` (`projectId` on the wire)

## `LiveScopeSegment`

A segment path within a project: it covers every run whose path starts with it.

- `kind: Literal['segment']`
- `project_id: uuid.UUID` (`projectId` on the wire)
- `path: list[kindgi.client.ScopeSegment]`

## `LiveScopeTenant`

The agent's default for the whole tenant.

- `kind: Literal['tenant']`

## `LiveVersionResolution`

- `agent_id: str` (`agentId` on the wire)
- `version: str`
- `via: Literal['live', 'latest']`
- `live_scope: kindgi.client.LiveScopeTenant | kindgi.client.LiveScopeOrg | kindgi.client.LiveScopeProject | kindgi.client.LiveScopeSegment | None` (`liveScope` on the wire) (optional)

## `LogoutResult`

- `session_id: str` (`sessionId` on the wire)
- `revoked: bool`
