@@ -1540,6 +1540,30 @@ paths:
15401540 application/json:
15411541 schema:
15421542 $ref: '#/components/schemas/Batch'
1543+ '400':
1544+ description: The request is invalid or the account cannot create a batch.
1545+ content:
1546+ application/json:
1547+ schema:
1548+ $ref: '#/components/schemas/ErrorResponse'
1549+ '429':
1550+ description: The request was rejected because a rate limit was exceeded.
1551+ content:
1552+ application/json:
1553+ schema:
1554+ $ref: '#/components/schemas/ErrorResponse'
1555+ '500':
1556+ description: An internal error prevented the batch from being created.
1557+ content:
1558+ application/json:
1559+ schema:
1560+ $ref: '#/components/schemas/ErrorResponse'
1561+ '503':
1562+ description: The batch could not be created because the service is temporarily unavailable.
1563+ content:
1564+ application/json:
1565+ schema:
1566+ $ref: '#/components/schemas/ErrorResponse'
15431567 x-oaiMeta:
15441568 group: batch
15451569 examples:
@@ -1637,6 +1661,24 @@ paths:
16371661 application/json:
16381662 schema:
16391663 $ref: '#/components/schemas/ListBatchesResponse'
1664+ '400':
1665+ description: Invalid pagination parameters.
1666+ content:
1667+ application/json:
1668+ schema:
1669+ $ref: '#/components/schemas/ErrorResponse'
1670+ '404':
1671+ description: No batch was found with the specified pagination cursor.
1672+ content:
1673+ application/json:
1674+ schema:
1675+ $ref: '#/components/schemas/ErrorResponse'
1676+ '429':
1677+ description: The request was rejected because a rate limit was exceeded.
1678+ content:
1679+ application/json:
1680+ schema:
1681+ $ref: '#/components/schemas/ErrorResponse'
16401682 x-oaiMeta:
16411683 group: batch
16421684 examples:
@@ -1724,6 +1766,24 @@ paths:
17241766 application/json:
17251767 schema:
17261768 $ref: '#/components/schemas/Batch'
1769+ '400':
1770+ description: Invalid batch ID.
1771+ content:
1772+ application/json:
1773+ schema:
1774+ $ref: '#/components/schemas/ErrorResponse'
1775+ '404':
1776+ description: No batch was found with the specified ID.
1777+ content:
1778+ application/json:
1779+ schema:
1780+ $ref: '#/components/schemas/ErrorResponse'
1781+ '429':
1782+ description: The request was rejected because a rate limit was exceeded.
1783+ content:
1784+ application/json:
1785+ schema:
1786+ $ref: '#/components/schemas/ErrorResponse'
17271787 x-oaiMeta:
17281788 group: batch
17291789 examples:
@@ -1800,6 +1860,30 @@ paths:
18001860 application/json:
18011861 schema:
18021862 $ref: '#/components/schemas/Batch'
1863+ '400':
1864+ description: Invalid batch ID.
1865+ content:
1866+ application/json:
1867+ schema:
1868+ $ref: '#/components/schemas/ErrorResponse'
1869+ '404':
1870+ description: No batch was found with the specified ID.
1871+ content:
1872+ application/json:
1873+ schema:
1874+ $ref: '#/components/schemas/ErrorResponse'
1875+ '409':
1876+ description: The batch's current status does not allow cancellation.
1877+ content:
1878+ application/json:
1879+ schema:
1880+ $ref: '#/components/schemas/ErrorResponse'
1881+ '429':
1882+ description: The request was rejected because a rate limit was exceeded.
1883+ content:
1884+ application/json:
1885+ schema:
1886+ $ref: '#/components/schemas/ErrorResponse'
18031887 x-oaiMeta:
18041888 group: batch
18051889 examples:
@@ -66973,6 +67057,36 @@ components:
6697367057 "type": "safety.warning_issued",
6697467058 "data": {"id": "C-abc123"}
6697567059 }
67060+ _MisalignmentErrorType:
67061+ anyOf:
67062+ - type: string
67063+ - type: string
67064+ enum:
67065+ - potentially_unintended_data_transfer
67066+ - potentially_unintended_data_access
67067+ - potentially_unintended_destructive_activity
67068+ - other
67069+ _MisalignmentSteer:
67070+ properties:
67071+ message:
67072+ type: string
67073+ description: The public continuation instruction.
67074+ type: object
67075+ required:
67076+ - message
67077+ MisalignmentErrorDetailsResource:
67078+ properties:
67079+ error_type:
67080+ $ref: '#/components/schemas/_MisalignmentErrorType'
67081+ description: An optional classification; clients must accept additional values.
67082+ detailed_explanation:
67083+ type: string
67084+ description: The public explanation for this block.
67085+ steer:
67086+ $ref: '#/components/schemas/_MisalignmentSteer'
67087+ description: An optional public continuation instruction.
67088+ type: object
67089+ required: []
6697667090 ModerationInputType:
6697767091 type: string
6697867092 enum:
@@ -70449,36 +70563,6 @@ components:
7044970563 - object
7045070564 - metadata
7045170565 - created_at
70452- _MisalignmentErrorType:
70453- anyOf:
70454- - type: string
70455- - type: string
70456- enum:
70457- - potentially_unintended_data_transfer
70458- - potentially_unintended_data_access
70459- - potentially_unintended_destructive_activity
70460- - other
70461- _MisalignmentSteer:
70462- properties:
70463- message:
70464- type: string
70465- description: The public continuation instruction.
70466- type: object
70467- required:
70468- - message
70469- MisalignmentErrorDetailsResource:
70470- properties:
70471- error_type:
70472- $ref: '#/components/schemas/_MisalignmentErrorType'
70473- description: An optional classification; clients must accept additional values.
70474- detailed_explanation:
70475- type: string
70476- description: The public explanation for this block.
70477- steer:
70478- $ref: '#/components/schemas/_MisalignmentSteer'
70479- description: An optional public continuation instruction.
70480- type: object
70481- required: []
7048270566 ImageGenOutputTokensDetails:
7048370567 properties:
7048470568 image_tokens:
0 commit comments