Skip to content

Commit dab411a

Browse files
docs: update api descriptions
1 parent 4e7d390 commit dab411a

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 4
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/miru-ml%2Fmiru-agent-9b45a09fdecbd8a5658eaf9003d5480a2c07b350bea637e79d8e922c68c08492.yml
3-
openapi_spec_hash: 3561843745d9cdc032c14441ab678196
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/miru-ml%2Fmiru-agent-af21bada443337b0476b9c56f6c078c77a252474878f1c33c1d2fb1ded036000.yml
3+
openapi_spec_hash: 7b81990375e10d6e3e696f58eddc4afc
44
config_hash: 0fe48c7cadb09f14f85868246f7f6e43

src/miru_agent_sdk/resources/agent.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def health(
5050
extra_body: Body | None = None,
5151
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
5252
) -> AgentHealthResponse:
53-
"""Get the health of the agent"""
53+
"""Health"""
5454
return self._get(
5555
"/health",
5656
options=make_request_options(
@@ -69,7 +69,7 @@ def version(
6969
extra_body: Body | None = None,
7070
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
7171
) -> AgentVersionResponse:
72-
"""Get the version of the agent"""
72+
"""Version"""
7373
return self._get(
7474
"/version",
7575
options=make_request_options(
@@ -109,7 +109,7 @@ async def health(
109109
extra_body: Body | None = None,
110110
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
111111
) -> AgentHealthResponse:
112-
"""Get the health of the agent"""
112+
"""Health"""
113113
return await self._get(
114114
"/health",
115115
options=make_request_options(
@@ -128,7 +128,7 @@ async def version(
128128
extra_body: Body | None = None,
129129
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
130130
) -> AgentVersionResponse:
131-
"""Get the version of the agent"""
131+
"""Version"""
132132
return await self._get(
133133
"/version",
134134
options=make_request_options(

src/miru_agent_sdk/resources/device.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def retrieve(
5050
extra_body: Body | None = None,
5151
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
5252
) -> DeviceRetrieveResponse:
53-
"""Get the device"""
53+
"""Get"""
5454
return self._get(
5555
"/device",
5656
options=make_request_options(
@@ -69,7 +69,7 @@ def sync(
6969
extra_body: Body | None = None,
7070
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
7171
) -> DeviceSyncResponse:
72-
"""Sync the device"""
72+
"""Sync"""
7373
return self._post(
7474
"/device/sync",
7575
options=make_request_options(
@@ -109,7 +109,7 @@ async def retrieve(
109109
extra_body: Body | None = None,
110110
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
111111
) -> DeviceRetrieveResponse:
112-
"""Get the device"""
112+
"""Get"""
113113
return await self._get(
114114
"/device",
115115
options=make_request_options(
@@ -128,7 +128,7 @@ async def sync(
128128
extra_body: Body | None = None,
129129
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
130130
) -> DeviceSyncResponse:
131-
"""Sync the device"""
131+
"""Sync"""
132132
return await self._post(
133133
"/device/sync",
134134
options=make_request_options(

src/miru_agent_sdk/types/device_retrieve_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ class DeviceRetrieveResponse(BaseModel):
1313
"""ID of the device"""
1414

1515
last_connected_at: datetime
16-
"""Timestamp of the last successful connection event with the backend."""
16+
"""Timestamp of the last successful connection event with the MQTT broker."""
1717

1818
last_disconnected_at: datetime
19-
"""Timestamp of the last successful disconnection event with the backend."""
19+
"""Timestamp of the last successful disconnection event with the MQTT broker."""
2020

2121
last_synced_at: datetime
2222
"""Timestamp of when the device was last synced"""

0 commit comments

Comments
 (0)