Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
const created = await client.volumes.create({ name: "my-workspace" }); console.log(created.id, created.name);
{ "id": "550e8400-e29b-41d4-a716-446655440000", "name": "my-workspace", "size": 0, "transferAmount": 0 }
const listed = await client.volumes.list(); console.log(listed.volumes.length);
{ "volumes": [ { "id": "550e8400-e29b-41d4-a716-446655440000", "name": "my-workspace", "size": 0, "transferAmount": 0 } ] }
const volume = await client.volumes.get("550e8400-e29b-41d4-a716-446655440000"); console.log(volume.id, volume.name);
{ "id": "550e8400-e29b-41d4-a716-446655440000", "name": "my-workspace" }
Was this page helpful?