Use this API to create an agent group. Groups are lightweight named collections that reference existing agents via anDocumentation Index
Fetch the complete documentation index at: https://velt-raghul-agent-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
agentIds array — agents themselves remain independent documents and can belong to multiple groups.
metadata is an optional, free-form object — mirroring the agent create contract. The workspace apiKey is merged into metadata.apiKey server-side. metadata is immutable after creation — there is no way to modify it via Update Group. If you need document or organization context on a group, embed it inside metadata on create.
The schema uses .strict() so unknown top-level fields are rejected with a clear validation error.
Limits:
MAX_GROUPS_PER_API_KEY = 50 (enforced via Firestore count() on create)MAX_AGENTS_PER_GROUP = 100 (enforced inside a Firestore transaction)POST https://api.velt.dev/v2/agents/groups/create
INVALID_ARGUMENT — Zod validation failure (missing name, unknown top-level field, etc.)RESOURCE_EXHAUSTED — workspace already has MAX_GROUPS_PER_API_KEY groups, OR initial agentIds exceeds MAX_AGENTS_PER_GROUPNOT_FOUND — one of the initial agentIds does not exist