---
url: https://api-doc.aive.com/api/types/objects/container.md
---

A container is an audio or video file uploaded to Aive. It is ready to use once
its extraction has completed successfully.

```graphql
type Container implements File {
  id: ID!
  name: String!
  containerFormat: SourceContainer
  size: ByteSize!
  createdAt: Date!
  updatedAt: Date!
  manifestLevel: ManifestLevel
  uploadStatus: ContainerUploadStatus!
  streams: [Stream!]!
  folder: Folder
  workspace: Workspace!
}
```

### Fields

#### [Container.id](#id) ● [ID!](/api/types/scalars/id) non-null scalar {#id}

The unique identifier of the container.

#### [Container.name](#name) ● [String!](/api/types/scalars/string) non-null scalar {#name}

The display name of the container.

#### [Container.containerFormat](#container-format) ● [SourceContainer](/api/types/enums/source-container) enum {#container-format}

The detected container format, once extraction has completed.

#### [Container.size](#size) ● [ByteSize!](/api/types/scalars/byte-size) non-null scalar {#size}

The size of the container file, in bytes.

#### [Container.createdAt](#created-at) ● [Date!](/api/types/scalars/date) non-null scalar {#created-at}

The date and time at which the container was created.

#### [Container.updatedAt](#updated-at) ● [Date!](/api/types/scalars/date) non-null scalar {#updated-at}

The date and time at which the container was last updated.

#### [Container.manifestLevel](#manifest-level) ● [ManifestLevel](/api/types/enums/manifest-level) enum {#manifest-level}

The depth of information extracted by the last successful analysis, if any.

#### [Container.uploadStatus](#upload-status) ● [ContainerUploadStatus!](/api/types/enums/container-upload-status) non-null enum {#upload-status}

The status of the container extraction process. The container can only be
used once this status is succeeded.

#### [Container.streams](#streams) ● [\[Stream!\]!](/api/types/interfaces/stream) non-null interface {#streams}

#### [Container.folder](#folder) ● [Folder](/api/types/objects/folder) object {#folder}

The parent folder of the container, or null if it is at the root of the workspace.

#### [Container.workspace](#workspace) ● [Workspace!](/api/types/objects/workspace) non-null object {#workspace}

The workspace the container belongs to.

### Interfaces

#### [File](/api/types/interfaces/file) interface

File is a common interface implemented by every resource that lives in a
workspace's folder hierarchy, such as a Folder or a Container.

### Returned By

[`container`](/api/operations/queries/container)  query

### Member Of

[`AudioStream`](/api/types/objects/audio-stream)  object ● [`Stream`](/api/types/interfaces/stream)  interface ● [`VideoStream`](/api/types/objects/video-stream)  object
