Actions75
- AI Actions
- Artifact Actions
- Audit Log Actions
- Chat Actions
- Compliance Pattern Actions
- Dataset Actions
- Dataset Row Actions
- Miscellaneous Actions
- Project Actions
- Reference Actions
- Space Actions
Space → Create
AI-generatedSummary
Creates a oneAI space with the specified name and storage provider. Configure provider-specific fields in Additional Fields as needed; OAuth providers also require an authorization code and signed state issued by oneAI.
Inputs
- Name (required) — Name of the space.
- Provider (required) — Storage provider for the space. Options include oneAI Storage, Google Drive, OneDrive or SharePoint, GitHub, and other listed integrations. Defaults to oneAI Storage.
- Additional Fields — Optional provider settings: Auth Code and State for OAuth providers; Branch, Owner, and Repository for GitHub; Drive ID for OneDrive or SharePoint; or Provider Options (JSON) for provider options not modeled individually. The JSON object is merged with these fields, and individually supplied fields take precedence.
Output shape
A single result from the create-space request.
The supplied source pack shows only the operation signature, so it does not establish the exact response fields or whether the request returns a space object or another result.
Examples
Example 1: Create a GitHub-backed space
Set Name and Provider to GitHub, then provide Owner, Repository, and optionally Branch in Additional Fields.
Example 2: Create a space with an OAuth provider
Set Name and Provider, then include Auth Code and the signed State issued by oneAI in Additional Fields.