# convrgent.ai Emotional & Cognitive State Detection

> convrgent.ai Emotional & Cognitive State Detection is a paid API for AI agents from convrgent.ai, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-15).

Detects current emotional and cognitive state from recent messages across 12 emotion categories and 4 quadrants (stress, confidence, withdrawal, enthusiasm), with optional baseline delta comparison.

## Facts

- Endpoint: POST https://convrgent.ai/api/kyh/state
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/convrgent-ai-f2dcacaa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g4PmNq578KZDvx83KcfDL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability convrgent-ai-f2dcacaa -d '<json body>'
```

Example prompt: Can you check the current emotional and cognitive state of user 'alex_smith_42' based on these three recent messages: 'I'm feeling a bit overwhelmed with work today', 'Things could be better, but I'm managing', and 'I hope tomorrow is a better day' — flag any stress or withdrawal signals across the 12 emotion categories?

## When to prefer this

Use this endpoint when you need a real-time snapshot of someone's current emotional and cognitive state from recent messages, especially when you want quadrant-based classification (stress/confidence/withdrawal/enthusiasm) across 12 emotion categories. Prefer this over the full psychological profile endpoint when recency matters and you want a lightweight, fast assessment of current mood rather than a deep personality portrait. Most valuable when paired with a vault profile for baseline delta comparison to understand mood shifts over time.

## Known failure modes

- Payment not provided or insufficient — returns x402 payment required error with accepted asset options
- Missing human_id or messages array — returns 400 validation error
- Empty or too-short messages array — insufficient signal for reliable detection
- Vault profile not found for human_id — baseline delta comparison unavailable, returns current state only
- Rate limit exceeded — returns 429 too many requests
- Invalid human_id format — returns error indicating unrecognized profile identifier

## How this service works

Current emotional and cognitive state detection from recent messages. Detects stress, confidence, withdrawal, enthusiasm across 12 emotion categories and 4 quadrants. With vault profile: baseline delta comparison.

## Output

Returns a structured emotional and cognitive state assessment covering 12 emotion categories and 4 quadrants (including stress, confidence, withdrawal, and enthusiasm scores). If a vault profile exists for the human_id, also returns a baseline delta showing how current state deviates from their historical norm.

## Example request

```json
{
 "legalName": "John Michael Smith",
 "birth_date": "1990-06-15",
 "commonName": "John Smith",
 "recentMessages": [
  {
   "text": "I'm feeling a bit overwhelmed with the current workload",
   "context": "team standup",
   "timestamp": "2024-01-15T10:30:00Z"
  },
  {
   "text": "Things could be better, but I'm managing the deadlines",
   "context": "one-on-one check-in",
   "timestamp": "2024-01-15T14:00:00Z"
  },
  {
   "text": "I hope we can get some clarity on upcoming changes soon",
   "context": "slack message",
   "timestamp": "2024-01-15T16:45:00Z"
  }
 ]
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "required": [
      "messages"
     ],
     "properties": {
      "context": {
       "type": "object"
      },
      "human_id": {
       "type": "string",
       "description": "Optional vault profile ID for baseline comparison"
      },
      "messages": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Recent messages from the human"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cognitive_state": {
   "focus": 0.5,
   "openness": 0.3,
   "decision_readiness": 0.2
  },
  "emotional_state": {
   "primary": {
    "emotion": "uncertainty",
    "intensity": 0.65
   },
   "quadrant": "low-arousal-negative",
   "secondary": {
    "emotion": "withdrawal",
    "intensity": 0.4
   }
  },
  "recommendations": [
   "Give space before follow-up",
   "Offer concrete options rather than open-ended questions"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/convrgent-ai-f2dcacaa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from convrgent.ai](https://www.zero.xyz/host/convrgent.ai/llms.txt)
