v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
DigitalOcean-public.v2-new_GradientAI Platform

Create a Workspace

To create a new workspace, send a POST request to /v2/gen-ai/workspaces. The response body contains a JSON object with the newly created workspace object.

post/v2/gen-ai/workspaces

Request body

agent_uuidsstring[]

Ids of the agents(s) to attach to the workspace

descriptionstring

Description of the workspace

namestring

Name of the workspace

Example request

{
  "agent_uuids": [
    "example string"
  ],
  "description": "example string",
  "name": "example name"
}

Response

A successful response.