GET
/
agents
[
  {
    "name": "my_agent",
    "description": "This agent is used to queue jobs",
    "visibility": "public",
    "required_prompts": [
      "Hello {{.name}}, your model is {{.model}}"
    ],
    "required_fields": [
      "name",
      "model"
    ]
  }
]

Response

200 - application/json
List of agents
name
string
required

The name of the agent

Example:

"my_agent"

description
string
required

The description of the agent

Example:

"This agent is used to queue jobs"

visibility
string
required

The visibility of the agent

Example:

"public"

required_prompts
string[]
required

The prompts for the agent

Example:
["Hello {{.name}}, your model is {{.model}}"]
required_fields
string[]

The fields that must be provided when creating a workflow for a given agent

Example:
["name", "model"]