# Models: L

> API models starting with L.

## `LeftBehindVersion`

- `kind: str`
- `id: str`
- `version: str`
- `from_: str` (`from` on the wire)

## `Legal`

The deployment's terms and privacy policy, for a sign-in page to link: only the ones its operator set, each an absolute https URL with no username or password. Absent when neither is set, and from older servers.

- `terms_url: AnyUrl | None` (`termsUrl` on the wire) (optional)
- `privacy_url: AnyUrl | None` (`privacyUrl` on the wire) (optional)

## `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: Union[Literal['valid', 'expiring', 'expired'], str]`

## `LicenseStatus`

- `mode: Union[Literal['development', 'licensed'], str]`
- `name: str | None` (optional)
- `use: Optional[Annotated[Union[Literal['production', 'non-production'], str], <kindgi.client._open.OpenEnum object at 0x10700bbd0>]]` (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[Annotated[Union[Literal['valid', 'expiring', 'grace', 'expired'], str], <kindgi.client._open.OpenEnum object at 0x10700bbd0>]]` (optional)
- `renew_by: Optional[Annotated[Union[Literal['command', 'contact'], str], <kindgi.client._open.OpenEnum object at 0x10700bbd0>]]` (`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 | kindgi.client.LiveScopeUnrecognized`
- `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']`

## `LiveScopeUnrecognized`

A `kind` this client doesn't know yet, from a newer runtime: the object as it came, every field kept.

- `kind: str`

## `LiveVersionResolution`

- `agent_id: str` (`agentId` on the wire)
- `version: str`
- `via: Union[Literal['live', 'latest'], str]`
- `live_scope: Optional[Annotated[kindgi.client.LiveScopeTenant | kindgi.client.LiveScopeOrg | kindgi.client.LiveScopeProject | kindgi.client.LiveScopeSegment | kindgi.client.LiveScopeUnrecognized, <kindgi.client._open.OpenUnion object at 0x1079e21d0>]]` (`liveScope` on the wire) (optional)

## `LogoutResult`

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