> For the complete documentation index, see [llms.txt](https://docs.superdesk.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.superdesk.org/api-reference/readme/content-lists.md). Agents can also search and read this documentation through its [MCP server](https://docs.superdesk.org/~gitbook/mcp).

# Content Lists

## List content lists

> Get list of content lists with MongoDB query support. By default only enabled lists are returned.

```json
{"openapi":"3.0.2","info":{"title":"Superdesk Production API","version":"2.0"},"servers":[{"url":"/prodapi/v1","description":"Production API v1 Server"}],"security":[{"oauth2Auth":["CONTENT_LISTS_READ"]}],"components":{"securitySchemes":{"oauth2Auth":{"type":"oauth2","description":"OAuth 2.0 client credentials flow via Superdesk Auth Server.\n\nSee: https://superdesk.readthedocs.io/en/latest/auth_server.html\n","flows":{"clientCredentials":{"tokenUrl":"/api/auth_server/token","scopes":{"ARCHIVE_READ":"Read archive items","DESKS_READ":"Read desks","PLANNING_READ":"Read planning items","CONTACTS_READ":"Read contacts","USERS_READ":"Read users and user availability","ASSIGNMENTS_READ":"Read assignments","EVENTS_READ":"Read events, event files and event history","CONTENT_LISTS_READ":"Read content lists and their items"}}}}},"schemas":{"ContentList":{"type":"object","description":"Content list metadata and links","properties":{"_id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"description":{"type":"string","nullable":true},"enabled":{"type":"boolean"},"limit":{"type":"integer"},"content_list_items_updated_at":{"type":"string","format":"date-time"},"_links":{"type":"object","description":"HATEOAS links to related resources","properties":{"items":{"type":"object","properties":{"title":{"type":"string"},"href":{"type":"string"}}}}}}},"Meta":{"type":"object","description":"Metadata about the response","properties":{"total":{"type":"integer","description":"Total number of items"},"page":{"type":"integer","description":"Current page number"},"max_results":{"type":"integer","description":"Maximum results per page"}}},"ErrorResponse":{"type":"object","required":["_status","_error"],"properties":{"_status":{"type":"string"},"_error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}}},"_issues":{"type":"object","description":"Optional details about the error","additionalProperties":true}}}},"responses":{"BadRequest":{"description":"Bad Request - Invalid query parameter value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Unauthorized":{"description":"Unauthorized - Invalid or missing access token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Forbidden":{"description":"Forbidden - Access token does not have the required scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/content_lists":{"get":{"summary":"List content lists","description":"Get list of content lists with MongoDB query support. By default only enabled lists are returned.","tags":["Content Lists"],"parameters":[{"name":"where","in":"query","description":"MongoDB query in JSON format","required":false,"schema":{"type":"string"}},{"name":"enabled","in":"query","description":"Filter by enabled state. Use true to include only enabled lists, false for disabled lists only, or all to disable the default filter.","required":false,"schema":{"type":"string","enum":["true","false","all"]}}],"responses":{"200":{"description":"List of content lists","content":{"application/json":{"schema":{"type":"object","properties":{"_items":{"type":"array","items":{"$ref":"#/components/schemas/ContentList"}},"_meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}}}}}}
```

## List items in a content list

> Get the items contained in a specific content list. By default only enabled items are returned.

```json
{"openapi":"3.0.2","info":{"title":"Superdesk Production API","version":"2.0"},"servers":[{"url":"/prodapi/v1","description":"Production API v1 Server"}],"security":[{"oauth2Auth":["CONTENT_LISTS_READ"]}],"components":{"securitySchemes":{"oauth2Auth":{"type":"oauth2","description":"OAuth 2.0 client credentials flow via Superdesk Auth Server.\n\nSee: https://superdesk.readthedocs.io/en/latest/auth_server.html\n","flows":{"clientCredentials":{"tokenUrl":"/api/auth_server/token","scopes":{"ARCHIVE_READ":"Read archive items","DESKS_READ":"Read desks","PLANNING_READ":"Read planning items","CONTACTS_READ":"Read contacts","USERS_READ":"Read users and user availability","ASSIGNMENTS_READ":"Read assignments","EVENTS_READ":"Read events, event files and event history","CONTENT_LISTS_READ":"Read content lists and their items"}}}}},"parameters":{"list_id":{"name":"list_id","in":"path","description":"MongoDB Object ID of the content list","required":true,"schema":{"type":"string"}}},"schemas":{"ContentListItem":{"type":"object","description":"Item contained in a content list","properties":{"_id":{"type":"string"},"list_id":{"type":"string"},"content":{"type":"string","description":"Item GUID or content identifier"},"position":{"type":"integer"},"enabled":{"type":"boolean"},"sticky":{"type":"boolean"},"article_content":{"type":"object","nullable":true,"description":"Enriched article content when available","additionalProperties":true}}},"Meta":{"type":"object","description":"Metadata about the response","properties":{"total":{"type":"integer","description":"Total number of items"},"page":{"type":"integer","description":"Current page number"},"max_results":{"type":"integer","description":"Maximum results per page"}}},"ErrorResponse":{"type":"object","required":["_status","_error"],"properties":{"_status":{"type":"string"},"_error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}}},"_issues":{"type":"object","description":"Optional details about the error","additionalProperties":true}}}},"responses":{"BadRequest":{"description":"Bad Request - Invalid query parameter value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Unauthorized":{"description":"Unauthorized - Invalid or missing access token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Forbidden":{"description":"Forbidden - Access token does not have the required scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"NotFound":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/content_lists/{list_id}/items":{"get":{"summary":"List items in a content list","description":"Get the items contained in a specific content list. By default only enabled items are returned.","tags":["Content Lists"],"parameters":[{"$ref":"#/components/parameters/list_id"},{"name":"enabled","in":"query","description":"Filter by enabled state. Use true to include only enabled items, false for disabled items only, or all to disable the default filter.","required":false,"schema":{"type":"string","enum":["true","false","all"]}}],"responses":{"200":{"description":"List of content list items","content":{"application/json":{"schema":{"type":"object","properties":{"_items":{"type":"array","items":{"$ref":"#/components/schemas/ContentListItem"}},"_meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}}}}
```


---

# 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://docs.superdesk.org/api-reference/readme/content-lists.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.
