Sessions
Close Session
Explicitly closes an active session. While sessions automatically expire after inactivity, it’s best practice to close them when you’re done to free up resources.
Closing Behavior
- All agent processing stops immediately
- Cached results are cleared
- Session token becomes invalid
- Resources are freed
When to Close
- After completing service lookup
- When switching to a different address
- After receiving final results
- When abandoning a search
Important Notes
- Cannot be undone
- New session required for same address
- Final results should be saved before closing
- Rate limits still apply
DELETE
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The session token identifying the specific session
Example:
"Xxjljd2CQgobOvPR3X6Lat"
Response
200
application/json
Session closed successfully
Example:
"Session closed successfully"
A status code summarizing the outcome of this response.
- ok: Request was successful
- warning: Request was processed but with some issues
- error: Request failed
Available options:
ok
, warning
, error
Example:
"ok"
Empty object for this response
Metadata about the session. Can be used to track the status of the session, time since creation, and time since last update.
Was this page helpful?