Made in 10Docs
GuidesAPI
ReferenceLooking things up

Set what a character may look up

Replaces the whole setting; what is left out goes back to off (`sites` to the whole web).

PUT
/characters/{character_id}/web

Authorization

secretKey
headerAuthorizationBearer <sk_live_… or sk_test_… (a prefix and 40 base62 characters)>

A secret key from the dashboard, sent as Authorization: Bearer sk_live_…. Live keys run real, charged calls; test keys (sk_test_…) run calls of at most 60 seconds, 20 a day per organization, never charged. Each key sees only its own env's calls, meetings, webhooks, memories and analytics. Publishable keys (pk_…) are refused.

Path Parameters

character_id*string

The character's id.

Match^chr_[0-9A-Za-z]{20}$
Example"chr_4fT9kQ2mXw7LbN3pZs8V"

Request Body

application/json
  1. body
search?boolean

Search the web when a question needs something current or outside its knowledge.

sites?array<string>

Search only these sites; empty or left out, the whole web.

Itemsitems <= 20
read_links?boolean

Read a page whose address someone said, typed or put in a meeting's chat.

Response Body

The setting as it now is.

application/json
  1. response
search*boolean
sites*array<string>

The sites a search is limited to, cleaned; empty, the whole web.

Itemsitems <= 20
read_links*boolean
Example Request
curl -X PUT 'https://api.daxov.com/v1/characters/chr_4fT9kQ2mXw7LbN3pZs8V/web' \  -H 'Content-Type: application/json' \  -d '{  "search": true,  "sites": [    "acme.com",    "acme.com/help"  ],  "read_links": true}'
Example Response
{  "search": true,  "sites": [    "string"  ],  "read_links": true}