From d6381e171cb784f1e19a8290dc6b8935a3e5af2a Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Sat, 19 Sep 2026 21:23:00 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index dbd58b4e..8a2199c0 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -12971,6 +12971,10 @@ components: has_more: description: 'True when more interns match the current filters.' type: 'boolean' + next_cursor: + description: 'Opaque cursor, present when `has_more` is true. Pass it as `starting_after` to fetch the next page.' + example: 'MjAyNi0wOS0xNlQwODozMDowMC4wMDAwMDBafDdjOWU2Njc5LTc0MjUtNDBkZS05NDRiLWUwN2ZjMWY5MGFlNw' + type: 'string' required: - 'data' - 'has_more' @@ -31536,6 +31540,16 @@ paths: schema: $ref: '#/components/schemas/UnauthorizedResponse' description: 'Unauthorized - Authentication required or invalid credentials' + '403': + content: + application/json: + example: + error: + code: 403 + message: 'Only management keys can perform this operation' + schema: + $ref: '#/components/schemas/ForbiddenResponse' + description: 'Forbidden - Authentication successful but insufficient permissions' '404': content: application/json: @@ -35950,6 +35964,14 @@ paths: type: 'string' type: 'array' style: 'form' + - description: 'The opaque `next_cursor` of the previous page. Returns the interns that come after it in the newest-first order. A malformed cursor is a 400.' + in: 'query' + name: 'starting_after' + required: false + schema: + description: 'The opaque `next_cursor` of the previous page. Returns the interns that come after it in the newest-first order. A malformed cursor is a 400.' + example: 'MjAyNi0wOS0xNlQwODozMDowMC4wMDAwMDBafDdjOWU2Njc5LTc0MjUtNDBkZS05NDRiLWUwN2ZjMWY5MGFlNw' + type: 'string' - description: 'Only return interns in this workspace. It must match the API key workspace.' in: 'query' name: 'workspace_id' @@ -40108,9 +40130,13 @@ paths: '403': content: application/json: + example: + error: + code: 403 + message: 'Only management keys can perform this operation' schema: $ref: '#/components/schemas/ForbiddenResponse' - description: 'Privacy settings are locked' + description: 'Forbidden - Authentication successful but insufficient permissions' '404': content: application/json: