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

# Feedback actions

From the Python SDK it is possible to send server side the explicit user actions and feedback to the Nebuly platform.
An example of these actions might be `thumbs_up`, `thumbs_down`, `copy_input`, `copy_output`.

## Send feedback actions to Nebuly

To get send the feedback actions to the nebuly platform, you need to create an instance of the TrackingSDK
client. You need to pass your Nebuly API key as a parameter.

<Info>
  You can also provide the Nebuly API key in an environment variable
  NEBULY\_API\_KEY and it will be automatically detected.
</Info>

<Tabs>
  <Tab title="Python Client">
    ```python theme={null}
    from nebuly.tracking import TrackingSDK

    client = TrackingSDK("your_nebuly_api_key")

    client.send_feedback_action(
        user_id="<YOUR_USER_ID>",
        action="thumbs_down",
        text="The user comment (optional)",
        input="interaction input",
        output="interaction output",
    )
    ```

    <Note>
      In the case your code is async, you can benefit from the AsyncABTesting client.
    </Note>
  </Tab>

  <Tab title="Python Async Client">
    ```python theme={null}
    import asyncio

    from nebuly.tracking import AsyncTrackingSDK

    client = AsyncTrackingSDK("your_nebuly_api_key")


    async def main() -> None:
        await client.send_feedback_action(
            user_id="<YOUR_USER_ID>",
            action="thumbs_down",
            text="The user comment (optional)",
            input="interaction input",
            output="interaction output",
        )


    if __name__ == "__main__":
        asyncio.run(main())
    ```
  </Tab>
</Tabs>

Available actions are:

* thumbs\_up
* thumbs\_down
* copy\_input
* copy\_output
* paste
