---
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
  - `litellm_params_template` object, nullable
  - `model_template` string, nullable

---

[API](https://skmtc.net/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.net/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sea-lion/litellm-api/revisions/79928a3d37d3/schema)
