# Material parameter values

## Get material parameter values

> The API gives the ability to get all material parameters values.

```json
{"openapi":"3.0.0","info":{"title":"Public API","version":"1.0"},"security":[{"PublicApiKey":[]}],"components":{"securitySchemes":{"PublicApiKey":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"PublicMaterialParameterValueDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier of the parameter value"},"name":{"type":"string","description":"Name of the parameter value"},"order":{"type":"number","description":"Order of the parameter value"}},"required":["id","name","order"]}}},"paths":{"/api/v1/public/material-parameters/{parameter_id}/values":{"get":{"description":"The API gives the ability to get all material parameters values.","operationId":"PublicMaterialParameterValuesController_getAll_v1","parameters":[{"name":"parameter_id","required":true,"in":"path","description":"Parameter ID","schema":{"format":"UUID","type":"string"}},{"name":"name","required":false,"in":"query","description":"Parameter value name","schema":{"type":"string"}},{"name":"x-tenant-id","in":"header","description":"Tenant id (uuid v4)","required":false,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PublicMaterialParameterValueDto"}}}}},"429":{"description":"Returned when the rate limit is exceeded","headers":{"X-RateLimit-Limit":{"description":"Maximum number of allowed requests during the current window","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Remaining number of requests before throttling occurs","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Number of seconds until the rate limit window resets","schema":{"type":"integer"}}}}},"summary":"Get material parameter values","tags":["Material parameter values"]}}}}
```

## Create material parameter values

> The API gives the ability to create a material’s parameter value.

```json
{"openapi":"3.0.0","info":{"title":"Public API","version":"1.0"},"security":[{"PublicApiKey":[]}],"components":{"securitySchemes":{"PublicApiKey":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"PublicMaterialParameterValueCreateDto":{"type":"object","properties":{"name":{"type":"string","description":"Name of the material parameter value"},"order":{"type":"number","description":"Display order of the parameter value (used for sorting in UI)"}},"required":["name","order"]},"PublicMaterialParameterValueDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier of the parameter value"},"name":{"type":"string","description":"Name of the parameter value"},"order":{"type":"number","description":"Order of the parameter value"}},"required":["id","name","order"]}}},"paths":{"/api/v1/public/material-parameters/{parameter_id}/values":{"post":{"description":"The API gives the ability to create a material’s parameter value.","operationId":"PublicMaterialParameterValuesController_create_v1","parameters":[{"name":"parameter_id","required":true,"in":"path","description":"Parameter ID","schema":{"format":"UUID","type":"string"}},{"name":"x-tenant-id","in":"header","description":"Tenant id (uuid v4)","required":false,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicMaterialParameterValueCreateDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicMaterialParameterValueDto"}}}},"429":{"description":"Returned when the rate limit is exceeded","headers":{"X-RateLimit-Limit":{"description":"Maximum number of allowed requests during the current window","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Remaining number of requests before throttling occurs","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Number of seconds until the rate limit window resets","schema":{"type":"integer"}}}}},"summary":"Create material parameter values","tags":["Material parameter values"]}}}}
```

## Update material parameter value

> The API gives the ability to update a material’s parameter value name.

```json
{"openapi":"3.0.0","info":{"title":"Public API","version":"1.0"},"security":[{"PublicApiKey":[]}],"components":{"securitySchemes":{"PublicApiKey":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"PublicMaterialParameterValueUpdateDto":{"type":"object","properties":{"name":{"type":"string","description":"Name of the material parameter value"},"order":{"type":"number","description":"Display order of the parameter value (used for sorting in UI)"}}},"MessageDto":{"type":"object","properties":{"message":{"type":"string","description":"Message returned from API confirming the operation"}},"required":["message"]}}},"paths":{"/api/v1/public/material-parameters/{parameter_id}/values/{value_id}":{"patch":{"description":"The API gives the ability to update a material’s parameter value name.","operationId":"PublicMaterialParameterValuesController_update_v1","parameters":[{"name":"value_id","required":true,"in":"path","description":"Material parameter value ID","schema":{"format":"UUID","type":"string"}},{"name":"parameter_id","required":true,"in":"path","description":"Parameter ID","schema":{"format":"UUID","type":"string"}},{"name":"x-tenant-id","in":"header","description":"Tenant id (uuid v4)","required":false,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicMaterialParameterValueUpdateDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageDto"}}}},"429":{"description":"Returned when the rate limit is exceeded","headers":{"X-RateLimit-Limit":{"description":"Maximum number of allowed requests during the current window","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Remaining number of requests before throttling occurs","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Number of seconds until the rate limit window resets","schema":{"type":"integer"}}}}},"summary":"Update material parameter value","tags":["Material parameter values"]}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hesh.app/manuals/public-api/material-parameter-values.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
