pydo.genai.create_workspace()
Generated on 8 May 2026
from pydo version
v0.34.0
Usage
client.genai.create_workspace(
body={
"agent_uuids": [...],
"description": "example string",
"name": "example name",
},
)Description
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.
Parameters
agent_uuidsarray of strings optionalExample:
['example string']Ids of the agents(s) to attach to the workspace
descriptionstring optionalExample:
example stringDescription of the workspace
namestring optionalExample:
example nameName of the workspace
Request Sample
Response Example
More Information
See /v2/gen-ai/workspaces in the API reference for additional detail on responses, headers, parameters, and more.