llm utils

Transform Request

post/utils/transform_request

Request

  • Base URL: https://api.aiaw.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.aiaw.app/utils/transform_request
  • Auth: one of:
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key

Request body

call_type'embedding' | 'aembedding' | 'completion' | 'acompletion' | 'atext_completion' | 'text_completion' | 'image_generation' | 'aimage_generation' | 'image_edit' | 'aimage_edit' | 'moderation' | 'amoderation' | 'atranscription' | 'transcription' | 'aspeech' | 'speech' | 'rerank' | 'arerank' | '_arealtime' | 'create_batch' | 'acreate_batch' | 'aretrieve_batch' | 'retrieve_batch' | 'pass_through_endpoint' | 'anthropic_messages' | 'get_assistants' | 'aget_assistants' | 'create_assistants' | 'acreate_assistants' | 'delete_assistant' | 'adelete_assistant' | 'acreate_thread' | 'create_thread' | 'aget_thread' | 'get_thread' | 'a_add_message' | 'add_message' | 'aget_messages' | 'get_messages' | 'arun_thread' | 'run_thread' | 'arun_thread_stream' | 'run_thread_stream' | 'afile_retrieve' | 'file_retrieve' | 'afile_delete' | 'file_delete' | 'afile_list' | 'file_list' | 'acreate_file' | 'create_file' | 'afile_content' | 'file_content' | 'create_fine_tuning_job' | 'acreate_fine_tuning_job' | 'acancel_fine_tuning_job' | 'cancel_fine_tuning_job' | 'alist_fine_tuning_jobs' | 'list_fine_tuning_jobs' | 'aretrieve_fine_tuning_job' | 'retrieve_fine_tuning_job' | 'responses' | 'aresponses' | 'alist_input_items' | 'llm_passthrough_route' | 'allm_passthrough_route' | 'generate_content' | 'agenerate_content' | 'generate_content_stream' | 'agenerate_content_stream' | 'call_mcp_tool' required
request_bodyobject required

Response

Successful Response

raw_request_api_basestring nullable
raw_request_bodyobject nullable
raw_request_headersobject nullable
errorstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.