OpenAPI 參考Api claw

Download API Agent Drive file

Returns private file bytes after validating the API key and current Agent permissions. Credentials must be sent in the Authorization header, never in the URL.

GET
/api/v1/api-agents/{agentId}/drive/download

Returns private file bytes after validating the API key and current Agent permissions. Credentials must be sent in the Authorization header, never in the URL.

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication.

In: header

Path Parameters

agentId*string

Query Parameters

storageKey*string
Length1 <= length <= 8192
filename?string
Lengthlength <= 1024
asAttachment?boolean
Defaulttrue

Response Body

application/octet-stream

curl -X GET "https://example.com/api/v1/api-agents/string/drive/download?storageKey=string"
Empty