> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# core

# `prefect.server.schemas.core`

Full schemas of Prefect REST API objects.

## Classes

### `Flow` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L83](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L83)</sup>

An ORM representation of flow data.

### `FlowRunPolicy` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L101](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L101)</sup>

Defines of how a flow run should retry.

**Methods:**

#### `model_validate_list` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L56](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L56)</sup>

```python theme={null}
model_validate_list(cls, obj: Any) -> list[Self]
```

#### `populate_deprecated_fields` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L135](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L135)</sup>

```python theme={null}
populate_deprecated_fields(cls, values: dict[str, Any]) -> dict[str, Any]
```

#### `reset_fields` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L85](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L85)</sup>

```python theme={null}
reset_fields(self: Self) -> Self
```

Reset the fields of the model that are in the `_reset_fields` set.

**Returns:**

* A new instance of the model with the reset fields.

### `CreatedBy` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L139](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L139)</sup>

### `UpdatedBy` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L151](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L151)</sup>

### `ConcurrencyLimitStrategy` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L163](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L163)</sup>

Enumeration of concurrency collision strategies.

**Methods:**

#### `auto` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/utilities/collections.py#L70](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/utilities/collections.py#L70)</sup>

```python theme={null}
auto() -> str
```

Exposes `enum.auto()` to avoid requiring a second import to use `AutoEnum`

### `ConcurrencyOptions` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L172](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L172)</sup>

Class for storing the concurrency config in database.

### `FlowRun` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L186](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L186)</sup>

An ORM representation of flow run data.

**Methods:**

#### `set_name` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L328](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L328)</sup>

```python theme={null}
set_name(cls, name: str) -> str
```

### `TaskRunPolicy` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L346](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L346)</sup>

Defines of how a task run should retry.

**Methods:**

#### `model_validate_list` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L56](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L56)</sup>

```python theme={null}
model_validate_list(cls, obj: Any) -> list[Self]
```

#### `populate_deprecated_fields` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L375](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L375)</sup>

```python theme={null}
populate_deprecated_fields(cls, values: dict[str, Any]) -> dict[str, Any]
```

#### `reset_fields` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L85](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L85)</sup>

```python theme={null}
reset_fields(self: Self) -> Self
```

Reset the fields of the model that are in the `_reset_fields` set.

**Returns:**

* A new instance of the model with the reset fields.

#### `validate_configured_retry_delays` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L380](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L380)</sup>

```python theme={null}
validate_configured_retry_delays(cls, v: int | float | list[int] | list[float] | None) -> int | float | list[int] | list[float] | None
```

#### `validate_jitter_factor` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L387](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L387)</sup>

```python theme={null}
validate_jitter_factor(cls, v: float | None) -> float | None
```

### `RunInput` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L391](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L391)</sup>

Base class for classes that represent inputs to runs, which
could include, constants, parameters, task runs or flow runs.

**Methods:**

#### `model_validate_list` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L56](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L56)</sup>

```python theme={null}
model_validate_list(cls, obj: Any) -> list[Self]
```

#### `reset_fields` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L85](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L85)</sup>

```python theme={null}
reset_fields(self: Self) -> Self
```

Reset the fields of the model that are in the `_reset_fields` set.

**Returns:**

* A new instance of the model with the reset fields.

### `TaskRunResult` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L402](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L402)</sup>

Represents a task run result input to another task run.

### `FlowRunResult` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L409](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L409)</sup>

### `Parameter` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L414](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L414)</sup>

Represents a parameter input to a task run.

### `Constant` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L421](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L421)</sup>

Represents constant input value to a task run.

### `TaskRun` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L428](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L428)</sup>

An ORM representation of task run data.

**Methods:**

#### `set_name` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L543](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L543)</sup>

```python theme={null}
set_name(cls, name: str) -> str
```

#### `validate_cache_key` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L548](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L548)</sup>

```python theme={null}
validate_cache_key(cls, cache_key: str) -> str
```

### `DeploymentSchedule` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L552](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L552)</sup>

**Methods:**

#### `validate_max_scheduled_runs` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L577](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L577)</sup>

```python theme={null}
validate_max_scheduled_runs(cls, v: int) -> int
```

### `VersionInfo` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L583](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L583)</sup>

**Methods:**

#### `model_validate_list` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L56](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L56)</sup>

```python theme={null}
model_validate_list(cls, obj: Any) -> list[Self]
```

#### `reset_fields` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L85](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L85)</sup>

```python theme={null}
reset_fields(self: Self) -> Self
```

Reset the fields of the model that are in the `_reset_fields` set.

**Returns:**

* A new instance of the model with the reset fields.

### `Deployment` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L588](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L588)</sup>

An ORM representation of deployment data.

### `ConcurrencyLimit` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L700](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L700)</sup>

An ORM representation of a concurrency limit.

### `ConcurrencyLimitV2` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L713](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L713)</sup>

An ORM representation of a v2 concurrency limit.

### `BlockType` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L732](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L732)</sup>

An ORM representation of a block type

### `BlockSchema` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L756](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L756)</sup>

An ORM representation of a block schema.

### `BlockSchemaReference` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L779](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L779)</sup>

An ORM representation of a block schema reference.

### `BlockDocument` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L799](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L799)</sup>

An ORM representation of a block document.

**Methods:**

#### `from_orm_model` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L840](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L840)</sup>

```python theme={null}
from_orm_model(cls: type[Self], session: AsyncSession, orm_block_document: 'orm_models.ORMBlockDocument', include_secrets: bool = False) -> Self
```

#### `validate_name_is_present_if_not_anonymous` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L834](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L834)</sup>

```python theme={null}
validate_name_is_present_if_not_anonymous(cls, values: dict[str, Any]) -> dict[str, Any]
```

### `BlockDocumentReference` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L887](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L887)</sup>

An ORM representation of a block document reference.

**Methods:**

#### `validate_parent_and_ref_are_different` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L907](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L907)</sup>

```python theme={null}
validate_parent_and_ref_are_different(cls, values: dict[str, Any]) -> dict[str, Any]
```

### `Configuration` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L913](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L913)</sup>

An ORM representation of account info.

### `ServerDefaultResultStorage` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L920](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L920)</sup>

Server-side default result storage configuration.

**Methods:**

#### `model_validate_list` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L56](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L56)</sup>

```python theme={null}
model_validate_list(cls, obj: Any) -> list[Self]
```

#### `reset_fields` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L85](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L85)</sup>

```python theme={null}
reset_fields(self: Self) -> Self
```

Reset the fields of the model that are in the `_reset_fields` set.

**Returns:**

* A new instance of the model with the reset fields.

### `ServerDefaultResultStorageUpdate` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L929](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L929)</sup>

Request payload for setting the server default result storage block.

**Methods:**

#### `model_validate_list` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L56](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L56)</sup>

```python theme={null}
model_validate_list(cls, obj: Any) -> list[Self]
```

#### `reset_fields` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L85](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L85)</sup>

```python theme={null}
reset_fields(self: Self) -> Self
```

Reset the fields of the model that are in the `_reset_fields` set.

**Returns:**

* A new instance of the model with the reset fields.

### `SavedSearchFilter` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L938](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L938)</sup>

A filter for a saved search model. Intended for use by the Prefect UI.

**Methods:**

#### `model_validate_list` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L56](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L56)</sup>

```python theme={null}
model_validate_list(cls, obj: Any) -> list[Self]
```

#### `reset_fields` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L85](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L85)</sup>

```python theme={null}
reset_fields(self: Self) -> Self
```

Reset the fields of the model that are in the `_reset_fields` set.

**Returns:**

* A new instance of the model with the reset fields.

### `SavedSearch` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L955](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L955)</sup>

An ORM representation of saved search data. Represents a set of filter criteria.

### `Log` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L965](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L965)</sup>

An ORM representation of log data.

### `QueueFilter` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L980](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L980)</sup>

Filter criteria definition for a work queue.

**Methods:**

#### `model_validate_list` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L56](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L56)</sup>

```python theme={null}
model_validate_list(cls, obj: Any) -> list[Self]
```

#### `reset_fields` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L85](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L85)</sup>

```python theme={null}
reset_fields(self: Self) -> Self
```

Reset the fields of the model that are in the `_reset_fields` set.

**Returns:**

* A new instance of the model with the reset fields.

### `WorkQueue` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L993](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L993)</sup>

An ORM representation of a work queue

### `WorkQueueHealthPolicy` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1026](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1026)</sup>

**Methods:**

#### `evaluate_health_status` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1042](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1042)</sup>

```python theme={null}
evaluate_health_status(self, late_runs_count: int, last_polled: Optional[DateTime] = None) -> bool
```

Given empirical information about the state of the work queue, evaluate its health status.

**Args:**

* `late_runs_count`: the count of late runs for the work queue.
* `last_polled`: the last time the work queue was polled, if available.

**Returns:**

* whether or not the work queue is healthy.

#### `model_validate_list` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L56](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L56)</sup>

```python theme={null}
model_validate_list(cls, obj: Any) -> list[Self]
```

#### `reset_fields` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L85](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L85)</sup>

```python theme={null}
reset_fields(self: Self) -> Self
```

Reset the fields of the model that are in the `_reset_fields` set.

**Returns:**

* A new instance of the model with the reset fields.

### `WorkQueueStatusDetail` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1073](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1073)</sup>

**Methods:**

#### `model_validate_list` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L56](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L56)</sup>

```python theme={null}
model_validate_list(cls, obj: Any) -> list[Self]
```

#### `reset_fields` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L85](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L85)</sup>

```python theme={null}
reset_fields(self: Self) -> Self
```

Reset the fields of the model that are in the `_reset_fields` set.

**Returns:**

* A new instance of the model with the reset fields.

### `Agent` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1089](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1089)</sup>

An ORM representation of an agent

### `WorkPoolStorageConfiguration` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1107](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1107)</sup>

A representation of a work pool's storage configuration

**Methods:**

#### `model_validate_list` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L56](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L56)</sup>

```python theme={null}
model_validate_list(cls, obj: Any) -> list[Self]
```

#### `reset_fields` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/\_internal/schemas/bases.py#L85](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/_internal/schemas/bases.py#L85)</sup>

```python theme={null}
reset_fields(self: Self) -> Self
```

Reset the fields of the model that are in the `_reset_fields` set.

**Returns:**

* A new instance of the model with the reset fields.

### `WorkPool` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1126](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1126)</sup>

An ORM representation of a work pool

**Methods:**

#### `helpful_error_for_missing_default_queue_id` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1162](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1162)</sup>

```python theme={null}
helpful_error_for_missing_default_queue_id(cls, v: UUID | None) -> UUID
```

#### `model_validate` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1166](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1166)</sup>

```python theme={null}
model_validate(cls: Type[Self], obj: Any) -> Self
```

### `Worker` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1183](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1183)</sup>

An ORM representation of a worker

### `Artifact` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1205](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1205)</sup>

**Methods:**

#### `from_result` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1242](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1242)</sup>

```python theme={null}
from_result(cls, data: Any | dict[str, Any]) -> 'Artifact'
```

#### `validate_metadata_length` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1261](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1261)</sup>

```python theme={null}
validate_metadata_length(cls, v: dict[str, str]) -> dict[str, str]
```

### `ArtifactCollection` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1265](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1265)</sup>

### `Variable` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1302](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1302)</sup>

### `FlowRunInput` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1321](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1321)</sup>

### `CsrfToken` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1330](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/schemas/core.py#L1330)</sup>
