# tinker.types.CreateCustomLossRequest *Generated from tinker 0.38.0 at commit [`4fb85c7`](https://github.com/thinking-machines-lab/tinker/tree/4fb85c7a2be46300f340cedd16ef2fab881c0c38). Source links point at that snapshot.* ## *class* [**tinker.types.CreateCustomLossRequest**](https://github.com/thinking-machines-lab/tinker/blob/4fb85c7a2be46300f340cedd16ef2fab881c0c38/src/tinker/types/create_custom_loss_request.py#L14)(*[StrictBase](https://github.com/thinking-machines-lab/tinker/blob/4fb85c7a2be46300f340cedd16ef2fab881c0c38/src/tinker/_models.py#L76)*) **Fields:** - [**session_id**](https://github.com/thinking-machines-lab/tinker/blob/4fb85c7a2be46300f340cedd16ef2fab881c0c38/src/tinker/types/create_custom_loss_request.py#L15) (*str*) - [**custom_loss_seq_id**](https://github.com/thinking-machines-lab/tinker/blob/4fb85c7a2be46300f340cedd16ef2fab881c0c38/src/tinker/types/create_custom_loss_request.py#L17) (*int*) - [**name**](https://github.com/thinking-machines-lab/tinker/blob/4fb85c7a2be46300f340cedd16ef2fab881c0c38/src/tinker/types/create_custom_loss_request.py#L19) (*str*) - [**inputs**](https://github.com/thinking-machines-lab/tinker/blob/4fb85c7a2be46300f340cedd16ef2fab881c0c38/src/tinker/types/create_custom_loss_request.py#L21) (*List\[[CustomLossInput](https://tinker-docs.thinkingmachines.ai/tinker/api-reference/types/customlossinput/index.md)\]*) – The graph's inputs in order, `logprobs` first, with their declared ranks. - [**graph**](https://github.com/thinking-machines-lab/tinker/blob/4fb85c7a2be46300f340cedd16ef2fab881c0c38/src/tinker/types/create_custom_loss_request.py#L24) (*[CustomLossGraph](https://tinker-docs.thinkingmachines.ai/tinker/api-reference/types/customlossgraph/index.md)*) - [**type**](https://github.com/thinking-machines-lab/tinker/blob/4fb85c7a2be46300f340cedd16ef2fab881c0c38/src/tinker/types/create_custom_loss_request.py#L26) (*Literal['create_custom_loss']*)