> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Cognite Data Fusion (CDF) is an industrial DataOps platform. Prefer English docs unless the user asks for another locale.
> Follow /_llms/ index links recursively until you reach page URLs ending in .md. Fetch those Markdown twins instead of HTML.
> For REST APIs, default to calendar version 20230101 (stable). Use 20230101-beta or 20230101-alpha only if the user is on a preview API. Cite paths under /api-reference/concepts/<version>/ and the Cdf-Version header. Prefer the Python SDK (cognite-sdk) unless the user is in JavaScript/TypeScript.
> Start here by task: platform overview /cdf/index.md; data modeling /cdf/dm/index.md; data integration /cdf/integration/index.md; access /cdf/access/index.md; CDF Toolkit /cdf/deploy/cdf_toolkit/index.md; REST quickstart /dev/quickstart.md; Python SDK https://cognite-sdk-python.readthedocs-hosted.com/en/stable/; Atlas AI /cdf/atlas_ai/concepts/index.md; Flows apps /cdf/flows/index.md; MCP and IDE setup /dev/guides/ide_ai_integration.md.
> For implementation work, also load /skill.md.

# Filter files

> Lists files that match a filter. This endpoint is for exploration. Requires `filesAcl:READ`. See [Files](/api-reference/concepts/20230101/files).



## OpenAPI

````yaml https://storage.googleapis.com/cognitedata-api-docs/dist/20230101.json post /files/list
openapi: 3.1.0
info:
  title: Cognite API
  description: >-
    Reference documentation for the Cognite Data Fusion (CDF) API. See the [API
    introduction](/api-reference/concepts/20230101/api-description) and [API
    changelog](/api-reference/changelog).
  version: v1
  contact:
    name: Cognite Support
    url: https://support.cognite.com
    email: support@cognite.com
servers:
  - url: https://{cluster}.cognitedata.com/api/v1/projects/{project}
    description: The URL for the CDF cluster to connect to
    variables:
      cluster:
        enum:
          - api
          - az-tyo-gp-001
          - az-eastus-1
          - az-power-no-northeurope
          - westeurope-1
          - asia-northeast1-1
          - gc-dsm-gp-001
        default: api
        description: The CDF cluster to connect to
      project:
        default: publicdata
        description: The CDF project name.
security:
  - oidc-token:
      - https://{cluster}.cognitedata.com/.default
  - oauth2-client-credentials:
      - https://{cluster}.cognitedata.com/.default
  - oauth2-open-industrial-data:
      - https://api.cognitedata.com/.default
  - oauth2-auth-code:
      - https://{cluster}.cognitedata.com/.default
tags:
  - name: Token
  - name: Assets
  - name: Data Modeling
    x-uri-format-fragments: []
  - name: Streams
  - name: Records
  - name: Events
  - name: Files
  - name: Functions
  - name: Function calls
  - name: Function schedules
  - name: Function Apps
  - name: Function App Calls
  - name: Function App MCP
  - name: 3D
  - name: Time series
  - name: Data point subscriptions
  - name: Synthetic Time Series
  - name: Raw
    x-uri-format-fragments: []
  - name: Groups
  - name: Projects
  - name: Security categories
  - name: Data sets
  - name: Sequences
  - name: Labels
  - name: Relationships
  - name: Entity matching
  - name: Vision
  - name: Cognite AI
  - name: Documents
  - name: Document preview
    x-displayName: Preview
  - name: Geospatial
  - name: SessionsInternal
  - name: Sessions
  - name: Extraction Pipelines
  - name: Extraction Pipelines Runs
  - name: Extraction Pipelines Config
  - name: Extractors
  - name: Transformations
  - name: Transformation Jobs
  - name: Transformation Schedules
  - name: Transformation Notifications
  - name: Query
  - name: Schema
  - name: Transformation External Data Sources
  - name: Annotations
  - name: User profiles
  - name: Workflows
  - name: Workflow versions
  - name: Workflow executions
  - name: Tasks
  - name: Workflow triggers
  - name: Sources
  - name: Jobs
  - name: Destinations
  - name: Mappings
  - name: Previews
  - name: Postgres Gateway Users
  - name: Postgres Gateway Tables
  - name: SAP Instances
  - name: SAP Endpoints
  - name: Schema Mappings
  - name: Writeback Requests
  - name: Simulators
  - name: Simulator Integrations
  - name: Simulator Routines
  - name: Simulator Models
  - name: Simulation Runs
  - name: Simulator Logs
  - name: Units
  - name: Unit Systems
  - name: Application Data Storage
  - name: Location Filters
  - name: User Preferences
  - name: User History
  - name: Search Config
  - name: Organizations
  - name: Applications
  - name: Integrations
  - name: Integration Tasks
  - name: Integration Actions
  - name: Integration Configuration
  - name: Integration Errors
  - name: Principals
  - name: Signals
  - name: Data products
paths:
  /files/list:
    post:
      tags:
        - Files
      summary: Filter files
      description: >-
        Lists files that match a filter. This endpoint is for exploration.
        Requires `filesAcl:READ`. See
        [Files](/api-reference/concepts/20230101/files).
      operationId: advancedListFiles
      requestBody:
        description: The project name
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FileFilterRequest'
        required: true
      responses:
        '200':
          $ref: '#/components/responses/FileMetadataWithCursorResponse'
        '400':
          $ref: '#/components/responses/ErrorResponse'
      x-code-samples:
        - lang: JavaScript
          label: JavaScript SDK
          source: >-
            const files = await client.files.list({filter: {mimeType:
            'image/png'}});
        - lang: Python
          label: Python SDK
          source: >
            file_list = client.files.list(limit=5, external_id_prefix="prefix")


            for file_metadata in client.files:
                file_metadata # do something with the file metadata

            for file_list in client.files(chunk_size=2500):
                file_list # do something with the files

            from cognite.client.data_classes import LabelFilter

            my_label_filter = LabelFilter(contains_all=["WELL LOG", "VERIFIED"])

            file_list = client.files.list(labels=my_label_filter)


            from cognite.client.data_classes import GeoLocationFilter,
            GeometryFilter

            my_geo_location_filter = GeoLocationFilter(relation="intersects",
            shape=GeometryFilter(type="Point", coordinates=[35,10]))

            file_list = client.files.list(geo_location=my_geo_location_filter)
        - lang: Java
          label: Java SDK
          source: |+
            List<FileMetadata> listFilesResults = new ArrayList<>(); 
            client.files() 
                      .list() 
                      .forEachRemaining(files -> listFilesResults.addAll(files)); 

            client.files() 
                      .list(Request.create() 
                            .withFilterParameter("source", "sourceValue")) 
                      .forEachRemaining(files -> listFilesResults.addAll(files)); 

components:
  schemas:
    FileFilterRequest:
      allOf:
        - $ref: '#/components/schemas/FileFilter'
        - $ref: '#/components/schemas/PartitionObjectLimited10'
        - $ref: '#/components/schemas/FileLimit'
        - $ref: '#/components/schemas/Cursor'
    FileFilter:
      description: Filter on files with exact match
      type: object
      properties:
        filter:
          type: object
          properties:
            name:
              $ref: '#/components/schemas/FileName'
            directoryPrefix:
              description: Filter by this (case-sensitive) prefix for the directory.
              type: string
              maxLength: 512
              example: /my/known/directory
            mimeType:
              $ref: '#/components/schemas/MimeType'
            metadata:
              $ref: '#/components/schemas/FilesMetadataField'
            assetIds:
              $ref: '#/components/schemas/AssetIds'
            assetExternalIds:
              $ref: '#/components/schemas/AssetExternalIds'
            rootAssetIds:
              $ref: '#/components/schemas/RootAssetIds'
            dataSetIds:
              type: array
              maxItems: 100
              uniqueItems: true
              description: Only include files that belong to these datasets.
              items:
                $ref: '#/components/schemas/DataSetIdEither'
            assetSubtreeIds:
              $ref: '#/components/schemas/AssetSubtreeIds'
            source:
              maxLength: 128
              type: string
              description: The source of this event.
            createdTime:
              $ref: '#/components/schemas/EpochTimestampRange'
            lastUpdatedTime:
              $ref: '#/components/schemas/EpochTimestampRange'
            uploadedTime:
              $ref: '#/components/schemas/EpochTimestampRange'
            sourceCreatedTime:
              allOf:
                - description: >-
                    Filter for files where the sourceCreatedTime field has been
                    set and is within the specified range.
                - $ref: '#/components/schemas/EpochTimestampRange'
            sourceModifiedTime:
              allOf:
                - description: >-
                    Filter for files where the sourceModifiedTime field has been
                    set and is within the specified range.
                - $ref: '#/components/schemas/EpochTimestampRange'
            externalIdPrefix:
              $ref: '#/components/schemas/CogniteExternalIdPrefix'
            uploaded:
              type: boolean
              description: >-
                Whether or not the actual file is uploaded. This field is
                returned only by the API, it has no effect in a post body.
              example: true
            labels:
              $ref: '#/components/schemas/LabelFilter'
            geoLocation:
              $ref: '#/components/schemas/GeoLocationFilter'
    PartitionObjectLimited10:
      type: object
      properties:
        partition:
          $ref: '#/components/schemas/PartitionLimited10'
    FileLimit:
      type: object
      properties:
        limit:
          description: <- Maximum number of items that the client want to get back.
          type: integer
          format: int32
          minimum: 1
          maximum: 1000
          default: 100
    Cursor:
      type: object
      properties:
        cursor:
          type: string
          example: 4zj0Vy2fo0NtNMb229mI9r1V3YG5NBL752kQz1cKtwo
      description: >
        Cursor for paging through results. In general, if a response contains a
        `nextCursor`

        property, it means that there may be more results, and you should pass
        that value as the

        `cursor` parameter in the next request.


        Note that the cursor may or may not be encrypted, but either way, it is
        not intended to be

        decoded. Its internal structure is not a part of the public API, and may
        change without

        notice. You should treat it as an opaque string and not attempt to craft
        your own cursors.
    DataWithCursor:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/FilesMetadata'
        nextCursor:
          type: string
          description: Cursor to get the next page of results (if available).
      description: >-
        A list of objects along with possible cursors to get the next page of
        results
    Error:
      type: object
      required:
        - code
        - message
      description: Cognite API error.
      properties:
        code:
          type: integer
          description: HTTP status code.
          format: int32
          example: 401
        message:
          type: string
          description: Error message.
          example: Could not authenticate.
        missing:
          type: array
          description: List of lookup objects that do not match any results.
          items:
            type: object
            additionalProperties: true
        duplicated:
          type: array
          description: List of objects that are not unique.
          items:
            type: object
            additionalProperties: true
    FileName:
      type: string
      description: Name of the file.
      maxLength: 256
    MimeType:
      maxLength: 256
      type: string
      example: image/jpeg
      description: File type. E.g. text/plain, application/pdf, ..
    FilesMetadataField:
      type: object
      description: >-
        Custom, application specific metadata. String key -> String value.
        Limits: Maximum length of key is 128 bytes, value 10240 bytes, up to 256
        key-value pairs, of total size at most 10240.
      additionalProperties:
        type: string
    AssetIds:
      type: array
      minItems: 1
      maxItems: 100
      uniqueItems: true
      description: Only include files that reference these specific asset IDs.
      example:
        - 363848954441724
        - 793045462540095
        - 1261042166839739
      items:
        $ref: '#/components/schemas/CogniteInternalId'
    AssetExternalIds:
      type: array
      minItems: 1
      maxItems: 100
      uniqueItems: true
      description: Only include files that reference these specific asset external IDs.
      example:
        - externalId1
        - externalId2
        - externalId3
      items:
        $ref: '#/components/schemas/CogniteExternalId'
    RootAssetIds:
      type: array
      minItems: 1
      maxItems: 100
      uniqueItems: true
      description: >-
        Only include files that have a related asset in a tree rooted at any of
        these root assetIds.
      example:
        - id: 123456789
        - externalId: system 99 external Id 1234
      items:
        $ref: '#/components/schemas/AssetIdEither'
    DataSetIdEither:
      oneOf:
        - $ref: '#/components/schemas/DataSetInternalId'
        - $ref: '#/components/schemas/DataSetExternalId'
    AssetSubtreeIds:
      type: array
      minItems: 1
      maxItems: 100
      uniqueItems: true
      description: >-
        Only include files that have a related asset in a subtree rooted at any
        of these assetIds (including the roots given). If the total size of the
        given subtrees exceeds 100,000 assets, an error will be returned.
      example:
        - id: 123456789
        - externalId: system 99 external Id 1234
      items:
        $ref: '#/components/schemas/AssetIdEither'
    EpochTimestampRange:
      description: Range between two timestamps (inclusive).
      type: object
      properties:
        max:
          description: >-
            Maximum timestamp (inclusive). The timestamp is represented as
            number of milliseconds since 00:00:00 Thursday, 1 January 1970,
            Coordinated Universal Time (UTC), minus leap seconds.
          type: integer
          minimum: 0
          format: int64
        min:
          description: >-
            Minimum timestamp (inclusive). The timestamp is represented as
            number of milliseconds since 00:00:00 Thursday, 1 January 1970,
            Coordinated Universal Time (UTC), minus leap seconds.
          type: integer
          minimum: 0
          format: int64
    CogniteExternalIdPrefix:
      description: Filter by this (case-sensitive) prefix for the external ID.
      type: string
      maxLength: 255
      example: my.known.prefix
    LabelFilter:
      description: Return only the resource matching the specified label constraints.
      oneOf:
        - $ref: '#/components/schemas/LabelContainsAnyFilter'
        - $ref: '#/components/schemas/LabelContainsAllFilter'
    GeoLocationFilter:
      description: Only include files matching the specified geographic relation.
      type: object
      required:
        - relation
        - shape
      properties:
        relation:
          type: string
          enum:
            - INTERSECTS
            - DISJOINT
            - WITHIN
          description: One of the supported queries.
        shape:
          type: object
          description: Represents the points, curves and surfaces in the coordinate space.
          oneOf:
            - $ref: '#/components/schemas/Point'
            - $ref: '#/components/schemas/LineString'
            - $ref: '#/components/schemas/Polygon'
            - $ref: '#/components/schemas/MultiLineString'
            - $ref: '#/components/schemas/MultiPolygon'
          discriminator:
            propertyName: type
    PartitionLimited10:
      description: >
        Splits the data set into `N` partitions.

        The attribute is specified as a "M/N" string, where `M` is a natural
        number in the interval of `[1, N]`.

        You need to follow the cursors within each partition in order to receive
        all the data.


        The maximum number of allowed partitions (`N`) is 10.


        Cognite rejects requests if you specify more than 10 partitions.

        When Cognite enforces this behavior, the requests result in a 400 Bad
        Request status.
      type: string
      example: 1/3
    FilesMetadata:
      allOf:
        - $ref: '#/components/schemas/ExternalFilesMetadata'
        - type: object
          required:
            - id
            - uploaded
            - createdTime
            - lastUpdatedTime
          properties:
            id:
              $ref: '#/components/schemas/CogniteInternalId'
            uploaded:
              type: boolean
              description: >-
                Whether or not the actual file is uploaded. This field is
                returned only by the API, it has no effect in a post body.
              example: true
            uploadedTime:
              $ref: '#/components/schemas/EpochTimestamp'
            createdTime:
              $ref: '#/components/schemas/EpochTimestamp'
            lastUpdatedTime:
              $ref: '#/components/schemas/EpochTimestamp'
            instanceId:
              $ref: '#/components/schemas/CogniteInstanceId'
    CogniteInternalId:
      description: A server-generated ID for the object.
      type: integer
      minimum: 1
      maximum: 9007199254740991
      format: int64
    CogniteExternalId:
      description: >-
        The external ID provided by the client. Must be unique for the resource
        type.
      type: string
      maxLength: 255
      example: my.known.id
    AssetIdEither:
      oneOf:
        - $ref: '#/components/schemas/AssetInternalId'
        - $ref: '#/components/schemas/AssetExternalId'
    DataSetInternalId:
      type: object
      title: DataSetInternalId
      required:
        - id
      properties:
        id:
          $ref: '#/components/schemas/CogniteInternalId'
    DataSetExternalId:
      type: object
      title: DataSetExternalId
      required:
        - externalId
      properties:
        externalId:
          $ref: '#/components/schemas/CogniteExternalId'
    LabelContainsAnyFilter:
      type: object
      required:
        - containsAny
      properties:
        containsAny:
          description: The resource item contains at least one of the listed labels.
          type: array
          minItems: 1
          maxItems: 10
          items:
            $ref: '#/components/schemas/Label'
    LabelContainsAllFilter:
      type: object
      required:
        - containsAll
      properties:
        containsAll:
          description: The resource item contains at least all the listed labels.
          type: array
          minItems: 1
          maxItems: 10
          items:
            $ref: '#/components/schemas/Label'
    Point:
      type: object
      required:
        - type
        - coordinates
      properties:
        type:
          type: string
          enum:
            - Point
        coordinates:
          $ref: '#/components/schemas/PointCoordinates'
    LineString:
      type: object
      required:
        - type
        - coordinates
      properties:
        type:
          type: string
          enum:
            - LineString
        coordinates:
          $ref: '#/components/schemas/LineStringCoordinates'
    Polygon:
      type: object
      required:
        - type
        - coordinates
      properties:
        type:
          type: string
          enum:
            - Polygon
        coordinates:
          $ref: '#/components/schemas/PolygonCoordinates'
    MultiLineString:
      type: object
      required:
        - type
        - coordinates
      properties:
        type:
          type: string
          enum:
            - MultiLineString
        coordinates:
          $ref: '#/components/schemas/MultiLineStringCoordinates'
    MultiPolygon:
      type: object
      required:
        - type
        - coordinates
      properties:
        type:
          type: string
          enum:
            - MultiPolygon
        coordinates:
          $ref: '#/components/schemas/MultiPolygonCoordinates'
    ExternalFilesMetadata:
      type: object
      required:
        - name
      properties:
        externalId:
          $ref: '#/components/schemas/CogniteExternalId'
        name:
          $ref: '#/components/schemas/FileName'
        directory:
          $ref: '#/components/schemas/FileDirectory'
        source:
          $ref: '#/components/schemas/FileSource'
        mimeType:
          $ref: '#/components/schemas/MimeType'
        metadata:
          $ref: '#/components/schemas/FilesMetadataField'
        assetIds:
          type: array
          items:
            $ref: '#/components/schemas/CogniteInternalId'
          maxItems: 1000
          minItems: 1
        dataSetId:
          $ref: '#/components/schemas/DataSetId'
        sourceCreatedTime:
          allOf:
            - description: >-
                The timestamp for when the file was originally created in the
                source system, specified in milliseconds since the epoch.
            - $ref: '#/components/schemas/EpochTimestamp'
        sourceModifiedTime:
          allOf:
            - description: >-
                The timestamp for when the file was last modified in the source
                system, specified in milliseconds since the epoch.
            - $ref: '#/components/schemas/EpochTimestamp'
        securityCategories:
          type: array
          description: The security category IDs required to access this file.
          items:
            $ref: '#/components/schemas/CogniteInternalId'
          maxItems: 100
          minItems: 0
        labels:
          $ref: '#/components/schemas/LabelList'
        geoLocation:
          $ref: '#/components/schemas/GeoLocation'
    EpochTimestamp:
      description: >-
        The number of milliseconds since 00:00:00 Thursday, 1 January 1970,
        Coordinated Universal Time (UTC), minus leap seconds.
      type: integer
      minimum: 0
      format: int64
      example: 1730204346000
    CogniteInstanceId:
      description: >-
        The ID of an [instance in Cognite Data
        Models](https://docs.cognite.com/cdf/dm/dm_concepts/dm_spaces_instances#instance).
      type: object
      required:
        - space
        - externalId
      properties:
        space:
          $ref: '#/components/schemas/Space'
        externalId:
          $ref: '#/components/schemas/InstanceExternalId'
    AssetInternalId:
      type: object
      required:
        - id
      properties:
        id:
          $ref: '#/components/schemas/CogniteInternalId'
    AssetExternalId:
      type: object
      required:
        - externalId
      properties:
        externalId:
          $ref: '#/components/schemas/CogniteExternalId'
    Label:
      type: object
      title: Label
      required:
        - externalId
      description: A label assigned to a resource.
      properties:
        externalId:
          description: An external ID to a predefined label definition.
          allOf:
            - $ref: '#/components/schemas/CogniteExternalId'
    PointCoordinates:
      description: |
        Coordinates of a point in 2D space, described as an array of 2 numbers.

        Example: `[4.306640625, 60.205710352530346]`
      type: array
      minItems: 2
      maxItems: 2
      items:
        type: number
    LineStringCoordinates:
      description: >
        Coordinates of a line described by a list of two or more points.

        Each point is defined as a pair of two numbers in an array, representing
        coordinates of a point in 2D space.


        Example: `[[30, 10], [10, 30], [40, 40]]`
      type: array
      minItems: 2
      items:
        $ref: '#/components/schemas/PointCoordinates'
    PolygonCoordinates:
      description: >
        List of one or more linear rings representing a shape.


        A linear ring is the boundary of a surface or the boundary of a hole in
        a surface. It is defined as a list consisting of 4 or more Points, where
        the first and last Point is equivalent.


        Each Point is defined as an array of 2 numbers, representing coordinates
        of a point in 2D space.


        Example: `[[[35, 10], [45, 45], [15, 40], [10, 20], [35, 10]], [[20,
        30], [35, 35], [30, 20], [20, 30]]]`
      type: array
      minItems: 2
      items:
        $ref: '#/components/schemas/LineStringCoordinates'
    MultiLineStringCoordinates:
      description: >
        List of lines where each line (LineString) is defined as a list of two
        or more points.

        Each point is defined as a pair of two numbers in an array, representing
        coordinates of a point in 2D space.


        Example: `[[[30, 10], [10, 30]], [[35, 10], [10, 30], [40, 40]]]`
      type: array
      items:
        $ref: '#/components/schemas/LineStringCoordinates'
    MultiPolygonCoordinates:
      description: >
        List of multiple polygons.


        Each polygon is defined as a list of one or more linear rings
        representing a shape.


        A linear ring is the boundary of a surface or the boundary of a hole in
        a surface. It is defined as a list consisting of 4 or more Points, where
        the first and last Point is equivalent.


        Each Point is defined as an array of 2 numbers, representing coordinates
        of a point in 2D space.


        Example: `[[[[30, 20], [45, 40], [10, 40], [30, 20]]], [[[15, 5], [40,
        10], [10, 20], [5, 10], [15, 5]]]]`
      type: array
      items:
        $ref: '#/components/schemas/PolygonCoordinates'
    FileDirectory:
      type: string
      description: Directory containing the file. Must be an absolute, unix-style path.
      maxLength: 512
    FileSource:
      maxLength: 128
      type: string
      description: The source of the file.
    DataSetId:
      description: The dataSet Id for the item.
      type: integer
      minimum: 1
      maximum: 9007199254740991
      format: int64
    LabelList:
      type: array
      description: A list of the labels associated with this resource item.
      minItems: 0
      maxItems: 10
      uniqueItems: true
      items:
        $ref: '#/components/schemas/Label'
    GeoLocation:
      description: Geographic metadata.
      required:
        - type
        - geometry
      type: object
      properties:
        type:
          type: string
          enum:
            - Feature
          description: >-
            One of the GeoJSON types. Currently only the 'Feature' type is
            supported.
        geometry:
          $ref: '#/components/schemas/GeoLocationGeometry'
        properties:
          type: object
          description: Additional properties in a String key -> Object value format.
    Space:
      type: string
      pattern: ^[a-zA-Z][a-zA-Z0-9_-]{0,41}[a-zA-Z0-9]?$
      minLength: 1
      maxLength: 43
    InstanceExternalId:
      type: string
      pattern: ^[a-zA-Z]([a-zA-Z0-9_]{0,253}[a-zA-Z0-9])?$
      minLength: 1
      maxLength: 255
    GeoLocationGeometry:
      type: object
      required:
        - type
      description: Represents the points, curves and surfaces in the coordinate space.
      oneOf:
        - $ref: '#/components/schemas/Point'
        - $ref: '#/components/schemas/LineString'
        - $ref: '#/components/schemas/Polygon'
        - $ref: '#/components/schemas/MultiPoint'
        - $ref: '#/components/schemas/MultiLineString'
        - $ref: '#/components/schemas/MultiPolygon'
      discriminator:
        propertyName: type
    MultiPoint:
      type: object
      required:
        - type
        - coordinates
      properties:
        type:
          type: string
          enum:
            - MultiPoint
        coordinates:
          $ref: '#/components/schemas/MultiPointCoordinates'
    MultiPointCoordinates:
      description: >
        List of Points. Each Point is defined as an array of 2 numbers,
        representing coordinates of a point in 2D space.


        Example: `[[35, 10], [45, 45]]`
      type: array
      items:
        $ref: '#/components/schemas/PointCoordinates'
  responses:
    FileMetadataWithCursorResponse:
      description: The response for a successful files/list operation
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DataWithCursor'
    ErrorResponse:
      description: The response for a failed request.
      content:
        application/json:
          schema:
            type: object
            required:
              - error
            properties:
              error:
                $ref: '#/components/schemas/Error'
  securitySchemes:
    oidc-token:
      type: http
      scheme: bearer
      bearerFormat: OpenID Connect or OAuth2 token
      description: >-
        Access token issued by the CDF project's configured identity provider.
        Access token must be an OpenID Connect token, and the project must be
        configured to accept OpenID Connect tokens. Use a header key of
        'Authorization' with a value of 'Bearer $accesstoken'. The token can be
        obtained through any flow supported by the identity provider.
    oauth2-client-credentials:
      type: oauth2
      description: >-
        Access token issued by the CDF project's configured identity provider.
        Access token must be an OpenID Connect token, and the project must be
        configured to accept OpenID Connect tokens. Use a header key of
        'Authorization' with a value of 'Bearer $accesstoken'. The token can be
        obtained through any flow supported by the identity provider.
      flows:
        clientCredentials:
          tokenUrl: https://your-idps.token.url/
          scopes:
            default: https://{cluster}.cognitedata.com/.default
    oauth2-open-industrial-data:
      type: oauth2
      description: >-
        Auth flow for Open Industrial Data. Get your client secret from
        https://hub.cognite.com/open-industrial-data-211.
      flows:
        clientCredentials:
          tokenUrl: >-
            https://login.microsoftonline.com/48d5043c-cf70-4c49-881c-c638f5796997/oauth2/v2.0/token
          scopes:
            default: https://api.cognitedata.com/.default
    oauth2-auth-code:
      type: oauth2
      description: >-
        Access token issued by the CDF project's configured identity provider.
        Access token must be an OpenID Connect token, and the project must be
        configured to accept OpenID Connect tokens. Use a header key of
        'Authorization' with a value of 'Bearer $accesstoken'. The token can be
        obtained through any flow supported by the identity provider.
      flows:
        authorizationCode:
          authorizationUrl: https://your-idps.authorization.url/
          tokenUrl: https://your-idps.token.url/
          scopes:
            default: https://{cluster}.cognitedata.com/.default

````