# Aspect

> Browse and organize media, workspaces, folders, collections and transcripts.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/aspect

## Actions

### Get Asset

Get asset details by ID.

**Inputs**

- Asset ID (`asset_id`, text, required): The ID of the asset to get

**Outputs**

- `data` (object): An asset.

**Example output**

```json
{
  "data": {
    "comment_count": 1,
    "content_modified_at": "2026-11-30T12:00:00Z",
    "created": "2026-11-30T12:00:00Z",
    "created_by_user_id": "00000000-0000-4000-8000-000000000001",
    "id": "00000000-0000-4000-8000-000000000001",
    "is_generated": false,
    "is_top_version": false,
    "is_uploaded": false,
    "manifest_id": "00000000-0000-4000-8000-000000000001",
    "media": {
      "duration": 1,
      "frame_rate": 1,
      "height": 1,
      "page_count": 1,
      "timecode": "Example",
      "width": 1
    },
    "mime_type": "Example",
    "name": "Example",
    "parent_id": "00000000-0000-4000-8000-000000000001",
    "size_bytes": 1,
    "symlink": {
      "status": "resolved",
      "target_id": "00000000-0000-4000-8000-000000000001"
    },
    "team_id": "00000000-0000-4000-8000-000000000001",
    "type": "video",
    "updated": "2026-11-30T12:00:00Z",
    "version_number": 1,
    "version_stack_id": "00000000-0000-4000-8000-000000000001",
    "workspace_id": "00000000-0000-4000-8000-000000000001"
  }
}
```

### Get asset download URL

Get a temporary URL for one of the asset's files. Every URL supports range requests. For `original`, each response's `ETag` is the asset's `manifest_id`: to resume a download without mixing two versions of the file, send that `ETag` back in `If-Range`.

**Inputs**

- Asset ID (`asset_id`, text, required): The ID of the asset to download
- Variant (`variant`, text): File to download: `original` (the uploaded file), `stream_proxy` (the web-playable copy), or `preview` (the thumbnail image). One of: `original`, `stream_proxy` (Stream proxy), `preview`. Default: `original`.
- Prefer custom thumbnail (`prefer_custom_thumbnail`, true/false): For `preview`, return the custom thumbnail when one is set instead of the generated preview. Default: `false`.

**Outputs**

- `data` (object): API response schema for direct asset file download URLs.

**Example output**

```json
{
  "data": {
    "url": "Example",
    "url_expires_at": "2026-11-30T12:00:00Z"
  }
}
```

### Get Asset Path

Get full path from root to the asset (including the asset itself)

**Inputs**

- Asset ID (`asset_id`, text, required): The ID of the asset
- Collection ID (`collection_id`, text): Optional collection ID to filter path by collection membership

**Outputs**

- `data` (list): The response from Aspect.

**Example output**

```json
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000001",
      "name": "Example"
    }
  ]
}
```

### Get Collection

Get a collection by ID

**Inputs**

- Collection ID (`collection_id`, text, required): Collection id.

**Outputs**

- `data` (object): API response schema for creating a collection

**Example output**

```json
{
  "data": {
    "created": "2026-11-30T12:00:00Z",
    "created_by_user_id": "00000000-0000-4000-8000-000000000001",
    "description": "Example",
    "id": "00000000-0000-4000-8000-000000000001",
    "name": "Example",
    "num_assets": 1,
    "num_directories": 1,
    "parent_id": "00000000-0000-4000-8000-000000000001",
    "team_id": "00000000-0000-4000-8000-000000000001",
    "updated": "2026-11-30T12:00:00Z"
  }
}
```

### Get current user

Get the current authenticated user

**Inputs**: None.

**Outputs**

- `data` (object): API Response model for user information

**Example output**

```json
{
  "data": {
    "avatar_url": "Example",
    "created": "2026-11-30T12:00:00Z",
    "email": "Example",
    "first_name": "Example",
    "id": "00000000-0000-4000-8000-000000000001",
    "last_name": "Example",
    "updated": "2026-11-30T12:00:00Z"
  }
}
```

### Get Directory

Get a directory by ID

**Inputs**

- Directory ID (`directory_id`, text, required): Directory id.

**Outputs**

- `data` (object): API response schema for a directory

**Example output**

```json
{
  "data": {
    "color": "Example",
    "content_modified_at": "2026-11-30T12:00:00Z",
    "created": "2026-11-30T12:00:00Z",
    "created_by_user_id": "00000000-0000-4000-8000-000000000001",
    "icon": {
      "emoji": "Example",
      "type": "Example"
    },
    "id": "00000000-0000-4000-8000-000000000001",
    "name": "Example",
    "parent_id": "00000000-0000-4000-8000-000000000001",
    "symlink": {
      "status": "resolved",
      "target_id": "00000000-0000-4000-8000-000000000001"
    },
    "team_id": "00000000-0000-4000-8000-000000000001",
    "updated": "2026-11-30T12:00:00Z"
  }
}
```

### Get Directory Details

Get directory details including stats and creator info

**Inputs**

- Directory ID (`directory_id`, text, required): Directory id.

**Outputs**

- `data` (object): API response schema for getting directory details with stats and creator info

**Example output**

```json
{
  "data": {
    "color": "Example",
    "content_modified_at": "2026-11-30T12:00:00Z",
    "created": "2026-11-30T12:00:00Z",
    "created_by_user_id": "00000000-0000-4000-8000-000000000001",
    "duration": 1,
    "icon": {
      "emoji": "Example",
      "type": "Example"
    },
    "id": "00000000-0000-4000-8000-000000000001",
    "name": "Example",
    "num_assets": 1,
    "parent_id": "00000000-0000-4000-8000-000000000001",
    "size_bytes": 1,
    "symlink": {
      "status": "resolved",
      "target_id": "00000000-0000-4000-8000-000000000001"
    },
    "team_id": "00000000-0000-4000-8000-000000000001",
    "updated": "2026-11-30T12:00:00Z"
  }
}
```

### Get Directory Path

Get full directory path from root to current directory

**Inputs**

- Directory ID (`directory_id`, text, required): Directory id.
- Collection ID (`collection_id`, text): Optional collection ID to filter path by collection membership

**Outputs**

- `data` (list): The response from Aspect.

**Example output**

```json
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000001",
      "name": "Example"
    }
  ]
}
```

### Get Team

Get a team by ID

**Inputs**

- Record team ID (`record_team_id`, text, required): Team id.

**Outputs**

- `data` (object): API response schema for a team

**Example output**

```json
{
  "data": {
    "created": "2026-11-30T12:00:00Z",
    "created_by_user_id": "00000000-0000-4000-8000-000000000001",
    "default_role": "full_access",
    "duration": 1,
    "id": "00000000-0000-4000-8000-000000000001",
    "is_active": false,
    "name": "Example",
    "num_assets": 1,
    "root_directory_id": "00000000-0000-4000-8000-000000000001",
    "size_bytes": 1,
    "trash_directory_id": "00000000-0000-4000-8000-000000000001",
    "updated": "2026-11-30T12:00:00Z",
    "workspace_id": "00000000-0000-4000-8000-000000000001"
  }
}
```

### Get transcription

Get transcription paragraphs and words for an asset

**Inputs**

- Asset ID (`asset_id`, text, required): The ID of the asset to get transcription for

**Outputs**

- `data` (object): Response model for transcription data

**Example output**

```json
{
  "data": {
    "paragraphs": [
      {
        "end_time": 1,
        "speaker": 1,
        "start_time": 1,
        "text": "Example"
      }
    ],
    "words": [
      {
        "confidence": 1,
        "end_time": 1,
        "speaker": 1,
        "start_time": 1,
        "text": "Example"
      }
    ]
  }
}
```

### Get Workspace

Get a workspace by ID

**Inputs**

- Workspace (`workspace_id`, text, required): Workspace id.

**Outputs**

- `data` (object): API response schema for a workspace

**Example output**

```json
{
  "data": {
    "created": "2026-11-30T12:00:00Z",
    "created_by_user_id": "00000000-0000-4000-8000-000000000001",
    "id": "00000000-0000-4000-8000-000000000001",
    "name": "Example",
    "updated": "2026-11-30T12:00:00Z"
  }
}
```

### List Assets

List assets with optional filters and sorting. Filter and sort by any attribute whose `resource_types` lets assets be filtered or sorted by it. Filters are combined with AND logic. A filter or sort that can't apply to assets returns `400`.

**Inputs**

- Parent ID (`parent_id`, text, required): Parent directory or team ID
- Recursive (`recursive`, true/false): When true, include assets from all descendant directories. Default: `false`.
- Filters (`filters`, list): List of filter objects
- Sorts (`sorts`, list): List of sorts applied in order
- Limit (`limit`, number): Max results to return. From 1.0 to 100.0. Default: `20`.
- Offset (`offset`, number): Pagination offset. At least 0.0. Default: `0`.
- Is uploaded (`is_uploaded`, true/false): Filter by upload status

**Outputs**

- `data` (list): The response from Aspect.

**Example output**

```json
{
  "data": [
    {
      "comment_count": 1,
      "content_modified_at": "2026-11-30T12:00:00Z",
      "created": "2026-11-30T12:00:00Z",
      "created_by_user_id": "00000000-0000-4000-8000-000000000001",
      "id": "00000000-0000-4000-8000-000000000001",
      "is_generated": false,
      "is_top_version": false,
      "is_uploaded": false,
      "manifest_id": "00000000-0000-4000-8000-000000000001",
      "media": {
        "duration": 1,
        "frame_rate": 1,
        "height": 1,
        "page_count": 1,
        "timecode": "Example",
        "width": 1
      },
      "mime_type": "Example",
      "name": "Example",
      "parent_id": "00000000-0000-4000-8000-000000000001",
      "size_bytes": 1,
      "symlink": {
        "status": "resolved",
        "target_id": "00000000-0000-4000-8000-000000000001"
      },
      "team_id": "00000000-0000-4000-8000-000000000001",
      "type": "video",
      "updated": "2026-11-30T12:00:00Z",
      "version_number": 1,
      "version_stack_id": "00000000-0000-4000-8000-000000000001",
      "workspace_id": "00000000-0000-4000-8000-000000000001"
    }
  ]
}
```

### List Canvases In Team

List the canvases you can view in a team, newest first. Without `parent_id`, lists every canvas in the team outside the trash.

**Inputs**

- Record team ID (`record_team_id`, text, required): Team ID
- Parent ID (`parent_id`, text): Directory ID; lists only the canvases directly in it

**Outputs**

- `data` (list): The response from Aspect.

**Example output**

```json
{
  "data": [
    {
      "created": "2026-11-30T12:00:00Z",
      "created_by_user_id": "00000000-0000-4000-8000-000000000001",
      "id": "00000000-0000-4000-8000-000000000001",
      "name": "Example",
      "parent_id": "00000000-0000-4000-8000-000000000001",
      "team_id": "00000000-0000-4000-8000-000000000001",
      "updated": "2026-11-30T12:00:00Z"
    }
  ]
}
```

### List Collection Assets

List assets in a collection with optional filters and sorting. Returns assets in collection's curated order by default. Custom sort overrides collection order. A filter or sort that can't apply to assets returns `400`.

**Inputs**

- Collection ID (`collection_id`, text, required): Collection id.
- Filters (`filters`, list): List of filter objects
- Sorts (`sorts`, list): List of sorts applied in order

**Outputs**

- `data` (list): The response from Aspect.

**Example output**

```json
{
  "data": [
    {
      "comment_count": 1,
      "content_modified_at": "2026-11-30T12:00:00Z",
      "created": "2026-11-30T12:00:00Z",
      "created_by_user_id": "00000000-0000-4000-8000-000000000001",
      "id": "00000000-0000-4000-8000-000000000001",
      "is_generated": false,
      "is_top_version": false,
      "is_uploaded": false,
      "manifest_id": "00000000-0000-4000-8000-000000000001",
      "media": {
        "duration": 1,
        "frame_rate": 1,
        "height": 1,
        "page_count": 1,
        "timecode": "Example",
        "width": 1
      },
      "mime_type": "Example",
      "name": "Example",
      "parent_id": "00000000-0000-4000-8000-000000000001",
      "size_bytes": 1,
      "symlink": {
        "status": "resolved",
        "target_id": "00000000-0000-4000-8000-000000000001"
      },
      "team_id": "00000000-0000-4000-8000-000000000001",
      "type": "video",
      "updated": "2026-11-30T12:00:00Z",
      "version_number": 1,
      "version_stack_id": "00000000-0000-4000-8000-000000000001",
      "workspace_id": "00000000-0000-4000-8000-000000000001"
    }
  ]
}
```

### List Collections In Team

List all collections in a team

**Inputs**

- Record team ID (`record_team_id`, text, required): Team ID
- Parent ID (`parent_id`, text): Directory ID; lists only the collections directly in it

**Outputs**

- `data` (list): The response from Aspect.

**Example output**

```json
{
  "data": [
    {
      "created": "2026-11-30T12:00:00Z",
      "created_by_user_id": "00000000-0000-4000-8000-000000000001",
      "description": "Example",
      "id": "00000000-0000-4000-8000-000000000001",
      "name": "Example",
      "num_assets": 1,
      "num_directories": 1,
      "parent_id": "00000000-0000-4000-8000-000000000001",
      "team_id": "00000000-0000-4000-8000-000000000001",
      "updated": "2026-11-30T12:00:00Z"
    }
  ]
}
```

### List Directories

List all subdirectories under a parent directory

**Inputs**

- Parent ID (`parent_id`, text, required): Directory to list. Only direct children are returned.

**Outputs**

- `data` (list): The response from Aspect.

**Example output**

```json
{
  "data": [
    {
      "color": "Example",
      "content_modified_at": "2026-11-30T12:00:00Z",
      "created": "2026-11-30T12:00:00Z",
      "created_by_user_id": "00000000-0000-4000-8000-000000000001",
      "icon": {
        "emoji": "Example",
        "type": "Example"
      },
      "id": "00000000-0000-4000-8000-000000000001",
      "name": "Example",
      "parent_id": "00000000-0000-4000-8000-000000000001",
      "symlink": {
        "status": "resolved",
        "target_id": "00000000-0000-4000-8000-000000000001"
      },
      "team_id": "00000000-0000-4000-8000-000000000001",
      "updated": "2026-11-30T12:00:00Z"
    }
  ]
}
```

### List Team Users

List all users with access to a team. Returns workspace owners, who have full access to every team, and the people added to the team, including people who haven't signed up yet. Requires VIEW permission on the team. Demo visitors cannot see who has access to a team.

**Inputs**

- Record team ID (`record_team_id`, text, required): Team id.

**Outputs**

- `data` (list): The response from Aspect.

**Example output**

```json
{
  "data": [
    {
      "avatar_url": "Example",
      "email": "Example",
      "first_name": "Example",
      "has_explicit_permission": false,
      "id": "00000000-0000-4000-8000-000000000001",
      "last_name": "Example",
      "role": "full_access",
      "workspace_role": "owner"
    }
  ]
}
```

### List Teams In Workspace

List all teams in a workspace that the user can access. Workspace owners see every team. Members see the teams they've been added to. Only active teams are returned unless the status filter says otherwise.

**Inputs**

- Workspace (`workspace_id`, text, required): Workspace id.
- Status (`status`, text): Filter teams by active status (active, inactive, or all). Defaults to active. One of: `active`, `inactive`, `all`. Default: `active`.

**Outputs**

- `data` (list): The response from Aspect.

**Example output**

```json
{
  "data": [
    {
      "created": "2026-11-30T12:00:00Z",
      "created_by_user_id": "00000000-0000-4000-8000-000000000001",
      "default_role": "full_access",
      "duration": 1,
      "id": "00000000-0000-4000-8000-000000000001",
      "is_active": false,
      "name": "Example",
      "num_assets": 1,
      "root_directory_id": "00000000-0000-4000-8000-000000000001",
      "size_bytes": 1,
      "trash_directory_id": "00000000-0000-4000-8000-000000000001",
      "updated": "2026-11-30T12:00:00Z",
      "workspace_id": "00000000-0000-4000-8000-000000000001"
    }
  ]
}
```

### List Workspace Users

List all users in a workspace. This includes people who were added but haven't signed up yet. Every owner and member of the workspace can view this list.

**Inputs**

- Workspace (`workspace_id`, text, required): Workspace id.

**Outputs**

- `data` (list): The response from Aspect.

**Example output**

```json
{
  "data": [
    {
      "avatar_url": "Example",
      "email": "Example",
      "first_name": "Example",
      "id": "00000000-0000-4000-8000-000000000001",
      "last_name": "Example",
      "role": "owner"
    }
  ]
}
```

### List Workspaces

List all workspaces the user has access to

**Inputs**: None.

**Outputs**

- `data` (list): The response from Aspect.

**Example output**

```json
{
  "data": [
    {
      "created": "2026-11-30T12:00:00Z",
      "created_by_user_id": "00000000-0000-4000-8000-000000000001",
      "id": "00000000-0000-4000-8000-000000000001",
      "name": "Example",
      "updated": "2026-11-30T12:00:00Z"
    }
  ]
}
```
