Skip to main content

Quick Start

The Reigent API is a powerful interface designed to interact with the Reigent, enabling seamless integration for authentication, agent retrieval, and chat completions. This API simplifies the process of connecting to the Reigent and utilizing its features.

Authentication

REI Agent Secret Token

To authenticate the REI Agent API requests

❓ How to get a REI Agent Secret Token

Steps

  1. Navigate to Reigent Portal

  2. Create an agent as stated in the Reigent Portal.

  3. Find the agent from the side bar at the left.

  4. Click ...

  5. Click Agent Details

  6. Locate your Agent Secret Key from the pop-out dialog. Agent Secret Key pop-out dialog.

  7. Copy.

  • Treat this key as highly sensitive—it grants full API access.
  • ❗ Never expose it in client-side code or version control (e.g., Git).
  1. Key rotation
  • You may regenerate the Secret Key if is needed.
  • Only the latest generated Secret Key is valid.
🔧 How to use User Secret Token

Example:

GET /v1/{...} HTTP/1.1
Authorization: Bearer YOUR_REIGENT_UNIT_SECRET_KEY

User Secret Token

To manage resources

❓ How to get a User Secret Token

Steps

  1. Navigate to Reigent Portal

  2. Create an agent as stated in the Reigent Portal.

  3. Click on three dots next to the Create.

    Top right bar of Reigent Portal

  4. Click View API.

    User secret token pop-out dialog

  5. Locate your User Secret Key from the pop-out dialog.

    User secret token pop-out dialog

  6. Turn the key to Active

  7. Copy.

  • Treat this key as highly sensitive—it grants full API access.
  • ❗ Never expose it in client-side code or version control (e.g., Git).
  1. Key rotation
  • You may regenerate the User Secret Key if is needed.
  • Only the latest generated User Secret Key is valid.
🔧 How to use User Secret Token

Example:

GET /v1/{...} HTTP/1.1
Authorization: Bearer YOUR_USER_SECRET_KEY

Base URL

https://api.reisearch.box