File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38653,7 +38653,8 @@ paths:
3865338653 schema:
3865438654 description: 'The generation ID'
3865538655 example: 'gen-1234567890'
38656- minLength: 1
38656+ maxLength: 128
38657+ pattern: '^gen-[0-9A-Za-z-]+$'
3865738658 type: 'string'
3865838659 responses:
3865938660 '200':
@@ -38707,6 +38708,16 @@ paths:
3870738708 schema:
3870838709 $ref: '#/components/schemas/GenerationResponse'
3870938710 description: 'Returns the request metadata for this generation'
38711+ '400':
38712+ content:
38713+ application/json:
38714+ example:
38715+ error:
38716+ code: 400
38717+ message: 'Invalid request parameters'
38718+ schema:
38719+ $ref: '#/components/schemas/BadRequestResponse'
38720+ description: 'Bad Request - Invalid request parameters or malformed input'
3871038721 '401':
3871138722 content:
3871238723 application/json:
@@ -38801,7 +38812,8 @@ paths:
3880138812 schema:
3880238813 description: 'The generation ID'
3880338814 example: 'gen-1234567890'
38804- minLength: 1
38815+ maxLength: 128
38816+ pattern: '^gen-[0-9A-Za-z-]+$'
3880538817 type: 'string'
3880638818 responses:
3880738819 '200':
@@ -38820,6 +38832,16 @@ paths:
3882038832 schema:
3882138833 $ref: '#/components/schemas/GenerationContentResponse'
3882238834 description: 'Returns the stored prompt and completion content, plus the failure error when the generation failed'
38835+ '400':
38836+ content:
38837+ application/json:
38838+ example:
38839+ error:
38840+ code: 400
38841+ message: 'Invalid request parameters'
38842+ schema:
38843+ $ref: '#/components/schemas/BadRequestResponse'
38844+ description: 'Bad Request - Invalid request parameters or malformed input'
3882338845 '401':
3882438846 content:
3882538847 application/json:
You can’t perform that action at this time.
0 commit comments