Core Concepts
Run IDs and Call IDs
Understanding HumanLayer’s request identification system
HumanLayer uses two types of identifiers to track requests:
Run IDs
A run ID identifies a single execution of an agent or workflow. It groups together all function calls and human contacts made during that execution.
If not specified, HumanLayer will generate a run ID using the agent name or a random identifier.
Call IDs
Each individual function call or human contact gets a unique call ID. This ID is used to:
- Track the status of the request
- Fetch updates about approval/response
- Match responses back to the original request
Call IDs are automatically generated but can be specified manually if needed:
Usage in Approvals
When using require_approval
or human_as_tool
, the IDs are used to track the request through the approval process:
You can view these IDs in the HumanLayer dashboard to track and audit agent activity.