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

Autenticación

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 ruta

orgIdstringRequerido

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

Solicitud

This endpoint expects a multipart form containing a file.
filefileRequerido
The file to upload.

Respuesta

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

Errores

400
Bad Request Error