# getRelationshipTuple

> Function getRelationshipTuple in pulumi-openfga.

<!-- Generated from the pulumi-openfga SDK. -->

Function getRelationshipTuple in pulumi-openfga.

Invoke token: `openfga:index/getRelationshipTuple:getRelationshipTuple`.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as openfga from "pulumi-openfga"

const result = await openfga.getRelationshipTuple({
  object: "<object>",
  relation: "<relation>",
  storeId: "<storeId>",
  user: "<user>",
})
```

`getRelationshipTupleOutput` accepts Input values and returns `Output` of the same result.

## Arguments

| Property   | Type     | Required | Description |
| ---------- | -------- | -------- | ----------- |
| `object`   | `string` | yes      |             |
| `relation` | `string` | yes      |             |
| `storeId`  | `string` | yes      |             |
| `user`     | `string` | yes      |             |

## Result

| Property    | Type                            | Always present | Description |
| ----------- | ------------------------------- | -------------- | ----------- |
| `condition` | `GetRelationshipTupleCondition` | yes            |             |
| `object`    | `string`                        | yes            |             |
| `relation`  | `string`                        | yes            |             |
| `storeId`   | `string`                        | yes            |             |
| `user`      | `string`                        | yes            |             |

## `GetRelationshipTupleCondition`

Output object `GetRelationshipTupleCondition`. Fields below belong to this object.

| Property      | Type     | Always present | Description                                                   |
| ------------- | -------- | -------------- | ------------------------------------------------------------- |
| `contextJson` | `string` | yes            | The (partial) context under which the condition is evaluated. |
| `name`        | `string` | yes            | The name of the condition.                                    |
