Returns one AI chat profile linked to the case; returns 404 if it is archived or not linked. On a case shared with opposing counsel, a profile the caller may not see returns 404.
GET
/ai-chat/{caseId}/profile/{providerId}
curl \
--request GET 'http://api.example.com/ai-chat/{caseId}/profile/{providerId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"platform": "chatgpt",
"externalUserId": "user-a1B2c3D4e5F6g7H8i9J0k1L2",
"email": "jane.doe@example.com",
"displayName": "Jane Doe",
"accountPlan": "plus",
"accountData": {
"id": "user-a1B2c3D4e5F6g7H8i9J0k1L2",
"email": "jane.doe@example.com",
"name": "Jane Doe",
"chatgpt_plus_user": true
},
"metadata": {},
"deletedAt": "2026-05-04T09:42:00Z",
"deletedBy": "string",
"ocSharedStatus": "shared"
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}