Skip to content

Admin Autopin

All paths below are relative to the base URL https://api.agentdepot.org — for example GET https://api.agentdepot.org/api/admin/autopin-settings. Authenticate with an Authorization: Bearer <token> header. See the REST API reference for details.

Get Autopin Settings

The auto-pin policy as the sweep will read it tonight.

Responses

StatusDescriptionBody
200Successful ResponseAutoPinSettingsResponse
422Validation ErrorHTTPValidationError

Update Autopin Settings

Update the auto-pin knobs; switching the feature off clears its pins.

Request body (required)

FieldTypeRequiredDescription
enabledbooleanno
keep_coveragenumberno
max_per_agentintegerno
min_callsintegerno
min_chatsintegerno
min_coveragenumberno
window_daysintegerno

Responses

StatusDescriptionBody
200Successful ResponseAutoPinSettingsResponse
422Validation ErrorHTTPValidationError