Skip to main content
POST
/
api
/
v1
/
network
/
events
/
{eventId}
/
replay
Replay a captured request with optional edits
curl --request POST \
  --url https://neo.api.projectdiscovery.io/api/v1/network/events/{eventId}/replay \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "allow_recursive": true,
  "body": "<string>",
  "follow_redirects": 2,
  "json_delete": [
    "<string>"
  ],
  "json_set": {},
  "method": "<string>",
  "path": "<string>",
  "remove_headers": [
    "<string>"
  ],
  "replace": [
    {
      "from": "<string>",
      "to": "<string>"
    }
  ],
  "return_body_chars": 50000,
  "set_headers": {},
  "timeout_ms": 123
}
'
{
  "elapsed_ms": 123,
  "final_url": "<string>",
  "new_event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status_code": 123,
  "body_length": 123,
  "body_preview": "<string>",
  "hops": 123,
  "response_headers": {},
  "truncated": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.neo.projectdiscovery.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

eventId
string<uuid>
required

Event UUID

Query Parameters

chat_id
string
required

Chat/conversation ID

Body

application/json
allow_recursive
boolean
body
string
follow_redirects
integer
Required range: 0 <= x <= 5
json_delete
string[]
json_set
object
method
string
path
string
remove_headers
string[]
replace
object[]
return_body_chars
integer
Required range: 0 <= x <= 100000
set_headers
object
timeout_ms
integer

Response

Replay completed

elapsed_ms
integer
required
final_url
string
required
new_event_id
string<uuid>
required
status_code
integer
required
body_length
integer
body_preview
string
hops
integer
response_headers
object
truncated
boolean