---
title: "Get Agent Fields"
method: GET
path: "/public/agents/fields"
tags: ["public", "[beta] Agents"]
---

# Get Agent Fields

`GET /public/agents/fields`

Return agent type metadata required by the dashboard create-agent flow.

If an agent has `inherit_credentials_from_provider`, the provider's credential
fields are automatically appended to the agent's credential_fields.

## Response `200`

Successful Response

- AgentCreateInfo[]
  - `agent_type` string, required
  - `agent_type_display_name` string, required
  - `description` string, nullable
  - `logo_url` string, nullable
  - `credential_fields` AgentCredentialField[], required
    - `key` string, required
    - `label` string, required
    - `placeholder` string, nullable
    - `tooltip` string, nullable
    - `required` boolean
    - `field_type` 'text' | 'password' | 'select' | 'upload' | 'textarea'
    - `options` string[], nullable
    - `default_value` string, nullable
    - `include_in_litellm_params` boolean, nullable
    - `validation_pattern` string, nullable
    - `validation_message` string, nullable
  - `litellm_params_template` object, nullable
  - `model_template` string, nullable

## Changes

- **2026-09-18** `082b5fabd909` — 2 info
  - added the optional property `items/credential_fields/items/validation_message` to the response with the `200` status
  - added the optional property `items/credential_fields/items/validation_pattern` to the response with the `200` status

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/public/agents/fields/get.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flock/apis/litellm-api/revisions/731afbea6a1b?raw)
