@xyd-js/openapi2opencli 0.0.0-canary-4287eee-20260630010340

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.
Files changed (546) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE +21 -0
  3. package/README.md +45 -0
  4. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__create/expected.json +14 -0
  5. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__create/input.json +15 -0
  6. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__delete/expected.json +14 -0
  7. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__delete/input.json +14 -0
  8. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__list/expected.json +12 -0
  9. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__list/input.json +24 -0
  10. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__retrieve/expected.json +14 -0
  11. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__retrieve/input.json +24 -0
  12. package/__fixtures__/-2.complex.openai/admin__organization__audit-logs__list/expected.json +12 -0
  13. package/__fixtures__/-2.complex.openai/admin__organization__audit-logs__list/input.json +54 -0
  14. package/__fixtures__/-2.complex.openai/admin__organization__certificates__activate/expected.json +14 -0
  15. package/__fixtures__/-2.complex.openai/admin__organization__certificates__activate/input.json +16 -0
  16. package/__fixtures__/-2.complex.openai/admin__organization__certificates__create/expected.json +14 -0
  17. package/__fixtures__/-2.complex.openai/admin__organization__certificates__create/input.json +16 -0
  18. package/__fixtures__/-2.complex.openai/admin__organization__certificates__deactivate/expected.json +14 -0
  19. package/__fixtures__/-2.complex.openai/admin__organization__certificates__deactivate/input.json +16 -0
  20. package/__fixtures__/-2.complex.openai/admin__organization__certificates__delete/expected.json +14 -0
  21. package/__fixtures__/-2.complex.openai/admin__organization__certificates__delete/input.json +14 -0
  22. package/__fixtures__/-2.complex.openai/admin__organization__certificates__list/expected.json +12 -0
  23. package/__fixtures__/-2.complex.openai/admin__organization__certificates__list/input.json +24 -0
  24. package/__fixtures__/-2.complex.openai/admin__organization__certificates__retrieve/expected.json +14 -0
  25. package/__fixtures__/-2.complex.openai/admin__organization__certificates__retrieve/input.json +24 -0
  26. package/__fixtures__/-2.complex.openai/admin__organization__certificates__update/expected.json +14 -0
  27. package/__fixtures__/-2.complex.openai/admin__organization__certificates__update/input.json +16 -0
  28. package/__fixtures__/-2.complex.openai/admin__organization__data-retention__retrieve/expected.json +12 -0
  29. package/__fixtures__/-2.complex.openai/admin__organization__data-retention__retrieve/input.json +3 -0
  30. package/__fixtures__/-2.complex.openai/admin__organization__data-retention__update/expected.json +14 -0
  31. package/__fixtures__/-2.complex.openai/admin__organization__data-retention__update/input.json +3 -0
  32. package/__fixtures__/-2.complex.openai/admin__organization__groups__create/expected.json +14 -0
  33. package/__fixtures__/-2.complex.openai/admin__organization__groups__create/input.json +15 -0
  34. package/__fixtures__/-2.complex.openai/admin__organization__groups__delete/expected.json +14 -0
  35. package/__fixtures__/-2.complex.openai/admin__organization__groups__delete/input.json +14 -0
  36. package/__fixtures__/-2.complex.openai/admin__organization__groups__list/expected.json +12 -0
  37. package/__fixtures__/-2.complex.openai/admin__organization__groups__list/input.json +24 -0
  38. package/__fixtures__/-2.complex.openai/admin__organization__groups__retrieve/expected.json +14 -0
  39. package/__fixtures__/-2.complex.openai/admin__organization__groups__retrieve/input.json +24 -0
  40. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__create/expected.json +16 -0
  41. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__create/input.json +21 -0
  42. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__delete/expected.json +16 -0
  43. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__delete/input.json +19 -0
  44. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__list/expected.json +15 -0
  45. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__list/input.json +29 -0
  46. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__retrieve/expected.json +16 -0
  47. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__retrieve/input.json +29 -0
  48. package/__fixtures__/-2.complex.openai/admin__organization__groups__update/expected.json +15 -0
  49. package/__fixtures__/-2.complex.openai/admin__organization__groups__update/input.json +15 -0
  50. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__create/expected.json +16 -0
  51. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__create/input.json +21 -0
  52. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__delete/expected.json +16 -0
  53. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__delete/input.json +19 -0
  54. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__list/expected.json +15 -0
  55. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__list/input.json +29 -0
  56. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__retrieve/expected.json +16 -0
  57. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__retrieve/input.json +29 -0
  58. package/__fixtures__/-2.complex.openai/admin__organization__invites__create/expected.json +15 -0
  59. package/__fixtures__/-2.complex.openai/admin__organization__invites__create/input.json +17 -0
  60. package/__fixtures__/-2.complex.openai/admin__organization__invites__delete/expected.json +14 -0
  61. package/__fixtures__/-2.complex.openai/admin__organization__invites__delete/input.json +14 -0
  62. package/__fixtures__/-2.complex.openai/admin__organization__invites__list/expected.json +12 -0
  63. package/__fixtures__/-2.complex.openai/admin__organization__invites__list/input.json +19 -0
  64. package/__fixtures__/-2.complex.openai/admin__organization__invites__retrieve/expected.json +14 -0
  65. package/__fixtures__/-2.complex.openai/admin__organization__invites__retrieve/input.json +19 -0
  66. package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__delete/expected.json +16 -0
  67. package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__delete/input.json +19 -0
  68. package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__list/expected.json +15 -0
  69. package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__list/input.json +24 -0
  70. package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__retrieve/expected.json +16 -0
  71. package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__retrieve/input.json +24 -0
  72. package/__fixtures__/-2.complex.openai/admin__organization__projects__archive/expected.json +14 -0
  73. package/__fixtures__/-2.complex.openai/admin__organization__projects__archive/input.json +17 -0
  74. package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__activate/expected.json +16 -0
  75. package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__activate/input.json +3 -0
  76. package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__deactivate/expected.json +16 -0
  77. package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__deactivate/input.json +3 -0
  78. package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__list/expected.json +15 -0
  79. package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__list/input.json +29 -0
  80. package/__fixtures__/-2.complex.openai/admin__organization__projects__create/expected.json +14 -0
  81. package/__fixtures__/-2.complex.openai/admin__organization__projects__create/input.json +17 -0
  82. package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__retrieve/expected.json +15 -0
  83. package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__retrieve/input.json +3 -0
  84. package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__update/expected.json +16 -0
  85. package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__update/input.json +3 -0
  86. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__create/expected.json +17 -0
  87. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__create/input.json +22 -0
  88. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__delete/expected.json +16 -0
  89. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__delete/input.json +19 -0
  90. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__list/expected.json +15 -0
  91. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__list/input.json +29 -0
  92. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__retrieve/expected.json +16 -0
  93. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__retrieve/input.json +29 -0
  94. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__create/expected.json +18 -0
  95. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__create/input.json +3 -0
  96. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__delete/expected.json +18 -0
  97. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__delete/input.json +3 -0
  98. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__list/expected.json +17 -0
  99. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__list/input.json +3 -0
  100. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__retrieve/expected.json +18 -0
  101. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__retrieve/input.json +3 -0
  102. package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__retrieve/expected.json +15 -0
  103. package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__retrieve/input.json +3 -0
  104. package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__update/expected.json +15 -0
  105. package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__update/input.json +3 -0
  106. package/__fixtures__/-2.complex.openai/admin__organization__projects__list/expected.json +12 -0
  107. package/__fixtures__/-2.complex.openai/admin__organization__projects__list/input.json +24 -0
  108. package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__delete/expected.json +15 -0
  109. package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__delete/input.json +3 -0
  110. package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__retrieve/expected.json +15 -0
  111. package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__retrieve/input.json +3 -0
  112. package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__update/expected.json +17 -0
  113. package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__update/input.json +3 -0
  114. package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__list-rate-limits/expected.json +15 -0
  115. package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__list-rate-limits/input.json +29 -0
  116. package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__update-rate-limit/expected.json +16 -0
  117. package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__update-rate-limit/input.json +31 -0
  118. package/__fixtures__/-2.complex.openai/admin__organization__projects__retrieve/expected.json +14 -0
  119. package/__fixtures__/-2.complex.openai/admin__organization__projects__retrieve/input.json +24 -0
  120. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__create/expected.json +17 -0
  121. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__create/input.json +3 -0
  122. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__delete/expected.json +16 -0
  123. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__delete/input.json +3 -0
  124. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__list/expected.json +15 -0
  125. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__list/input.json +3 -0
  126. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__retrieve/expected.json +16 -0
  127. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__retrieve/input.json +3 -0
  128. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__update/expected.json +16 -0
  129. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__update/input.json +3 -0
  130. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__create/expected.json +16 -0
  131. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__create/input.json +21 -0
  132. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__delete/expected.json +16 -0
  133. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__delete/input.json +19 -0
  134. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__list/expected.json +15 -0
  135. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__list/input.json +24 -0
  136. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__retrieve/expected.json +16 -0
  137. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__retrieve/input.json +24 -0
  138. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__update/expected.json +16 -0
  139. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__update/input.json +21 -0
  140. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__create/expected.json +19 -0
  141. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__create/input.json +3 -0
  142. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__delete/expected.json +16 -0
  143. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__delete/input.json +3 -0
  144. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__list/expected.json +15 -0
  145. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__list/input.json +3 -0
  146. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__retrieve/expected.json +16 -0
  147. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__retrieve/input.json +3 -0
  148. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__update/expected.json +20 -0
  149. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__update/input.json +3 -0
  150. package/__fixtures__/-2.complex.openai/admin__organization__projects__update/expected.json +14 -0
  151. package/__fixtures__/-2.complex.openai/admin__organization__projects__update/input.json +17 -0
  152. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__create/expected.json +16 -0
  153. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__create/input.json +23 -0
  154. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__delete/expected.json +16 -0
  155. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__delete/input.json +19 -0
  156. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__list/expected.json +15 -0
  157. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__list/input.json +24 -0
  158. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__retrieve/expected.json +16 -0
  159. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__retrieve/input.json +24 -0
  160. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__create/expected.json +18 -0
  161. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__create/input.json +3 -0
  162. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__delete/expected.json +18 -0
  163. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__delete/input.json +3 -0
  164. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__list/expected.json +17 -0
  165. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__list/input.json +3 -0
  166. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__retrieve/expected.json +18 -0
  167. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__retrieve/input.json +3 -0
  168. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__update/expected.json +16 -0
  169. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__update/input.json +23 -0
  170. package/__fixtures__/-2.complex.openai/admin__organization__roles__create/expected.json +15 -0
  171. package/__fixtures__/-2.complex.openai/admin__organization__roles__create/input.json +17 -0
  172. package/__fixtures__/-2.complex.openai/admin__organization__roles__delete/expected.json +14 -0
  173. package/__fixtures__/-2.complex.openai/admin__organization__roles__delete/input.json +14 -0
  174. package/__fixtures__/-2.complex.openai/admin__organization__roles__list/expected.json +12 -0
  175. package/__fixtures__/-2.complex.openai/admin__organization__roles__list/input.json +24 -0
  176. package/__fixtures__/-2.complex.openai/admin__organization__roles__retrieve/expected.json +14 -0
  177. package/__fixtures__/-2.complex.openai/admin__organization__roles__retrieve/input.json +24 -0
  178. package/__fixtures__/-2.complex.openai/admin__organization__roles__update/expected.json +14 -0
  179. package/__fixtures__/-2.complex.openai/admin__organization__roles__update/input.json +17 -0
  180. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__create/expected.json +17 -0
  181. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__create/input.json +3 -0
  182. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__delete/expected.json +14 -0
  183. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__delete/input.json +3 -0
  184. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__list/expected.json +12 -0
  185. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__list/input.json +3 -0
  186. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__retrieve/expected.json +14 -0
  187. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__retrieve/input.json +3 -0
  188. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__update/expected.json +18 -0
  189. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__update/input.json +3 -0
  190. package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-speeches/expected.json +14 -0
  191. package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-speeches/input.json +3 -0
  192. package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-transcriptions/expected.json +14 -0
  193. package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-transcriptions/input.json +3 -0
  194. package/__fixtures__/-2.complex.openai/admin__organization__usage__code-interpreter-sessions/expected.json +14 -0
  195. package/__fixtures__/-2.complex.openai/admin__organization__usage__code-interpreter-sessions/input.json +3 -0
  196. package/__fixtures__/-2.complex.openai/admin__organization__usage__completions/expected.json +14 -0
  197. package/__fixtures__/-2.complex.openai/admin__organization__usage__completions/input.json +3 -0
  198. package/__fixtures__/-2.complex.openai/admin__organization__usage__costs/expected.json +14 -0
  199. package/__fixtures__/-2.complex.openai/admin__organization__usage__costs/input.json +3 -0
  200. package/__fixtures__/-2.complex.openai/admin__organization__usage__embeddings/expected.json +14 -0
  201. package/__fixtures__/-2.complex.openai/admin__organization__usage__embeddings/input.json +3 -0
  202. package/__fixtures__/-2.complex.openai/admin__organization__usage__file-search-calls/expected.json +14 -0
  203. package/__fixtures__/-2.complex.openai/admin__organization__usage__file-search-calls/input.json +3 -0
  204. package/__fixtures__/-2.complex.openai/admin__organization__usage__images/expected.json +14 -0
  205. package/__fixtures__/-2.complex.openai/admin__organization__usage__images/input.json +3 -0
  206. package/__fixtures__/-2.complex.openai/admin__organization__usage__moderations/expected.json +14 -0
  207. package/__fixtures__/-2.complex.openai/admin__organization__usage__moderations/input.json +3 -0
  208. package/__fixtures__/-2.complex.openai/admin__organization__usage__vector-stores/expected.json +14 -0
  209. package/__fixtures__/-2.complex.openai/admin__organization__usage__vector-stores/input.json +3 -0
  210. package/__fixtures__/-2.complex.openai/admin__organization__usage__web-search-calls/expected.json +14 -0
  211. package/__fixtures__/-2.complex.openai/admin__organization__usage__web-search-calls/input.json +3 -0
  212. package/__fixtures__/-2.complex.openai/admin__organization__users__delete/expected.json +14 -0
  213. package/__fixtures__/-2.complex.openai/admin__organization__users__delete/input.json +14 -0
  214. package/__fixtures__/-2.complex.openai/admin__organization__users__list/expected.json +12 -0
  215. package/__fixtures__/-2.complex.openai/admin__organization__users__list/input.json +24 -0
  216. package/__fixtures__/-2.complex.openai/admin__organization__users__retrieve/expected.json +14 -0
  217. package/__fixtures__/-2.complex.openai/admin__organization__users__retrieve/input.json +24 -0
  218. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__create/expected.json +16 -0
  219. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__create/input.json +21 -0
  220. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__delete/expected.json +16 -0
  221. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__delete/input.json +19 -0
  222. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__list/expected.json +15 -0
  223. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__list/input.json +29 -0
  224. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__retrieve/expected.json +16 -0
  225. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__retrieve/input.json +29 -0
  226. package/__fixtures__/-2.complex.openai/admin__organization__users__update/expected.json +14 -0
  227. package/__fixtures__/-2.complex.openai/admin__organization__users__update/input.json +24 -0
  228. package/__fixtures__/-2.complex.openai/audio__speech__create/expected.json +15 -0
  229. package/__fixtures__/-2.complex.openai/audio__speech__create/input.json +22 -0
  230. package/__fixtures__/-2.complex.openai/audio__transcriptions__create/expected.json +14 -0
  231. package/__fixtures__/-2.complex.openai/audio__transcriptions__create/input.json +27 -0
  232. package/__fixtures__/-2.complex.openai/audio__translations__create/expected.json +14 -0
  233. package/__fixtures__/-2.complex.openai/audio__translations__create/input.json +19 -0
  234. package/__fixtures__/-2.complex.openai/batches__cancel/expected.json +12 -0
  235. package/__fixtures__/-2.complex.openai/batches__cancel/input.json +20 -0
  236. package/__fixtures__/-2.complex.openai/batches__create/expected.json +14 -0
  237. package/__fixtures__/-2.complex.openai/batches__create/input.json +20 -0
  238. package/__fixtures__/-2.complex.openai/batches__list/expected.json +10 -0
  239. package/__fixtures__/-2.complex.openai/batches__list/input.json +19 -0
  240. package/__fixtures__/-2.complex.openai/batches__retrieve/expected.json +12 -0
  241. package/__fixtures__/-2.complex.openai/batches__retrieve/input.json +19 -0
  242. package/__fixtures__/-2.complex.openai/beta__assistants__create/expected.json +13 -0
  243. package/__fixtures__/-2.complex.openai/beta__assistants__create/input.json +26 -0
  244. package/__fixtures__/-2.complex.openai/beta__assistants__delete/expected.json +13 -0
  245. package/__fixtures__/-2.complex.openai/beta__assistants__delete/input.json +14 -0
  246. package/__fixtures__/-2.complex.openai/beta__assistants__list/expected.json +11 -0
  247. package/__fixtures__/-2.complex.openai/beta__assistants__list/input.json +29 -0
  248. package/__fixtures__/-2.complex.openai/beta__assistants__retrieve/expected.json +13 -0
  249. package/__fixtures__/-2.complex.openai/beta__assistants__retrieve/input.json +29 -0
  250. package/__fixtures__/-2.complex.openai/beta__assistants__update/expected.json +13 -0
  251. package/__fixtures__/-2.complex.openai/beta__assistants__update/input.json +26 -0
  252. package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__cancel/expected.json +14 -0
  253. package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__cancel/input.json +20 -0
  254. package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__create/expected.json +15 -0
  255. package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__create/input.json +20 -0
  256. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__delete/expected.json +14 -0
  257. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__delete/input.json +14 -0
  258. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list/expected.json +12 -0
  259. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list/input.json +14 -0
  260. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list-items/expected.json +14 -0
  261. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list-items/input.json +14 -0
  262. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__retrieve/expected.json +14 -0
  263. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__retrieve/input.json +14 -0
  264. package/__fixtures__/-2.complex.openai/beta__threads__create/expected.json +11 -0
  265. package/__fixtures__/-2.complex.openai/beta__threads__create/input.json +18 -0
  266. package/__fixtures__/-2.complex.openai/beta__threads__create-and-run/expected.json +13 -0
  267. package/__fixtures__/-2.complex.openai/beta__threads__create-and-run/input.json +18 -0
  268. package/__fixtures__/-2.complex.openai/beta__threads__delete/expected.json +13 -0
  269. package/__fixtures__/-2.complex.openai/beta__threads__delete/input.json +14 -0
  270. package/__fixtures__/-2.complex.openai/beta__threads__messages__create/expected.json +16 -0
  271. package/__fixtures__/-2.complex.openai/beta__threads__messages__create/input.json +25 -0
  272. package/__fixtures__/-2.complex.openai/beta__threads__messages__delete/expected.json +15 -0
  273. package/__fixtures__/-2.complex.openai/beta__threads__messages__delete/input.json +19 -0
  274. package/__fixtures__/-2.complex.openai/beta__threads__messages__list/expected.json +14 -0
  275. package/__fixtures__/-2.complex.openai/beta__threads__messages__list/input.json +39 -0
  276. package/__fixtures__/-2.complex.openai/beta__threads__messages__retrieve/expected.json +15 -0
  277. package/__fixtures__/-2.complex.openai/beta__threads__messages__retrieve/input.json +39 -0
  278. package/__fixtures__/-2.complex.openai/beta__threads__messages__update/expected.json +15 -0
  279. package/__fixtures__/-2.complex.openai/beta__threads__messages__update/input.json +25 -0
  280. package/__fixtures__/-2.complex.openai/beta__threads__retrieve/expected.json +13 -0
  281. package/__fixtures__/-2.complex.openai/beta__threads__retrieve/input.json +14 -0
  282. package/__fixtures__/-2.complex.openai/beta__threads__runs__cancel/expected.json +15 -0
  283. package/__fixtures__/-2.complex.openai/beta__threads__runs__cancel/input.json +31 -0
  284. package/__fixtures__/-2.complex.openai/beta__threads__runs__create/expected.json +15 -0
  285. package/__fixtures__/-2.complex.openai/beta__threads__runs__create/input.json +31 -0
  286. package/__fixtures__/-2.complex.openai/beta__threads__runs__list/expected.json +14 -0
  287. package/__fixtures__/-2.complex.openai/beta__threads__runs__list/input.json +34 -0
  288. package/__fixtures__/-2.complex.openai/beta__threads__runs__retrieve/expected.json +15 -0
  289. package/__fixtures__/-2.complex.openai/beta__threads__runs__retrieve/input.json +34 -0
  290. package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__list/expected.json +16 -0
  291. package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__list/input.json +44 -0
  292. package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__retrieve/expected.json +17 -0
  293. package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__retrieve/input.json +44 -0
  294. package/__fixtures__/-2.complex.openai/beta__threads__runs__submit-tool-outputs/expected.json +16 -0
  295. package/__fixtures__/-2.complex.openai/beta__threads__runs__submit-tool-outputs/input.json +31 -0
  296. package/__fixtures__/-2.complex.openai/beta__threads__runs__update/expected.json +15 -0
  297. package/__fixtures__/-2.complex.openai/beta__threads__runs__update/input.json +31 -0
  298. package/__fixtures__/-2.complex.openai/beta__threads__update/expected.json +13 -0
  299. package/__fixtures__/-2.complex.openai/beta__threads__update/input.json +18 -0
  300. package/__fixtures__/-2.complex.openai/chat__completions__create/expected.json +14 -0
  301. package/__fixtures__/-2.complex.openai/chat__completions__create/input.json +13 -0
  302. package/__fixtures__/-2.complex.openai/chat__completions__delete/expected.json +13 -0
  303. package/__fixtures__/-2.complex.openai/chat__completions__delete/input.json +14 -0
  304. package/__fixtures__/-2.complex.openai/chat__completions__list/expected.json +11 -0
  305. package/__fixtures__/-2.complex.openai/chat__completions__list/input.json +34 -0
  306. package/__fixtures__/-2.complex.openai/chat__completions__messages__list/expected.json +14 -0
  307. package/__fixtures__/-2.complex.openai/chat__completions__messages__list/input.json +29 -0
  308. package/__fixtures__/-2.complex.openai/chat__completions__retrieve/expected.json +13 -0
  309. package/__fixtures__/-2.complex.openai/chat__completions__retrieve/input.json +34 -0
  310. package/__fixtures__/-2.complex.openai/chat__completions__update/expected.json +14 -0
  311. package/__fixtures__/-2.complex.openai/chat__completions__update/input.json +13 -0
  312. package/__fixtures__/-2.complex.openai/completions__create/expected.json +13 -0
  313. package/__fixtures__/-2.complex.openai/completions__create/input.json +33 -0
  314. package/__fixtures__/-2.complex.openai/containers__create/expected.json +12 -0
  315. package/__fixtures__/-2.complex.openai/containers__create/input.json +20 -0
  316. package/__fixtures__/-2.complex.openai/containers__delete/expected.json +12 -0
  317. package/__fixtures__/-2.complex.openai/containers__delete/input.json +14 -0
  318. package/__fixtures__/-2.complex.openai/containers__files__content__retrieve/expected.json +15 -0
  319. package/__fixtures__/-2.complex.openai/containers__files__content__retrieve/input.json +19 -0
  320. package/__fixtures__/-2.complex.openai/containers__files__create/expected.json +13 -0
  321. package/__fixtures__/-2.complex.openai/containers__files__create/input.json +22 -0
  322. package/__fixtures__/-2.complex.openai/containers__files__delete/expected.json +14 -0
  323. package/__fixtures__/-2.complex.openai/containers__files__delete/input.json +19 -0
  324. package/__fixtures__/-2.complex.openai/containers__files__list/expected.json +13 -0
  325. package/__fixtures__/-2.complex.openai/containers__files__list/input.json +29 -0
  326. package/__fixtures__/-2.complex.openai/containers__files__retrieve/expected.json +14 -0
  327. package/__fixtures__/-2.complex.openai/containers__files__retrieve/input.json +29 -0
  328. package/__fixtures__/-2.complex.openai/containers__list/expected.json +10 -0
  329. package/__fixtures__/-2.complex.openai/containers__list/input.json +29 -0
  330. package/__fixtures__/-2.complex.openai/containers__retrieve/expected.json +12 -0
  331. package/__fixtures__/-2.complex.openai/containers__retrieve/input.json +29 -0
  332. package/__fixtures__/-2.complex.openai/conversations__create/expected.json +10 -0
  333. package/__fixtures__/-2.complex.openai/conversations__create/input.json +16 -0
  334. package/__fixtures__/-2.complex.openai/conversations__delete/expected.json +12 -0
  335. package/__fixtures__/-2.complex.openai/conversations__delete/input.json +14 -0
  336. package/__fixtures__/-2.complex.openai/conversations__items__create/expected.json +14 -0
  337. package/__fixtures__/-2.complex.openai/conversations__items__create/input.json +26 -0
  338. package/__fixtures__/-2.complex.openai/conversations__items__delete/expected.json +14 -0
  339. package/__fixtures__/-2.complex.openai/conversations__items__delete/input.json +19 -0
  340. package/__fixtures__/-2.complex.openai/conversations__items__list/expected.json +13 -0
  341. package/__fixtures__/-2.complex.openai/conversations__items__list/input.json +34 -0
  342. package/__fixtures__/-2.complex.openai/conversations__items__retrieve/expected.json +14 -0
  343. package/__fixtures__/-2.complex.openai/conversations__items__retrieve/input.json +34 -0
  344. package/__fixtures__/-2.complex.openai/conversations__retrieve/expected.json +12 -0
  345. package/__fixtures__/-2.complex.openai/conversations__retrieve/input.json +14 -0
  346. package/__fixtures__/-2.complex.openai/conversations__update/expected.json +13 -0
  347. package/__fixtures__/-2.complex.openai/conversations__update/input.json +16 -0
  348. package/__fixtures__/-2.complex.openai/embeddings__create/expected.json +13 -0
  349. package/__fixtures__/-2.complex.openai/embeddings__create/input.json +19 -0
  350. package/__fixtures__/-2.complex.openai/files__content/expected.json +12 -0
  351. package/__fixtures__/-2.complex.openai/files__content/input.json +29 -0
  352. package/__fixtures__/-2.complex.openai/files__create/expected.json +13 -0
  353. package/__fixtures__/-2.complex.openai/files__create/input.json +18 -0
  354. package/__fixtures__/-2.complex.openai/files__delete/expected.json +12 -0
  355. package/__fixtures__/-2.complex.openai/files__delete/input.json +14 -0
  356. package/__fixtures__/-2.complex.openai/files__list/expected.json +10 -0
  357. package/__fixtures__/-2.complex.openai/files__list/input.json +29 -0
  358. package/__fixtures__/-2.complex.openai/files__retrieve/expected.json +12 -0
  359. package/__fixtures__/-2.complex.openai/files__retrieve/input.json +29 -0
  360. package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__run/expected.json +15 -0
  361. package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__run/input.json +3 -0
  362. package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__validate/expected.json +14 -0
  363. package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__validate/input.json +3 -0
  364. package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__create/expected.json +15 -0
  365. package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__create/input.json +21 -0
  366. package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__delete/expected.json +15 -0
  367. package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__delete/input.json +19 -0
  368. package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__retrieve/expected.json +14 -0
  369. package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__retrieve/input.json +34 -0
  370. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__cancel/expected.json +13 -0
  371. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__cancel/input.json +24 -0
  372. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__checkpoints__list/expected.json +14 -0
  373. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__checkpoints__list/input.json +24 -0
  374. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__create/expected.json +14 -0
  375. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__create/input.json +24 -0
  376. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list/expected.json +11 -0
  377. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list/input.json +24 -0
  378. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list-events/expected.json +13 -0
  379. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list-events/input.json +24 -0
  380. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__pause/expected.json +13 -0
  381. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__pause/input.json +24 -0
  382. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__resume/expected.json +13 -0
  383. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__resume/input.json +24 -0
  384. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__retrieve/expected.json +13 -0
  385. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__retrieve/input.json +24 -0
  386. package/__fixtures__/-2.complex.openai/images__create-variation/expected.json +12 -0
  387. package/__fixtures__/-2.complex.openai/images__create-variation/input.json +3 -0
  388. package/__fixtures__/-2.complex.openai/images__edit/expected.json +13 -0
  389. package/__fixtures__/-2.complex.openai/images__edit/input.json +3 -0
  390. package/__fixtures__/-2.complex.openai/images__generate/expected.json +12 -0
  391. package/__fixtures__/-2.complex.openai/images__generate/input.json +3 -0
  392. package/__fixtures__/-2.complex.openai/models__delete/expected.json +12 -0
  393. package/__fixtures__/-2.complex.openai/models__delete/input.json +14 -0
  394. package/__fixtures__/-2.complex.openai/models__list/expected.json +10 -0
  395. package/__fixtures__/-2.complex.openai/models__list/input.json +8 -0
  396. package/__fixtures__/-2.complex.openai/models__retrieve/expected.json +12 -0
  397. package/__fixtures__/-2.complex.openai/models__retrieve/input.json +8 -0
  398. package/__fixtures__/-2.complex.openai/moderations__create/expected.json +12 -0
  399. package/__fixtures__/-2.complex.openai/moderations__create/input.json +16 -0
  400. package/__fixtures__/-2.complex.openai/realtime__calls__accept/expected.json +14 -0
  401. package/__fixtures__/-2.complex.openai/realtime__calls__accept/input.json +16 -0
  402. package/__fixtures__/-2.complex.openai/realtime__calls__hangup/expected.json +13 -0
  403. package/__fixtures__/-2.complex.openai/realtime__calls__hangup/input.json +16 -0
  404. package/__fixtures__/-2.complex.openai/realtime__calls__refer/expected.json +14 -0
  405. package/__fixtures__/-2.complex.openai/realtime__calls__refer/input.json +16 -0
  406. package/__fixtures__/-2.complex.openai/realtime__calls__reject/expected.json +13 -0
  407. package/__fixtures__/-2.complex.openai/realtime__calls__reject/input.json +16 -0
  408. package/__fixtures__/-2.complex.openai/realtime__client-secrets__create/expected.json +11 -0
  409. package/__fixtures__/-2.complex.openai/realtime__client-secrets__create/input.json +16 -0
  410. package/__fixtures__/-2.complex.openai/responses__cancel/expected.json +12 -0
  411. package/__fixtures__/-2.complex.openai/responses__cancel/input.json +13 -0
  412. package/__fixtures__/-2.complex.openai/responses__compact/expected.json +12 -0
  413. package/__fixtures__/-2.complex.openai/responses__compact/input.json +13 -0
  414. package/__fixtures__/-2.complex.openai/responses__create/expected.json +10 -0
  415. package/__fixtures__/-2.complex.openai/responses__create/input.json +13 -0
  416. package/__fixtures__/-2.complex.openai/responses__delete/expected.json +12 -0
  417. package/__fixtures__/-2.complex.openai/responses__delete/input.json +14 -0
  418. package/__fixtures__/-2.complex.openai/responses__input-items__list/expected.json +13 -0
  419. package/__fixtures__/-2.complex.openai/responses__input-items__list/input.json +34 -0
  420. package/__fixtures__/-2.complex.openai/responses__input-tokens__count/expected.json +11 -0
  421. package/__fixtures__/-2.complex.openai/responses__input-tokens__count/input.json +26 -0
  422. package/__fixtures__/-2.complex.openai/responses__retrieve/expected.json +12 -0
  423. package/__fixtures__/-2.complex.openai/responses__retrieve/input.json +34 -0
  424. package/__fixtures__/-2.complex.openai/skills__content__retrieve/expected.json +13 -0
  425. package/__fixtures__/-2.complex.openai/skills__content__retrieve/input.json +13 -0
  426. package/__fixtures__/-2.complex.openai/skills__create/expected.json +10 -0
  427. package/__fixtures__/-2.complex.openai/skills__create/input.json +14 -0
  428. package/__fixtures__/-2.complex.openai/skills__delete/expected.json +12 -0
  429. package/__fixtures__/-2.complex.openai/skills__delete/input.json +13 -0
  430. package/__fixtures__/-2.complex.openai/skills__list/expected.json +10 -0
  431. package/__fixtures__/-2.complex.openai/skills__list/input.json +23 -0
  432. package/__fixtures__/-2.complex.openai/skills__retrieve/expected.json +12 -0
  433. package/__fixtures__/-2.complex.openai/skills__retrieve/input.json +23 -0
  434. package/__fixtures__/-2.complex.openai/skills__update/expected.json +13 -0
  435. package/__fixtures__/-2.complex.openai/skills__update/input.json +14 -0
  436. package/__fixtures__/-2.complex.openai/skills__versions__content__retrieve/expected.json +14 -0
  437. package/__fixtures__/-2.complex.openai/skills__versions__content__retrieve/input.json +18 -0
  438. package/__fixtures__/-2.complex.openai/skills__versions__create/expected.json +13 -0
  439. package/__fixtures__/-2.complex.openai/skills__versions__create/input.json +21 -0
  440. package/__fixtures__/-2.complex.openai/skills__versions__delete/expected.json +13 -0
  441. package/__fixtures__/-2.complex.openai/skills__versions__delete/input.json +18 -0
  442. package/__fixtures__/-2.complex.openai/skills__versions__list/expected.json +13 -0
  443. package/__fixtures__/-2.complex.openai/skills__versions__list/input.json +28 -0
  444. package/__fixtures__/-2.complex.openai/skills__versions__retrieve/expected.json +13 -0
  445. package/__fixtures__/-2.complex.openai/skills__versions__retrieve/input.json +28 -0
  446. package/__fixtures__/-2.complex.openai/uploads__cancel/expected.json +12 -0
  447. package/__fixtures__/-2.complex.openai/uploads__cancel/input.json +20 -0
  448. package/__fixtures__/-2.complex.openai/uploads__complete/expected.json +13 -0
  449. package/__fixtures__/-2.complex.openai/uploads__complete/input.json +20 -0
  450. package/__fixtures__/-2.complex.openai/uploads__create/expected.json +15 -0
  451. package/__fixtures__/-2.complex.openai/uploads__create/input.json +20 -0
  452. package/__fixtures__/-2.complex.openai/uploads__parts__create/expected.json +14 -0
  453. package/__fixtures__/-2.complex.openai/uploads__parts__create/input.json +21 -0
  454. package/__fixtures__/-2.complex.openai/vector-stores__create/expected.json +10 -0
  455. package/__fixtures__/-2.complex.openai/vector-stores__create/input.json +21 -0
  456. package/__fixtures__/-2.complex.openai/vector-stores__delete/expected.json +12 -0
  457. package/__fixtures__/-2.complex.openai/vector-stores__delete/input.json +14 -0
  458. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__cancel/expected.json +14 -0
  459. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__cancel/input.json +25 -0
  460. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__create/expected.json +13 -0
  461. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__create/input.json +25 -0
  462. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__list-files/expected.json +14 -0
  463. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__list-files/input.json +19 -0
  464. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__retrieve/expected.json +14 -0
  465. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__retrieve/input.json +19 -0
  466. package/__fixtures__/-2.complex.openai/vector-stores__files__content/expected.json +14 -0
  467. package/__fixtures__/-2.complex.openai/vector-stores__files__content/input.json +39 -0
  468. package/__fixtures__/-2.complex.openai/vector-stores__files__create/expected.json +14 -0
  469. package/__fixtures__/-2.complex.openai/vector-stores__files__create/input.json +24 -0
  470. package/__fixtures__/-2.complex.openai/vector-stores__files__delete/expected.json +14 -0
  471. package/__fixtures__/-2.complex.openai/vector-stores__files__delete/input.json +19 -0
  472. package/__fixtures__/-2.complex.openai/vector-stores__files__list/expected.json +13 -0
  473. package/__fixtures__/-2.complex.openai/vector-stores__files__list/input.json +39 -0
  474. package/__fixtures__/-2.complex.openai/vector-stores__files__retrieve/expected.json +14 -0
  475. package/__fixtures__/-2.complex.openai/vector-stores__files__retrieve/input.json +39 -0
  476. package/__fixtures__/-2.complex.openai/vector-stores__files__update/expected.json +15 -0
  477. package/__fixtures__/-2.complex.openai/vector-stores__files__update/input.json +24 -0
  478. package/__fixtures__/-2.complex.openai/vector-stores__list/expected.json +10 -0
  479. package/__fixtures__/-2.complex.openai/vector-stores__list/input.json +29 -0
  480. package/__fixtures__/-2.complex.openai/vector-stores__retrieve/expected.json +12 -0
  481. package/__fixtures__/-2.complex.openai/vector-stores__retrieve/input.json +29 -0
  482. package/__fixtures__/-2.complex.openai/vector-stores__search/expected.json +13 -0
  483. package/__fixtures__/-2.complex.openai/vector-stores__search/input.json +21 -0
  484. package/__fixtures__/-2.complex.openai/vector-stores__update/expected.json +12 -0
  485. package/__fixtures__/-2.complex.openai/vector-stores__update/input.json +21 -0
  486. package/__fixtures__/-2.complex.openai/videos__create/expected.json +12 -0
  487. package/__fixtures__/-2.complex.openai/videos__create/input.json +20 -0
  488. package/__fixtures__/-2.complex.openai/videos__create-character/expected.json +13 -0
  489. package/__fixtures__/-2.complex.openai/videos__create-character/input.json +20 -0
  490. package/__fixtures__/-2.complex.openai/videos__delete/expected.json +12 -0
  491. package/__fixtures__/-2.complex.openai/videos__delete/input.json +14 -0
  492. package/__fixtures__/-2.complex.openai/videos__download-content/expected.json +12 -0
  493. package/__fixtures__/-2.complex.openai/videos__download-content/input.json +24 -0
  494. package/__fixtures__/-2.complex.openai/videos__edit/expected.json +13 -0
  495. package/__fixtures__/-2.complex.openai/videos__edit/input.json +20 -0
  496. package/__fixtures__/-2.complex.openai/videos__extend/expected.json +14 -0
  497. package/__fixtures__/-2.complex.openai/videos__extend/input.json +20 -0
  498. package/__fixtures__/-2.complex.openai/videos__get-character/expected.json +12 -0
  499. package/__fixtures__/-2.complex.openai/videos__get-character/input.json +24 -0
  500. package/__fixtures__/-2.complex.openai/videos__list/expected.json +10 -0
  501. package/__fixtures__/-2.complex.openai/videos__list/input.json +24 -0
  502. package/__fixtures__/-2.complex.openai/videos__remix/expected.json +13 -0
  503. package/__fixtures__/-2.complex.openai/videos__remix/input.json +20 -0
  504. package/__fixtures__/-2.complex.openai/videos__retrieve/expected.json +12 -0
  505. package/__fixtures__/-2.complex.openai/videos__retrieve/input.json +24 -0
  506. package/__fixtures__/1.basic/input.yaml +48 -0
  507. package/__fixtures__/1.basic/output.json +74 -0
  508. package/__fixtures__/2.crud/input.yaml +113 -0
  509. package/__fixtures__/2.crud/output.json +281 -0
  510. package/__fixtures__/3.nested/input.yaml +84 -0
  511. package/__fixtures__/3.nested/output.json +196 -0
  512. package/__fixtures__/4.body-flatten/input.yaml +61 -0
  513. package/__fixtures__/4.body-flatten/output.json +153 -0
  514. package/__tests__/conformance.test.ts +99 -0
  515. package/__tests__/docs-oracle.test.ts +237 -0
  516. package/__tests__/openapi2opencli.test.ts +31 -0
  517. package/__tests__/utils.ts +41 -0
  518. package/biome.json +25 -0
  519. package/index.ts +1 -0
  520. package/oracle/README.md +41 -0
  521. package/oracle/coverage.floor.json +4 -0
  522. package/oracle/docs-allowlist.json +201 -0
  523. package/oracle/docs-coverage.floor.json +4 -0
  524. package/oracle/docs-methods.json +3744 -0
  525. package/oracle/docsOracle.ts +152 -0
  526. package/oracle/openai-openapi.yaml +81040 -0
  527. package/oracle/parseOpenaiCli.ts +205 -0
  528. package/oracle/pins.json +6 -0
  529. package/oracle/surface.json +5844 -0
  530. package/package.json +27 -0
  531. package/src/action.ts +118 -0
  532. package/src/body.ts +132 -0
  533. package/src/command.ts +66 -0
  534. package/src/index.ts +12 -0
  535. package/src/naming.ts +40 -0
  536. package/src/openapi2opencli.ts +106 -0
  537. package/src/parameters.ts +108 -0
  538. package/src/schema.ts +110 -0
  539. package/src/security.ts +43 -0
  540. package/src/surface.ts +165 -0
  541. package/src/tree.ts +78 -0
  542. package/src/types.ts +86 -0
  543. package/src/unique.ts +11 -0
  544. package/tsconfig.json +18 -0
  545. package/tsup.config.ts +19 -0
  546. package/vitest.config.ts +8 -0
@@ -0,0 +1,3744 @@
1
+ [
2
+ {
3
+ "commandPath": [
4
+ "admin",
5
+ "organization",
6
+ "admin-api-keys",
7
+ "create"
8
+ ],
9
+ "httpMethod": "post",
10
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/admin_api_keys/methods/create",
11
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/admin_api_keys/methods/create",
12
+ "docCommand": "openai admin:organization:admin-api-keys create --admin-api-key 'My Admin API Key' --name 'New Admin Key'",
13
+ "docFlags": [
14
+ "name"
15
+ ]
16
+ },
17
+ {
18
+ "commandPath": [
19
+ "admin",
20
+ "organization",
21
+ "admin-api-keys",
22
+ "delete"
23
+ ],
24
+ "httpMethod": "delete",
25
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/admin_api_keys/methods/delete",
26
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/admin_api_keys/methods/delete",
27
+ "docCommand": "openai admin:organization:admin-api-keys delete --admin-api-key 'My Admin API Key' --key-id key_id",
28
+ "docFlags": [
29
+ "key-id"
30
+ ]
31
+ },
32
+ {
33
+ "commandPath": [
34
+ "admin",
35
+ "organization",
36
+ "admin-api-keys",
37
+ "list"
38
+ ],
39
+ "httpMethod": "get",
40
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/admin_api_keys/methods/list",
41
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/admin_api_keys/methods/list",
42
+ "docCommand": "openai admin:organization:admin-api-keys list --admin-api-key 'My Admin API Key'",
43
+ "docFlags": []
44
+ },
45
+ {
46
+ "commandPath": [
47
+ "admin",
48
+ "organization",
49
+ "admin-api-keys",
50
+ "retrieve"
51
+ ],
52
+ "httpMethod": "get",
53
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/admin_api_keys/methods/retrieve",
54
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/admin_api_keys/methods/retrieve",
55
+ "docCommand": "openai admin:organization:admin-api-keys retrieve --admin-api-key 'My Admin API Key' --key-id key_id",
56
+ "docFlags": [
57
+ "key-id"
58
+ ]
59
+ },
60
+ {
61
+ "commandPath": [
62
+ "admin",
63
+ "organization",
64
+ "audit-logs",
65
+ "list"
66
+ ],
67
+ "httpMethod": "get",
68
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/audit_logs/methods/list",
69
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/audit_logs/methods/list",
70
+ "docCommand": "openai admin:organization:audit-logs list --admin-api-key 'My Admin API Key'",
71
+ "docFlags": []
72
+ },
73
+ {
74
+ "commandPath": [
75
+ "admin",
76
+ "organization",
77
+ "certificates",
78
+ "activate"
79
+ ],
80
+ "httpMethod": "post",
81
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/certificates/methods/activate",
82
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/certificates/methods/activate",
83
+ "docCommand": "openai admin:organization:certificates activate --admin-api-key 'My Admin API Key' --certificate-id cert_abc",
84
+ "docFlags": [
85
+ "certificate-id"
86
+ ]
87
+ },
88
+ {
89
+ "commandPath": [
90
+ "admin",
91
+ "organization",
92
+ "certificates",
93
+ "create"
94
+ ],
95
+ "httpMethod": "post",
96
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/certificates/methods/create",
97
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/certificates/methods/create",
98
+ "docCommand": "openai admin:organization:certificates create --admin-api-key 'My Admin API Key' --certificate certificate",
99
+ "docFlags": [
100
+ "certificate"
101
+ ]
102
+ },
103
+ {
104
+ "commandPath": [
105
+ "admin",
106
+ "organization",
107
+ "certificates",
108
+ "deactivate"
109
+ ],
110
+ "httpMethod": "post",
111
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/certificates/methods/deactivate",
112
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/certificates/methods/deactivate",
113
+ "docCommand": "openai admin:organization:certificates deactivate --admin-api-key 'My Admin API Key' --certificate-id cert_abc",
114
+ "docFlags": [
115
+ "certificate-id"
116
+ ]
117
+ },
118
+ {
119
+ "commandPath": [
120
+ "admin",
121
+ "organization",
122
+ "certificates",
123
+ "delete"
124
+ ],
125
+ "httpMethod": "delete",
126
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/certificates/methods/delete",
127
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/certificates/methods/delete",
128
+ "docCommand": "openai admin:organization:certificates delete --admin-api-key 'My Admin API Key' --certificate-id certificate_id",
129
+ "docFlags": [
130
+ "certificate-id"
131
+ ]
132
+ },
133
+ {
134
+ "commandPath": [
135
+ "admin",
136
+ "organization",
137
+ "certificates",
138
+ "list"
139
+ ],
140
+ "httpMethod": "get",
141
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/certificates/methods/list",
142
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/certificates/methods/list",
143
+ "docCommand": "openai admin:organization:certificates list --admin-api-key 'My Admin API Key'",
144
+ "docFlags": []
145
+ },
146
+ {
147
+ "commandPath": [
148
+ "admin",
149
+ "organization",
150
+ "certificates",
151
+ "retrieve"
152
+ ],
153
+ "httpMethod": "get",
154
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/certificates/methods/retrieve",
155
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/certificates/methods/retrieve",
156
+ "docCommand": "openai admin:organization:certificates retrieve --admin-api-key 'My Admin API Key' --certificate-id certificate_id",
157
+ "docFlags": [
158
+ "certificate-id"
159
+ ]
160
+ },
161
+ {
162
+ "commandPath": [
163
+ "admin",
164
+ "organization",
165
+ "certificates",
166
+ "update"
167
+ ],
168
+ "httpMethod": "post",
169
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/certificates/methods/update",
170
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/certificates/methods/update",
171
+ "docCommand": "openai admin:organization:certificates update --admin-api-key 'My Admin API Key' --certificate-id certificate_id",
172
+ "docFlags": [
173
+ "certificate-id"
174
+ ]
175
+ },
176
+ {
177
+ "commandPath": [
178
+ "admin",
179
+ "organization",
180
+ "data-retention",
181
+ "retrieve"
182
+ ],
183
+ "httpMethod": "get",
184
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/data_retention/methods/retrieve",
185
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/data_retention/methods/retrieve",
186
+ "docCommand": "openai admin:organization:data-retention retrieve --admin-api-key 'My Admin API Key'",
187
+ "docFlags": []
188
+ },
189
+ {
190
+ "commandPath": [
191
+ "admin",
192
+ "organization",
193
+ "data-retention",
194
+ "update"
195
+ ],
196
+ "httpMethod": "post",
197
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/data_retention/methods/update",
198
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/data_retention/methods/update",
199
+ "docCommand": "openai admin:organization:data-retention update --admin-api-key 'My Admin API Key' --retention-type zero_data_retention",
200
+ "docFlags": [
201
+ "retention-type"
202
+ ]
203
+ },
204
+ {
205
+ "commandPath": [
206
+ "admin",
207
+ "organization",
208
+ "groups",
209
+ "create"
210
+ ],
211
+ "httpMethod": "post",
212
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/groups/methods/create",
213
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/methods/create",
214
+ "docCommand": "openai admin:organization:groups create --admin-api-key 'My Admin API Key' --name x",
215
+ "docFlags": [
216
+ "name"
217
+ ]
218
+ },
219
+ {
220
+ "commandPath": [
221
+ "admin",
222
+ "organization",
223
+ "groups",
224
+ "delete"
225
+ ],
226
+ "httpMethod": "delete",
227
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/groups/methods/delete",
228
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/methods/delete",
229
+ "docCommand": "openai admin:organization:groups delete --admin-api-key 'My Admin API Key' --group-id group_id",
230
+ "docFlags": [
231
+ "group-id"
232
+ ]
233
+ },
234
+ {
235
+ "commandPath": [
236
+ "admin",
237
+ "organization",
238
+ "groups",
239
+ "list"
240
+ ],
241
+ "httpMethod": "get",
242
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/groups/methods/list",
243
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/methods/list",
244
+ "docCommand": "openai admin:organization:groups list --admin-api-key 'My Admin API Key'",
245
+ "docFlags": []
246
+ },
247
+ {
248
+ "commandPath": [
249
+ "admin",
250
+ "organization",
251
+ "groups",
252
+ "retrieve"
253
+ ],
254
+ "httpMethod": "get",
255
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/groups/methods/retrieve",
256
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/methods/retrieve",
257
+ "docCommand": "openai admin:organization:groups retrieve --admin-api-key 'My Admin API Key' --group-id group_id",
258
+ "docFlags": [
259
+ "group-id"
260
+ ]
261
+ },
262
+ {
263
+ "commandPath": [
264
+ "admin",
265
+ "organization",
266
+ "groups",
267
+ "roles",
268
+ "create"
269
+ ],
270
+ "httpMethod": "post",
271
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/groups/subresources/roles/methods/create",
272
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/subresources/roles/methods/create",
273
+ "docCommand": "openai admin:organization:groups:roles create --admin-api-key 'My Admin API Key' --group-id group_id --role-id role_id",
274
+ "docFlags": [
275
+ "group-id",
276
+ "role-id"
277
+ ]
278
+ },
279
+ {
280
+ "commandPath": [
281
+ "admin",
282
+ "organization",
283
+ "groups",
284
+ "roles",
285
+ "delete"
286
+ ],
287
+ "httpMethod": "delete",
288
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/groups/subresources/roles/methods/delete",
289
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/subresources/roles/methods/delete",
290
+ "docCommand": "openai admin:organization:groups:roles delete --admin-api-key 'My Admin API Key' --group-id group_id --role-id role_id",
291
+ "docFlags": [
292
+ "group-id",
293
+ "role-id"
294
+ ]
295
+ },
296
+ {
297
+ "commandPath": [
298
+ "admin",
299
+ "organization",
300
+ "groups",
301
+ "roles",
302
+ "list"
303
+ ],
304
+ "httpMethod": "get",
305
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/groups/subresources/roles/methods/list",
306
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/subresources/roles/methods/list",
307
+ "docCommand": "openai admin:organization:groups:roles list --admin-api-key 'My Admin API Key' --group-id group_id",
308
+ "docFlags": [
309
+ "group-id"
310
+ ]
311
+ },
312
+ {
313
+ "commandPath": [
314
+ "admin",
315
+ "organization",
316
+ "groups",
317
+ "roles",
318
+ "retrieve"
319
+ ],
320
+ "httpMethod": "get",
321
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/groups/subresources/roles/methods/retrieve",
322
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/subresources/roles/methods/retrieve",
323
+ "docCommand": "openai admin:organization:groups:roles retrieve --admin-api-key 'My Admin API Key' --group-id group_id --role-id role_id",
324
+ "docFlags": [
325
+ "group-id",
326
+ "role-id"
327
+ ]
328
+ },
329
+ {
330
+ "commandPath": [
331
+ "admin",
332
+ "organization",
333
+ "groups",
334
+ "update"
335
+ ],
336
+ "httpMethod": "post",
337
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/groups/methods/update",
338
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/methods/update",
339
+ "docCommand": "openai admin:organization:groups update --admin-api-key 'My Admin API Key' --group-id group_id --name x",
340
+ "docFlags": [
341
+ "group-id",
342
+ "name"
343
+ ]
344
+ },
345
+ {
346
+ "commandPath": [
347
+ "admin",
348
+ "organization",
349
+ "groups",
350
+ "users",
351
+ "create"
352
+ ],
353
+ "httpMethod": "post",
354
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/groups/subresources/users/methods/create",
355
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/subresources/users/methods/create",
356
+ "docCommand": "openai admin:organization:groups:users create --admin-api-key 'My Admin API Key' --group-id group_id --user-id user_id",
357
+ "docFlags": [
358
+ "group-id",
359
+ "user-id"
360
+ ]
361
+ },
362
+ {
363
+ "commandPath": [
364
+ "admin",
365
+ "organization",
366
+ "groups",
367
+ "users",
368
+ "delete"
369
+ ],
370
+ "httpMethod": "delete",
371
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/groups/subresources/users/methods/delete",
372
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/subresources/users/methods/delete",
373
+ "docCommand": "openai admin:organization:groups:users delete --admin-api-key 'My Admin API Key' --group-id group_id --user-id user_id",
374
+ "docFlags": [
375
+ "group-id",
376
+ "user-id"
377
+ ]
378
+ },
379
+ {
380
+ "commandPath": [
381
+ "admin",
382
+ "organization",
383
+ "groups",
384
+ "users",
385
+ "list"
386
+ ],
387
+ "httpMethod": "get",
388
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/groups/subresources/users/methods/list",
389
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/subresources/users/methods/list",
390
+ "docCommand": "openai admin:organization:groups:users list --admin-api-key 'My Admin API Key' --group-id group_id",
391
+ "docFlags": [
392
+ "group-id"
393
+ ]
394
+ },
395
+ {
396
+ "commandPath": [
397
+ "admin",
398
+ "organization",
399
+ "groups",
400
+ "users",
401
+ "retrieve"
402
+ ],
403
+ "httpMethod": "get",
404
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/groups/subresources/users/methods/retrieve",
405
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/subresources/users/methods/retrieve",
406
+ "docCommand": "openai admin:organization:groups:users retrieve --admin-api-key 'My Admin API Key' --group-id group_id --user-id user_id",
407
+ "docFlags": [
408
+ "group-id",
409
+ "user-id"
410
+ ]
411
+ },
412
+ {
413
+ "commandPath": [
414
+ "admin",
415
+ "organization",
416
+ "invites",
417
+ "create"
418
+ ],
419
+ "httpMethod": "post",
420
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/invites/methods/create",
421
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/invites/methods/create",
422
+ "docCommand": "openai admin:organization:invites create --admin-api-key 'My Admin API Key' --email email --role reader",
423
+ "docFlags": [
424
+ "email",
425
+ "role"
426
+ ]
427
+ },
428
+ {
429
+ "commandPath": [
430
+ "admin",
431
+ "organization",
432
+ "invites",
433
+ "delete"
434
+ ],
435
+ "httpMethod": "delete",
436
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/invites/methods/delete",
437
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/invites/methods/delete",
438
+ "docCommand": "openai admin:organization:invites delete --admin-api-key 'My Admin API Key' --invite-id invite_id",
439
+ "docFlags": [
440
+ "invite-id"
441
+ ]
442
+ },
443
+ {
444
+ "commandPath": [
445
+ "admin",
446
+ "organization",
447
+ "invites",
448
+ "list"
449
+ ],
450
+ "httpMethod": "get",
451
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/invites/methods/list",
452
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/invites/methods/list",
453
+ "docCommand": "openai admin:organization:invites list --admin-api-key 'My Admin API Key'",
454
+ "docFlags": []
455
+ },
456
+ {
457
+ "commandPath": [
458
+ "admin",
459
+ "organization",
460
+ "invites",
461
+ "retrieve"
462
+ ],
463
+ "httpMethod": "get",
464
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/invites/methods/retrieve",
465
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/invites/methods/retrieve",
466
+ "docCommand": "openai admin:organization:invites retrieve --admin-api-key 'My Admin API Key' --invite-id invite_id",
467
+ "docFlags": [
468
+ "invite-id"
469
+ ]
470
+ },
471
+ {
472
+ "commandPath": [
473
+ "admin",
474
+ "organization",
475
+ "projects",
476
+ "api-keys",
477
+ "delete"
478
+ ],
479
+ "httpMethod": "delete",
480
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/api_keys/methods/delete",
481
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/api_keys/methods/delete",
482
+ "docCommand": "openai admin:organization:projects:api-keys delete --admin-api-key 'My Admin API Key' --project-id project_id --api-key-id api_key_id",
483
+ "docFlags": [
484
+ "api-key-id",
485
+ "project-id"
486
+ ]
487
+ },
488
+ {
489
+ "commandPath": [
490
+ "admin",
491
+ "organization",
492
+ "projects",
493
+ "api-keys",
494
+ "list"
495
+ ],
496
+ "httpMethod": "get",
497
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/api_keys/methods/list",
498
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/api_keys/methods/list",
499
+ "docCommand": "openai admin:organization:projects:api-keys list --admin-api-key 'My Admin API Key' --project-id project_id",
500
+ "docFlags": [
501
+ "project-id"
502
+ ]
503
+ },
504
+ {
505
+ "commandPath": [
506
+ "admin",
507
+ "organization",
508
+ "projects",
509
+ "api-keys",
510
+ "retrieve"
511
+ ],
512
+ "httpMethod": "get",
513
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/api_keys/methods/retrieve",
514
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/api_keys/methods/retrieve",
515
+ "docCommand": "openai admin:organization:projects:api-keys retrieve --admin-api-key 'My Admin API Key' --project-id project_id --api-key-id api_key_id",
516
+ "docFlags": [
517
+ "api-key-id",
518
+ "project-id"
519
+ ]
520
+ },
521
+ {
522
+ "commandPath": [
523
+ "admin",
524
+ "organization",
525
+ "projects",
526
+ "archive"
527
+ ],
528
+ "httpMethod": "post",
529
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/methods/archive",
530
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/methods/archive",
531
+ "docCommand": "openai admin:organization:projects archive --admin-api-key 'My Admin API Key' --project-id project_id",
532
+ "docFlags": [
533
+ "project-id"
534
+ ]
535
+ },
536
+ {
537
+ "commandPath": [
538
+ "admin",
539
+ "organization",
540
+ "projects",
541
+ "certificates",
542
+ "activate"
543
+ ],
544
+ "httpMethod": "post",
545
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/certificates/methods/activate",
546
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/certificates/methods/activate",
547
+ "docCommand": "openai admin:organization:projects:certificates activate --admin-api-key 'My Admin API Key' --project-id project_id --certificate-id cert_abc",
548
+ "docFlags": [
549
+ "certificate-id",
550
+ "project-id"
551
+ ]
552
+ },
553
+ {
554
+ "commandPath": [
555
+ "admin",
556
+ "organization",
557
+ "projects",
558
+ "certificates",
559
+ "deactivate"
560
+ ],
561
+ "httpMethod": "post",
562
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/certificates/methods/deactivate",
563
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/certificates/methods/deactivate",
564
+ "docCommand": "openai admin:organization:projects:certificates deactivate --admin-api-key 'My Admin API Key' --project-id project_id --certificate-id cert_abc",
565
+ "docFlags": [
566
+ "certificate-id",
567
+ "project-id"
568
+ ]
569
+ },
570
+ {
571
+ "commandPath": [
572
+ "admin",
573
+ "organization",
574
+ "projects",
575
+ "certificates",
576
+ "list"
577
+ ],
578
+ "httpMethod": "get",
579
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/certificates/methods/list",
580
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/certificates/methods/list",
581
+ "docCommand": "openai admin:organization:projects:certificates list --admin-api-key 'My Admin API Key' --project-id project_id",
582
+ "docFlags": [
583
+ "project-id"
584
+ ]
585
+ },
586
+ {
587
+ "commandPath": [
588
+ "admin",
589
+ "organization",
590
+ "projects",
591
+ "create"
592
+ ],
593
+ "httpMethod": "post",
594
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/methods/create",
595
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/methods/create",
596
+ "docCommand": "openai admin:organization:projects create --admin-api-key 'My Admin API Key' --name name",
597
+ "docFlags": [
598
+ "name"
599
+ ]
600
+ },
601
+ {
602
+ "commandPath": [
603
+ "admin",
604
+ "organization",
605
+ "projects",
606
+ "data-retention",
607
+ "retrieve"
608
+ ],
609
+ "httpMethod": "get",
610
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/data_retention/methods/retrieve",
611
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/data_retention/methods/retrieve",
612
+ "docCommand": "openai admin:organization:projects:data-retention retrieve --admin-api-key 'My Admin API Key' --project-id project_id",
613
+ "docFlags": [
614
+ "project-id"
615
+ ]
616
+ },
617
+ {
618
+ "commandPath": [
619
+ "admin",
620
+ "organization",
621
+ "projects",
622
+ "data-retention",
623
+ "update"
624
+ ],
625
+ "httpMethod": "post",
626
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/data_retention/methods/update",
627
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/data_retention/methods/update",
628
+ "docCommand": "openai admin:organization:projects:data-retention update --admin-api-key 'My Admin API Key' --project-id project_id --retention-type organization_default",
629
+ "docFlags": [
630
+ "project-id",
631
+ "retention-type"
632
+ ]
633
+ },
634
+ {
635
+ "commandPath": [
636
+ "admin",
637
+ "organization",
638
+ "projects",
639
+ "groups",
640
+ "create"
641
+ ],
642
+ "httpMethod": "post",
643
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/groups/methods/create",
644
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/groups/methods/create",
645
+ "docCommand": "openai admin:organization:projects:groups create --admin-api-key 'My Admin API Key' --project-id project_id --group-id group_id --role role",
646
+ "docFlags": [
647
+ "group-id",
648
+ "project-id",
649
+ "role"
650
+ ]
651
+ },
652
+ {
653
+ "commandPath": [
654
+ "admin",
655
+ "organization",
656
+ "projects",
657
+ "groups",
658
+ "delete"
659
+ ],
660
+ "httpMethod": "delete",
661
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/groups/methods/delete",
662
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/groups/methods/delete",
663
+ "docCommand": "openai admin:organization:projects:groups delete --admin-api-key 'My Admin API Key' --project-id project_id --group-id group_id",
664
+ "docFlags": [
665
+ "group-id",
666
+ "project-id"
667
+ ]
668
+ },
669
+ {
670
+ "commandPath": [
671
+ "admin",
672
+ "organization",
673
+ "projects",
674
+ "groups",
675
+ "list"
676
+ ],
677
+ "httpMethod": "get",
678
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/groups/methods/list",
679
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/groups/methods/list",
680
+ "docCommand": "openai admin:organization:projects:groups list --admin-api-key 'My Admin API Key' --project-id project_id",
681
+ "docFlags": [
682
+ "project-id"
683
+ ]
684
+ },
685
+ {
686
+ "commandPath": [
687
+ "admin",
688
+ "organization",
689
+ "projects",
690
+ "groups",
691
+ "retrieve"
692
+ ],
693
+ "httpMethod": "get",
694
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/groups/methods/retrieve",
695
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/groups/methods/retrieve",
696
+ "docCommand": "openai admin:organization:projects:groups retrieve --admin-api-key 'My Admin API Key' --project-id project_id --group-id group_id",
697
+ "docFlags": [
698
+ "group-id",
699
+ "project-id"
700
+ ]
701
+ },
702
+ {
703
+ "commandPath": [
704
+ "admin",
705
+ "organization",
706
+ "projects",
707
+ "groups",
708
+ "roles",
709
+ "create"
710
+ ],
711
+ "httpMethod": "post",
712
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/groups/subresources/roles/methods/create",
713
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/groups/subresources/roles/methods/create",
714
+ "docCommand": "openai admin:organization:projects:groups:roles create --admin-api-key 'My Admin API Key' --project-id project_id --group-id group_id --role-id role_id",
715
+ "docFlags": [
716
+ "group-id",
717
+ "project-id",
718
+ "role-id"
719
+ ]
720
+ },
721
+ {
722
+ "commandPath": [
723
+ "admin",
724
+ "organization",
725
+ "projects",
726
+ "groups",
727
+ "roles",
728
+ "delete"
729
+ ],
730
+ "httpMethod": "delete",
731
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/groups/subresources/roles/methods/delete",
732
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/groups/subresources/roles/methods/delete",
733
+ "docCommand": "openai admin:organization:projects:groups:roles delete --admin-api-key 'My Admin API Key' --project-id project_id --group-id group_id --role-id role_id",
734
+ "docFlags": [
735
+ "group-id",
736
+ "project-id",
737
+ "role-id"
738
+ ]
739
+ },
740
+ {
741
+ "commandPath": [
742
+ "admin",
743
+ "organization",
744
+ "projects",
745
+ "groups",
746
+ "roles",
747
+ "list"
748
+ ],
749
+ "httpMethod": "get",
750
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/groups/subresources/roles/methods/list",
751
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/groups/subresources/roles/methods/list",
752
+ "docCommand": "openai admin:organization:projects:groups:roles list --admin-api-key 'My Admin API Key' --project-id project_id --group-id group_id",
753
+ "docFlags": [
754
+ "group-id",
755
+ "project-id"
756
+ ]
757
+ },
758
+ {
759
+ "commandPath": [
760
+ "admin",
761
+ "organization",
762
+ "projects",
763
+ "groups",
764
+ "roles",
765
+ "retrieve"
766
+ ],
767
+ "httpMethod": "get",
768
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/groups/subresources/roles/methods/retrieve",
769
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/groups/subresources/roles/methods/retrieve",
770
+ "docCommand": "openai admin:organization:projects:groups:roles retrieve --admin-api-key 'My Admin API Key' --project-id project_id --group-id group_id --role-id role_id",
771
+ "docFlags": [
772
+ "group-id",
773
+ "project-id",
774
+ "role-id"
775
+ ]
776
+ },
777
+ {
778
+ "commandPath": [
779
+ "admin",
780
+ "organization",
781
+ "projects",
782
+ "hosted-tool-permissions",
783
+ "retrieve"
784
+ ],
785
+ "httpMethod": "get",
786
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/hosted_tool_permissions/methods/retrieve",
787
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/hosted_tool_permissions/methods/retrieve",
788
+ "docCommand": "openai admin:organization:projects:hosted-tool-permissions retrieve --admin-api-key 'My Admin API Key' --project-id project_id",
789
+ "docFlags": [
790
+ "project-id"
791
+ ]
792
+ },
793
+ {
794
+ "commandPath": [
795
+ "admin",
796
+ "organization",
797
+ "projects",
798
+ "hosted-tool-permissions",
799
+ "update"
800
+ ],
801
+ "httpMethod": "post",
802
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/hosted_tool_permissions/methods/update",
803
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/hosted_tool_permissions/methods/update",
804
+ "docCommand": "openai admin:organization:projects:hosted-tool-permissions update --admin-api-key 'My Admin API Key' --project-id project_id",
805
+ "docFlags": [
806
+ "project-id"
807
+ ]
808
+ },
809
+ {
810
+ "commandPath": [
811
+ "admin",
812
+ "organization",
813
+ "projects",
814
+ "list"
815
+ ],
816
+ "httpMethod": "get",
817
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/methods/list",
818
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/methods/list",
819
+ "docCommand": "openai admin:organization:projects list --admin-api-key 'My Admin API Key'",
820
+ "docFlags": []
821
+ },
822
+ {
823
+ "commandPath": [
824
+ "admin",
825
+ "organization",
826
+ "projects",
827
+ "model-permissions",
828
+ "delete"
829
+ ],
830
+ "httpMethod": "delete",
831
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/model_permissions/methods/delete",
832
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/model_permissions/methods/delete",
833
+ "docCommand": "openai admin:organization:projects:model-permissions delete --admin-api-key 'My Admin API Key' --project-id project_id",
834
+ "docFlags": [
835
+ "project-id"
836
+ ]
837
+ },
838
+ {
839
+ "commandPath": [
840
+ "admin",
841
+ "organization",
842
+ "projects",
843
+ "model-permissions",
844
+ "retrieve"
845
+ ],
846
+ "httpMethod": "get",
847
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/model_permissions/methods/retrieve",
848
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/model_permissions/methods/retrieve",
849
+ "docCommand": "openai admin:organization:projects:model-permissions retrieve --admin-api-key 'My Admin API Key' --project-id project_id",
850
+ "docFlags": [
851
+ "project-id"
852
+ ]
853
+ },
854
+ {
855
+ "commandPath": [
856
+ "admin",
857
+ "organization",
858
+ "projects",
859
+ "model-permissions",
860
+ "update"
861
+ ],
862
+ "httpMethod": "post",
863
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/model_permissions/methods/update",
864
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/model_permissions/methods/update",
865
+ "docCommand": "openai admin:organization:projects:model-permissions update --admin-api-key 'My Admin API Key' --project-id project_id --mode allow_list --model-id string",
866
+ "docFlags": [
867
+ "mode",
868
+ "model-id",
869
+ "project-id"
870
+ ]
871
+ },
872
+ {
873
+ "commandPath": [
874
+ "admin",
875
+ "organization",
876
+ "projects",
877
+ "rate-limits",
878
+ "list-rate-limits"
879
+ ],
880
+ "httpMethod": "get",
881
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/rate_limits/methods/list_rate_limits",
882
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/rate_limits/methods/list_rate_limits",
883
+ "docCommand": "openai admin:organization:projects:rate-limits list-rate-limits --admin-api-key 'My Admin API Key' --project-id project_id",
884
+ "docFlags": [
885
+ "project-id"
886
+ ]
887
+ },
888
+ {
889
+ "commandPath": [
890
+ "admin",
891
+ "organization",
892
+ "projects",
893
+ "rate-limits",
894
+ "update-rate-limit"
895
+ ],
896
+ "httpMethod": "post",
897
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/rate_limits/methods/update_rate_limit",
898
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/rate_limits/methods/update_rate_limit",
899
+ "docCommand": "openai admin:organization:projects:rate-limits update-rate-limit --admin-api-key 'My Admin API Key' --project-id project_id --rate-limit-id rate_limit_id",
900
+ "docFlags": [
901
+ "project-id",
902
+ "rate-limit-id"
903
+ ]
904
+ },
905
+ {
906
+ "commandPath": [
907
+ "admin",
908
+ "organization",
909
+ "projects",
910
+ "retrieve"
911
+ ],
912
+ "httpMethod": "get",
913
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/methods/retrieve",
914
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/methods/retrieve",
915
+ "docCommand": "openai admin:organization:projects retrieve --admin-api-key 'My Admin API Key' --project-id project_id",
916
+ "docFlags": [
917
+ "project-id"
918
+ ]
919
+ },
920
+ {
921
+ "commandPath": [
922
+ "admin",
923
+ "organization",
924
+ "projects",
925
+ "roles",
926
+ "create"
927
+ ],
928
+ "httpMethod": "post",
929
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/roles/methods/create",
930
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/roles/methods/create",
931
+ "docCommand": "openai admin:organization:projects:roles create --admin-api-key 'My Admin API Key' --project-id project_id --permission string --role-name role_name",
932
+ "docFlags": [
933
+ "permission",
934
+ "project-id",
935
+ "role-name"
936
+ ]
937
+ },
938
+ {
939
+ "commandPath": [
940
+ "admin",
941
+ "organization",
942
+ "projects",
943
+ "roles",
944
+ "delete"
945
+ ],
946
+ "httpMethod": "delete",
947
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/roles/methods/delete",
948
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/roles/methods/delete",
949
+ "docCommand": "openai admin:organization:projects:roles delete --admin-api-key 'My Admin API Key' --project-id project_id --role-id role_id",
950
+ "docFlags": [
951
+ "project-id",
952
+ "role-id"
953
+ ]
954
+ },
955
+ {
956
+ "commandPath": [
957
+ "admin",
958
+ "organization",
959
+ "projects",
960
+ "roles",
961
+ "list"
962
+ ],
963
+ "httpMethod": "get",
964
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/roles/methods/list",
965
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/roles/methods/list",
966
+ "docCommand": "openai admin:organization:projects:roles list --admin-api-key 'My Admin API Key' --project-id project_id",
967
+ "docFlags": [
968
+ "project-id"
969
+ ]
970
+ },
971
+ {
972
+ "commandPath": [
973
+ "admin",
974
+ "organization",
975
+ "projects",
976
+ "roles",
977
+ "retrieve"
978
+ ],
979
+ "httpMethod": "get",
980
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/roles/methods/retrieve",
981
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/roles/methods/retrieve",
982
+ "docCommand": "openai admin:organization:projects:roles retrieve --admin-api-key 'My Admin API Key' --project-id project_id --role-id role_id",
983
+ "docFlags": [
984
+ "project-id",
985
+ "role-id"
986
+ ]
987
+ },
988
+ {
989
+ "commandPath": [
990
+ "admin",
991
+ "organization",
992
+ "projects",
993
+ "roles",
994
+ "update"
995
+ ],
996
+ "httpMethod": "post",
997
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/roles/methods/update",
998
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/roles/methods/update",
999
+ "docCommand": "openai admin:organization:projects:roles update --admin-api-key 'My Admin API Key' --project-id project_id --role-id role_id",
1000
+ "docFlags": [
1001
+ "project-id",
1002
+ "role-id"
1003
+ ]
1004
+ },
1005
+ {
1006
+ "commandPath": [
1007
+ "admin",
1008
+ "organization",
1009
+ "projects",
1010
+ "service-accounts",
1011
+ "create"
1012
+ ],
1013
+ "httpMethod": "post",
1014
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/service_accounts/methods/create",
1015
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/service_accounts/methods/create",
1016
+ "docCommand": "openai admin:organization:projects:service-accounts create --admin-api-key 'My Admin API Key' --project-id project_id --name name",
1017
+ "docFlags": [
1018
+ "name",
1019
+ "project-id"
1020
+ ]
1021
+ },
1022
+ {
1023
+ "commandPath": [
1024
+ "admin",
1025
+ "organization",
1026
+ "projects",
1027
+ "service-accounts",
1028
+ "delete"
1029
+ ],
1030
+ "httpMethod": "delete",
1031
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/service_accounts/methods/delete",
1032
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/service_accounts/methods/delete",
1033
+ "docCommand": "openai admin:organization:projects:service-accounts delete --admin-api-key 'My Admin API Key' --project-id project_id --service-account-id service_account_id",
1034
+ "docFlags": [
1035
+ "project-id",
1036
+ "service-account-id"
1037
+ ]
1038
+ },
1039
+ {
1040
+ "commandPath": [
1041
+ "admin",
1042
+ "organization",
1043
+ "projects",
1044
+ "service-accounts",
1045
+ "list"
1046
+ ],
1047
+ "httpMethod": "get",
1048
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/service_accounts/methods/list",
1049
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/service_accounts/methods/list",
1050
+ "docCommand": "openai admin:organization:projects:service-accounts list --admin-api-key 'My Admin API Key' --project-id project_id",
1051
+ "docFlags": [
1052
+ "project-id"
1053
+ ]
1054
+ },
1055
+ {
1056
+ "commandPath": [
1057
+ "admin",
1058
+ "organization",
1059
+ "projects",
1060
+ "service-accounts",
1061
+ "retrieve"
1062
+ ],
1063
+ "httpMethod": "get",
1064
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/service_accounts/methods/retrieve",
1065
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/service_accounts/methods/retrieve",
1066
+ "docCommand": "openai admin:organization:projects:service-accounts retrieve --admin-api-key 'My Admin API Key' --project-id project_id --service-account-id service_account_id",
1067
+ "docFlags": [
1068
+ "project-id",
1069
+ "service-account-id"
1070
+ ]
1071
+ },
1072
+ {
1073
+ "commandPath": [
1074
+ "admin",
1075
+ "organization",
1076
+ "projects",
1077
+ "service-accounts",
1078
+ "update"
1079
+ ],
1080
+ "httpMethod": "post",
1081
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/service_accounts/methods/update",
1082
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/service_accounts/methods/update",
1083
+ "docCommand": "openai admin:organization:projects:service-accounts update --admin-api-key 'My Admin API Key' --project-id project_id --service-account-id service_account_id",
1084
+ "docFlags": [
1085
+ "project-id",
1086
+ "service-account-id"
1087
+ ]
1088
+ },
1089
+ {
1090
+ "commandPath": [
1091
+ "admin",
1092
+ "organization",
1093
+ "projects",
1094
+ "spend-alerts",
1095
+ "create"
1096
+ ],
1097
+ "httpMethod": "post",
1098
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/spend_alerts/methods/create",
1099
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/spend_alerts/methods/create",
1100
+ "docCommand": "openai admin:organization:projects:spend-alerts create --admin-api-key 'My Admin API Key' --project-id project_id --currency USD --interval month --notification-channel '{recipients: [string], type: email}' --threshold-amount 0",
1101
+ "docFlags": [
1102
+ "currency",
1103
+ "interval",
1104
+ "notification-channel",
1105
+ "project-id",
1106
+ "threshold-amount"
1107
+ ]
1108
+ },
1109
+ {
1110
+ "commandPath": [
1111
+ "admin",
1112
+ "organization",
1113
+ "projects",
1114
+ "spend-alerts",
1115
+ "delete"
1116
+ ],
1117
+ "httpMethod": "delete",
1118
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/spend_alerts/methods/delete",
1119
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/spend_alerts/methods/delete",
1120
+ "docCommand": "openai admin:organization:projects:spend-alerts delete --admin-api-key 'My Admin API Key' --project-id project_id --alert-id alert_id",
1121
+ "docFlags": [
1122
+ "alert-id",
1123
+ "project-id"
1124
+ ]
1125
+ },
1126
+ {
1127
+ "commandPath": [
1128
+ "admin",
1129
+ "organization",
1130
+ "projects",
1131
+ "spend-alerts",
1132
+ "list"
1133
+ ],
1134
+ "httpMethod": "get",
1135
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/spend_alerts/methods/list",
1136
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/spend_alerts/methods/list",
1137
+ "docCommand": "openai admin:organization:projects:spend-alerts list --admin-api-key 'My Admin API Key' --project-id project_id",
1138
+ "docFlags": [
1139
+ "project-id"
1140
+ ]
1141
+ },
1142
+ {
1143
+ "commandPath": [
1144
+ "admin",
1145
+ "organization",
1146
+ "projects",
1147
+ "spend-alerts",
1148
+ "retrieve"
1149
+ ],
1150
+ "httpMethod": "get",
1151
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/spend_alerts/methods/retrieve",
1152
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/spend_alerts/methods/retrieve",
1153
+ "docCommand": "openai admin:organization:projects:spend-alerts retrieve --admin-api-key 'My Admin API Key' --project-id project_id --alert-id alert_id",
1154
+ "docFlags": [
1155
+ "alert-id",
1156
+ "project-id"
1157
+ ]
1158
+ },
1159
+ {
1160
+ "commandPath": [
1161
+ "admin",
1162
+ "organization",
1163
+ "projects",
1164
+ "spend-alerts",
1165
+ "update"
1166
+ ],
1167
+ "httpMethod": "post",
1168
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/spend_alerts/methods/update",
1169
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/spend_alerts/methods/update",
1170
+ "docCommand": "openai admin:organization:projects:spend-alerts update --admin-api-key 'My Admin API Key' --project-id project_id --alert-id alert_id --currency USD --interval month --notification-channel '{recipients: [string], type: email}' --threshold-amount 0",
1171
+ "docFlags": [
1172
+ "alert-id",
1173
+ "currency",
1174
+ "interval",
1175
+ "notification-channel",
1176
+ "project-id",
1177
+ "threshold-amount"
1178
+ ]
1179
+ },
1180
+ {
1181
+ "commandPath": [
1182
+ "admin",
1183
+ "organization",
1184
+ "projects",
1185
+ "update"
1186
+ ],
1187
+ "httpMethod": "post",
1188
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/methods/update",
1189
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/methods/update",
1190
+ "docCommand": "openai admin:organization:projects update --admin-api-key 'My Admin API Key' --project-id project_id",
1191
+ "docFlags": [
1192
+ "project-id"
1193
+ ]
1194
+ },
1195
+ {
1196
+ "commandPath": [
1197
+ "admin",
1198
+ "organization",
1199
+ "projects",
1200
+ "users",
1201
+ "create"
1202
+ ],
1203
+ "httpMethod": "post",
1204
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/users/methods/create",
1205
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/users/methods/create",
1206
+ "docCommand": "openai admin:organization:projects:users create --admin-api-key 'My Admin API Key' --project-id project_id --role role",
1207
+ "docFlags": [
1208
+ "project-id",
1209
+ "role"
1210
+ ]
1211
+ },
1212
+ {
1213
+ "commandPath": [
1214
+ "admin",
1215
+ "organization",
1216
+ "projects",
1217
+ "users",
1218
+ "delete"
1219
+ ],
1220
+ "httpMethod": "delete",
1221
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/users/methods/delete",
1222
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/users/methods/delete",
1223
+ "docCommand": "openai admin:organization:projects:users delete --admin-api-key 'My Admin API Key' --project-id project_id --user-id user_id",
1224
+ "docFlags": [
1225
+ "project-id",
1226
+ "user-id"
1227
+ ]
1228
+ },
1229
+ {
1230
+ "commandPath": [
1231
+ "admin",
1232
+ "organization",
1233
+ "projects",
1234
+ "users",
1235
+ "list"
1236
+ ],
1237
+ "httpMethod": "get",
1238
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/users/methods/list",
1239
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/users/methods/list",
1240
+ "docCommand": "openai admin:organization:projects:users list --admin-api-key 'My Admin API Key' --project-id project_id",
1241
+ "docFlags": [
1242
+ "project-id"
1243
+ ]
1244
+ },
1245
+ {
1246
+ "commandPath": [
1247
+ "admin",
1248
+ "organization",
1249
+ "projects",
1250
+ "users",
1251
+ "retrieve"
1252
+ ],
1253
+ "httpMethod": "get",
1254
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/users/methods/retrieve",
1255
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/users/methods/retrieve",
1256
+ "docCommand": "openai admin:organization:projects:users retrieve --admin-api-key 'My Admin API Key' --project-id project_id --user-id user_id",
1257
+ "docFlags": [
1258
+ "project-id",
1259
+ "user-id"
1260
+ ]
1261
+ },
1262
+ {
1263
+ "commandPath": [
1264
+ "admin",
1265
+ "organization",
1266
+ "projects",
1267
+ "users",
1268
+ "roles",
1269
+ "create"
1270
+ ],
1271
+ "httpMethod": "post",
1272
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/users/subresources/roles/methods/create",
1273
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/users/subresources/roles/methods/create",
1274
+ "docCommand": "openai admin:organization:projects:users:roles create --admin-api-key 'My Admin API Key' --project-id project_id --user-id user_id --role-id role_id",
1275
+ "docFlags": [
1276
+ "project-id",
1277
+ "role-id",
1278
+ "user-id"
1279
+ ]
1280
+ },
1281
+ {
1282
+ "commandPath": [
1283
+ "admin",
1284
+ "organization",
1285
+ "projects",
1286
+ "users",
1287
+ "roles",
1288
+ "delete"
1289
+ ],
1290
+ "httpMethod": "delete",
1291
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/users/subresources/roles/methods/delete",
1292
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/users/subresources/roles/methods/delete",
1293
+ "docCommand": "openai admin:organization:projects:users:roles delete --admin-api-key 'My Admin API Key' --project-id project_id --user-id user_id --role-id role_id",
1294
+ "docFlags": [
1295
+ "project-id",
1296
+ "role-id",
1297
+ "user-id"
1298
+ ]
1299
+ },
1300
+ {
1301
+ "commandPath": [
1302
+ "admin",
1303
+ "organization",
1304
+ "projects",
1305
+ "users",
1306
+ "roles",
1307
+ "list"
1308
+ ],
1309
+ "httpMethod": "get",
1310
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/users/subresources/roles/methods/list",
1311
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/users/subresources/roles/methods/list",
1312
+ "docCommand": "openai admin:organization:projects:users:roles list --admin-api-key 'My Admin API Key' --project-id project_id --user-id user_id",
1313
+ "docFlags": [
1314
+ "project-id",
1315
+ "user-id"
1316
+ ]
1317
+ },
1318
+ {
1319
+ "commandPath": [
1320
+ "admin",
1321
+ "organization",
1322
+ "projects",
1323
+ "users",
1324
+ "roles",
1325
+ "retrieve"
1326
+ ],
1327
+ "httpMethod": "get",
1328
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/users/subresources/roles/methods/retrieve",
1329
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/users/subresources/roles/methods/retrieve",
1330
+ "docCommand": "openai admin:organization:projects:users:roles retrieve --admin-api-key 'My Admin API Key' --project-id project_id --user-id user_id --role-id role_id",
1331
+ "docFlags": [
1332
+ "project-id",
1333
+ "role-id",
1334
+ "user-id"
1335
+ ]
1336
+ },
1337
+ {
1338
+ "commandPath": [
1339
+ "admin",
1340
+ "organization",
1341
+ "projects",
1342
+ "users",
1343
+ "update"
1344
+ ],
1345
+ "httpMethod": "post",
1346
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/projects/subresources/users/methods/update",
1347
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/projects/subresources/users/methods/update",
1348
+ "docCommand": "openai admin:organization:projects:users update --admin-api-key 'My Admin API Key' --project-id project_id --user-id user_id",
1349
+ "docFlags": [
1350
+ "project-id",
1351
+ "user-id"
1352
+ ]
1353
+ },
1354
+ {
1355
+ "commandPath": [
1356
+ "admin",
1357
+ "organization",
1358
+ "roles",
1359
+ "create"
1360
+ ],
1361
+ "httpMethod": "post",
1362
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/roles/methods/create",
1363
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/roles/methods/create",
1364
+ "docCommand": "openai admin:organization:roles create --admin-api-key 'My Admin API Key' --permission string --role-name role_name",
1365
+ "docFlags": [
1366
+ "permission",
1367
+ "role-name"
1368
+ ]
1369
+ },
1370
+ {
1371
+ "commandPath": [
1372
+ "admin",
1373
+ "organization",
1374
+ "roles",
1375
+ "delete"
1376
+ ],
1377
+ "httpMethod": "delete",
1378
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/roles/methods/delete",
1379
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/roles/methods/delete",
1380
+ "docCommand": "openai admin:organization:roles delete --admin-api-key 'My Admin API Key' --role-id role_id",
1381
+ "docFlags": [
1382
+ "role-id"
1383
+ ]
1384
+ },
1385
+ {
1386
+ "commandPath": [
1387
+ "admin",
1388
+ "organization",
1389
+ "roles",
1390
+ "list"
1391
+ ],
1392
+ "httpMethod": "get",
1393
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/roles/methods/list",
1394
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/roles/methods/list",
1395
+ "docCommand": "openai admin:organization:roles list --admin-api-key 'My Admin API Key'",
1396
+ "docFlags": []
1397
+ },
1398
+ {
1399
+ "commandPath": [
1400
+ "admin",
1401
+ "organization",
1402
+ "roles",
1403
+ "retrieve"
1404
+ ],
1405
+ "httpMethod": "get",
1406
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/roles/methods/retrieve",
1407
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/roles/methods/retrieve",
1408
+ "docCommand": "openai admin:organization:roles retrieve --admin-api-key 'My Admin API Key' --role-id role_id",
1409
+ "docFlags": [
1410
+ "role-id"
1411
+ ]
1412
+ },
1413
+ {
1414
+ "commandPath": [
1415
+ "admin",
1416
+ "organization",
1417
+ "roles",
1418
+ "update"
1419
+ ],
1420
+ "httpMethod": "post",
1421
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/roles/methods/update",
1422
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/roles/methods/update",
1423
+ "docCommand": "openai admin:organization:roles update --admin-api-key 'My Admin API Key' --role-id role_id",
1424
+ "docFlags": [
1425
+ "role-id"
1426
+ ]
1427
+ },
1428
+ {
1429
+ "commandPath": [
1430
+ "admin",
1431
+ "organization",
1432
+ "spend-alerts",
1433
+ "create"
1434
+ ],
1435
+ "httpMethod": "post",
1436
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/spend_alerts/methods/create",
1437
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/spend_alerts/methods/create",
1438
+ "docCommand": "openai admin:organization:spend-alerts create --admin-api-key 'My Admin API Key' --currency USD --interval month --notification-channel '{recipients: [string], type: email}' --threshold-amount 0",
1439
+ "docFlags": [
1440
+ "currency",
1441
+ "interval",
1442
+ "notification-channel",
1443
+ "threshold-amount"
1444
+ ]
1445
+ },
1446
+ {
1447
+ "commandPath": [
1448
+ "admin",
1449
+ "organization",
1450
+ "spend-alerts",
1451
+ "delete"
1452
+ ],
1453
+ "httpMethod": "delete",
1454
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/spend_alerts/methods/delete",
1455
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/spend_alerts/methods/delete",
1456
+ "docCommand": "openai admin:organization:spend-alerts delete --admin-api-key 'My Admin API Key' --alert-id alert_id",
1457
+ "docFlags": [
1458
+ "alert-id"
1459
+ ]
1460
+ },
1461
+ {
1462
+ "commandPath": [
1463
+ "admin",
1464
+ "organization",
1465
+ "spend-alerts",
1466
+ "list"
1467
+ ],
1468
+ "httpMethod": "get",
1469
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/spend_alerts/methods/list",
1470
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/spend_alerts/methods/list",
1471
+ "docCommand": "openai admin:organization:spend-alerts list --admin-api-key 'My Admin API Key'",
1472
+ "docFlags": []
1473
+ },
1474
+ {
1475
+ "commandPath": [
1476
+ "admin",
1477
+ "organization",
1478
+ "spend-alerts",
1479
+ "retrieve"
1480
+ ],
1481
+ "httpMethod": "get",
1482
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/spend_alerts/methods/retrieve",
1483
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/spend_alerts/methods/retrieve",
1484
+ "docCommand": "openai admin:organization:spend-alerts retrieve --admin-api-key 'My Admin API Key' --alert-id alert_id",
1485
+ "docFlags": [
1486
+ "alert-id"
1487
+ ]
1488
+ },
1489
+ {
1490
+ "commandPath": [
1491
+ "admin",
1492
+ "organization",
1493
+ "spend-alerts",
1494
+ "update"
1495
+ ],
1496
+ "httpMethod": "post",
1497
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/spend_alerts/methods/update",
1498
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/spend_alerts/methods/update",
1499
+ "docCommand": "openai admin:organization:spend-alerts update --admin-api-key 'My Admin API Key' --alert-id alert_id --currency USD --interval month --notification-channel '{recipients: [string], type: email}' --threshold-amount 0",
1500
+ "docFlags": [
1501
+ "alert-id",
1502
+ "currency",
1503
+ "interval",
1504
+ "notification-channel",
1505
+ "threshold-amount"
1506
+ ]
1507
+ },
1508
+ {
1509
+ "commandPath": [
1510
+ "admin",
1511
+ "organization",
1512
+ "usage",
1513
+ "audio-speeches"
1514
+ ],
1515
+ "httpMethod": "get",
1516
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/usage/methods/audio_speeches",
1517
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/usage/methods/audio_speeches",
1518
+ "docCommand": "openai admin:organization:usage audio-speeches --admin-api-key 'My Admin API Key' --start-time 0",
1519
+ "docFlags": [
1520
+ "start-time"
1521
+ ]
1522
+ },
1523
+ {
1524
+ "commandPath": [
1525
+ "admin",
1526
+ "organization",
1527
+ "usage",
1528
+ "audio-transcriptions"
1529
+ ],
1530
+ "httpMethod": "get",
1531
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/usage/methods/audio_transcriptions",
1532
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/usage/methods/audio_transcriptions",
1533
+ "docCommand": "openai admin:organization:usage audio-transcriptions --admin-api-key 'My Admin API Key' --start-time 0",
1534
+ "docFlags": [
1535
+ "start-time"
1536
+ ]
1537
+ },
1538
+ {
1539
+ "commandPath": [
1540
+ "admin",
1541
+ "organization",
1542
+ "usage",
1543
+ "code-interpreter-sessions"
1544
+ ],
1545
+ "httpMethod": "get",
1546
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/usage/methods/code_interpreter_sessions",
1547
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/usage/methods/code_interpreter_sessions",
1548
+ "docCommand": "openai admin:organization:usage code-interpreter-sessions --admin-api-key 'My Admin API Key' --start-time 0",
1549
+ "docFlags": [
1550
+ "start-time"
1551
+ ]
1552
+ },
1553
+ {
1554
+ "commandPath": [
1555
+ "admin",
1556
+ "organization",
1557
+ "usage",
1558
+ "completions"
1559
+ ],
1560
+ "httpMethod": "get",
1561
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/usage/methods/completions",
1562
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/usage/methods/completions",
1563
+ "docCommand": "openai admin:organization:usage completions --admin-api-key 'My Admin API Key' --start-time 0",
1564
+ "docFlags": [
1565
+ "start-time"
1566
+ ]
1567
+ },
1568
+ {
1569
+ "commandPath": [
1570
+ "admin",
1571
+ "organization",
1572
+ "usage",
1573
+ "costs"
1574
+ ],
1575
+ "httpMethod": "get",
1576
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/usage/methods/costs",
1577
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/usage/methods/costs",
1578
+ "docCommand": "openai admin:organization:usage costs --admin-api-key 'My Admin API Key' --start-time 0",
1579
+ "docFlags": [
1580
+ "start-time"
1581
+ ]
1582
+ },
1583
+ {
1584
+ "commandPath": [
1585
+ "admin",
1586
+ "organization",
1587
+ "usage",
1588
+ "embeddings"
1589
+ ],
1590
+ "httpMethod": "get",
1591
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/usage/methods/embeddings",
1592
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/usage/methods/embeddings",
1593
+ "docCommand": "openai admin:organization:usage embeddings --admin-api-key 'My Admin API Key' --start-time 0",
1594
+ "docFlags": [
1595
+ "start-time"
1596
+ ]
1597
+ },
1598
+ {
1599
+ "commandPath": [
1600
+ "admin",
1601
+ "organization",
1602
+ "usage",
1603
+ "file-search-calls"
1604
+ ],
1605
+ "httpMethod": "get",
1606
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/usage/methods/file_search_calls",
1607
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/usage/methods/file_search_calls",
1608
+ "docCommand": "openai admin:organization:usage file-search-calls --admin-api-key 'My Admin API Key' --start-time 0",
1609
+ "docFlags": [
1610
+ "start-time"
1611
+ ]
1612
+ },
1613
+ {
1614
+ "commandPath": [
1615
+ "admin",
1616
+ "organization",
1617
+ "usage",
1618
+ "images"
1619
+ ],
1620
+ "httpMethod": "get",
1621
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/usage/methods/images",
1622
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/usage/methods/images",
1623
+ "docCommand": "openai admin:organization:usage images --admin-api-key 'My Admin API Key' --start-time 0",
1624
+ "docFlags": [
1625
+ "start-time"
1626
+ ]
1627
+ },
1628
+ {
1629
+ "commandPath": [
1630
+ "admin",
1631
+ "organization",
1632
+ "usage",
1633
+ "moderations"
1634
+ ],
1635
+ "httpMethod": "get",
1636
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/usage/methods/moderations",
1637
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/usage/methods/moderations",
1638
+ "docCommand": "openai admin:organization:usage moderations --admin-api-key 'My Admin API Key' --start-time 0",
1639
+ "docFlags": [
1640
+ "start-time"
1641
+ ]
1642
+ },
1643
+ {
1644
+ "commandPath": [
1645
+ "admin",
1646
+ "organization",
1647
+ "usage",
1648
+ "vector-stores"
1649
+ ],
1650
+ "httpMethod": "get",
1651
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/usage/methods/vector_stores",
1652
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/usage/methods/vector_stores",
1653
+ "docCommand": "openai admin:organization:usage vector-stores --admin-api-key 'My Admin API Key' --start-time 0",
1654
+ "docFlags": [
1655
+ "start-time"
1656
+ ]
1657
+ },
1658
+ {
1659
+ "commandPath": [
1660
+ "admin",
1661
+ "organization",
1662
+ "usage",
1663
+ "web-search-calls"
1664
+ ],
1665
+ "httpMethod": "get",
1666
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/usage/methods/web_search_calls",
1667
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/usage/methods/web_search_calls",
1668
+ "docCommand": "openai admin:organization:usage web-search-calls --admin-api-key 'My Admin API Key' --start-time 0",
1669
+ "docFlags": [
1670
+ "start-time"
1671
+ ]
1672
+ },
1673
+ {
1674
+ "commandPath": [
1675
+ "admin",
1676
+ "organization",
1677
+ "users",
1678
+ "delete"
1679
+ ],
1680
+ "httpMethod": "delete",
1681
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/users/methods/delete",
1682
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/users/methods/delete",
1683
+ "docCommand": "openai admin:organization:users delete --admin-api-key 'My Admin API Key' --user-id user_id",
1684
+ "docFlags": [
1685
+ "user-id"
1686
+ ]
1687
+ },
1688
+ {
1689
+ "commandPath": [
1690
+ "admin",
1691
+ "organization",
1692
+ "users",
1693
+ "list"
1694
+ ],
1695
+ "httpMethod": "get",
1696
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/users/methods/list",
1697
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/users/methods/list",
1698
+ "docCommand": "openai admin:organization:users list --admin-api-key 'My Admin API Key'",
1699
+ "docFlags": []
1700
+ },
1701
+ {
1702
+ "commandPath": [
1703
+ "admin",
1704
+ "organization",
1705
+ "users",
1706
+ "retrieve"
1707
+ ],
1708
+ "httpMethod": "get",
1709
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/users/methods/retrieve",
1710
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/users/methods/retrieve",
1711
+ "docCommand": "openai admin:organization:users retrieve --admin-api-key 'My Admin API Key' --user-id user_id",
1712
+ "docFlags": [
1713
+ "user-id"
1714
+ ]
1715
+ },
1716
+ {
1717
+ "commandPath": [
1718
+ "admin",
1719
+ "organization",
1720
+ "users",
1721
+ "roles",
1722
+ "create"
1723
+ ],
1724
+ "httpMethod": "post",
1725
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/users/subresources/roles/methods/create",
1726
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/users/subresources/roles/methods/create",
1727
+ "docCommand": "openai admin:organization:users:roles create --admin-api-key 'My Admin API Key' --user-id user_id --role-id role_id",
1728
+ "docFlags": [
1729
+ "role-id",
1730
+ "user-id"
1731
+ ]
1732
+ },
1733
+ {
1734
+ "commandPath": [
1735
+ "admin",
1736
+ "organization",
1737
+ "users",
1738
+ "roles",
1739
+ "delete"
1740
+ ],
1741
+ "httpMethod": "delete",
1742
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/users/subresources/roles/methods/delete",
1743
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/users/subresources/roles/methods/delete",
1744
+ "docCommand": "openai admin:organization:users:roles delete --admin-api-key 'My Admin API Key' --user-id user_id --role-id role_id",
1745
+ "docFlags": [
1746
+ "role-id",
1747
+ "user-id"
1748
+ ]
1749
+ },
1750
+ {
1751
+ "commandPath": [
1752
+ "admin",
1753
+ "organization",
1754
+ "users",
1755
+ "roles",
1756
+ "list"
1757
+ ],
1758
+ "httpMethod": "get",
1759
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/users/subresources/roles/methods/list",
1760
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/users/subresources/roles/methods/list",
1761
+ "docCommand": "openai admin:organization:users:roles list --admin-api-key 'My Admin API Key' --user-id user_id",
1762
+ "docFlags": [
1763
+ "user-id"
1764
+ ]
1765
+ },
1766
+ {
1767
+ "commandPath": [
1768
+ "admin",
1769
+ "organization",
1770
+ "users",
1771
+ "roles",
1772
+ "retrieve"
1773
+ ],
1774
+ "httpMethod": "get",
1775
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/users/subresources/roles/methods/retrieve",
1776
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/users/subresources/roles/methods/retrieve",
1777
+ "docCommand": "openai admin:organization:users:roles retrieve --admin-api-key 'My Admin API Key' --user-id user_id --role-id role_id",
1778
+ "docFlags": [
1779
+ "role-id",
1780
+ "user-id"
1781
+ ]
1782
+ },
1783
+ {
1784
+ "commandPath": [
1785
+ "admin",
1786
+ "organization",
1787
+ "users",
1788
+ "update"
1789
+ ],
1790
+ "httpMethod": "post",
1791
+ "href": "/api/reference/resources/admin/subresources/organization/subresources/users/methods/update",
1792
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/users/methods/update",
1793
+ "docCommand": "openai admin:organization:users update --admin-api-key 'My Admin API Key' --user-id user_id",
1794
+ "docFlags": [
1795
+ "user-id"
1796
+ ]
1797
+ },
1798
+ {
1799
+ "commandPath": [
1800
+ "audio",
1801
+ "speech",
1802
+ "create"
1803
+ ],
1804
+ "httpMethod": "post",
1805
+ "href": "/api/reference/resources/audio/subresources/speech/methods/create",
1806
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/audio/subresources/speech/methods/create",
1807
+ "docCommand": "openai audio:speech create --api-key 'My API Key' --input input --model tts-1 --voice alloy",
1808
+ "docFlags": [
1809
+ "input",
1810
+ "model",
1811
+ "voice"
1812
+ ]
1813
+ },
1814
+ {
1815
+ "commandPath": [
1816
+ "audio",
1817
+ "transcriptions",
1818
+ "create"
1819
+ ],
1820
+ "httpMethod": "post",
1821
+ "href": "/api/reference/resources/audio/subresources/transcriptions/methods/create",
1822
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/audio/subresources/transcriptions/methods/create",
1823
+ "docCommand": "openai audio:transcriptions create --api-key 'My API Key' --file 'Example data' --model gpt-4o-transcribe",
1824
+ "docFlags": [
1825
+ "file",
1826
+ "model"
1827
+ ]
1828
+ },
1829
+ {
1830
+ "commandPath": [
1831
+ "audio",
1832
+ "translations",
1833
+ "create"
1834
+ ],
1835
+ "httpMethod": "post",
1836
+ "href": "/api/reference/resources/audio/subresources/translations/methods/create",
1837
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/audio/subresources/translations/methods/create",
1838
+ "docCommand": "openai audio:translations create --api-key 'My API Key' --file 'Example data' --model whisper-1",
1839
+ "docFlags": [
1840
+ "file",
1841
+ "model"
1842
+ ]
1843
+ },
1844
+ {
1845
+ "commandPath": [
1846
+ "batches",
1847
+ "cancel"
1848
+ ],
1849
+ "httpMethod": "post",
1850
+ "href": "/api/reference/resources/batches/methods/cancel",
1851
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/batches/methods/cancel",
1852
+ "docCommand": "openai batches cancel --api-key 'My API Key' --batch-id batch_id",
1853
+ "docFlags": [
1854
+ "batch-id"
1855
+ ]
1856
+ },
1857
+ {
1858
+ "commandPath": [
1859
+ "batches",
1860
+ "create"
1861
+ ],
1862
+ "httpMethod": "post",
1863
+ "href": "/api/reference/resources/batches/methods/create",
1864
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/batches/methods/create",
1865
+ "docCommand": "openai batches create --api-key 'My API Key' --completion-window 24h --endpoint /v1/responses --input-file-id input_file_id",
1866
+ "docFlags": [
1867
+ "completion-window",
1868
+ "endpoint",
1869
+ "input-file-id"
1870
+ ]
1871
+ },
1872
+ {
1873
+ "commandPath": [
1874
+ "batches",
1875
+ "list"
1876
+ ],
1877
+ "httpMethod": "get",
1878
+ "href": "/api/reference/resources/batches/methods/list",
1879
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/batches/methods/list",
1880
+ "docCommand": "openai batches list --api-key 'My API Key'",
1881
+ "docFlags": []
1882
+ },
1883
+ {
1884
+ "commandPath": [
1885
+ "batches",
1886
+ "retrieve"
1887
+ ],
1888
+ "httpMethod": "get",
1889
+ "href": "/api/reference/resources/batches/methods/retrieve",
1890
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/batches/methods/retrieve",
1891
+ "docCommand": "openai batches retrieve --api-key 'My API Key' --batch-id batch_id",
1892
+ "docFlags": [
1893
+ "batch-id"
1894
+ ]
1895
+ },
1896
+ {
1897
+ "commandPath": [
1898
+ "beta",
1899
+ "assistants",
1900
+ "create"
1901
+ ],
1902
+ "httpMethod": "post",
1903
+ "href": "/api/reference/resources/beta/subresources/assistants/methods/create",
1904
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/assistants/methods/create",
1905
+ "docCommand": "openai beta:assistants create --api-key 'My API Key' --model gpt-4o",
1906
+ "docFlags": [
1907
+ "model"
1908
+ ]
1909
+ },
1910
+ {
1911
+ "commandPath": [
1912
+ "beta",
1913
+ "assistants",
1914
+ "delete"
1915
+ ],
1916
+ "httpMethod": "delete",
1917
+ "href": "/api/reference/resources/beta/subresources/assistants/methods/delete",
1918
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/assistants/methods/delete",
1919
+ "docCommand": "openai beta:assistants delete --api-key 'My API Key' --assistant-id assistant_id",
1920
+ "docFlags": [
1921
+ "assistant-id"
1922
+ ]
1923
+ },
1924
+ {
1925
+ "commandPath": [
1926
+ "beta",
1927
+ "assistants",
1928
+ "list"
1929
+ ],
1930
+ "httpMethod": "get",
1931
+ "href": "/api/reference/resources/beta/subresources/assistants/methods/list",
1932
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/assistants/methods/list",
1933
+ "docCommand": "openai beta:assistants list --api-key 'My API Key'",
1934
+ "docFlags": []
1935
+ },
1936
+ {
1937
+ "commandPath": [
1938
+ "beta",
1939
+ "assistants",
1940
+ "retrieve"
1941
+ ],
1942
+ "httpMethod": "get",
1943
+ "href": "/api/reference/resources/beta/subresources/assistants/methods/retrieve",
1944
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/assistants/methods/retrieve",
1945
+ "docCommand": "openai beta:assistants retrieve --api-key 'My API Key' --assistant-id assistant_id",
1946
+ "docFlags": [
1947
+ "assistant-id"
1948
+ ]
1949
+ },
1950
+ {
1951
+ "commandPath": [
1952
+ "beta",
1953
+ "assistants",
1954
+ "update"
1955
+ ],
1956
+ "httpMethod": "post",
1957
+ "href": "/api/reference/resources/beta/subresources/assistants/methods/update",
1958
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/assistants/methods/update",
1959
+ "docCommand": "openai beta:assistants update --api-key 'My API Key' --assistant-id assistant_id",
1960
+ "docFlags": [
1961
+ "assistant-id"
1962
+ ]
1963
+ },
1964
+ {
1965
+ "commandPath": [
1966
+ "beta",
1967
+ "chatkit",
1968
+ "sessions",
1969
+ "cancel"
1970
+ ],
1971
+ "httpMethod": "post",
1972
+ "href": "/api/reference/resources/beta/subresources/chatkit/subresources/sessions/methods/cancel",
1973
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/chatkit/subresources/sessions/methods/cancel",
1974
+ "docCommand": "openai beta:chatkit:sessions cancel --api-key 'My API Key' --session-id cksess_123",
1975
+ "docFlags": [
1976
+ "session-id"
1977
+ ]
1978
+ },
1979
+ {
1980
+ "commandPath": [
1981
+ "beta",
1982
+ "chatkit",
1983
+ "sessions",
1984
+ "create"
1985
+ ],
1986
+ "httpMethod": "post",
1987
+ "href": "/api/reference/resources/beta/subresources/chatkit/subresources/sessions/methods/create",
1988
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/chatkit/subresources/sessions/methods/create",
1989
+ "docCommand": "openai beta:chatkit:sessions create --api-key 'My API Key' --user x --workflow '{id: id}'",
1990
+ "docFlags": [
1991
+ "user",
1992
+ "workflow"
1993
+ ]
1994
+ },
1995
+ {
1996
+ "commandPath": [
1997
+ "beta",
1998
+ "chatkit",
1999
+ "threads",
2000
+ "delete"
2001
+ ],
2002
+ "httpMethod": "delete",
2003
+ "href": "/api/reference/resources/beta/subresources/chatkit/subresources/threads/methods/delete",
2004
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/chatkit/subresources/threads/methods/delete",
2005
+ "docCommand": "openai beta:chatkit:threads delete --api-key 'My API Key' --thread-id cthr_123",
2006
+ "docFlags": [
2007
+ "thread-id"
2008
+ ]
2009
+ },
2010
+ {
2011
+ "commandPath": [
2012
+ "beta",
2013
+ "chatkit",
2014
+ "threads",
2015
+ "list"
2016
+ ],
2017
+ "httpMethod": "get",
2018
+ "href": "/api/reference/resources/beta/subresources/chatkit/subresources/threads/methods/list",
2019
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/chatkit/subresources/threads/methods/list",
2020
+ "docCommand": "openai beta:chatkit:threads list --api-key 'My API Key'",
2021
+ "docFlags": []
2022
+ },
2023
+ {
2024
+ "commandPath": [
2025
+ "beta",
2026
+ "chatkit",
2027
+ "threads",
2028
+ "list-items"
2029
+ ],
2030
+ "httpMethod": "get",
2031
+ "href": "/api/reference/resources/beta/subresources/chatkit/subresources/threads/methods/list_items",
2032
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/chatkit/subresources/threads/methods/list_items",
2033
+ "docCommand": "openai beta:chatkit:threads list-items --api-key 'My API Key' --thread-id cthr_123",
2034
+ "docFlags": [
2035
+ "thread-id"
2036
+ ]
2037
+ },
2038
+ {
2039
+ "commandPath": [
2040
+ "beta",
2041
+ "chatkit",
2042
+ "threads",
2043
+ "retrieve"
2044
+ ],
2045
+ "httpMethod": "get",
2046
+ "href": "/api/reference/resources/beta/subresources/chatkit/subresources/threads/methods/retrieve",
2047
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/chatkit/subresources/threads/methods/retrieve",
2048
+ "docCommand": "openai beta:chatkit:threads retrieve --api-key 'My API Key' --thread-id cthr_123",
2049
+ "docFlags": [
2050
+ "thread-id"
2051
+ ]
2052
+ },
2053
+ {
2054
+ "commandPath": [
2055
+ "beta",
2056
+ "threads",
2057
+ "create"
2058
+ ],
2059
+ "httpMethod": "post",
2060
+ "href": "/api/reference/resources/beta/subresources/threads/methods/create",
2061
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/methods/create",
2062
+ "docCommand": "openai beta:threads create --api-key 'My API Key'",
2063
+ "docFlags": []
2064
+ },
2065
+ {
2066
+ "commandPath": [
2067
+ "beta",
2068
+ "threads",
2069
+ "create-and-run"
2070
+ ],
2071
+ "httpMethod": "post",
2072
+ "href": "/api/reference/resources/beta/subresources/threads/methods/create_and_run",
2073
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/methods/create_and_run",
2074
+ "docCommand": "openai beta:threads create-and-run --api-key 'My API Key' --assistant-id assistant_id",
2075
+ "docFlags": [
2076
+ "assistant-id"
2077
+ ]
2078
+ },
2079
+ {
2080
+ "commandPath": [
2081
+ "beta",
2082
+ "threads",
2083
+ "delete"
2084
+ ],
2085
+ "httpMethod": "delete",
2086
+ "href": "/api/reference/resources/beta/subresources/threads/methods/delete",
2087
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/methods/delete",
2088
+ "docCommand": "openai beta:threads delete --api-key 'My API Key' --thread-id thread_id",
2089
+ "docFlags": [
2090
+ "thread-id"
2091
+ ]
2092
+ },
2093
+ {
2094
+ "commandPath": [
2095
+ "beta",
2096
+ "threads",
2097
+ "messages",
2098
+ "create"
2099
+ ],
2100
+ "httpMethod": "post",
2101
+ "href": "/api/reference/resources/beta/subresources/threads/subresources/messages/methods/create",
2102
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/subresources/messages/methods/create",
2103
+ "docCommand": "openai beta:threads:messages create --api-key 'My API Key' --thread-id thread_id --content string --role user",
2104
+ "docFlags": [
2105
+ "content",
2106
+ "role",
2107
+ "thread-id"
2108
+ ]
2109
+ },
2110
+ {
2111
+ "commandPath": [
2112
+ "beta",
2113
+ "threads",
2114
+ "messages",
2115
+ "delete"
2116
+ ],
2117
+ "httpMethod": "delete",
2118
+ "href": "/api/reference/resources/beta/subresources/threads/subresources/messages/methods/delete",
2119
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/subresources/messages/methods/delete",
2120
+ "docCommand": "openai beta:threads:messages delete --api-key 'My API Key' --thread-id thread_id --message-id message_id",
2121
+ "docFlags": [
2122
+ "message-id",
2123
+ "thread-id"
2124
+ ]
2125
+ },
2126
+ {
2127
+ "commandPath": [
2128
+ "beta",
2129
+ "threads",
2130
+ "messages",
2131
+ "list"
2132
+ ],
2133
+ "httpMethod": "get",
2134
+ "href": "/api/reference/resources/beta/subresources/threads/subresources/messages/methods/list",
2135
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/subresources/messages/methods/list",
2136
+ "docCommand": "openai beta:threads:messages list --api-key 'My API Key' --thread-id thread_id",
2137
+ "docFlags": [
2138
+ "thread-id"
2139
+ ]
2140
+ },
2141
+ {
2142
+ "commandPath": [
2143
+ "beta",
2144
+ "threads",
2145
+ "messages",
2146
+ "retrieve"
2147
+ ],
2148
+ "httpMethod": "get",
2149
+ "href": "/api/reference/resources/beta/subresources/threads/subresources/messages/methods/retrieve",
2150
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/subresources/messages/methods/retrieve",
2151
+ "docCommand": "openai beta:threads:messages retrieve --api-key 'My API Key' --thread-id thread_id --message-id message_id",
2152
+ "docFlags": [
2153
+ "message-id",
2154
+ "thread-id"
2155
+ ]
2156
+ },
2157
+ {
2158
+ "commandPath": [
2159
+ "beta",
2160
+ "threads",
2161
+ "messages",
2162
+ "update"
2163
+ ],
2164
+ "httpMethod": "post",
2165
+ "href": "/api/reference/resources/beta/subresources/threads/subresources/messages/methods/update",
2166
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/subresources/messages/methods/update",
2167
+ "docCommand": "openai beta:threads:messages update --api-key 'My API Key' --thread-id thread_id --message-id message_id",
2168
+ "docFlags": [
2169
+ "message-id",
2170
+ "thread-id"
2171
+ ]
2172
+ },
2173
+ {
2174
+ "commandPath": [
2175
+ "beta",
2176
+ "threads",
2177
+ "retrieve"
2178
+ ],
2179
+ "httpMethod": "get",
2180
+ "href": "/api/reference/resources/beta/subresources/threads/methods/retrieve",
2181
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/methods/retrieve",
2182
+ "docCommand": "openai beta:threads retrieve --api-key 'My API Key' --thread-id thread_id",
2183
+ "docFlags": [
2184
+ "thread-id"
2185
+ ]
2186
+ },
2187
+ {
2188
+ "commandPath": [
2189
+ "beta",
2190
+ "threads",
2191
+ "runs",
2192
+ "cancel"
2193
+ ],
2194
+ "httpMethod": "post",
2195
+ "href": "/api/reference/resources/beta/subresources/threads/subresources/runs/methods/cancel",
2196
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/subresources/runs/methods/cancel",
2197
+ "docCommand": "openai beta:threads:runs cancel --api-key 'My API Key' --thread-id thread_id --run-id run_id",
2198
+ "docFlags": [
2199
+ "run-id",
2200
+ "thread-id"
2201
+ ]
2202
+ },
2203
+ {
2204
+ "commandPath": [
2205
+ "beta",
2206
+ "threads",
2207
+ "runs",
2208
+ "create"
2209
+ ],
2210
+ "httpMethod": "post",
2211
+ "href": "/api/reference/resources/beta/subresources/threads/subresources/runs/methods/create",
2212
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/subresources/runs/methods/create",
2213
+ "docCommand": "openai beta:threads:runs create --api-key 'My API Key' --thread-id thread_id --assistant-id assistant_id",
2214
+ "docFlags": [
2215
+ "assistant-id",
2216
+ "thread-id"
2217
+ ]
2218
+ },
2219
+ {
2220
+ "commandPath": [
2221
+ "beta",
2222
+ "threads",
2223
+ "runs",
2224
+ "list"
2225
+ ],
2226
+ "httpMethod": "get",
2227
+ "href": "/api/reference/resources/beta/subresources/threads/subresources/runs/methods/list",
2228
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/subresources/runs/methods/list",
2229
+ "docCommand": "openai beta:threads:runs list --api-key 'My API Key' --thread-id thread_id",
2230
+ "docFlags": [
2231
+ "thread-id"
2232
+ ]
2233
+ },
2234
+ {
2235
+ "commandPath": [
2236
+ "beta",
2237
+ "threads",
2238
+ "runs",
2239
+ "retrieve"
2240
+ ],
2241
+ "httpMethod": "get",
2242
+ "href": "/api/reference/resources/beta/subresources/threads/subresources/runs/methods/retrieve",
2243
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/subresources/runs/methods/retrieve",
2244
+ "docCommand": "openai beta:threads:runs retrieve --api-key 'My API Key' --thread-id thread_id --run-id run_id",
2245
+ "docFlags": [
2246
+ "run-id",
2247
+ "thread-id"
2248
+ ]
2249
+ },
2250
+ {
2251
+ "commandPath": [
2252
+ "beta",
2253
+ "threads",
2254
+ "runs",
2255
+ "steps",
2256
+ "list"
2257
+ ],
2258
+ "httpMethod": "get",
2259
+ "href": "/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/list",
2260
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/list",
2261
+ "docCommand": "openai beta:threads:runs:steps list --api-key 'My API Key' --thread-id thread_id --run-id run_id",
2262
+ "docFlags": [
2263
+ "run-id",
2264
+ "thread-id"
2265
+ ]
2266
+ },
2267
+ {
2268
+ "commandPath": [
2269
+ "beta",
2270
+ "threads",
2271
+ "runs",
2272
+ "steps",
2273
+ "retrieve"
2274
+ ],
2275
+ "httpMethod": "get",
2276
+ "href": "/api/reference/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/retrieve",
2277
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/subresources/runs/subresources/steps/methods/retrieve",
2278
+ "docCommand": "openai beta:threads:runs:steps retrieve --api-key 'My API Key' --thread-id thread_id --run-id run_id --step-id step_id",
2279
+ "docFlags": [
2280
+ "run-id",
2281
+ "step-id",
2282
+ "thread-id"
2283
+ ]
2284
+ },
2285
+ {
2286
+ "commandPath": [
2287
+ "beta",
2288
+ "threads",
2289
+ "runs",
2290
+ "submit-tool-outputs"
2291
+ ],
2292
+ "httpMethod": "post",
2293
+ "href": "/api/reference/resources/beta/subresources/threads/subresources/runs/methods/submit_tool_outputs",
2294
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/subresources/runs/methods/submit_tool_outputs",
2295
+ "docCommand": "openai beta:threads:runs submit-tool-outputs --api-key 'My API Key' --thread-id thread_id --run-id run_id --tool-output '{}'",
2296
+ "docFlags": [
2297
+ "run-id",
2298
+ "thread-id",
2299
+ "tool-output"
2300
+ ]
2301
+ },
2302
+ {
2303
+ "commandPath": [
2304
+ "beta",
2305
+ "threads",
2306
+ "runs",
2307
+ "update"
2308
+ ],
2309
+ "httpMethod": "post",
2310
+ "href": "/api/reference/resources/beta/subresources/threads/subresources/runs/methods/update",
2311
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/subresources/runs/methods/update",
2312
+ "docCommand": "openai beta:threads:runs update --api-key 'My API Key' --thread-id thread_id --run-id run_id",
2313
+ "docFlags": [
2314
+ "run-id",
2315
+ "thread-id"
2316
+ ]
2317
+ },
2318
+ {
2319
+ "commandPath": [
2320
+ "beta",
2321
+ "threads",
2322
+ "update"
2323
+ ],
2324
+ "httpMethod": "post",
2325
+ "href": "/api/reference/resources/beta/subresources/threads/methods/update",
2326
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/beta/subresources/threads/methods/update",
2327
+ "docCommand": "openai beta:threads update --api-key 'My API Key' --thread-id thread_id",
2328
+ "docFlags": [
2329
+ "thread-id"
2330
+ ]
2331
+ },
2332
+ {
2333
+ "commandPath": [
2334
+ "chat",
2335
+ "completions",
2336
+ "create"
2337
+ ],
2338
+ "httpMethod": "post",
2339
+ "href": "/api/reference/resources/chat/subresources/completions/methods/create",
2340
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/chat/subresources/completions/methods/create",
2341
+ "docCommand": "openai chat:completions create --api-key 'My API Key' --message '{content: string, role: developer}' --model gpt-5.4",
2342
+ "docFlags": [
2343
+ "message",
2344
+ "model"
2345
+ ]
2346
+ },
2347
+ {
2348
+ "commandPath": [
2349
+ "chat",
2350
+ "completions",
2351
+ "delete"
2352
+ ],
2353
+ "httpMethod": "delete",
2354
+ "href": "/api/reference/resources/chat/subresources/completions/methods/delete",
2355
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/chat/subresources/completions/methods/delete",
2356
+ "docCommand": "openai chat:completions delete --api-key 'My API Key' --completion-id completion_id",
2357
+ "docFlags": [
2358
+ "completion-id"
2359
+ ]
2360
+ },
2361
+ {
2362
+ "commandPath": [
2363
+ "chat",
2364
+ "completions",
2365
+ "list"
2366
+ ],
2367
+ "httpMethod": "get",
2368
+ "href": "/api/reference/resources/chat/subresources/completions/methods/list",
2369
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/chat/subresources/completions/methods/list",
2370
+ "docCommand": "openai chat:completions list --api-key 'My API Key'",
2371
+ "docFlags": []
2372
+ },
2373
+ {
2374
+ "commandPath": [
2375
+ "chat",
2376
+ "completions",
2377
+ "messages",
2378
+ "list"
2379
+ ],
2380
+ "httpMethod": "get",
2381
+ "href": "/api/reference/resources/chat/subresources/completions/subresources/messages/methods/list",
2382
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/chat/subresources/completions/subresources/messages/methods/list",
2383
+ "docCommand": "openai chat:completions:messages list --api-key 'My API Key' --completion-id completion_id",
2384
+ "docFlags": [
2385
+ "completion-id"
2386
+ ]
2387
+ },
2388
+ {
2389
+ "commandPath": [
2390
+ "chat",
2391
+ "completions",
2392
+ "retrieve"
2393
+ ],
2394
+ "httpMethod": "get",
2395
+ "href": "/api/reference/resources/chat/subresources/completions/methods/retrieve",
2396
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/chat/subresources/completions/methods/retrieve",
2397
+ "docCommand": "openai chat:completions retrieve --api-key 'My API Key' --completion-id completion_id",
2398
+ "docFlags": [
2399
+ "completion-id"
2400
+ ]
2401
+ },
2402
+ {
2403
+ "commandPath": [
2404
+ "chat",
2405
+ "completions",
2406
+ "update"
2407
+ ],
2408
+ "httpMethod": "post",
2409
+ "href": "/api/reference/resources/chat/subresources/completions/methods/update",
2410
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/chat/subresources/completions/methods/update",
2411
+ "docCommand": "openai chat:completions update --api-key 'My API Key' --completion-id completion_id --metadata '{foo: string}'",
2412
+ "docFlags": [
2413
+ "completion-id",
2414
+ "metadata"
2415
+ ]
2416
+ },
2417
+ {
2418
+ "commandPath": [
2419
+ "completions",
2420
+ "create"
2421
+ ],
2422
+ "httpMethod": "post",
2423
+ "href": "/api/reference/resources/completions/methods/create",
2424
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/completions/methods/create",
2425
+ "docCommand": "openai completions create --api-key 'My API Key' --model gpt-3.5-turbo-instruct --prompt 'This is a test.'",
2426
+ "docFlags": [
2427
+ "model",
2428
+ "prompt"
2429
+ ]
2430
+ },
2431
+ {
2432
+ "commandPath": [
2433
+ "containers",
2434
+ "create"
2435
+ ],
2436
+ "httpMethod": "post",
2437
+ "href": "/api/reference/resources/containers/methods/create",
2438
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/containers/methods/create",
2439
+ "docCommand": "openai containers create --api-key 'My API Key' --name name",
2440
+ "docFlags": [
2441
+ "name"
2442
+ ]
2443
+ },
2444
+ {
2445
+ "commandPath": [
2446
+ "containers",
2447
+ "delete"
2448
+ ],
2449
+ "httpMethod": "delete",
2450
+ "href": "/api/reference/resources/containers/methods/delete",
2451
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/containers/methods/delete",
2452
+ "docCommand": "openai containers delete --api-key 'My API Key' --container-id container_id",
2453
+ "docFlags": [
2454
+ "container-id"
2455
+ ]
2456
+ },
2457
+ {
2458
+ "commandPath": [
2459
+ "containers",
2460
+ "files",
2461
+ "content",
2462
+ "retrieve"
2463
+ ],
2464
+ "httpMethod": "get",
2465
+ "href": "/api/reference/resources/containers/subresources/files/subresources/content/methods/retrieve",
2466
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/containers/subresources/files/subresources/content/methods/retrieve",
2467
+ "docCommand": "openai containers:files:content retrieve --api-key 'My API Key' --container-id container_id --file-id file_id",
2468
+ "docFlags": [
2469
+ "container-id",
2470
+ "file-id"
2471
+ ]
2472
+ },
2473
+ {
2474
+ "commandPath": [
2475
+ "containers",
2476
+ "files",
2477
+ "create"
2478
+ ],
2479
+ "httpMethod": "post",
2480
+ "href": "/api/reference/resources/containers/subresources/files/methods/create",
2481
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/containers/subresources/files/methods/create",
2482
+ "docCommand": "openai containers:files create --api-key 'My API Key' --container-id container_id",
2483
+ "docFlags": [
2484
+ "container-id"
2485
+ ]
2486
+ },
2487
+ {
2488
+ "commandPath": [
2489
+ "containers",
2490
+ "files",
2491
+ "delete"
2492
+ ],
2493
+ "httpMethod": "delete",
2494
+ "href": "/api/reference/resources/containers/subresources/files/methods/delete",
2495
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/containers/subresources/files/methods/delete",
2496
+ "docCommand": "openai containers:files delete --api-key 'My API Key' --container-id container_id --file-id file_id",
2497
+ "docFlags": [
2498
+ "container-id",
2499
+ "file-id"
2500
+ ]
2501
+ },
2502
+ {
2503
+ "commandPath": [
2504
+ "containers",
2505
+ "files",
2506
+ "list"
2507
+ ],
2508
+ "httpMethod": "get",
2509
+ "href": "/api/reference/resources/containers/subresources/files/methods/list",
2510
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/containers/subresources/files/methods/list",
2511
+ "docCommand": "openai containers:files list --api-key 'My API Key' --container-id container_id",
2512
+ "docFlags": [
2513
+ "container-id"
2514
+ ]
2515
+ },
2516
+ {
2517
+ "commandPath": [
2518
+ "containers",
2519
+ "files",
2520
+ "retrieve"
2521
+ ],
2522
+ "httpMethod": "get",
2523
+ "href": "/api/reference/resources/containers/subresources/files/methods/retrieve",
2524
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/containers/subresources/files/methods/retrieve",
2525
+ "docCommand": "openai containers:files retrieve --api-key 'My API Key' --container-id container_id --file-id file_id",
2526
+ "docFlags": [
2527
+ "container-id",
2528
+ "file-id"
2529
+ ]
2530
+ },
2531
+ {
2532
+ "commandPath": [
2533
+ "containers",
2534
+ "list"
2535
+ ],
2536
+ "httpMethod": "get",
2537
+ "href": "/api/reference/resources/containers/methods/list",
2538
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/containers/methods/list",
2539
+ "docCommand": "openai containers list --api-key 'My API Key'",
2540
+ "docFlags": []
2541
+ },
2542
+ {
2543
+ "commandPath": [
2544
+ "containers",
2545
+ "retrieve"
2546
+ ],
2547
+ "httpMethod": "get",
2548
+ "href": "/api/reference/resources/containers/methods/retrieve",
2549
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/containers/methods/retrieve",
2550
+ "docCommand": "openai containers retrieve --api-key 'My API Key' --container-id container_id",
2551
+ "docFlags": [
2552
+ "container-id"
2553
+ ]
2554
+ },
2555
+ {
2556
+ "commandPath": [
2557
+ "conversations",
2558
+ "create"
2559
+ ],
2560
+ "httpMethod": "post",
2561
+ "href": "/api/reference/resources/conversations/methods/create",
2562
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/conversations/methods/create",
2563
+ "docCommand": "openai conversations create --api-key 'My API Key'",
2564
+ "docFlags": []
2565
+ },
2566
+ {
2567
+ "commandPath": [
2568
+ "conversations",
2569
+ "delete"
2570
+ ],
2571
+ "httpMethod": "delete",
2572
+ "href": "/api/reference/resources/conversations/methods/delete",
2573
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/conversations/methods/delete",
2574
+ "docCommand": "openai conversations delete --api-key 'My API Key' --conversation-id conv_123",
2575
+ "docFlags": [
2576
+ "conversation-id"
2577
+ ]
2578
+ },
2579
+ {
2580
+ "commandPath": [
2581
+ "conversations",
2582
+ "items",
2583
+ "create"
2584
+ ],
2585
+ "httpMethod": "post",
2586
+ "href": "/api/reference/resources/conversations/subresources/items/methods/create",
2587
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/conversations/subresources/items/methods/create",
2588
+ "docCommand": "openai conversations:items create --api-key 'My API Key' --conversation-id conv_123 --item '{content: string, role: user, type: message}'",
2589
+ "docFlags": [
2590
+ "conversation-id",
2591
+ "item"
2592
+ ]
2593
+ },
2594
+ {
2595
+ "commandPath": [
2596
+ "conversations",
2597
+ "items",
2598
+ "delete"
2599
+ ],
2600
+ "httpMethod": "delete",
2601
+ "href": "/api/reference/resources/conversations/subresources/items/methods/delete",
2602
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/conversations/subresources/items/methods/delete",
2603
+ "docCommand": "openai conversations:items delete --api-key 'My API Key' --conversation-id conv_123 --item-id msg_abc",
2604
+ "docFlags": [
2605
+ "conversation-id",
2606
+ "item-id"
2607
+ ]
2608
+ },
2609
+ {
2610
+ "commandPath": [
2611
+ "conversations",
2612
+ "items",
2613
+ "list"
2614
+ ],
2615
+ "httpMethod": "get",
2616
+ "href": "/api/reference/resources/conversations/subresources/items/methods/list",
2617
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/conversations/subresources/items/methods/list",
2618
+ "docCommand": "openai conversations:items list --api-key 'My API Key' --conversation-id conv_123",
2619
+ "docFlags": [
2620
+ "conversation-id"
2621
+ ]
2622
+ },
2623
+ {
2624
+ "commandPath": [
2625
+ "conversations",
2626
+ "items",
2627
+ "retrieve"
2628
+ ],
2629
+ "httpMethod": "get",
2630
+ "href": "/api/reference/resources/conversations/subresources/items/methods/retrieve",
2631
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/conversations/subresources/items/methods/retrieve",
2632
+ "docCommand": "openai conversations:items retrieve --api-key 'My API Key' --conversation-id conv_123 --item-id msg_abc",
2633
+ "docFlags": [
2634
+ "conversation-id",
2635
+ "item-id"
2636
+ ]
2637
+ },
2638
+ {
2639
+ "commandPath": [
2640
+ "conversations",
2641
+ "retrieve"
2642
+ ],
2643
+ "httpMethod": "get",
2644
+ "href": "/api/reference/resources/conversations/methods/retrieve",
2645
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/conversations/methods/retrieve",
2646
+ "docCommand": "openai conversations retrieve --api-key 'My API Key' --conversation-id conv_123",
2647
+ "docFlags": [
2648
+ "conversation-id"
2649
+ ]
2650
+ },
2651
+ {
2652
+ "commandPath": [
2653
+ "conversations",
2654
+ "update"
2655
+ ],
2656
+ "httpMethod": "post",
2657
+ "href": "/api/reference/resources/conversations/methods/update",
2658
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/conversations/methods/update",
2659
+ "docCommand": "openai conversations update --api-key 'My API Key' --conversation-id conv_123 --metadata '{foo: string}'",
2660
+ "docFlags": [
2661
+ "conversation-id",
2662
+ "metadata"
2663
+ ]
2664
+ },
2665
+ {
2666
+ "commandPath": [
2667
+ "embeddings",
2668
+ "create"
2669
+ ],
2670
+ "httpMethod": "post",
2671
+ "href": "/api/reference/resources/embeddings/methods/create",
2672
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/embeddings/methods/create",
2673
+ "docCommand": "openai embeddings create --api-key 'My API Key' --input 'The quick brown fox jumped over the lazy dog' --model text-embedding-3-small",
2674
+ "docFlags": [
2675
+ "input",
2676
+ "model"
2677
+ ]
2678
+ },
2679
+ {
2680
+ "commandPath": [
2681
+ "files",
2682
+ "content"
2683
+ ],
2684
+ "httpMethod": "get",
2685
+ "href": "/api/reference/resources/files/methods/content",
2686
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/files/methods/content",
2687
+ "docCommand": "openai files content --api-key 'My API Key' --file-id file_id",
2688
+ "docFlags": [
2689
+ "file-id"
2690
+ ]
2691
+ },
2692
+ {
2693
+ "commandPath": [
2694
+ "files",
2695
+ "create"
2696
+ ],
2697
+ "httpMethod": "post",
2698
+ "href": "/api/reference/resources/files/methods/create",
2699
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/files/methods/create",
2700
+ "docCommand": "openai files create --api-key 'My API Key' --file 'Example data' --purpose assistants",
2701
+ "docFlags": [
2702
+ "file",
2703
+ "purpose"
2704
+ ]
2705
+ },
2706
+ {
2707
+ "commandPath": [
2708
+ "files",
2709
+ "delete"
2710
+ ],
2711
+ "httpMethod": "delete",
2712
+ "href": "/api/reference/resources/files/methods/delete",
2713
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/files/methods/delete",
2714
+ "docCommand": "openai files delete --api-key 'My API Key' --file-id file_id",
2715
+ "docFlags": [
2716
+ "file-id"
2717
+ ]
2718
+ },
2719
+ {
2720
+ "commandPath": [
2721
+ "files",
2722
+ "list"
2723
+ ],
2724
+ "httpMethod": "get",
2725
+ "href": "/api/reference/resources/files/methods/list",
2726
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/files/methods/list",
2727
+ "docCommand": "openai files list --api-key 'My API Key'",
2728
+ "docFlags": []
2729
+ },
2730
+ {
2731
+ "commandPath": [
2732
+ "files",
2733
+ "retrieve"
2734
+ ],
2735
+ "httpMethod": "get",
2736
+ "href": "/api/reference/resources/files/methods/retrieve",
2737
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/files/methods/retrieve",
2738
+ "docCommand": "openai files retrieve --api-key 'My API Key' --file-id file_id",
2739
+ "docFlags": [
2740
+ "file-id"
2741
+ ]
2742
+ },
2743
+ {
2744
+ "commandPath": [
2745
+ "fine-tuning",
2746
+ "alpha",
2747
+ "graders",
2748
+ "run"
2749
+ ],
2750
+ "httpMethod": "post",
2751
+ "href": "/api/reference/resources/fine_tuning/subresources/alpha/subresources/graders/methods/run",
2752
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/fine_tuning/subresources/alpha/subresources/graders/methods/run",
2753
+ "docCommand": "openai fine-tuning:alpha:graders run --api-key 'My API Key' --grader '{input: input, name: name, operation: eq, reference: reference, type: string_check}' --model-sample model_sample",
2754
+ "docFlags": [
2755
+ "grader",
2756
+ "model-sample"
2757
+ ]
2758
+ },
2759
+ {
2760
+ "commandPath": [
2761
+ "fine-tuning",
2762
+ "alpha",
2763
+ "graders",
2764
+ "validate"
2765
+ ],
2766
+ "httpMethod": "post",
2767
+ "href": "/api/reference/resources/fine_tuning/subresources/alpha/subresources/graders/methods/validate",
2768
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/fine_tuning/subresources/alpha/subresources/graders/methods/validate",
2769
+ "docCommand": "openai fine-tuning:alpha:graders validate --api-key 'My API Key' --grader '{input: input, name: name, operation: eq, reference: reference, type: string_check}'",
2770
+ "docFlags": [
2771
+ "grader"
2772
+ ]
2773
+ },
2774
+ {
2775
+ "commandPath": [
2776
+ "fine-tuning",
2777
+ "checkpoints",
2778
+ "permissions",
2779
+ "create"
2780
+ ],
2781
+ "httpMethod": "post",
2782
+ "href": "/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/create",
2783
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/create",
2784
+ "docCommand": "openai fine-tuning:checkpoints:permissions create --api-key 'My API Key' --fine-tuned-model-checkpoint ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd --project-id string",
2785
+ "docFlags": [
2786
+ "fine-tuned-model-checkpoint",
2787
+ "project-id"
2788
+ ]
2789
+ },
2790
+ {
2791
+ "commandPath": [
2792
+ "fine-tuning",
2793
+ "checkpoints",
2794
+ "permissions",
2795
+ "delete"
2796
+ ],
2797
+ "httpMethod": "delete",
2798
+ "href": "/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/delete",
2799
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/delete",
2800
+ "docCommand": "openai fine-tuning:checkpoints:permissions delete --api-key 'My API Key' --fine-tuned-model-checkpoint ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd --permission-id cp_zc4Q7MP6XxulcVzj4MZdwsAB",
2801
+ "docFlags": [
2802
+ "fine-tuned-model-checkpoint",
2803
+ "permission-id"
2804
+ ]
2805
+ },
2806
+ {
2807
+ "commandPath": [
2808
+ "fine-tuning",
2809
+ "checkpoints",
2810
+ "permissions",
2811
+ "retrieve"
2812
+ ],
2813
+ "httpMethod": "get",
2814
+ "href": "/api/reference/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/retrieve",
2815
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/fine_tuning/subresources/checkpoints/subresources/permissions/methods/retrieve",
2816
+ "docCommand": "openai fine-tuning:checkpoints:permissions retrieve --api-key 'My API Key' --fine-tuned-model-checkpoint ft-AF1WoRqd3aJAHsqc9NY7iL8F",
2817
+ "docFlags": [
2818
+ "fine-tuned-model-checkpoint"
2819
+ ]
2820
+ },
2821
+ {
2822
+ "commandPath": [
2823
+ "fine-tuning",
2824
+ "jobs",
2825
+ "cancel"
2826
+ ],
2827
+ "httpMethod": "post",
2828
+ "href": "/api/reference/resources/fine_tuning/subresources/jobs/methods/cancel",
2829
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/fine_tuning/subresources/jobs/methods/cancel",
2830
+ "docCommand": "openai fine-tuning:jobs cancel --api-key 'My API Key' --fine-tuning-job-id ft-AF1WoRqd3aJAHsqc9NY7iL8F",
2831
+ "docFlags": [
2832
+ "fine-tuning-job-id"
2833
+ ]
2834
+ },
2835
+ {
2836
+ "commandPath": [
2837
+ "fine-tuning",
2838
+ "jobs",
2839
+ "checkpoints",
2840
+ "list"
2841
+ ],
2842
+ "httpMethod": "get",
2843
+ "href": "/api/reference/resources/fine_tuning/subresources/jobs/subresources/checkpoints/methods/list",
2844
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/fine_tuning/subresources/jobs/subresources/checkpoints/methods/list",
2845
+ "docCommand": "openai fine-tuning:jobs:checkpoints list --api-key 'My API Key' --fine-tuning-job-id ft-AF1WoRqd3aJAHsqc9NY7iL8F",
2846
+ "docFlags": [
2847
+ "fine-tuning-job-id"
2848
+ ]
2849
+ },
2850
+ {
2851
+ "commandPath": [
2852
+ "fine-tuning",
2853
+ "jobs",
2854
+ "create"
2855
+ ],
2856
+ "httpMethod": "post",
2857
+ "href": "/api/reference/resources/fine_tuning/subresources/jobs/methods/create",
2858
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/fine_tuning/subresources/jobs/methods/create",
2859
+ "docCommand": "openai fine-tuning:jobs create --api-key 'My API Key' --model gpt-4o-mini --training-file file-abc123",
2860
+ "docFlags": [
2861
+ "model",
2862
+ "training-file"
2863
+ ]
2864
+ },
2865
+ {
2866
+ "commandPath": [
2867
+ "fine-tuning",
2868
+ "jobs",
2869
+ "list"
2870
+ ],
2871
+ "httpMethod": "get",
2872
+ "href": "/api/reference/resources/fine_tuning/subresources/jobs/methods/list",
2873
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/fine_tuning/subresources/jobs/methods/list",
2874
+ "docCommand": "openai fine-tuning:jobs list --api-key 'My API Key'",
2875
+ "docFlags": []
2876
+ },
2877
+ {
2878
+ "commandPath": [
2879
+ "fine-tuning",
2880
+ "jobs",
2881
+ "list-events"
2882
+ ],
2883
+ "httpMethod": "get",
2884
+ "href": "/api/reference/resources/fine_tuning/subresources/jobs/methods/list_events",
2885
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/fine_tuning/subresources/jobs/methods/list_events",
2886
+ "docCommand": "openai fine-tuning:jobs list-events --api-key 'My API Key' --fine-tuning-job-id ft-AF1WoRqd3aJAHsqc9NY7iL8F",
2887
+ "docFlags": [
2888
+ "fine-tuning-job-id"
2889
+ ]
2890
+ },
2891
+ {
2892
+ "commandPath": [
2893
+ "fine-tuning",
2894
+ "jobs",
2895
+ "pause"
2896
+ ],
2897
+ "httpMethod": "post",
2898
+ "href": "/api/reference/resources/fine_tuning/subresources/jobs/methods/pause",
2899
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/fine_tuning/subresources/jobs/methods/pause",
2900
+ "docCommand": "openai fine-tuning:jobs pause --api-key 'My API Key' --fine-tuning-job-id ft-AF1WoRqd3aJAHsqc9NY7iL8F",
2901
+ "docFlags": [
2902
+ "fine-tuning-job-id"
2903
+ ]
2904
+ },
2905
+ {
2906
+ "commandPath": [
2907
+ "fine-tuning",
2908
+ "jobs",
2909
+ "resume"
2910
+ ],
2911
+ "httpMethod": "post",
2912
+ "href": "/api/reference/resources/fine_tuning/subresources/jobs/methods/resume",
2913
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/fine_tuning/subresources/jobs/methods/resume",
2914
+ "docCommand": "openai fine-tuning:jobs resume --api-key 'My API Key' --fine-tuning-job-id ft-AF1WoRqd3aJAHsqc9NY7iL8F",
2915
+ "docFlags": [
2916
+ "fine-tuning-job-id"
2917
+ ]
2918
+ },
2919
+ {
2920
+ "commandPath": [
2921
+ "fine-tuning",
2922
+ "jobs",
2923
+ "retrieve"
2924
+ ],
2925
+ "httpMethod": "get",
2926
+ "href": "/api/reference/resources/fine_tuning/subresources/jobs/methods/retrieve",
2927
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/fine_tuning/subresources/jobs/methods/retrieve",
2928
+ "docCommand": "openai fine-tuning:jobs retrieve --api-key 'My API Key' --fine-tuning-job-id ft-AF1WoRqd3aJAHsqc9NY7iL8F",
2929
+ "docFlags": [
2930
+ "fine-tuning-job-id"
2931
+ ]
2932
+ },
2933
+ {
2934
+ "commandPath": [
2935
+ "images",
2936
+ "create-variation"
2937
+ ],
2938
+ "httpMethod": "post",
2939
+ "href": "/api/reference/resources/images/methods/create_variation",
2940
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/images/methods/create_variation",
2941
+ "docCommand": "openai images create-variation --api-key 'My API Key' --image 'Example data'",
2942
+ "docFlags": [
2943
+ "image"
2944
+ ]
2945
+ },
2946
+ {
2947
+ "commandPath": [
2948
+ "images",
2949
+ "edit"
2950
+ ],
2951
+ "httpMethod": "post",
2952
+ "href": "/api/reference/resources/images/methods/edit",
2953
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/images/methods/edit",
2954
+ "docCommand": "openai images edit --api-key 'My API Key' --image 'Example data' --prompt 'A cute baby sea otter wearing a beret'",
2955
+ "docFlags": [
2956
+ "image",
2957
+ "prompt"
2958
+ ]
2959
+ },
2960
+ {
2961
+ "commandPath": [
2962
+ "images",
2963
+ "generate"
2964
+ ],
2965
+ "httpMethod": "post",
2966
+ "href": "/api/reference/resources/images/methods/generate",
2967
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/images/methods/generate",
2968
+ "docCommand": "openai images generate --api-key 'My API Key' --prompt 'A cute baby sea otter'",
2969
+ "docFlags": [
2970
+ "prompt"
2971
+ ]
2972
+ },
2973
+ {
2974
+ "commandPath": [
2975
+ "models",
2976
+ "delete"
2977
+ ],
2978
+ "httpMethod": "delete",
2979
+ "href": "/api/reference/resources/models/methods/delete",
2980
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/models/methods/delete",
2981
+ "docCommand": "openai models delete --api-key 'My API Key' --model ft:gpt-4o-mini:acemeco:suffix:abc123",
2982
+ "docFlags": [
2983
+ "model"
2984
+ ]
2985
+ },
2986
+ {
2987
+ "commandPath": [
2988
+ "models",
2989
+ "list"
2990
+ ],
2991
+ "httpMethod": "get",
2992
+ "href": "/api/reference/resources/models/methods/list",
2993
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/models/methods/list",
2994
+ "docCommand": "openai models list --api-key 'My API Key'",
2995
+ "docFlags": []
2996
+ },
2997
+ {
2998
+ "commandPath": [
2999
+ "models",
3000
+ "retrieve"
3001
+ ],
3002
+ "httpMethod": "get",
3003
+ "href": "/api/reference/resources/models/methods/retrieve",
3004
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/models/methods/retrieve",
3005
+ "docCommand": "openai models retrieve --api-key 'My API Key' --model gpt-4o-mini",
3006
+ "docFlags": [
3007
+ "model"
3008
+ ]
3009
+ },
3010
+ {
3011
+ "commandPath": [
3012
+ "moderations",
3013
+ "create"
3014
+ ],
3015
+ "httpMethod": "post",
3016
+ "href": "/api/reference/resources/moderations/methods/create",
3017
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/moderations/methods/create",
3018
+ "docCommand": "openai moderations create --api-key 'My API Key' --input 'I want to kill them.'",
3019
+ "docFlags": [
3020
+ "input"
3021
+ ]
3022
+ },
3023
+ {
3024
+ "commandPath": [
3025
+ "realtime",
3026
+ "calls",
3027
+ "accept"
3028
+ ],
3029
+ "httpMethod": "post",
3030
+ "href": "/api/reference/resources/realtime/subresources/calls/methods/accept",
3031
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/realtime/subresources/calls/methods/accept",
3032
+ "docCommand": "openai realtime:calls accept --api-key 'My API Key' --call-id call_id --type realtime",
3033
+ "docFlags": [
3034
+ "call-id",
3035
+ "type"
3036
+ ]
3037
+ },
3038
+ {
3039
+ "commandPath": [
3040
+ "realtime",
3041
+ "calls",
3042
+ "hangup"
3043
+ ],
3044
+ "httpMethod": "post",
3045
+ "href": "/api/reference/resources/realtime/subresources/calls/methods/hangup",
3046
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/realtime/subresources/calls/methods/hangup",
3047
+ "docCommand": "openai realtime:calls hangup --api-key 'My API Key' --call-id call_id",
3048
+ "docFlags": [
3049
+ "call-id"
3050
+ ]
3051
+ },
3052
+ {
3053
+ "commandPath": [
3054
+ "realtime",
3055
+ "calls",
3056
+ "refer"
3057
+ ],
3058
+ "httpMethod": "post",
3059
+ "href": "/api/reference/resources/realtime/subresources/calls/methods/refer",
3060
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/realtime/subresources/calls/methods/refer",
3061
+ "docCommand": "openai realtime:calls refer --api-key 'My API Key' --call-id call_id --target-uri tel:+14155550123",
3062
+ "docFlags": [
3063
+ "call-id",
3064
+ "target-uri"
3065
+ ]
3066
+ },
3067
+ {
3068
+ "commandPath": [
3069
+ "realtime",
3070
+ "calls",
3071
+ "reject"
3072
+ ],
3073
+ "httpMethod": "post",
3074
+ "href": "/api/reference/resources/realtime/subresources/calls/methods/reject",
3075
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/realtime/subresources/calls/methods/reject",
3076
+ "docCommand": "openai realtime:calls reject --api-key 'My API Key' --call-id call_id",
3077
+ "docFlags": [
3078
+ "call-id"
3079
+ ]
3080
+ },
3081
+ {
3082
+ "commandPath": [
3083
+ "realtime",
3084
+ "client-secrets",
3085
+ "create"
3086
+ ],
3087
+ "httpMethod": "post",
3088
+ "href": "/api/reference/resources/realtime/subresources/client_secrets/methods/create",
3089
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/realtime/subresources/client_secrets/methods/create",
3090
+ "docCommand": "openai realtime:client-secrets create --api-key 'My API Key'",
3091
+ "docFlags": []
3092
+ },
3093
+ {
3094
+ "commandPath": [
3095
+ "responses",
3096
+ "cancel"
3097
+ ],
3098
+ "httpMethod": "post",
3099
+ "href": "/api/reference/resources/responses/methods/cancel",
3100
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/responses/methods/cancel",
3101
+ "docCommand": "openai responses cancel --api-key 'My API Key' --response-id resp_677efb5139a88190b512bc3fef8e535d",
3102
+ "docFlags": [
3103
+ "response-id"
3104
+ ]
3105
+ },
3106
+ {
3107
+ "commandPath": [
3108
+ "responses",
3109
+ "compact"
3110
+ ],
3111
+ "httpMethod": "post",
3112
+ "href": "/api/reference/resources/responses/methods/compact",
3113
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/responses/methods/compact",
3114
+ "docCommand": "openai responses compact --api-key 'My API Key' --model gpt-5.4",
3115
+ "docFlags": [
3116
+ "model"
3117
+ ]
3118
+ },
3119
+ {
3120
+ "commandPath": [
3121
+ "responses",
3122
+ "create"
3123
+ ],
3124
+ "httpMethod": "post",
3125
+ "href": "/api/reference/resources/responses/methods/create",
3126
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/responses/methods/create",
3127
+ "docCommand": "openai responses create --api-key 'My API Key'",
3128
+ "docFlags": []
3129
+ },
3130
+ {
3131
+ "commandPath": [
3132
+ "responses",
3133
+ "delete"
3134
+ ],
3135
+ "httpMethod": "delete",
3136
+ "href": "/api/reference/resources/responses/methods/delete",
3137
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/responses/methods/delete",
3138
+ "docCommand": "openai responses delete --api-key 'My API Key' --response-id resp_677efb5139a88190b512bc3fef8e535d",
3139
+ "docFlags": [
3140
+ "response-id"
3141
+ ]
3142
+ },
3143
+ {
3144
+ "commandPath": [
3145
+ "responses",
3146
+ "input-items",
3147
+ "list"
3148
+ ],
3149
+ "httpMethod": "get",
3150
+ "href": "/api/reference/resources/responses/subresources/input_items/methods/list",
3151
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/responses/subresources/input_items/methods/list",
3152
+ "docCommand": "openai responses:input-items list --api-key 'My API Key' --response-id response_id",
3153
+ "docFlags": [
3154
+ "response-id"
3155
+ ]
3156
+ },
3157
+ {
3158
+ "commandPath": [
3159
+ "responses",
3160
+ "input-tokens",
3161
+ "count"
3162
+ ],
3163
+ "httpMethod": "post",
3164
+ "href": "/api/reference/resources/responses/subresources/input_tokens/methods/count",
3165
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/responses/subresources/input_tokens/methods/count",
3166
+ "docCommand": "openai responses:input-tokens count --api-key 'My API Key'",
3167
+ "docFlags": []
3168
+ },
3169
+ {
3170
+ "commandPath": [
3171
+ "responses",
3172
+ "retrieve"
3173
+ ],
3174
+ "httpMethod": "get",
3175
+ "href": "/api/reference/resources/responses/methods/retrieve",
3176
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/responses/methods/retrieve",
3177
+ "docCommand": "openai responses retrieve --api-key 'My API Key' --response-id resp_677efb5139a88190b512bc3fef8e535d",
3178
+ "docFlags": [
3179
+ "response-id"
3180
+ ]
3181
+ },
3182
+ {
3183
+ "commandPath": [
3184
+ "skills",
3185
+ "content",
3186
+ "retrieve"
3187
+ ],
3188
+ "httpMethod": "get",
3189
+ "href": "/api/reference/resources/skills/subresources/content/methods/retrieve",
3190
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/skills/subresources/content/methods/retrieve",
3191
+ "docCommand": "openai skills:content retrieve --api-key 'My API Key' --skill-id skill_123",
3192
+ "docFlags": [
3193
+ "skill-id"
3194
+ ]
3195
+ },
3196
+ {
3197
+ "commandPath": [
3198
+ "skills",
3199
+ "create"
3200
+ ],
3201
+ "httpMethod": "post",
3202
+ "href": "/api/reference/resources/skills/methods/create",
3203
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/skills/methods/create",
3204
+ "docCommand": "openai skills create --api-key 'My API Key'",
3205
+ "docFlags": []
3206
+ },
3207
+ {
3208
+ "commandPath": [
3209
+ "skills",
3210
+ "delete"
3211
+ ],
3212
+ "httpMethod": "delete",
3213
+ "href": "/api/reference/resources/skills/methods/delete",
3214
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/skills/methods/delete",
3215
+ "docCommand": "openai skills delete --api-key 'My API Key' --skill-id skill_123",
3216
+ "docFlags": [
3217
+ "skill-id"
3218
+ ]
3219
+ },
3220
+ {
3221
+ "commandPath": [
3222
+ "skills",
3223
+ "list"
3224
+ ],
3225
+ "httpMethod": "get",
3226
+ "href": "/api/reference/resources/skills/methods/list",
3227
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/skills/methods/list",
3228
+ "docCommand": "openai skills list --api-key 'My API Key'",
3229
+ "docFlags": []
3230
+ },
3231
+ {
3232
+ "commandPath": [
3233
+ "skills",
3234
+ "retrieve"
3235
+ ],
3236
+ "httpMethod": "get",
3237
+ "href": "/api/reference/resources/skills/methods/retrieve",
3238
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/skills/methods/retrieve",
3239
+ "docCommand": "openai skills retrieve --api-key 'My API Key' --skill-id skill_123",
3240
+ "docFlags": [
3241
+ "skill-id"
3242
+ ]
3243
+ },
3244
+ {
3245
+ "commandPath": [
3246
+ "skills",
3247
+ "update"
3248
+ ],
3249
+ "httpMethod": "post",
3250
+ "href": "/api/reference/resources/skills/methods/update",
3251
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/skills/methods/update",
3252
+ "docCommand": "openai skills update --api-key 'My API Key' --skill-id skill_123 --default-version default_version",
3253
+ "docFlags": [
3254
+ "default-version",
3255
+ "skill-id"
3256
+ ]
3257
+ },
3258
+ {
3259
+ "commandPath": [
3260
+ "skills",
3261
+ "versions",
3262
+ "content",
3263
+ "retrieve"
3264
+ ],
3265
+ "httpMethod": "get",
3266
+ "href": "/api/reference/resources/skills/subresources/versions/subresources/content/methods/retrieve",
3267
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/skills/subresources/versions/subresources/content/methods/retrieve",
3268
+ "docCommand": "openai skills:versions:content retrieve --api-key 'My API Key' --skill-id skill_123 --version version",
3269
+ "docFlags": [
3270
+ "skill-id"
3271
+ ]
3272
+ },
3273
+ {
3274
+ "commandPath": [
3275
+ "skills",
3276
+ "versions",
3277
+ "create"
3278
+ ],
3279
+ "httpMethod": "post",
3280
+ "href": "/api/reference/resources/skills/subresources/versions/methods/create",
3281
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/skills/subresources/versions/methods/create",
3282
+ "docCommand": "openai skills:versions create --api-key 'My API Key' --skill-id skill_123",
3283
+ "docFlags": [
3284
+ "skill-id"
3285
+ ]
3286
+ },
3287
+ {
3288
+ "commandPath": [
3289
+ "skills",
3290
+ "versions",
3291
+ "delete"
3292
+ ],
3293
+ "httpMethod": "delete",
3294
+ "href": "/api/reference/resources/skills/subresources/versions/methods/delete",
3295
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/skills/subresources/versions/methods/delete",
3296
+ "docCommand": "openai skills:versions delete --api-key 'My API Key' --skill-id skill_123 --version version",
3297
+ "docFlags": [
3298
+ "skill-id"
3299
+ ]
3300
+ },
3301
+ {
3302
+ "commandPath": [
3303
+ "skills",
3304
+ "versions",
3305
+ "list"
3306
+ ],
3307
+ "httpMethod": "get",
3308
+ "href": "/api/reference/resources/skills/subresources/versions/methods/list",
3309
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/skills/subresources/versions/methods/list",
3310
+ "docCommand": "openai skills:versions list --api-key 'My API Key' --skill-id skill_123",
3311
+ "docFlags": [
3312
+ "skill-id"
3313
+ ]
3314
+ },
3315
+ {
3316
+ "commandPath": [
3317
+ "skills",
3318
+ "versions",
3319
+ "retrieve"
3320
+ ],
3321
+ "httpMethod": "get",
3322
+ "href": "/api/reference/resources/skills/subresources/versions/methods/retrieve",
3323
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/skills/subresources/versions/methods/retrieve",
3324
+ "docCommand": "openai skills:versions retrieve --api-key 'My API Key' --skill-id skill_123 --version version",
3325
+ "docFlags": [
3326
+ "skill-id"
3327
+ ]
3328
+ },
3329
+ {
3330
+ "commandPath": [
3331
+ "uploads",
3332
+ "cancel"
3333
+ ],
3334
+ "httpMethod": "post",
3335
+ "href": "/api/reference/resources/uploads/methods/cancel",
3336
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/uploads/methods/cancel",
3337
+ "docCommand": "openai uploads cancel --api-key 'My API Key' --upload-id upload_abc123",
3338
+ "docFlags": [
3339
+ "upload-id"
3340
+ ]
3341
+ },
3342
+ {
3343
+ "commandPath": [
3344
+ "uploads",
3345
+ "complete"
3346
+ ],
3347
+ "httpMethod": "post",
3348
+ "href": "/api/reference/resources/uploads/methods/complete",
3349
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/uploads/methods/complete",
3350
+ "docCommand": "openai uploads complete --api-key 'My API Key' --upload-id upload_abc123 --part-id string",
3351
+ "docFlags": [
3352
+ "part-id",
3353
+ "upload-id"
3354
+ ]
3355
+ },
3356
+ {
3357
+ "commandPath": [
3358
+ "uploads",
3359
+ "create"
3360
+ ],
3361
+ "httpMethod": "post",
3362
+ "href": "/api/reference/resources/uploads/methods/create",
3363
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/uploads/methods/create",
3364
+ "docCommand": "openai uploads create --api-key 'My API Key' --bytes 0 --filename filename --mime-type mime_type --purpose assistants",
3365
+ "docFlags": [
3366
+ "bytes",
3367
+ "filename",
3368
+ "mime-type",
3369
+ "purpose"
3370
+ ]
3371
+ },
3372
+ {
3373
+ "commandPath": [
3374
+ "uploads",
3375
+ "parts",
3376
+ "create"
3377
+ ],
3378
+ "httpMethod": "post",
3379
+ "href": "/api/reference/resources/uploads/subresources/parts/methods/create",
3380
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/uploads/subresources/parts/methods/create",
3381
+ "docCommand": "openai uploads:parts create --api-key 'My API Key' --upload-id upload_abc123 --data 'Example data'",
3382
+ "docFlags": [
3383
+ "data",
3384
+ "upload-id"
3385
+ ]
3386
+ },
3387
+ {
3388
+ "commandPath": [
3389
+ "vector-stores",
3390
+ "create"
3391
+ ],
3392
+ "httpMethod": "post",
3393
+ "href": "/api/reference/resources/vector_stores/methods/create",
3394
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/methods/create",
3395
+ "docCommand": "openai vector-stores create --api-key 'My API Key'",
3396
+ "docFlags": []
3397
+ },
3398
+ {
3399
+ "commandPath": [
3400
+ "vector-stores",
3401
+ "delete"
3402
+ ],
3403
+ "httpMethod": "delete",
3404
+ "href": "/api/reference/resources/vector_stores/methods/delete",
3405
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/methods/delete",
3406
+ "docCommand": "openai vector-stores delete --api-key 'My API Key' --vector-store-id vector_store_id",
3407
+ "docFlags": [
3408
+ "vector-store-id"
3409
+ ]
3410
+ },
3411
+ {
3412
+ "commandPath": [
3413
+ "vector-stores",
3414
+ "file-batches",
3415
+ "cancel"
3416
+ ],
3417
+ "httpMethod": "post",
3418
+ "href": "/api/reference/resources/vector_stores/subresources/file_batches/methods/cancel",
3419
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/subresources/file_batches/methods/cancel",
3420
+ "docCommand": "openai vector-stores:file-batches cancel --api-key 'My API Key' --vector-store-id vector_store_id --batch-id batch_id",
3421
+ "docFlags": [
3422
+ "batch-id",
3423
+ "vector-store-id"
3424
+ ]
3425
+ },
3426
+ {
3427
+ "commandPath": [
3428
+ "vector-stores",
3429
+ "file-batches",
3430
+ "create"
3431
+ ],
3432
+ "httpMethod": "post",
3433
+ "href": "/api/reference/resources/vector_stores/subresources/file_batches/methods/create",
3434
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/subresources/file_batches/methods/create",
3435
+ "docCommand": "openai vector-stores:file-batches create --api-key 'My API Key' --vector-store-id vs_abc123",
3436
+ "docFlags": [
3437
+ "vector-store-id"
3438
+ ]
3439
+ },
3440
+ {
3441
+ "commandPath": [
3442
+ "vector-stores",
3443
+ "file-batches",
3444
+ "list-files"
3445
+ ],
3446
+ "httpMethod": "get",
3447
+ "href": "/api/reference/resources/vector_stores/subresources/file_batches/methods/list_files",
3448
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/subresources/file_batches/methods/list_files",
3449
+ "docCommand": "openai vector-stores:file-batches list-files --api-key 'My API Key' --vector-store-id vector_store_id --batch-id batch_id",
3450
+ "docFlags": [
3451
+ "batch-id",
3452
+ "vector-store-id"
3453
+ ]
3454
+ },
3455
+ {
3456
+ "commandPath": [
3457
+ "vector-stores",
3458
+ "file-batches",
3459
+ "retrieve"
3460
+ ],
3461
+ "httpMethod": "get",
3462
+ "href": "/api/reference/resources/vector_stores/subresources/file_batches/methods/retrieve",
3463
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/subresources/file_batches/methods/retrieve",
3464
+ "docCommand": "openai vector-stores:file-batches retrieve --api-key 'My API Key' --vector-store-id vs_abc123 --batch-id vsfb_abc123",
3465
+ "docFlags": [
3466
+ "batch-id",
3467
+ "vector-store-id"
3468
+ ]
3469
+ },
3470
+ {
3471
+ "commandPath": [
3472
+ "vector-stores",
3473
+ "files",
3474
+ "content"
3475
+ ],
3476
+ "httpMethod": "get",
3477
+ "href": "/api/reference/resources/vector_stores/subresources/files/methods/content",
3478
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/subresources/files/methods/content",
3479
+ "docCommand": "openai vector-stores:files content --api-key 'My API Key' --vector-store-id vs_abc123 --file-id file-abc123",
3480
+ "docFlags": [
3481
+ "file-id",
3482
+ "vector-store-id"
3483
+ ]
3484
+ },
3485
+ {
3486
+ "commandPath": [
3487
+ "vector-stores",
3488
+ "files",
3489
+ "create"
3490
+ ],
3491
+ "httpMethod": "post",
3492
+ "href": "/api/reference/resources/vector_stores/subresources/files/methods/create",
3493
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/subresources/files/methods/create",
3494
+ "docCommand": "openai vector-stores:files create --api-key 'My API Key' --vector-store-id vs_abc123 --file-id file_id",
3495
+ "docFlags": [
3496
+ "file-id",
3497
+ "vector-store-id"
3498
+ ]
3499
+ },
3500
+ {
3501
+ "commandPath": [
3502
+ "vector-stores",
3503
+ "files",
3504
+ "delete"
3505
+ ],
3506
+ "httpMethod": "delete",
3507
+ "href": "/api/reference/resources/vector_stores/subresources/files/methods/delete",
3508
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/subresources/files/methods/delete",
3509
+ "docCommand": "openai vector-stores:files delete --api-key 'My API Key' --vector-store-id vector_store_id --file-id file_id",
3510
+ "docFlags": [
3511
+ "file-id",
3512
+ "vector-store-id"
3513
+ ]
3514
+ },
3515
+ {
3516
+ "commandPath": [
3517
+ "vector-stores",
3518
+ "files",
3519
+ "list"
3520
+ ],
3521
+ "httpMethod": "get",
3522
+ "href": "/api/reference/resources/vector_stores/subresources/files/methods/list",
3523
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/subresources/files/methods/list",
3524
+ "docCommand": "openai vector-stores:files list --api-key 'My API Key' --vector-store-id vector_store_id",
3525
+ "docFlags": [
3526
+ "vector-store-id"
3527
+ ]
3528
+ },
3529
+ {
3530
+ "commandPath": [
3531
+ "vector-stores",
3532
+ "files",
3533
+ "retrieve"
3534
+ ],
3535
+ "httpMethod": "get",
3536
+ "href": "/api/reference/resources/vector_stores/subresources/files/methods/retrieve",
3537
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/subresources/files/methods/retrieve",
3538
+ "docCommand": "openai vector-stores:files retrieve --api-key 'My API Key' --vector-store-id vs_abc123 --file-id file-abc123",
3539
+ "docFlags": [
3540
+ "file-id",
3541
+ "vector-store-id"
3542
+ ]
3543
+ },
3544
+ {
3545
+ "commandPath": [
3546
+ "vector-stores",
3547
+ "files",
3548
+ "update"
3549
+ ],
3550
+ "httpMethod": "post",
3551
+ "href": "/api/reference/resources/vector_stores/subresources/files/methods/update",
3552
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/subresources/files/methods/update",
3553
+ "docCommand": "openai vector-stores:files update --api-key 'My API Key' --vector-store-id vs_abc123 --file-id file-abc123 --attributes '{foo: string}'",
3554
+ "docFlags": [
3555
+ "attributes",
3556
+ "file-id",
3557
+ "vector-store-id"
3558
+ ]
3559
+ },
3560
+ {
3561
+ "commandPath": [
3562
+ "vector-stores",
3563
+ "list"
3564
+ ],
3565
+ "httpMethod": "get",
3566
+ "href": "/api/reference/resources/vector_stores/methods/list",
3567
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/methods/list",
3568
+ "docCommand": "openai vector-stores list --api-key 'My API Key'",
3569
+ "docFlags": []
3570
+ },
3571
+ {
3572
+ "commandPath": [
3573
+ "vector-stores",
3574
+ "retrieve"
3575
+ ],
3576
+ "httpMethod": "get",
3577
+ "href": "/api/reference/resources/vector_stores/methods/retrieve",
3578
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/methods/retrieve",
3579
+ "docCommand": "openai vector-stores retrieve --api-key 'My API Key' --vector-store-id vector_store_id",
3580
+ "docFlags": [
3581
+ "vector-store-id"
3582
+ ]
3583
+ },
3584
+ {
3585
+ "commandPath": [
3586
+ "vector-stores",
3587
+ "search"
3588
+ ],
3589
+ "httpMethod": "post",
3590
+ "href": "/api/reference/resources/vector_stores/methods/search",
3591
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/methods/search",
3592
+ "docCommand": "openai vector-stores search --api-key 'My API Key' --vector-store-id vs_abc123 --query string",
3593
+ "docFlags": [
3594
+ "query",
3595
+ "vector-store-id"
3596
+ ]
3597
+ },
3598
+ {
3599
+ "commandPath": [
3600
+ "vector-stores",
3601
+ "update"
3602
+ ],
3603
+ "httpMethod": "post",
3604
+ "href": "/api/reference/resources/vector_stores/methods/update",
3605
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/vector_stores/methods/update",
3606
+ "docCommand": "openai vector-stores update --api-key 'My API Key' --vector-store-id vector_store_id",
3607
+ "docFlags": [
3608
+ "vector-store-id"
3609
+ ]
3610
+ },
3611
+ {
3612
+ "commandPath": [
3613
+ "videos",
3614
+ "create"
3615
+ ],
3616
+ "httpMethod": "post",
3617
+ "href": "/api/reference/resources/videos/methods/create",
3618
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/videos/methods/create",
3619
+ "docCommand": "openai videos create --api-key 'My API Key' --prompt x",
3620
+ "docFlags": [
3621
+ "prompt"
3622
+ ]
3623
+ },
3624
+ {
3625
+ "commandPath": [
3626
+ "videos",
3627
+ "create-character"
3628
+ ],
3629
+ "httpMethod": "post",
3630
+ "href": "/api/reference/resources/videos/methods/create_character",
3631
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/videos/methods/create_character",
3632
+ "docCommand": "openai videos create-character --api-key 'My API Key' --name x --video 'Example data'",
3633
+ "docFlags": [
3634
+ "name",
3635
+ "video"
3636
+ ]
3637
+ },
3638
+ {
3639
+ "commandPath": [
3640
+ "videos",
3641
+ "delete"
3642
+ ],
3643
+ "httpMethod": "delete",
3644
+ "href": "/api/reference/resources/videos/methods/delete",
3645
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/videos/methods/delete",
3646
+ "docCommand": "openai videos delete --api-key 'My API Key' --video-id video_123",
3647
+ "docFlags": [
3648
+ "video-id"
3649
+ ]
3650
+ },
3651
+ {
3652
+ "commandPath": [
3653
+ "videos",
3654
+ "download-content"
3655
+ ],
3656
+ "httpMethod": "get",
3657
+ "href": "/api/reference/resources/videos/methods/download_content",
3658
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/videos/methods/download_content",
3659
+ "docCommand": "openai videos download-content --api-key 'My API Key' --video-id video_123",
3660
+ "docFlags": [
3661
+ "video-id"
3662
+ ]
3663
+ },
3664
+ {
3665
+ "commandPath": [
3666
+ "videos",
3667
+ "edit"
3668
+ ],
3669
+ "httpMethod": "post",
3670
+ "href": "/api/reference/resources/videos/methods/edit",
3671
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/videos/methods/edit",
3672
+ "docCommand": "openai videos edit --api-key 'My API Key' --prompt x --video 'Example data'",
3673
+ "docFlags": [
3674
+ "prompt",
3675
+ "video"
3676
+ ]
3677
+ },
3678
+ {
3679
+ "commandPath": [
3680
+ "videos",
3681
+ "extend"
3682
+ ],
3683
+ "httpMethod": "post",
3684
+ "href": "/api/reference/resources/videos/methods/extend",
3685
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/videos/methods/extend",
3686
+ "docCommand": "openai videos extend --api-key 'My API Key' --prompt x --seconds 4 --video 'Example data'",
3687
+ "docFlags": [
3688
+ "prompt",
3689
+ "seconds",
3690
+ "video"
3691
+ ]
3692
+ },
3693
+ {
3694
+ "commandPath": [
3695
+ "videos",
3696
+ "get-character"
3697
+ ],
3698
+ "httpMethod": "get",
3699
+ "href": "/api/reference/resources/videos/methods/get_character",
3700
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/videos/methods/get_character",
3701
+ "docCommand": "openai videos get-character --api-key 'My API Key' --character-id char_123",
3702
+ "docFlags": [
3703
+ "character-id"
3704
+ ]
3705
+ },
3706
+ {
3707
+ "commandPath": [
3708
+ "videos",
3709
+ "list"
3710
+ ],
3711
+ "httpMethod": "get",
3712
+ "href": "/api/reference/resources/videos/methods/list",
3713
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/videos/methods/list",
3714
+ "docCommand": "openai videos list --api-key 'My API Key'",
3715
+ "docFlags": []
3716
+ },
3717
+ {
3718
+ "commandPath": [
3719
+ "videos",
3720
+ "remix"
3721
+ ],
3722
+ "httpMethod": "post",
3723
+ "href": "/api/reference/resources/videos/methods/remix",
3724
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/videos/methods/remix",
3725
+ "docCommand": "openai videos remix --api-key 'My API Key' --video-id video_123 --prompt x",
3726
+ "docFlags": [
3727
+ "prompt",
3728
+ "video-id"
3729
+ ]
3730
+ },
3731
+ {
3732
+ "commandPath": [
3733
+ "videos",
3734
+ "retrieve"
3735
+ ],
3736
+ "httpMethod": "get",
3737
+ "href": "/api/reference/resources/videos/methods/retrieve",
3738
+ "cliUrl": "https://developers.openai.com/api/reference/cli/resources/videos/methods/retrieve",
3739
+ "docCommand": "openai videos retrieve --api-key 'My API Key' --video-id video_123",
3740
+ "docFlags": [
3741
+ "video-id"
3742
+ ]
3743
+ }
3744
+ ]