List Agents
List all agents.
Query Parameters
Maximum number of agents to return (default: 20, max: 100)
Number of agents to skip (default: 0)
curl -X GET https://api.valmi.io/v1/agents \
-H "Authorization: Bearer sk_api_abc123xyz"
{
"agents": [
{
"id": "agent_abc123",
"name": "Customer Support Bot",
"type": "langgraph",
"created_at": "2024-01-15T10:00:00Z"
}
],
"total": 1
}
Get Agent
Get details of a specific agent.
Agent type (langgraph, crewai, n8n, custom)
curl -X GET https://api.valmi.io/v1/agents/agent_abc123 \
-H "Authorization: Bearer sk_api_abc123xyz"
Create Agent
Create a new agent.
Body
Agent type (langgraph, crewai, n8n, custom)
curl -X POST https://api.valmi.io/v1/agents \
-H "Authorization: Bearer sk_api_abc123xyz" \
-H "Content-Type: application/json" \
-d '{
"name": "Customer Support Bot",
"type": "langgraph",
"description": "AI customer support agent"
}'