Skip to main content
GET
/
components
List Components
curl --request GET \
  --url https://api.example.com/components

Query Parameters

ParameterTypeDefaultDescription
component_typestringNoneFilter by type: agent, team, workflow
pageint1Page number (≥ 1)
limitint20Items per page (1-100)

Response 200

Returns a PaginatedResponse[ComponentResponse].
{
  "data": [
    {
      "component_id": "my-research-agent",
      "component_type": "agent",
      "name": "Research Agent",
      "description": "An agent that researches topics",
      "current_version": 3,
      "metadata": {},
      "created_at": "2025-01-15T10:30:00Z",
      "updated_at": "2025-01-16T14:20:00Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 20,
    "total_pages": 1,
    "total_count": 1,
    "search_time_ms": 5
  }
}