From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

Changes for version 0.20 - 2025-04-06

  • Complete revamped documentation. Much easier to read than the near-useless Schema.pod that we used to have.

Documentation

Methods for OpenAI API
Index of OpenAI API Paths
Documentation for the /assistants/{assistant_id} path.
Documentation for the /assistants path.
Documentation for the /audio/speech path.
Documentation for the /audio/transcriptions path.
Documentation for the /audio/translations path.
Documentation for the /batches/{batch_id}/cancel path.
Documentation for the /batches/{batch_id} path.
Documentation for the /batches path.
Documentation for the /chat/completions/{completion_id}/messages path.
Documentation for the /chat/completions/{completion_id} path.
Documentation for the /chat/completions path.
Documentation for the /completions path.
Documentation for the /embeddings path.
Documentation for the /files/{file_id}/content path.
Documentation for the /files/{file_id} path.
Documentation for the /files path.
Documentation for the /fine_tuning/checkpoints/{permission_id}/permissions path.
Documentation for the /fine_tuning/jobs/{fine_tuning_job_id}/cancel path.
Documentation for the /fine_tuning/jobs/{fine_tuning_job_id}/checkpoints path.
Documentation for the /fine_tuning/jobs/{fine_tuning_job_id}/events path.
Documentation for the /fine_tuning/jobs/{fine_tuning_job_id} path.
Documentation for the /fine_tuning/jobs path.
Documentation for the /images/edits path.
Documentation for the /images/generations path.
Documentation for the /images/variations path.
Documentation for the /models/{model} path.
Documentation for the /models path.
Documentation for the /moderations path.
Documentation for the /organization/admin_api_keys/{key_id} path.
Documentation for the /organization/admin_api_keys path.
Documentation for the /organization/audit_logs path.
Documentation for the /organization/costs path.
Documentation for the /organization/invites/{invite_id} path.
Documentation for the /organization/invites path.
Documentation for the /organization/projects/{project_id}/api_keys/{key_id} path.
Documentation for the /organization/projects/{project_id}/api_keys path.
Documentation for the /organization/projects/{project_id}/archive path.
Documentation for the /organization/projects/{project_id}/rate_limits/{rate_limit_id} path.
Documentation for the /organization/projects/{project_id}/rate_limits path.
Documentation for the /organization/projects/{project_id}/service_accounts/{service_account_id} path.
Documentation for the /organization/projects/{project_id}/service_accounts path.
Documentation for the /organization/projects/{project_id}/users/{user_id} path.
Documentation for the /organization/projects/{project_id}/users path.
Documentation for the /organization/projects/{project_id} path.
Documentation for the /organization/projects path.
Documentation for the /organization/usage/audio_speeches path.
Documentation for the /organization/usage/audio_transcriptions path.
Documentation for the /organization/usage/code_interpreter_sessions path.
Documentation for the /organization/usage/completions path.
Documentation for the /organization/usage/embeddings path.
Documentation for the /organization/usage/images path.
Documentation for the /organization/usage/moderations path.
Documentation for the /organization/usage/vector_stores path.
Documentation for the /organization/users/{user_id} path.
Documentation for the /organization/users path.
Documentation for the /realtime/sessions path.
Documentation for the /realtime/transcription_sessions path.
Documentation for the /responses/{response_id}/input_items path.
Documentation for the /responses/{response_id} path.
Documentation for the /responses path.
Documentation for the /threads/runs path.
Documentation for the /threads/{thread_id}/messages/{message_id} path.
Documentation for the /threads/{thread_id}/messages path.
Documentation for the /threads/{thread_id}/runs/{run_id}/cancel path.
Documentation for the /threads/{thread_id}/runs/{run_id}/steps/{step_id} path.
Documentation for the /threads/{thread_id}/runs/{run_id}/steps path.
Documentation for the /threads/{thread_id}/runs/{run_id}/submit_tool_outputs path.
Documentation for the /threads/{thread_id}/runs/{run_id} path.
Documentation for the /threads/{thread_id}/runs path.
Documentation for the /threads/{thread_id} path.
Documentation for the /threads path.
Documentation for the /uploads/{upload_id}/cancel path.
Documentation for the /uploads/{upload_id}/complete path.
Documentation for the /uploads/{upload_id}/parts path.
Documentation for the /uploads path.
Documentation for the /vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel path.
Documentation for the /vector_stores/{vector_store_id}/file_batches/{batch_id}/files path.
Documentation for the /vector_stores/{vector_store_id}/file_batches/{batch_id} path.
Documentation for the /vector_stores/{vector_store_id}/file_batches path.
Documentation for the /vector_stores/{vector_store_id}/files/{file_id}/content path.
Documentation for the /vector_stores/{vector_store_id}/files/{file_id} path.
Documentation for the /vector_stores/{vector_store_id}/files path.
Documentation for the /vector_stores/{vector_store_id}/search path.
Documentation for the /vector_stores/{vector_store_id} path.
Documentation for the /vector_stores path.

Modules

A client for the OpenAI API