> For the complete documentation index, see [llms.txt](https://apidocs.akinon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.akinon.com/commerce-openapis/admin/attributes/attribute-values/list-attribute-values.md).

# List attribute values

Returns a paginated list of attribute values, ordered by `order` and then `value`.

Filter by the parent attribute, the value, or the attribute's key. Order with the `sort` parameter and page through the results with `page` and `limit`.

```json
{"openapi":"3.1.0","info":{"title":"Admin API","version":"1.0.0"},"tags":[{"name":"Attribute Values","description":"Predefined values of an attribute (for example `Red` and `Blue` for a `color` attribute). Used by dropdown, multiple-select, and value/label attributes. See the **Attributes** section for the shared concepts."}],"servers":[{"description":"Omnitron Remote Proxy (external access — recommended)","url":"https://{omnitron_url}/api/v1/remote/{channel_id}","variables":{"omnitron_url":{"default":"sandbox.akinon.com","description":"Omnitron server URL (e.g., {omnitron.akinon.com})"},"channel_id":{"default":"1","description":"The channel identifier the remote request is routed through"}}},{"description":"Commerce API Server (internal / direct access only)","url":"https://{commerce_url}/api/v1","variables":{"commerce_url":{"default":"sandbox.akinon.com","description":"Internal commerce server URL, reachable only from within the Omnitron network"}}}],"security":[{"tokenAuth":[]}],"components":{"securitySchemes":{"tokenAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Token credential sent in the Authorization header, in the form: `Token <your-token>`. Requires a staff (admin) account."}},"parameters":{"page":{"name":"page","in":"query","required":false,"description":"The page number to return.","schema":{"type":"integer","default":1}},"limit":{"name":"limit","in":"query","required":false,"description":"The number of items to return per page.","schema":{"type":"integer","default":10}},"sort":{"name":"sort","in":"query","required":false,"description":"Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (`-`) for descending order.","schema":{"type":"string"}}},"schemas":{"PaginatedAttributeValueList":{"type":"object","description":"A page of attribute value results.","properties":{"count":{"type":"integer","description":"The total number of attribute values matching the query."},"next":{"type":["string","null"],"format":"uri","description":"The URL of the next page of results, when available."},"previous":{"type":["string","null"],"format":"uri","description":"The URL of the previous page of results, when available."},"results":{"type":"array","description":"The attribute values on the current page.","items":{"$ref":"#/components/schemas/AttributeValue"}}}},"AttributeValue":{"type":"object","description":"A predefined value of an attribute as returned by the API.","properties":{"pk":{"type":"integer","description":"The unique identifier of the attribute value.","readOnly":true},"attribute":{"type":"integer","description":"The identifier of the parent attribute."},"value":{"type":"string","description":"The value."},"order":{"type":["integer","null"],"description":"The sort order of the value. Values are listed by `order`, then `value`."},"label":{"type":["string","null"],"description":"The translatable display label of the value, when any."}}},"Error":{"type":"object","description":"An error response.","properties":{"detail":{"type":"string","description":"A human-readable description of the error."}},"additionalProperties":true}},"responses":{"Unauthorized":{"description":"Authentication credentials were not provided or are invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Forbidden":{"description":"The authenticated user does not have administrator privileges.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/attribute_value/":{"get":{"tags":["Attribute Values"],"operationId":"listAttributeValues","summary":"List attribute values","description":"Returns a paginated list of attribute values, ordered by `order` and then `value`.\n\nFilter by the parent attribute, the value, or the attribute's key. Order with the `sort` parameter and page through the results with `page` and `limit`.","parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/sort"},{"name":"attribute","in":"query","description":"Filter by the identifier of the parent attribute.","required":false,"schema":{"type":"integer"}},{"name":"value","in":"query","description":"Filter by exact value.","required":false,"schema":{"type":"string"}},{"name":"attribute__key","in":"query","description":"Filter by the key of the parent attribute.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A paginated list of attribute values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAttributeValueList"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://apidocs.akinon.com/commerce-openapis/admin/attributes/attribute-values/list-attribute-values.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
