Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,168 changes: 903 additions & 265 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.17.15
version: 0.17.16
additionalDependencies:
dev: {}
main: {}
Expand Down
12,317 changes: 7,435 additions & 4,882 deletions .speakeasy/glean-merged-spec.yaml

Large diffs are not rendered by default.

159 changes: 150 additions & 9 deletions .speakeasy/tests.arazzo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158867,11 +158867,11 @@ workflows:
payload:
file: 'x-file: example.file'
successCriteria:
- condition: $statusCode == 200
- condition: $statusCode == 201
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"skill":{"id":"<id>","display_name":"Merl18","description":"rural ugh unexpectedly excepting livid","latest_version":504149,"latest_minor_version":106110,"status":"DISABLED","origin":"CUSTOM","owner":{"name":"<value>"},"created_at":"2025-01-04T03:16:16.951Z","updated_at":"2025-09-10T16:05:46.046Z"},"request_id":"<id>"}
{"skill":{"skill_id":"<id>","display_name":"Merl18","description":"rural ugh unexpectedly excepting livid","latest_version":504149,"latest_minor_version":106110,"status":"DISABLED","origin":"CUSTOM","owner":{"name":"<value>"},"created_at":"2025-09-10T16:05:46.046Z","updated_at":"2025-08-13T23:05:45.737Z"},"request_id":"<id>"}
type: simple
x-speakeasy-test-group: skills
x-speakeasy-test-rebuild: true
Expand All @@ -158884,8 +158884,12 @@ workflows:
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"skills":[],"has_more":true,"next_cursor":"<value>","request_id":"<id>"}
{"results":[],"has_more":true,"next_cursor":"<value>","request_id":"<id>"}
type: simple
parameters:
- name: page_size
in: query
value: 20
x-speakeasy-test-group: skills
x-speakeasy-test-rebuild: true
- workflowId: platform-skills-validate
Expand Down Expand Up @@ -158918,7 +158922,7 @@ workflows:
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"skill":{"id":"<id>","display_name":"Chad_Herzog","description":"whenever up aha controvert","latest_version":151495,"latest_minor_version":170771,"status":"DISABLED","origin":"CUSTOM","owner":{"name":"<value>"},"created_at":"2024-12-25T16:41:00.099Z","updated_at":"2026-12-07T21:59:59.375Z"},"request_id":"<id>"}
{"skill":{"skill_id":"<id>","display_name":"Chad_Herzog","description":"whenever up aha controvert","latest_version":151495,"latest_minor_version":170771,"status":"DISABLED","origin":"CUSTOM","owner":{"name":"<value>"},"created_at":"2024-12-25T16:41:00.099Z","updated_at":"2026-12-07T21:59:59.375Z"},"request_id":"<id>"}
type: simple
x-speakeasy-test-group: skills
x-speakeasy-test-rebuild: true
Expand Down Expand Up @@ -158952,7 +158956,7 @@ workflows:
payload:
file: 'x-file: example.file'
successCriteria:
- condition: $statusCode == 200
- condition: $statusCode == 201
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
Expand All @@ -158968,12 +158972,15 @@ workflows:
- name: skill_id
in: path
value: <id>
- name: page_size
in: query
value: 20
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"versions":[],"has_more":false,"next_cursor":"<value>","request_id":"<id>"}
{"results":[],"has_more":false,"next_cursor":"<value>","request_id":"<id>"}
type: simple
x-speakeasy-test-group: skills
x-speakeasy-test-rebuild: true
Expand Down Expand Up @@ -159087,7 +159094,7 @@ workflows:
source_urls:
- https://github.com/anthropics/skills/tree/main/skills/skill-creator
successCriteria:
- condition: $statusCode == 200
- condition: $statusCode == 201
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
Expand Down Expand Up @@ -159130,7 +159137,7 @@ workflows:
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"skill":{"id":"<id>","display_name":"Afton14","description":"taut netsuke duh sonata boastfully elegantly management come","latest_version":425795,"latest_minor_version":741364,"status":"DISABLED","origin":"CUSTOM","owner":{"name":"<value>"},"created_at":"2024-12-20T01:31:39.364Z","updated_at":"2025-12-04T02:59:37.124Z"},"request_id":"<id>"}
{"skill":{"skill_id":"<id>","display_name":"Afton14","description":"taut netsuke duh sonata boastfully elegantly management come","latest_version":425795,"latest_minor_version":741364,"status":"DISABLED","origin":"CUSTOM","owner":{"name":"<value>"},"created_at":"2024-12-20T01:31:39.364Z","updated_at":"2025-12-04T02:59:37.124Z"},"request_id":"<id>"}
type: simple
x-speakeasy-test-group: skills
x-speakeasy-test-rebuild: true
Expand All @@ -159147,7 +159154,7 @@ workflows:
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"sync_status":"UP_TO_DATE","commit_sha":"<value>","updated":false,"request_id":"<id>"}
{"commit_sha":"<value>","is_updated":false,"request_id":"<id>"}
type: simple
x-speakeasy-test-group: skills
x-speakeasy-test-rebuild: true
Expand Down Expand Up @@ -159539,3 +159546,137 @@ workflows:
type: simple
x-speakeasy-test-group: agents
x-speakeasy-test-rebuild: true
- workflowId: platform-admin-usage-settings-get
steps:
- stepId: test
operationId: platform-admin-usage-settings-get
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"usage_settings":{},"request_id":"<id>"}
type: simple
x-speakeasy-test-group: admin_usage
x-speakeasy-test-rebuild: true
- workflowId: platform-admin-usage-settings-update
steps:
- stepId: test
operationId: platform-admin-usage-settings-update
requestBody:
contentType: application/json
payload:
limit_increase_requests:
business_justification: REQUIRED
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"usage_settings":{},"request_id":"<id>"}
type: simple
x-speakeasy-test-group: admin_usage
x-speakeasy-test-rebuild: true
- workflowId: platform-admin-usage-requests-create
steps:
- stepId: test
operationId: platform-admin-usage-requests-create
requestBody:
contentType: application/json
payload:
agent_id: <id>
client_id: <id>
successCriteria:
- condition: $statusCode == 201
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"request":{"request_id":"<id>","entity_type":"USER","entity_id":"<id>","client_id":"<id>","requester_user_id":"<id>","period":"<value>","status":"DENIED","created_at":"2024-10-18T04:43:55.054Z"},"request_id":"<id>"}
type: simple
x-speakeasy-test-group: admin_usage
x-speakeasy-test-rebuild: true
- workflowId: platform-admin-usage-requests-list
steps:
- stepId: test
operationId: platform-admin-usage-requests-list
parameters:
- name: page_size
in: query
value: 20
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"has_more":false,"next_cursor":"<value>","results":[{"request_id":"<id>","entity_type":"USER","entity_id":"<id>","client_id":"<id>","requester_user_id":"<id>","period":"<value>","status":"PENDING","created_at":"2024-01-15T07:33:22.777Z"}],"request_id":"<id>"}
type: simple
x-speakeasy-test-group: admin_usage
x-speakeasy-test-rebuild: true
- workflowId: platform-admin-usage-requests-get
steps:
- stepId: test
operationId: platform-admin-usage-requests-get
parameters:
- name: request_id
in: path
value: '{request_id}'
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"request":{"request_id":"<id>","entity_type":"USER","entity_id":"<id>","client_id":"<id>","requester_user_id":"<id>","period":"<value>","status":"APPROVED","created_at":"2024-11-21T17:52:20.403Z"},"request_id":"<id>"}
type: simple
x-speakeasy-test-group: admin_usage
x-speakeasy-test-rebuild: true
- workflowId: platform-usage-requests-create
steps:
- stepId: test
operationId: platform-usage-requests-create
requestBody:
contentType: application/json
payload:
client_id: <id>
successCriteria:
- condition: $statusCode == 201
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"request":{"request_id":"<id>","entity_type":"AGENT","entity_id":"<id>","client_id":"<id>","requester_user_id":"<id>","period":"<value>","status":"PENDING","created_at":"2024-07-26T20:31:19.316Z"},"request_id":"<id>"}
type: simple
x-speakeasy-test-group: usage
x-speakeasy-test-rebuild: true
- workflowId: platform-usage-requests-list
steps:
- stepId: test
operationId: platform-usage-requests-list
parameters:
- name: page_size
in: query
value: 20
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"has_more":false,"results":[],"request_id":"<id>"}
type: simple
x-speakeasy-test-group: usage
x-speakeasy-test-rebuild: true
- workflowId: platform-usage-requests-get
steps:
- stepId: test
operationId: platform-usage-requests-get
parameters:
- name: request_id
in: path
value: '{request_id}'
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"request":{"request_id":"<id>","entity_type":"AGENT","entity_id":"<id>","client_id":"<id>","requester_user_id":"<id>","period":"<value>","status":"DENIED","created_at":"2026-10-11T16:53:21.602Z"},"request_id":"<id>"}
type: simple
x-speakeasy-test-group: usage
x-speakeasy-test-rebuild: true
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
speakeasyVersion: 1.798.0
speakeasyVersion: 1.800.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:09823f8003cfb3ebf08b6adfa434cefda4c97f7ee64ae18dc0066fe392647c97
sourceBlobDigest: sha256:fc4fcf9c37dfd0e8387153211f760a21a602ede64951d4e4c824e8e1b168b7b8
sourceRevisionDigest: sha256:350d5ba9ec23f6139da627affb01195a52cd293dd5a6791caec5afc2c3025c4e
sourceBlobDigest: sha256:66df9d6e7cbe52aafce776b53c53af1642e977f4f5b13ebe2852bdcee74b921c
tags:
- latest
Glean Client API:
Expand All @@ -16,10 +16,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:09823f8003cfb3ebf08b6adfa434cefda4c97f7ee64ae18dc0066fe392647c97
sourceBlobDigest: sha256:fc4fcf9c37dfd0e8387153211f760a21a602ede64951d4e4c824e8e1b168b7b8
sourceRevisionDigest: sha256:350d5ba9ec23f6139da627affb01195a52cd293dd5a6791caec5afc2c3025c4e
sourceBlobDigest: sha256:66df9d6e7cbe52aafce776b53c53af1642e977f4f5b13ebe2852bdcee74b921c
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:5da391e8e0a7821657f62afcee0636ca4423213b036163bea43637e45c1f3c7c
codeSamplesRevisionDigest: sha256:d48a82deb8bceae51990b255dc83ad06aca83825a95dfdef6057a7f2d9c050ec
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,14 @@ For more information on obtaining the appropriate token type, please contact you
<details open>
<summary>Available methods</summary>

### [Admin.Usage](docs/sdks/adminusage/README.md)

* [get_settings](docs/sdks/adminusage/README.md#get_settings) - Get usage settings
* [update_settings](docs/sdks/adminusage/README.md#update_settings) - Update usage settings
* [create_limit_increase_request](docs/sdks/adminusage/README.md#create_limit_increase_request) - Submit an editable-agent limit-increase request
* [list_limit_increase_requests](docs/sdks/adminusage/README.md#list_limit_increase_requests) - List the billing limit-increase request queue
* [get_limit_increase_request](docs/sdks/adminusage/README.md#get_limit_increase_request) - Get a billing limit-increase request

### [Agents](docs/sdks/agents/README.md)

* [search](docs/sdks/agents/README.md#search) - Search agents
Expand Down Expand Up @@ -578,6 +586,7 @@ For more information on obtaining the appropriate token type, please contact you
* [list_versions](docs/sdks/skills/README.md#list_versions) - List skill versions
* [retrieve_version](docs/sdks/skills/README.md#retrieve_version) - Retrieve skill version
* [retrieve_version_content](docs/sdks/skills/README.md#retrieve_version_content) - Download skill version content
* [preview_source_stream](docs/sdks/skills/README.md#preview_source_stream) - Preview a GitHub skill source as events

### [Triggers](docs/sdks/triggers/README.md)

Expand All @@ -592,6 +601,12 @@ For more information on obtaining the appropriate token type, please contact you
* [list_preset_input_values](docs/sdks/triggers/README.md#list_preset_input_values) - Search trigger preset input values
* [search_preset_events](docs/sdks/triggers/README.md#search_preset_events) - Search events for a trigger preset

### [Usage](docs/sdks/usage/README.md)

* [create_limit_increase_request](docs/sdks/usage/README.md#create_limit_increase_request) - Submit a personal limit-increase request
* [list_limit_increase_requests](docs/sdks/usage/README.md#list_limit_increase_requests) - List personal limit-increase requests
* [get_limit_increase_request](docs/sdks/usage/README.md#get_limit_increase_request) - Get a personal limit-increase request

</details>
<!-- End Available Resources and Operations [operations] -->

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1008,4 +1008,14 @@ Based on:
### Generated
- [python v0.17.15] .
### Releases
- [PyPI v0.17.15] https://pypi.org/project/glean-api-client/0.17.15 - .
- [PyPI v0.17.15] https://pypi.org/project/glean-api-client/0.17.15 - .

## 2026-10-02 04:27:04
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.800.0 (2.943.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.17.16] .
### Releases
- [PyPI v0.17.16] https://pypi.org/project/glean-api-client/0.17.16 - .
25 changes: 25 additions & 0 deletions docs/models/artifacttype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# ArtifactType

Type of the Artifact

## Example Usage

```python
from glean.api_client.models import ArtifactType

value = ArtifactType.PAPER

# Open enum: unrecognized values are captured as UnrecognizedStr
```


## Values

| Name | Value |
| ----------- | ----------- |
| `PAPER` | PAPER |
| `AGENT` | AGENT |
| `MESSAGE` | MESSAGE |
| `EMAIL` | EMAIL |
| `HTML_CODE` | HTML_CODE |
| `SLIDE` | SLIDE |
2 changes: 1 addition & 1 deletion docs/models/autocompleterequestresulttype.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ value = AutocompleteRequestResultType.ADDITIONAL_DOCUMENT
| `ADDITIONAL_DOCUMENT` | ADDITIONAL_DOCUMENT |
| `APP` | APP |
| `BROWSER_HISTORY` | BROWSER_HISTORY |
| `CHAT_HISTORY` | CHAT_HISTORY |
| `DATASOURCE` | DATASOURCE |
| `DOCUMENT` | DOCUMENT |
| `ENTITY` | ENTITY |
| `GOLINK` | GOLINK |
| `HISTORY` | HISTORY |
| `CHAT_HISTORY` | CHAT_HISTORY |
| `NEW_CHAT` | NEW_CHAT |
| `OPERATOR` | OPERATOR |
| `OPERATOR_VALUE` | OPERATOR_VALUE |
Expand Down
3 changes: 2 additions & 1 deletion docs/models/breakdowntype.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ value = BreakdownType.USERS
| `USERS` | USERS |
| `HOST_APPLICATIONS` | HOST_APPLICATIONS |
| `TOOLS` | TOOLS |
| `SERVERS` | SERVERS |
| `SERVERS` | SERVERS |
| `AUTH_METHODS` | AUTH_METHODS |
22 changes: 22 additions & 0 deletions docs/models/businessjustification.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# BusinessJustification

Whether a business justification is required when requesting a usage limit increase.


## Example Usage

```python
from glean.api_client.models import BusinessJustification

value = BusinessJustification.OPTIONAL

# Open enum: unrecognized values are captured as UnrecognizedStr
```


## Values

| Name | Value |
| ---------- | ---------- |
| `OPTIONAL` | OPTIONAL |
| `REQUIRED` | REQUIRED |
1 change: 1 addition & 0 deletions docs/models/chatsuggestion.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
| `query` | *Optional[str]* | :heavy_minus_sign: | The actionable chat query to run when the user selects this suggestion. |
| `cta` | *Optional[str]* | :heavy_minus_sign: | Button text to show for the suggestion action. |
| `feature` | *Optional[str]* | :heavy_minus_sign: | Targeted Glean Chat feature for the suggestion. |
| `artifact_type` | [Optional[models.ArtifactType]](../models/artifacttype.md) | :heavy_minus_sign: | Type of the Artifact |
| `source_document_ids` | List[*str*] | :heavy_minus_sign: | Document IDs that grounded the suggestion. |
Loading
Loading