API referenceOperations
Fork a checkpoint into ordered browser sessions
POST
/v1/sessions/{session_id}/forkCreates one to ten independent browser sessions from exactly one checkpoint selector. A completed response contains the entire ordered child set; an accepted response contains only the durable operation and never exposes partial children.
Authorization
apiKey AuthorizationBearer <token>
In: header
Path Parameters
session_id*string
Match
^sess_[0-9a-f]{16}([0-9a-f]{16})?$Header Parameters
Idempotency-Key*string
Stable key for one logical mutation. Reuse only with the byte-equivalent request.
Match
^[A-Za-z0-9._:-]+$Length
16 <= length <= 128Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
{ "operation_id": "string", "source_session_id": "string", "checkpoint_id": "string", "status": "succeeded", "children": [ { "branch_index": 0, "session_id": "string", "cdp_url": "http://example.com", "expires_at": "2019-08-24T14:15:22Z" } ]}