Upload an attachment

Markdownとして表示

Uploads a file to the organization. Send the file as multipart/form-data in the file field.

Scope: attachments:write

認証

AuthorizationBearer

Your ara_ API key from Settings > Ara API. Keys are capability-scoped: run, plugins:read, secrets:read, secrets:write, sessions:read, knowledge:read, repos:read, repos:write, reviews:read, reviews:write, analytics:read, org:read, org:write, attachments:read, attachments:write, plugins:write, guardrails:read, guardrails:write.

パスパラメータ

orgIdstring必須

Organization id or slug. Resolve it with GET /v3/self.

リクエスト

This endpoint expects a multipart form containing a file.
filefile必須
The file to upload.

レスポンス

The created attachment.
idstringオプション
namestringオプション
content_typestringオプション
size_bytesintegerオプション
urlstringオプション
A signed download URL for the file.
created_atdatetimeオプション

エラー

400
Bad Request Error