Where to look for options for building complex test scenarios?

When building specs, where to learn the possible options and relationships on for the “lazy_setup” step of the tests? For instance:
local bp = helpers.get_db_utils(strategy, nil, { PLUGIN_NAME })

local route = bp.routes:insert({
  paths[] =  "/local",
bp.plugins:insert {
  name = PLUGIN_NAME,
  route_id = route.id,
  config = {},

In this case I want insert a route based on the paths attribute… but there are much more relationships I want to do later.