Hướng dẫn AgentFlow

list_webhook_subscription_history

GET/webhook-subscriptions/{subscription_id}/history
AuthorizationBearer <token>

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

Path Parameters

subscription_id*string

Subscription id

Formatuuid

Query Parameters

limit?integer

Page size, from 1 to 200; 50 when absent.

Formatint32
Range1 <= value <= 200
cursor?string
before?string
sort?"occurred_at"

The field to sort by; occurred_at when absent.

Value in

  • "occurred_at"
dir?string

Ascending or descending sort order. Separate from [WalkDirection] so the same sort key can be flipped without API changes. Each [SortKey] variant declares its default direction; callers may override it via ?sort_direction=asc|desc.

Value in

  • "asc"
  • "desc"
q?string

Matches a history entry kind by prefix.

Response Body

application/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/webhook-subscriptions/497f6eca-6276-4993-bfeb-53cbbbba6f08/history"
{  "items": [    {      "actor": {        "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "kind": "string"      },      "changed_settings": [        "string"      ],      "expired": null,      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "kind": "string",      "occurred_at": "2019-08-24T14:15:22Z",      "redelivery": null,      "revoked_secret_count": 0    }  ],  "next_cursor": "string",  "prev_cursor": "string"}