ORYKSAORYKSADevelopers
Get API keys

Account and agent

Read the account and configure the AI employee: business profile, tone and appearance.

Account

GET/v1/account

Plan, interactions used in the current period, developer bonus, whether web channels (website chat and API) are included, allowed domains and a summary of the agent.

{
  "object": "account",
  "plan": "growth",
  "interactions": { "used_this_period": 412, "plan_limit": 2000, "period": "30 days" },
  "developer_bonus": { "active": false },
  "web_channels_available": true,
  "business": { "name": "Quinta do Vale", "email": "[email protected]" },
  "allowed_domains": ["quintadovale.pt"],
  "agent": {
    "business_name": "Quinta do Vale",
    "agent_name": "ORYKSA",
    "has_description": true,
    "services": ["Wine tasting", "Winery visits"],
    "languages": "pt,en",
    "site_content_chars": 22915,
    "site_pages": 5,
    "faq_items": 4
  }
}

Business profile

PATCH/v1/agent

Send only the fields you want to change. Fields you leave out keep their value.

FieldDescription
business_nameBusiness name
agent_nameName the AI employee uses
business_descriptionWhat the business does (up to 6000 characters)
servicesList of services or products
pricesObject: item to price text
languagesLanguage codes, e.g. ["pt", "en"] (up to 6)
tonefriendly or formal
message_styleshort, conversational or detailed
conversation_goalWhat each conversation should achieve
restrictionsThings the agent must never do
timezoneIANA time zone, e.g. Europe/Lisbon
countryCountry of the business
curl -X PATCH https://api.oryksa.com/v1/agent \
  -H "Authorization: Bearer oryk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "business_name": "Quinta do Vale",
    "agent_name": "ORYKSA",
    "business_description": "Family winery in the Douro valley, Portugal.",
    "services": ["Wine tasting", "Winery visits", "Online shop"],
    "prices": {"Tasting": "15 EUR per person"},
    "languages": ["pt", "en", "es"],
    "tone": "friendly",
    "message_style": "conversational",
    "conversation_goal": "Book visits and sell wine.",
    "restrictions": "Never promise delivery dates outside the EU."
  }'

Appearance of the chat

PATCH/v1/agent/appearance

Name, gender (used for grammar in Portuguese and Spanish), photo, greeting, subtitle and up to 4 quick suggestions per language (keys pt, br, en, es).

curl -X PATCH https://api.oryksa.com/v1/agent/appearance \
  -H "Authorization: Bearer oryk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "agent_name": "ORYKSA",
    "gender": "female",
    "avatar_url": "https://quintadovale.pt/oena.png",
    "greeting": {"en": "Hi! I am ORYKSA, the wine expert. How can I help?", "pt": "Olá! Sou a ORYKSA. Em que posso ajudar?"},
    "suggestions": {"en": ["Book a visit", "Which wines do you make?"]}
  }'