API ReferenceApi claw
Get API Agent Drive upload URL
API documentation for Get API Agent Drive upload URL
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication.
In: header
Path Parameters
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 POST "https://example.com/api/v1/api-agents/string/drive/upload-url" \ -H "Content-Type: application/json" \ -d '{ "fileName": "string", "mimeType": "string", "sizeBytes": 0 }'{ "uploadUrl": "string", "storageKey": "string", "rootVolume": "agent", "uploadSessionId": "string", "expiresAt": "string"}