Skip to content

Commit b4bcaa2

Browse files
Release 0.0.68
1 parent 9d7607b commit b4bcaa2

18 files changed

Lines changed: 1132 additions & 44 deletions

poetry.lock

Lines changed: 50 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "agentmail"
33

44
[tool.poetry]
55
name = "agentmail"
6-
version = "0.0.67"
6+
version = "0.0.68"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,186 @@ client.webhooks.delete(
514514
</dl>
515515

516516

517+
</dd>
518+
</dl>
519+
</details>
520+
521+
## ApiKeys
522+
<details><summary><code>client.api_keys.<a href="src/agentmail/api_keys/client.py">list</a>(...)</code></summary>
523+
<dl>
524+
<dd>
525+
526+
#### 🔌 Usage
527+
528+
<dl>
529+
<dd>
530+
531+
<dl>
532+
<dd>
533+
534+
```python
535+
from agentmail import AgentMail
536+
537+
client = AgentMail(
538+
api_key="YOUR_API_KEY",
539+
)
540+
response = client.api_keys.list()
541+
for item in response:
542+
yield item
543+
# alternatively, you can paginate page-by-page
544+
for page in response.iter_pages():
545+
yield page
546+
547+
```
548+
</dd>
549+
</dl>
550+
</dd>
551+
</dl>
552+
553+
#### ⚙️ Parameters
554+
555+
<dl>
556+
<dd>
557+
558+
<dl>
559+
<dd>
560+
561+
**limit:** `typing.Optional[Limit]`
562+
563+
</dd>
564+
</dl>
565+
566+
<dl>
567+
<dd>
568+
569+
**page_token:** `typing.Optional[PageToken]`
570+
571+
</dd>
572+
</dl>
573+
574+
<dl>
575+
<dd>
576+
577+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
578+
579+
</dd>
580+
</dl>
581+
</dd>
582+
</dl>
583+
584+
585+
</dd>
586+
</dl>
587+
</details>
588+
589+
<details><summary><code>client.api_keys.<a href="src/agentmail/api_keys/client.py">create</a>(...)</code></summary>
590+
<dl>
591+
<dd>
592+
593+
#### 🔌 Usage
594+
595+
<dl>
596+
<dd>
597+
598+
<dl>
599+
<dd>
600+
601+
```python
602+
from agentmail import AgentMail
603+
604+
client = AgentMail(
605+
api_key="YOUR_API_KEY",
606+
)
607+
client.api_keys.create(
608+
name="name",
609+
)
610+
611+
```
612+
</dd>
613+
</dl>
614+
</dd>
615+
</dl>
616+
617+
#### ⚙️ Parameters
618+
619+
<dl>
620+
<dd>
621+
622+
<dl>
623+
<dd>
624+
625+
**name:** `Name`
626+
627+
</dd>
628+
</dl>
629+
630+
<dl>
631+
<dd>
632+
633+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
634+
635+
</dd>
636+
</dl>
637+
</dd>
638+
</dl>
639+
640+
641+
</dd>
642+
</dl>
643+
</details>
644+
645+
<details><summary><code>client.api_keys.<a href="src/agentmail/api_keys/client.py">delete</a>(...)</code></summary>
646+
<dl>
647+
<dd>
648+
649+
#### 🔌 Usage
650+
651+
<dl>
652+
<dd>
653+
654+
<dl>
655+
<dd>
656+
657+
```python
658+
from agentmail import AgentMail
659+
660+
client = AgentMail(
661+
api_key="YOUR_API_KEY",
662+
)
663+
client.api_keys.delete(
664+
api_key="api_key",
665+
)
666+
667+
```
668+
</dd>
669+
</dl>
670+
</dd>
671+
</dl>
672+
673+
#### ⚙️ Parameters
674+
675+
<dl>
676+
<dd>
677+
678+
<dl>
679+
<dd>
680+
681+
**api_key:** `ApiKeyId`
682+
683+
</dd>
684+
</dl>
685+
686+
<dl>
687+
<dd>
688+
689+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
690+
691+
</dd>
692+
</dl>
693+
</dd>
694+
</dl>
695+
696+
517697
</dd>
518698
</dl>
519699
</details>

0 commit comments

Comments
 (0)