> For the complete documentation index, see [llms.txt](https://0xreisearch.gitbook.io/0xreisearch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://0xreisearch.gitbook.io/0xreisearch/factory-and-core-api-sdk-cross-framework/api-reference/get-reigent.md).

# GET Reigent

## Get Reigent

Retrieve a Reigent.

* **URL**: `/rei/agents`
* **Method**: `GET`
* **Headers**:

  | Key           | Value                             |
  | ------------- | --------------------------------- |
  | Authorization | Bearer **rei-agent-secret-token** |
* **Response:**

```
{
  "id": 02,
  "identifier": "0xxxxxx",
  "name": "Dummy Agent",
  "behavior_prompt": "You are dummy agent.",
  "agent_functionalities": "",
  "agent_model": {
    "id": 1,
    "name": "claude-3.7-sonnet",
    "model_name": ""
  },
  "response_format": "json",
  "temperature": 0.0,
  "max_tokens": 1024
}
```

* **Error**

| Response Code | Reason          |
| ------------- | --------------- |
| 401           | Unauthorized    |
| 404           | Agent not found |
