Welcome to the new Golem Cloud Docs! 👋
Agent Types

Agent Types API

API working on registered agent types

undefined

PathMethodProtected
/v1/agent-typesGETYes

Query Parameters

NameTypeRequiredDescription
project-idstringNo-

Example Response JSON

[
  {
    "agentType": {
      "typeName": "string",
      "description": "string",
      "constructor": {
        "name": "string",
        "description": "string",
        "promptHint": "string",
        "inputSchema": {
          "type": "Multimodal",
          "elements": [
            {
              "name": "string",
              "schema": {
                "type": "ComponentModel",
                "elementType": {
                  "type": "Variant",
                  "name": "string",
                  "owner": "string",
                  "cases": [
                    {
                      "name": "string",
                      "typ": {}
                    }
                  ]
                }
              }
            }
          ]
        }
      },
      "methods": [
        {
          "name": "string",
          "description": "string",
          "promptHint": "string",
          "inputSchema": {
            "type": "Multimodal",
            "elements": [
              {
                "name": "string",
                "schema": {
                  "type": "ComponentModel",
                  "elementType": {
                    "type": "Variant",
                    "name": "string",
                    "owner": "string",
                    "cases": [
                      {
                        "name": "string",
                        "typ": {}
                      }
                    ]
                  }
                }
              }
            ]
          },
          "outputSchema": {
            "type": "Multimodal",
            "elements": [
              {
                "name": "string",
                "schema": {
                  "type": "ComponentModel",
                  "elementType": {
                    "type": "Variant",
                    "name": "string",
                    "owner": "string",
                    "cases": [
                      {
                        "name": "string",
                        "typ": {}
                      }
                    ]
                  }
                }
              }
            ]
          }
        }
      ],
      "dependencies": [
        {
          "typeName": "string",
          "description": "string",
          "constructor": {
            "name": "string",
            "description": "string",
            "promptHint": "string",
            "inputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            }
          },
          "methods": [
            {
              "name": "string",
              "description": "string",
              "promptHint": "string",
              "inputSchema": {
                "type": "Multimodal",
                "elements": [
                  {
                    "name": "string",
                    "schema": {
                      "type": "ComponentModel",
                      "elementType": {
                        "type": "Variant",
                        "name": "string",
                        "owner": "string",
                        "cases": [
                          {
                            "name": "string",
                            "typ": {}
                          }
                        ]
                      }
                    }
                  }
                ]
              },
              "outputSchema": {
                "type": "Multimodal",
                "elements": [
                  {
                    "name": "string",
                    "schema": {
                      "type": "ComponentModel",
                      "elementType": {
                        "type": "Variant",
                        "name": "string",
                        "owner": "string",
                        "cases": [
                          {
                            "name": "string",
                            "typ": {}
                          }
                        ]
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      ]
    },
    "implementedBy": "4477f3c1-21c0-4963-9ef3-4e200af3a9ba"
  }
]

undefined

PathMethodProtected
/v1/agent-types/{agent-type}GETYes

Query Parameters

NameTypeRequiredDescription
project-idstringNo-

Example Response JSON

{
  "agentType": {
    "typeName": "string",
    "description": "string",
    "constructor": {
      "name": "string",
      "description": "string",
      "promptHint": "string",
      "inputSchema": {
        "type": "Multimodal",
        "elements": [
          {
            "name": "string",
            "schema": {
              "type": "ComponentModel",
              "elementType": {
                "type": "Variant",
                "name": "string",
                "owner": "string",
                "cases": [
                  {
                    "name": "string",
                    "typ": {}
                  }
                ]
              }
            }
          }
        ]
      }
    },
    "methods": [
      {
        "name": "string",
        "description": "string",
        "promptHint": "string",
        "inputSchema": {
          "type": "Multimodal",
          "elements": [
            {
              "name": "string",
              "schema": {
                "type": "ComponentModel",
                "elementType": {
                  "type": "Variant",
                  "name": "string",
                  "owner": "string",
                  "cases": [
                    {
                      "name": "string",
                      "typ": {}
                    }
                  ]
                }
              }
            }
          ]
        },
        "outputSchema": {
          "type": "Multimodal",
          "elements": [
            {
              "name": "string",
              "schema": {
                "type": "ComponentModel",
                "elementType": {
                  "type": "Variant",
                  "name": "string",
                  "owner": "string",
                  "cases": [
                    {
                      "name": "string",
                      "typ": {}
                    }
                  ]
                }
              }
            }
          ]
        }
      }
    ],
    "dependencies": [
      {
        "typeName": "string",
        "description": "string",
        "constructor": {
          "name": "string",
          "description": "string",
          "promptHint": "string",
          "inputSchema": {
            "type": "Multimodal",
            "elements": [
              {
                "name": "string",
                "schema": {
                  "type": "ComponentModel",
                  "elementType": {
                    "type": "Variant",
                    "name": "string",
                    "owner": "string",
                    "cases": [
                      {
                        "name": "string",
                        "typ": {}
                      }
                    ]
                  }
                }
              }
            ]
          }
        },
        "methods": [
          {
            "name": "string",
            "description": "string",
            "promptHint": "string",
            "inputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "outputSchema": {
              "type": "Multimodal",
              "elements": [
                {
                  "name": "string",
                  "schema": {
                    "type": "ComponentModel",
                    "elementType": {
                      "type": "Variant",
                      "name": "string",
                      "owner": "string",
                      "cases": [
                        {
                          "name": "string",
                          "typ": {}
                        }
                      ]
                    }
                  }
                }
              ]
            }
          }
        ]
      }
    ]
  },
  "implementedBy": "4477f3c1-21c0-4963-9ef3-4e200af3a9ba"
}

Agent Types API Errors

Status CodeDescriptionBody
400Invalid request, returning with a list of issues detected in the request{"errors":["string"]}
401Unauthorized{"error":"string"}
403Maximum number of components exceeded{"error":"string"}
404Component not found{"error":"string"}
409Component already exists{"error":"string"}
500Internal server error{"error":"string"}