Skip to main content

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

NameTypeDescription
user_id requiredstring

Header Parameters

NameTypeDescription
program-id requiredstring

Responses

200 Successful Response

SuccessMessage | application/json

NameTypeProperties
result requiredstring

Response Example

{
"result": "string"
}

404 User not found

ErrorMessage | application/json

NameTypeProperties
detail requiredstring

422 Validation Error

HTTPValidationError | application/json

NameTypeProperties
detailarray

items: {'$ref': '#/components/schemas/ValidationError'}

ValidationError | application/json

NameTypeProperties
loc requiredarray

items: {'anyOf': [{'type': 'string'}, {'type': 'integer'}]}

msg requiredstring
type requiredstring