fix agent_api url for status (fixes #63)