Rebase User
PUT /users/{user_id}/rebase
Recalculate/regenerate the user graphs, action weights, and label weights for the specified user. This is operation is synchronous and should only be used when very-low latency is not required or when troubleshooting individual users. (User graphs are automatically regenerated when (a) new events are logged, and (b) when the base graphs are recalculated.
Request Parameters
Path Parameters
Name | Type | Description |
---|---|---|
user_id required | string |
Header Parameters
Name | Type | Description |
---|---|---|
program-id required | string |
Responses
200
Successful Response
SuccessMessage | application/json
Name | Type | Properties |
---|---|---|
result required | string |
Response Example
{
"result": "string"
}
404
User not found
ErrorMessage | application/json
Name | Type | Properties |
---|---|---|
detail required | string |
422
Validation Error
HTTPValidationError | application/json
Name | Type | Properties |
---|---|---|
detail | array | items: {'$ref': '#/components/schemas/ValidationError'} |
ValidationError | application/json
Name | Type | Properties |
---|---|---|
loc required | array | items: {'anyOf': [{'type': 'string'}, {'type': 'integer'}]} |
msg required | string | |
type required | string |