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

# HarvestAPI: Get Post Reactions

> List reactions to one LinkedIn post. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

List reactions to one LinkedIn post.

<Info>
  Tool ID: `harvestapi_get_post_reactions`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'harvestapi_get_post_reactions',
  {
    "post": "example",
    "page": 1
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={null}
deepline tools execute harvestapi_get_post_reactions --input '{
  "post": "example",
  "page": 1
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "elements": [
      {
        "id": "id_123",
        "reactionType": "example",
        "postId": "post_123",
        "actor": {
          "id": "id_123",
          "name": "Example",
          "linkedinUrl": "https://example.com/resource"
        }
      }
    ],
    "pagination": {
      "totalPages": 123,
      "totalElements": 123,
      "pageNumber": 123
    },
    "status": 1
  }
}
```

Use `deepline tools get harvestapi_get_post_reactions --json` for the latest machine-readable contract.

## Input reference

Get reactions of LinkedIn post by post URL.

| Name           | Type      | Required | Default | Details                                                |
| -------------- | --------- | -------- | ------- | ------------------------------------------------------ |
| `payload.post` | `string`  | No       | —       | URL of the LinkedIn post (required) Minimum length: 1. |
| `payload.page` | `integer` | No       | `1`     | Page number for pagination. Default is 1               |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Get reactions of LinkedIn post by post URL.",
    "properties": {
      "post": {
        "type": "string",
        "description": "URL of the LinkedIn post (required)",
        "minLength": 1
      },
      "page": {
        "type": "integer",
        "description": "Page number for pagination. Default is 1",
        "default": 1
      }
    },
    "required": [],
    "allOf": [
      {
        "anyOf": [
          {
            "required": [
              "post"
            ]
          }
        ]
      }
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                             | Type                | Required | Default | Details                                                                                   |
| ------------------------------------------------ | ------------------- | -------- | ------- | ----------------------------------------------------------------------------------------- |
| `result.data`                                    | `object`            | Yes      | —       | Provider response payload.                                                                |
| `result.data.elements`                           | `array`             | No       | —       | —                                                                                         |
| `result.data.elements[].id`                      | `string`            | Yes      | —       | The unique identifier for the reaction.                                                   |
| `result.data.elements[].reactionType`            | `string`            | Yes      | —       | The type of reaction.                                                                     |
| `result.data.elements[].postId`                  | `string`            | Yes      | —       | The ID of the post that was reacted to.                                                   |
| `result.data.elements[].actor`                   | `object`            | Yes      | —       | —                                                                                         |
| `result.data.elements[].actor.id`                | `string`            | Yes      | —       | The unique identifier for the actor.                                                      |
| `result.data.elements[].actor.name`              | `string`            | Yes      | —       | The name of the actor.                                                                    |
| `result.data.elements[].actor.linkedinUrl`       | `string`            | Yes      | —       | The LinkedIn profile URL of the actor. Format: `uri`.                                     |
| `result.data.elements[].actor.position`          | `string`            | No       | —       | The current position of the actor.                                                        |
| `result.data.elements[].actor.pictureUrl`        | `string`            | No       | —       | The URL of the actor's profile picture. Format: `uri`.                                    |
| `result.data.elements[].actor.picture`           | `object`            | No       | —       | —                                                                                         |
| `result.data.elements[].actor.picture.url`       | `string`            | Yes      | —       | The URL of the picture. Format: `uri`.                                                    |
| `result.data.elements[].actor.picture.width`     | `integer`           | Yes      | —       | The width of the picture in pixels.                                                       |
| `result.data.elements[].actor.picture.height`    | `integer`           | Yes      | —       | The height of the picture in pixels.                                                      |
| `result.data.elements[].actor.picture.expiresAt` | `integer`           | Yes      | —       | The expiration timestamp of the picture URL in milliseconds since epoch. Format: `int64`. |
| `result.data.pagination`                         | `object`            | No       | —       | —                                                                                         |
| `result.data.pagination.totalPages`              | `integer`           | No       | —       | Format: `int32`.                                                                          |
| `result.data.pagination.totalElements`           | `integer`           | No       | —       | Format: `int32`.                                                                          |
| `result.data.pagination.pageNumber`              | `integer`           | No       | —       | Format: `int32`.                                                                          |
| `result.data.pagination.previousElements`        | `integer`           | No       | —       | Format: `int32`.                                                                          |
| `result.data.pagination.pageSize`                | `integer`           | No       | —       | Format: `int32`.                                                                          |
| `result.data.pagination.paginationToken`         | `string`            | No       | —       | Format: `nullable`.                                                                       |
| `result.data.status`                             | `string \| integer` | No       | —       | —                                                                                         |
| `result.data.error`                              | `string \| null`    | No       | —       | —                                                                                         |
| `result.meta`                                    | `object`            | No       | —       | Additional response metadata (status, paging).                                            |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "elements": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The unique identifier for the reaction."
                },
                "reactionType": {
                  "type": "string",
                  "description": "The type of reaction."
                },
                "postId": {
                  "type": "string",
                  "description": "The ID of the post that was reacted to."
                },
                "actor": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The unique identifier for the actor."
                    },
                    "name": {
                      "type": "string",
                      "description": "The name of the actor."
                    },
                    "linkedinUrl": {
                      "type": "string",
                      "description": "The LinkedIn profile URL of the actor.",
                      "format": "uri"
                    },
                    "position": {
                      "type": "string",
                      "description": "The current position of the actor."
                    },
                    "pictureUrl": {
                      "type": "string",
                      "description": "The URL of the actor's profile picture.",
                      "format": "uri"
                    },
                    "picture": {
                      "type": "object",
                      "properties": {
                        "url": {
                          "type": "string",
                          "description": "The URL of the picture.",
                          "format": "uri"
                        },
                        "width": {
                          "type": "integer",
                          "description": "The width of the picture in pixels."
                        },
                        "height": {
                          "type": "integer",
                          "description": "The height of the picture in pixels."
                        },
                        "expiresAt": {
                          "type": "integer",
                          "description": "The expiration timestamp of the picture URL in milliseconds since epoch.",
                          "format": "int64"
                        }
                      },
                      "required": [
                        "url",
                        "width",
                        "height",
                        "expiresAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "linkedinUrl"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "reactionType",
                "postId",
                "actor"
              ],
              "additionalProperties": false
            }
          },
          "pagination": {
            "type": "object",
            "properties": {
              "totalPages": {
                "type": "integer",
                "format": "int32"
              },
              "totalElements": {
                "type": "integer",
                "format": "int32"
              },
              "pageNumber": {
                "type": "integer",
                "format": "int32"
              },
              "previousElements": {
                "type": "integer",
                "format": "int32"
              },
              "pageSize": {
                "type": "integer",
                "format": "int32"
              },
              "paginationToken": {
                "type": "string",
                "format": "nullable"
              }
            },
            "additionalProperties": false
          },
          "status": {
            "type": [
              "string",
              "integer"
            ]
          },
          "error": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `provider_usage` (provider usage).
* Estimated Deepline credits: `0.03` per pricing unit.

## Related documentation

* [HarvestAPI provider guide](/docs/providers/harvestapi/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
