Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: DonorPerfect 1.0.20 Minor update available for module donorperfect (1.0.20). Release: Bootstrap Cloud 7.1.5 Minor update available for theme bootstrap_cloud (7.1.5). Release: MCP Sentinel 2.23.1 Minor update available for module mcp_sentinel (2.23.1). Release: Audit Chain 1.9.1 Minor update available for module audit_chain (1.9.1). Release: Menu Autopilot 1.4.1 Minor update available for module menu_autopilot (1.4.1). Release: GraphQL Compose Codegen 1.4.1 Minor update available for module graphql_compose_codegen (1.4.1). Release: Field Guard 1.3.1 Minor update available for module field_guard (1.3.1). Release: Webshare 2.0.1 Minor update available for module webshare (2.0.1). Module Revived: Flag for Someone Else 1.0.2 Module flag_fse updated after 9 months of inactivity (1.0.2). Security Coverage: smart 404 Module smart_404 now has official Drupal security advisory coverage.

This module helps manage xAI Collections and upload documents for search within Drupal. It securely stores API credentials, processes document uploads in the background, and tracks their status to ensure they are ready for use with the Grok AI provider.

Grok Collections manages xAI Collections and bulk document ingestion from Drupal. It complements the Grok AI provider by managing the documents used for Collections Search.

Features

  • Create xAI Collections or register existing Collection IDs.
  • Store Management API credentials securely through Drupal Key.
  • Upload and index documents asynchronously with Drupal Queue API.
  • Track ingestion and indexing state, enforce size limits, and detect duplicates.
  • Approve Collections for search and test them in Drupal AI's API Explorer.
  • Keep local registration removal separate from explicitly confirmed remote deletion.

Post-installation

Configure the module under Configuration → AI → AI Platform Providers → Grok Collections settings. Select a Drupal Key containing an xAI Management API credential, test the connection, and then create or register Collections from the Grok collections administration page.

Additional requirements

  • PHP 8.1 or later
  • Drupal 10.6 or Drupal 11.2+
  • Grok Integration 1.0 beta or later
  • Key 1.22 or later
  • An xAI Management API key with the required Collections permissions

Recommended modules

Drupal AI's optional AI API Explorer exposes the Grok Collections Search Explorer.

Similar projects

This module is specifically designed for xAI Collections management and complements the Grok Integration provider module.

Community documentation

See the README and release notes included with the project source.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Aug 2026
Latest release
1 month ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0-alpha3 Pre-release 10–11 Aug 6, 2026