Upload an attachment

Ver como Markdown

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

Scope: attachments:write

Autenticação

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.

Parâmetros de caminho

orgIdstringObrigatório

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

Solicitação

This endpoint expects a multipart form containing a file.
filefileObrigatório
The file to upload.

Resposta

The created attachment.
idstringOpcional
namestringOpcional
content_typestringOpcional
size_bytesintegerOpcional
urlstringOpcional
A signed download URL for the file.
created_atdatetimeOpcional

Erros

400
Bad Request Error