Skip to main content
POST
https://api.rotavision.com
/
dastavez
/
agents
curl -X POST https://api.rotavision.com/v1/dastavez/agents \
  -H "Authorization: Bearer rv_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "GST Portal Agent",
    "description": "Fetches GST returns and invoices from GST portal",
    "capabilities": ["navigate", "login", "extract", "download", "screenshot"],
    "credentials": [
      {
        "key": "gst_portal",
        "type": "form",
        "username": "[email protected]",
        "password": "encrypted_password"
      }
    ],
    "config": {
      "timeout_ms": 60000,
      "viewport": {"width": 1920, "height": 1080}
    }
  }'
{
  "id": "agent_xyz789",
  "name": "GST Portal Agent",
  "description": "Fetches GST returns and invoices from GST portal",
  "status": "ready",
  "capabilities": ["navigate", "login", "extract", "download", "screenshot"],
  "credentials": [
    {
      "key": "gst_portal",
      "type": "form",
      "username": "[email protected]"
    }
  ],
  "config": {
    "timeout_ms": 60000,
    "viewport": {"width": 1920, "height": 1080}
  },
  "created_at": "2026-02-01T10:00:00Z"
}

Request

name
string
required
Human-readable name for the agent.
description
string
Description of the agent’s purpose.
capabilities
array
required
Agent capabilities:
  • navigate - Navigate to URLs
  • click - Click elements
  • type - Type text into inputs
  • extract - Extract data from pages
  • screenshot - Take screenshots
  • download - Download files
  • login - Handle authentication
  • captcha - Solve simple captchas
credentials
array
Stored credentials for authentication.
config
object
Agent configuration.
curl -X POST https://api.rotavision.com/v1/dastavez/agents \
  -H "Authorization: Bearer rv_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "GST Portal Agent",
    "description": "Fetches GST returns and invoices from GST portal",
    "capabilities": ["navigate", "login", "extract", "download", "screenshot"],
    "credentials": [
      {
        "key": "gst_portal",
        "type": "form",
        "username": "[email protected]",
        "password": "encrypted_password"
      }
    ],
    "config": {
      "timeout_ms": 60000,
      "viewport": {"width": 1920, "height": 1080}
    }
  }'
{
  "id": "agent_xyz789",
  "name": "GST Portal Agent",
  "description": "Fetches GST returns and invoices from GST portal",
  "status": "ready",
  "capabilities": ["navigate", "login", "extract", "download", "screenshot"],
  "credentials": [
    {
      "key": "gst_portal",
      "type": "form",
      "username": "[email protected]"
    }
  ],
  "config": {
    "timeout_ms": 60000,
    "viewport": {"width": 1920, "height": 1080}
  },
  "created_at": "2026-02-01T10:00:00Z"
}