Skip to main content
POST
/
api
/
v1
/
tap
/
fix
Fix tap script (AI diagnosis)
curl --request POST \
  --url http://localhost:8080/api/v1/tap/fix \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "tapName": "<string>",
  "script": "<string>",
  "diagnosis": "<string>",
  "logs": "<string>",
  "error": "<string>",
  "oldScriptPath": "<string>"
}
'

Authorizations

x-api-key
string
header
required

Optional API key for authentication (enabled via application.yaml)

Body

application/json
tapName
string
required
script
string
required
diagnosis
string
logs
string
error
string
oldScriptPath
string

Response

200

Fixed script (same shape as /tap/generate)