Zum Hauptinhalt springen
POST
/
v3beta1
/
organizations
/
{org_id}
/
attachments
Anhang hochladen
curl --request POST \
  --url https://api.devin.ai/v3beta1/organizations/{org_id}/attachments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "attachment_id": "<string>",
  "name": "<string>",
  "url": "<string>"
}

Berechtigungen

Erfordert einen Dienstbenutzer mit der Berechtigung UseDevinSessions auf Organisationsebene.

Autorisierungen

Authorization
string
header
erforderlich

Servicebenutzer-Anmeldedaten (Präfix: cog_)

Body

multipart/form-data
file
file
erforderlich

Antwort

Erfolgreiche Antwort

attachment_id
string
erforderlich
name
string
erforderlich
url
string
erforderlich