Skip to content

Create Debug Log

Create a new debug log session for a user.

Debug logs have the following limits:

  • Maximum one (1) debug log per user
  • Maximum 20 debug logs per Vault
POST/api/{version}/logs/code/debug
NameDescription
Acceptapplication/json
Content-Typemultipart/form-data
curl -X POST -H "Authorization: {SESSION_ID}" \
-d "name=Record Trigger Troubleshooting" \
-d "user_id=12345" \
-d "class_filters=com.veeva.vault.custom.triggers.HelloWorld,com.veeva.vault.custom.triggers.Approval" \
https://myvault.veevavault.com/api/v25.2/logs/code/debug
{
    "responseStatus": "SUCCESS",
    "data": {
        "id": "0LS000000003001"
    }
}