ReferenceAnalysis
Change a character's analysis settings
Changes the parts sent.
PATCH
secretKeyheader
AuthorizationBearer <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.
character_id*stringThe character's id.
Match
^chr_[0-9A-Za-z]{20}$Example
"chr_4fT9kQ2mXw7LbN3pZs8V"application/json- body
The parts to change. fields replaces the whole list.
Example
{ "success_criteria": "They agreed to book a demo", "fields": [ { "name": "wants_demo", "type": "boolean", "description": "Whether they asked for a demo" } ]}summary?booleanfields?array<>Items
items <= 20success_criteria?stringLength
length <= 2000memories?booleanThe settings as they are now.
application/json- response
Example
{ "character_id": "chr_4fT9kQ2mXw7LbN3pZs8V", "summary": true, "fields": [ { "name": "budget", "type": "number", "description": "Their monthly budget in dollars" }, { "name": "plan", "type": "enum", "description": "", "options": [ "Pro", "Team" ] } ], "success_criteria": "They agreed to book a demo", "memories": false, "updated_unix": 1793300000}character_id*CharacterIdA character's id.
Match
^chr_[0-9A-Za-z]{20}$Example
"chr_4fT9kQ2mXw7LbN3pZs8V"summary*booleanWrite a summary of each call.
fields*array<>Items
items <= 20success_criteria*stringWhat counts as a success, in your words. Empty means no verdict.
Length
length <= 2000memories*booleanRemember people across calls (calls started with a memory_key).
updated_unix*|When they were last saved; null for a character that never saved any.
Format
int64curl -X PATCH 'https://api.daxov.com/v1/characters/chr_4fT9kQ2mXw7LbN3pZs8V/analysis' \ -H 'Content-Type: application/json' \ -d '{ "success_criteria": "They agreed to book a demo", "fields": [ { "name": "wants_demo", "type": "boolean", "description": "Whether they asked for a demo" } ]}'Example Response
{ "character_id": "chr_4fT9kQ2mXw7LbN3pZs8V", "summary": true, "fields": [ { "name": "budget", "type": "number", "description": "Their monthly budget in dollars" }, { "name": "plan", "type": "enum", "description": "", "options": [ "Pro", "Team" ] } ], "success_criteria": "They agreed to book a demo", "memories": false, "updated_unix": 1793300000}