# Promote to indicator

> The OpenCTI API calls that promote an observable now return the created Indicator, through a new GraphQL mutation and a new Python client method.

- URL: https://filigran.io/docs/lts/7.260811-lts/deploy/upgrade/breaking-changes/opencti/6-2-promote-to-indicator/
- Products: OpenCTI 7.260811.0-lts.1
- OpenCTI line: 7.260811 LTS · 7.260811.0-lts.1
- For: platform engineers, developers
- Type: How-to guide

From OpenCTI 6.2, the API calls that promote an observable to an Indicator return the Indicator they create, instead of the observable. The old calls were removed in 6.8. This page lists the replacements, for scripts that call the GraphQL API or the Python client.

**Diagram: From OpenCTI 6.2, new promote calls of the GraphQL API and the Python client return the created Indicator instead of the observable, and the old calls are gone in 6.8**

- Removed in OpenCTI 6.8: promote (GraphQL mutation), promote_to_indicator (Python client method)
- From OpenCTI 6.2: promoteToIndicator (GraphQL mutation), promote_to_indicator_v2 (Python client method)
- What the call returns: The observable (Returned by the old calls), The new Indicator (Adapt the fields you read)

Connections:

- promote → promoteToIndicator: replace with
- promote_to_indicator → promote_to_indicator_v2: replace with
- promoteToIndicator → The new Indicator: returns
- promote_to_indicator_v2 → The new Indicator: returns
- promote → The observable: returned
- promote_to_indicator → The observable: returned

| | Version |
| --- | --- |
| Deprecated in | OpenCTI 6.2 |
| Removed in | OpenCTI 6.8 |

## Replaced calls {#replaced-calls}

| API | Removed | Replaced by |
| --- | --- | --- |
| GraphQL | `StixCyberObservableEditMutations.promote` | `StixCyberObservableEditMutations.promoteToIndicator` |
| Python client | `client.stix_cyber_observable.promote_to_indicator` | `client.stix_cyber_observable.promote_to_indicator_v2` |

## What to do {#what-to-do}

Call the new mutation or method in your scripts. If a script uses the value it returns, expect the new Indicator instead of the promoted observable, and adapt the fields it reads.

## What's next {#what-s-next}

- [Script OpenCTI in Python](https://filigran.io/docs/lts/7.260811-lts/develop/build/python-client/), the methods of the client.
- [Breaking changes](https://filigran.io/docs/lts/7.260811-lts/deploy/upgrade/breaking-changes/), the other changes per version.
