@apicity/xai 0.6.4 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -143,7 +143,7 @@ console.log(result.usage);
|
|
|
143
143
|
|
|
144
144
|
## API Reference
|
|
145
145
|
|
|
146
|
-
|
|
146
|
+
48 endpoints across 18 groups. Each method mirrors an upstream URL path.
|
|
147
147
|
|
|
148
148
|
### apiKey
|
|
149
149
|
|
|
@@ -741,6 +741,21 @@ Source: [`packages/provider/xai/src/xai.ts`](src/xai.ts)
|
|
|
741
741
|
|
|
742
742
|
</details>
|
|
743
743
|
|
|
744
|
+
<details>
|
|
745
|
+
<summary><code>POST</code> <b><code>xai.v1.responses.compact</code></b></summary>
|
|
746
|
+
|
|
747
|
+
<code>POST https://api.x.ai/v1/responses/compact</code>
|
|
748
|
+
|
|
749
|
+
[Upstream docs ↗](https://docs.x.ai/docs/api-reference)
|
|
750
|
+
|
|
751
|
+
```typescript
|
|
752
|
+
const res = await xai.v1.responses.compact({ /* ... */ });
|
|
753
|
+
```
|
|
754
|
+
|
|
755
|
+
Source: [`packages/provider/xai/src/xai.ts`](src/xai.ts)
|
|
756
|
+
|
|
757
|
+
</details>
|
|
758
|
+
|
|
744
759
|
### stt
|
|
745
760
|
|
|
746
761
|
<details>
|