For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
    • Overview
  • Runtype API
      • POSTConfigure webhook from documentation
      • POSTInfer schema from JSON payload
      • POSTToggle webhook learning mode
      • GETGet webhook field mappings
      • PUTUpdate webhook field mappings
      • GETList webhook observations
      • DELClear webhook observations
      • GETGet event routing configuration
      • PUTUpdate event routing configuration
      • GETGet webhook schema
      • POSTUpload webhook schema
      • POSTConfirm proposed schema
Dashboard
LogoLogo
Runtype APIWebhook Management

List webhook observations

GET
/v1/products/:id/surfaces/:surfaceId/webhook-observations
GET
/v1/products/:id/surfaces/:surfaceId/webhook-observations
$curl https://api.runtype.com/v1/products/id/surfaces/surfaceId/webhook-observations \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json"
1{
2 "learningState": "active",
3 "observationCount": 42,
4 "observations": [
5 {
6 "eventId": "evt_1234567890abcdef",
7 "timestamp": "2024-06-15T10:23:45Z",
8 "eventType": "webhook_received",
9 "status": "processed",
10 "summary": "Webhook event processed successfully"
11 },
12 {
13 "eventId": "evt_abcdef1234567890",
14 "timestamp": "2024-06-14T08:15:30Z",
15 "eventType": "webhook_failed",
16 "status": "error",
17 "summary": "Webhook event failed due to timeout"
18 }
19 ]
20}
List observed webhook events with summary information.
Was this page helpful?
Previous

Clear webhook observations

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired
Product ID
surfaceIdstringRequired
Surface ID

Response

Observations listed
learningStatestring
observationCountdouble
observationslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error