Skip to content

Commit 94c1bb6

Browse files
feat(api): api update
1 parent 8423fa8 commit 94c1bb6

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 29
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-de547897d4a30447212ce36430a932cf186efd91844bd8ea0757a1cde4ce40e1.yml
3-
openapi_spec_hash: efa1b29865560c7817495b20c1b62fad
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-e3b1fd2a6aecb6cac87a0a2f4f811dedc261ae162cceced0841b5184ba609308.yml
3+
openapi_spec_hash: 28e4c0d0599e1f7153838a465f9cf5b5
44
config_hash: ff35e224e809656528c44163aa41bebd

‎src/context/dev/types/monitor_retrieve_change_response.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Evidence(BaseModel):
2323
class MonitorRetrieveChangeResponse(BaseModel):
2424
"""A detected change.
2525
26-
`mode` is the constant `web`; `target_type` and `change_detection_type` describe the change, and which optional fields are present depends on them (page: `diff` + excerpts; sitemap: `added_urls`/`removed_urls`; semantic: `query`/`confidence`/`importance`/`evidence`/`matched_urls`).
26+
`mode` is the constant `web`; `target_type` and `change_detection_type` describe the change, and which optional fields are present depends on them (page: `diff` + excerpts; sitemap: `added_urls`/`removed_urls`; semantic: `confidence`/`importance`/`evidence`/`matched_urls`).
2727
"""
2828

2929
id: str
@@ -46,6 +46,9 @@ class MonitorRetrieveChangeResponse(BaseModel):
4646

4747
summary: str
4848

49+
tags: List[str]
50+
"""User-defined tags for grouping and filtering monitors and their changes."""
51+
4952
target_type: Literal["page", "sitemap", "extract"]
5053

5154
title: str
@@ -79,6 +82,3 @@ class MonitorRetrieveChangeResponse(BaseModel):
7982

8083
removed_urls: Optional[List[str]] = None
8184
"""At most 500 URLs are included; the corresponding count field is always exact."""
82-
83-
tags: Optional[List[str]] = None
84-
"""User-defined tags for grouping and filtering monitors and their changes."""

0 commit comments

Comments
 (0)