Skip to main content

Stop Interacting

Stop the interactive browser session associated with a scrape job.
1 min read
delete/scrape/{jobId}/interact
Request example
Response
delete/scrape/{jobId}/interact

Use this endpoint to stop the interactive browser session for a scrape job. Stopping the session releases browser resources and finalizes billing.

Credits are billed based on session duration: 7 credits per browser minute if the session used a prompt, or 2 credits per browser minute if it did not. Duration is prorated by the second, with a minimum charge of one browser minute.

Path Parameters#

ParameterTypeRequiredDescription
jobIdstring (UUID)YesThe scrape job ID associated with the browser session

Response#

FieldTypeDescription
successbooleanWhether the session was successfully destroyed
sessionDurationMsnumberTotal session duration in milliseconds
creditsBillednumberNumber of credits billed for the session
errorstringError message (only present on failure)

Example Request#

Example Response#

Error Codes#

StatusDescription
403Session belongs to a different team
404No browser session found for this scrape job

For detailed usage with examples, see the Interact feature guide.

Authorization

Authorizationstringheaderrequired#
Bearer authentication header of the form Bearer <token>, where <token> is your API key.

Path parameters

jobIdstringrequired#
The scrape job ID

Responses

application/json
Interactive scrape browser session stopped successfully
successboolean#