Agent Chat
Stop Segment Endpoint
Reliably STOP a campaign regardless of status — unlike /pause, which is outreach-only and 409s for discovery/searching/review (leaving the campaign to autonomously search → review → auto-approve → send).
Halts everything that could still cause a send, idempotently:
- interrupt any running agent turn (discovery/searching/review/resuming) so the lead search / review work stops;
- if it's actively sending (outreach) → pause (→ listening) and cancel the queued outreach emails;
- freeze any pending review's auto-approve countdown so a review segment can't tick over into outreach.
Safe to call from any status and repeatedly. Re-enable via /start.
Thin adapter: the orchestration lives in segment_control.stop_campaign (shared with the public API); this endpoint only translates the cookie session into an org_id and maps domain errors to HTTP.
post/api/agent-chat/segments/{segment_id}/stop
Request
- Base URL: https://api.explee.com (the document declares no server; this is the origin it was published from)
- URL: https://api.explee.com/api/agent-chat/segments/{segment_id}/stop
- Auth: HTTP bearer
Path parameters
segment_idstring required
Cookies
ex_accessstring nullable
ex_orgstring nullable
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 6 revisions of this API.