cURL
curl --request POST \ --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/workspaces \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "branch_name": "main", "name": "bessie_workspace", "workspace_id": "b3f27f05-0955-4076-805f-39575853b27b" } '
{ "status": "<string>", "status_message": "<string>", "workspace": { "commit": { "author": "<string>", "email": "<string>", "id": "<string>", "message": "<string>", "timestamp": "2023-11-07T05:31:56Z" }, "id": "<string>", "name": "<string>" }, "oxen_version": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Namespace of the repository
Name of the repository
Workspace creation details.
Workspace created
Show child attributes