---
title: "Retrieve agents authored by the user."
method: GET
path: "/agents"
---

# Retrieve agents authored by the user.

`GET /agents`

## Response `200`

A list of agents

- object
  - `ok` boolean
  - `agents` Agent[]
    - `id` string
    - `slug` string
    - `name` string
    - `description` string
    - `image` string
    - `privacy` string
    - `namespace` string
    - `prompt` string
    - `isAutonomous` boolean
    - `welcome` string
    - `model` 'gpt-3.5-turbo' | 'gpt-3.5-turbo-16k' | 'gpt-4' | 'palm-2' | 'llama-2-13b-chat' | 'llama-2-70b-chat' | 'codellama-13b-instruct' | 'codellama-13b-python' | 'mistral-7b' | 'zephyr-7b' | 'mistrallite-7b' | 'llava-13b' | 'fuyu-8b' | 'causallm-14b' — Name of the LLM model to use.
    - `params` ModelParameters — Model parameters
      - `temperature` number — model temperature between 0 and 1.0
      - `topP` number
      - `frequencePenalty` number
      - `presencePenalty` number
    - `tools` Tool[]
      - `id` string
      - `checked` boolean — Set to true if you want to include the tool as a plugin to the LLM call
    - `userId` string
    - `createdAt` integer
    - `updatedAt` integer
    - `status` string
    - `collections` string[]

---

[API](https://skmtc.net/openindex/apis/openindex-ai-api.md) · [All operations](https://skmtc.net/openindex/apis/openindex-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openindex/openindex-ai-api/versions/c3a8b22ba407/schema)
