adding debug for the incoming request
adding option to includ primary key
fixing format, removing test envar
log updates from the agent to for the single api