API ReferenceApi claw

Create or overwrite API Agent Drive file

API documentation for Create or overwrite API Agent Drive file

PUT
/api/v1/api-agents/{agentId}/drive/files

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 PUT "https://example.com/api/v1/api-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"  }}