self_hosted Environment. A worker polls for queued Session work, acknowledges the item it will run, keeps the lease alive with heartbeats, and stops the item when the work is complete or must be aborted.
Work item object
Returned by list, poll, get, update metadata, acknowledge, and stop endpoints.Work states
Work metadata
Work metadata is a string-only map. When a Session creates a work item, the Session metadata is projected into this string map. Use Update work item metadata to merge changes:- String values upsert a key.
nulldeletes a key.- Omitting
metadataleaves the current metadata unchanged.
Work heartbeat object
Returned by Send work heartbeat.Work queue stats object
Returned by Get work queue stats.Related
Cloud environment setup
Choose the container, network, and dependencies your agent runs in.