API ReferenceApi claw
Create or overwrite Agent Drive file
API documentation for Create or overwrite Agent Drive file
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication.
In: header
Path Parameters
spaceId*string
agentId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/v1/spaces/string/agents/string/drive/files" \ -H "Content-Type: application/json" \ -d '{ "path": "string", "content": "string" }'{ "success": true, "file": { "path": "string", "name": "string", "type": "file", "size": 0, "mimeType": "string", "updatedAt": "string" }}