Skip to main content

1. Create a project

Sign up at stewrd.dev/dashboard, create a project, and copy your API key.
Your API key looks like sk-stw_.... Keep it secret — treat it like a password.

2. Make your first request

curl -X POST https://api.stewrd.dev/v1/agent \
  -H "Authorization: Bearer sk-stw_your_key" \
  -H "Content-Type: application/json" \
  -d '{"message": "What is the capital of France?"}'

3. Response shape

Every successful response includes the agent’s message, any generated files, and your current usage:
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "object": "agent.response",
  "message": "The capital of France is Paris.",
  "capabilities_used": ["chat"],
  "files": [],
  "usage": {
    "requests_used": 1,
    "requests_limit": 100,
    "tokens_used": 42
  },
  "meta": {
    "duration_ms": 1200,
    "project_id": "proj_abc123",
    "plan": "free"
  }
}

What’s next?