Get Profile Context
Standalone profile-context lookup that is not session-scoped. Returns profile data suitable for direct injection into an LLM prompt.
URI: /api/context/profile
Format: application/json
HTTP Method: POST
Authentication: Bearer JWT
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer JWT token. |
| Field | Type | Required | Description |
|---|---|---|---|
| sourceKey | Object | Yes | Source information for the request. |
| sourceKey.key | String | Yes | Source key type (for example, Agent). |
| sourceKey.source | String | Yes | Source identifier (for example, agent-7). |
| individualId | String | Yes | Individual identifier. |
| individualKq | String | Yes | Individual data model object qualified name (for example, ssot__Individual__dlm). |
| Field | Type | Description |
|---|---|---|
| profile | String | Free-form profile context string assembled from the individual’s unified profile. Formatted for direct injection into an LLM prompt. |
Status: 200 OK
| Status Code | Description |
|---|---|
| 400 | Bad Request. Invalid request format or missing required fields. |
| 401 | Unauthorized. Invalid or missing JWT token. |
| 404 | Not Found. Individual not found. |
| 500 | Internal Server Error. |