List repositories
const url = 'https://example.com/api/content/management/repositories';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/content/management/repositories \ --header 'Authorization: Bearer <token>'Retrieves all content repositories
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Repositories retrieved successfully
object
Total number of repositories
Array of repositories
object
Repository ID
Repository namespace/name used as Redis key prefix
Comma-separated list of content types
Repository security configuration
object
Contributor roles/users
Maintainer roles/users
Viewer roles/users
Storage configuration
object
Storage bucket name
Storage provider (e.g., oci, s3, azure)
Whether repository allows public access
Whether GraphQL API is enabled
Whether to generate AI embeddings
Additional fields to index
AI/embedding settings
object
object
Number of context documents for AI
Fields to return for relevant documents
Number of recent history items
Number of relevant history items
Chunk size for embeddings
Chunk overlap for embeddings
Custom field mappings
object
Search synonyms configuration
object
Oracle Content URL (legacy)
Azure base URL (legacy)
IDCS URL for auth (legacy)
OAuth scope (legacy)
Example
{ "count": 5, "items": [ { "id": "repo-123", "CACHE_ROOT": "my-repository", "TYPES": "Article,Page,Asset", "IS_PUBLIC": false, "ENABLE_GRAPHQL": true, "GENERATE_EMBEDDINGS": false } ]}