Skip to main content
VLTRON is joining ClickHouse to power the open-source Agentic Data Stack 🎉 Learn more
VLTRON

Agents API

Programmatic access to VLTRON agents

The Agents API lets you interact with VLTRON agents programmatically, enabling automation and integration with your applications.

Getting Started

Base URL

https://vltron.com/api/v1

Authentication

Use your VLTRON API key in the Authorization header:

Authorization: Bearer YOUR_VLTRON_API_KEY

Create an Agent

curl -X POST https://vltron.com/api/v1/agents \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My Agent",
    "description": "A custom agent for my tasks",
    "tools": ["web_search", "code_interpreter"]
  }'

Chat with an Agent

curl -X POST https://vltron.com/api/v1/agents/{agent_id}/chat \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "message": "Hello, help me with this task"
  }'

List Available Agents

curl https://vltron.com/api/v1/agents \
  -H "Authorization: Bearer YOUR_API_KEY"

Available Tools

ToolDescription
web_searchSearch the internet
code_interpreterExecute code
image_generationGenerate images
artifactsCreate interactive content
file_searchSearch uploaded files

Rate Limits

  • Free tier: 100 requests per day
  • Starter: 1,000 requests per day
  • Pro: 10,000 requests per day

Error Handling

Status CodeDescription
400Bad request - check your parameters
401Unauthorized - check your API key
429Rate limit exceeded - wait and retry
500Server error - try again later

Tips

  • Use streaming: Enable streaming for real-time responses
  • Handle errors: Implement retry logic for rate limits
  • Monitor usage: Track your API usage in Settings
  • Secure keys: Never expose API keys in client-side code

How is this guide?