Endpoint Reference

It is helpful to link requests to eachother when building workflows with chains and agents. PromptLayer allows you to create a group and add individual request IDs into the group. You will then be able to visually inspect groups through the dashboard.

pl_group_id = promptlayer_client.group.create()

promptlayer_client.track.group(
  request_id=pl_request_id, 
  group_id=pl_group_id
)

Request group information will appear on the dashboard.