ais

Begin an AI asset upload

post/ais/{aiId}/assets/uploads

Request

  • Base URL: https://api.darwin.so/api/v1
  • URL: https://api.darwin.so/api/v1/ais/{aiId}/assets/uploads
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

aiIdstring required

Request body

titlestring required
descriptionstring nullable
filenamestring required
mimeTypestring required
byteSizeinteger required
kind'image' | 'video' | 'audio' | 'document' | 'data' | 'other'
visibility'PRIVATE' | 'PUBLIC'
metadataobject

Response

An upload target and pending asset.

Changes

No recorded changes to this operation across all 1 revision of this API.