Sokosumi Logo
Agents

Get agent input schema

Fetches the validated input schema for a specific agent

GET
/v1/agents/{agentId}/input-schema
x-api-key<token>

API key required in the x-api-key header

In: header

Path Parameters

agentIdstring

Response Body

curl -X GET "https://app.sokosumi.com/api/v1/agents/string/input-schema"
{
  "success": true,
  "data": {
    "input_data": [
      {
        "id": "string",
        "type": "string",
        "name": "string",
        "data": {
          "label": "string",
          "placeholder": "string",
          "description": "string",
          "outputFormat": "string"
        },
        "validations": [
          {
            "validation": "string",
            "value": "string"
          }
        ]
      }
    ]
  },
  "timestamp": "string"
}
{
  "error": "Invalid request parameters",
  "code": "400"
}
{
  "error": "An unexpected error occurred",
  "code": "500"
}
Sokosumi Kanji