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

# createCardsEnrichmentTask

> Queues a task that applies `propertyOperations` to every card `contentFilters` matches. Only card properties with `isEditable` can be changed. Follow the returned task until it's `COMPLETED`.



**mutation** `createCardsEnrichmentTask(input: CreateCardsEnrichmentTaskInput!): CreateCardsEnrichmentTaskPayload!`

## Arguments

**`input`**: `CreateCardsEnrichmentTaskInput!` (required)

## Returns

`CreateCardsEnrichmentTaskPayload!`

**`errors`**: `[CreateCardsEnrichmentTaskError!]`

---

**`queuedTask`**: `QueuedTask`

## Examples

```graphql Mutation
mutation CreateCardsEnrichmentTask($input: CreateCardsEnrichmentTaskInput!) {
  createCardsEnrichmentTask(input: $input) {
    errors {
      __typename
      ... on GraphQlError {
        code
        details {
          __typename
        }
        message
      }
    }
    queuedTask {
      artifacts {
        available
        completedAt
        createdAt
        filename
        kind
        sizeBytes
      }
      awaitingConfirmation
      configuration {
        __typename
        ... on CardsImportConfiguration {
          __typename
        }
      }
      createdAt
      createdBy
      details {
        __typename
        ... on CardsImportDetails {
          __typename
        }
      }
    }
  }
}
```

```json Variables
{
  "input": {
    "cardDefinitionId": "id",
    "contentFilters": [
      {}
    ],
    "propertyOperations": [
      {}
    ]
  }
}
```

```json Response
{
  "data": {
    "createCardsEnrichmentTask": {
      "errors": [
        {
          "__typename": "GraphQlError",
          "code": "string",
          "details": [
            {
              "__typename": "KeyValuePairOfStringAndString"
            }
          ],
          "message": "string"
        }
      ],
      "queuedTask": {
        "artifacts": [
          {
            "available": true,
            "completedAt": "value",
            "createdAt": "value",
            "filename": "string",
            "kind": "INPUT",
            "sizeBytes": "value"
          }
        ],
        "awaitingConfirmation": true,
        "configuration": {
          "__typename": "CardsImportConfiguration"
        },
        "createdAt": "value",
        "createdBy": "value",
        "details": {
          "__typename": "CardsImportDetails"
        }
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.