API ReferenceApi claw
Request API Agent session attachment upload
API documentation for Request API Agent session attachment upload
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication.
In: header
Path Parameters
agentId*string
sessionId*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/sessions/string/attachments" \ -H "Content-Type: application/json" \ -d '{ "fileName": "string", "mimeType": "string", "sizeBytes": -9007199254740991 }'{ "uploadUrl": "string", "storageKey": "string", "publicUrl": "string", "expiresIn": 0}