list_events
/eventsCatches up on the event stream: the same events, in the same envelope, that the caller would have received on it.
A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.
In: header
Query Parameters
Events after this position. Without it the answer holds no events and the current position, to start from.
int64Only these event types; repeat the parameter for several.
Include a child run's instance.* events.
How many events to examine, default 100, at most 500. Events the caller may not see are skipped, so a page can hold fewer.
int64Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/events"{ "data": [ { "changed_fields": [ "string" ], "comment_id": "24dbb54d-334d-4b2a-92ae-e15845e5d822", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "occurred_at": "2019-08-24T14:15:22Z", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "position": 0, "record_version": 0, "subject": { "entity_id": "8161163a-f227-466f-bc01-090a01e80165", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366", "kind": "string", "parent_instance_id": "c3162342-5471-48b0-883a-76706353bab5", "workflow_id": "03e70e31-d7a4-4401-a629-6a4b6096cdfe" }, "type": "string" } ], "has_more": true, "next_after": 0}