GET
/
v1
/
assets
/
{asset_owner_and_name_or_id}
curl --request GET \
  --url https://api.octoai.cloud/v1/assets/{asset_owner_and_name_or_id} \
  --header 'Authorization: Bearer <token>'
{
  "asset": {
    "asset_type": "file",
    "created_at": "<string>",
    "data": {
      "asset_type": "<any>",
      "file_format": "unknown",
      "preview_url": "<string>",
      "version": "<string>"
    },
    "description": "<string>",
    "id": "<string>",
    "is_public": true,
    "name": "<string>",
    "size_bytes": 123,
    "status": "ready_to_upload",
    "status_details": "<string>",
    "tenant_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "transfer_api": {
    "get_url": "<string>",
    "put_url": "<string>",
    "type": "<any>"
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

asset_owner_and_name_or_id
string
required

Query Parameters

transfer_api_type
enum<string>
Available options:
presigned-url,
sts

Response

200 - application/json
asset
object
required

Asset.

transfer_api
object
required

Transfer API.