Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

End the owner session

/api/v1/auth/logoutPOST
Clears the local HttpOnly session cookie and returns the WorkOS logout URL or /login.
Examples are synthetic and illustrate response shape; IDs, signatures, and credentials are not usable authority.
Request Bodyapplication/json
Type: object
Response
200 · Successful response. A paused run is an application outcome, not an HTTP error.
url *string
400 · Request validation failed.
error *string
reasonCode?string
403 · Console requests must come from the local owner workspace.
error *string
reasonCode?string
500 · The local service could not complete this request.
error *string
reasonCode?string
Request example
curl -X POST "https://service.example.com/api/v1/auth/logout" \ -H "x-halfspan-owner: 1" \ -H "Content-Type: application/json" \ -d '{}'
Response example
{ "url": "/login" }