DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
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). |
1{
2 "sourceKey": { "key": "Agent", "source": "agent-7" },
3 "individualId": "003AB000000XYZ",
4 "individualKq": "ssot__Individual__dlm"
5}| 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
1{
2 "profile": "Free-form profile context string assembled from the individual's unified profile..."
3}| 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. |