Docs
Actions

Actions

The Actions tab lets you define API endpoints that your agent can access to perform specific tasks.

Step-by-Step Instructions

  1. Create New Action

    • Click "Add Action" and provide a name for the action (e.g., "Submit Order").
    • Enter the API endpoint URL (e.g., https://api.example.com/orders).
  2. Define HTTP Method

    • Choose the appropriate HTTP method:
      • GET: Retrieve data.
      • POST: Submit new data.
      • PUT: Update existing data.
      • DELETE: Remove data.
  3. Configure Authentication

    • Select the authentication type required by your API (e.g., Basic Auth, OAuth).
    • Provide necessary credentials or tokens as prompted.
  4. Add Headers and Body (Optional)

    • Include any required headers or request body parameters.
    • Ensure all fields are properly formatted and validated.
  5. Test Action

    • Use the "Test" button to verify that the action works as expected.
  6. Save Configuration

    • After defining all necessary actions, click "Save" to continue.

Next: Playground Chat