Skip to main content

List Batches

GET 

https://api.cloud.llamaindex.ai/api/v1/beta/batches

List Batches

Request

Query Parameters

    limit Limit
    Default value: 20
    offset Offset
    Default value: 0
    project_id any
    organization_id any

Cookie Parameters

    session any

Responses

Successful Response

Schema
    data object[]required

    List of batches

  • Array [
  • toolTool (string)required

    The tool to be used for all requests in the batch.

    tool_data object

    The data to be used for the tool.

    anyOf
    priority object

    The priority for the request. This field may be ignored or overwritten depending on the organization tier.

    anyOf
    string

    Possible values: [low, medium, high, critical]

    languagesParserLanguages (string)[]

    Possible values: [af, az, bs, cs, cy, da, de, en, es, et, fr, ga, hr, hu, id, is, it, ku, la, lt, lv, mi, ms, mt, nl, no, oc, pi, pl, pt, ro, rs_latin, sk, sl, sq, sv, sw, tl, tr, uz, vi, ar, fa, ug, ur, bn, as, mni, ru, rs_cyrillic, be, bg, uk, mn, abq, ady, kbd, ava, dar, inh, che, lbe, lez, tab, tjk, hi, mr, ne, bh, mai, ang, bho, mah, sck, new, gom, sa, bgc, th, ch_sim, ch_tra, ja, ko, ta, te, kn], >= 1

    parsing_instruction object
    anyOf
    string
    disable_ocr object
    anyOf
    boolean
    annotate_links object
    anyOf
    boolean
    adaptive_long_table object
    anyOf
    boolean
    compact_markdown_table object
    anyOf
    boolean
    disable_reconstruction object
    anyOf
    boolean
    disable_image_extraction object
    anyOf
    boolean
    invalidate_cache object
    anyOf
    boolean
    outlined_table_extraction object
    anyOf
    boolean
    output_pdf_of_document object
    anyOf
    boolean
    do_not_cache object
    anyOf
    boolean
    fast_mode object
    anyOf
    boolean
    skip_diagonal_text object
    anyOf
    boolean
    preserve_layout_alignment_across_pages object
    anyOf
    boolean
    gpt4o_mode object
    anyOf
    boolean
    gpt4o_api_key object
    anyOf
    string
    do_not_unroll_columns object
    anyOf
    boolean
    extract_layout object
    anyOf
    boolean
    high_res_ocr object
    anyOf
    boolean
    html_make_all_elements_visible object
    anyOf
    boolean
    html_remove_navigation_elements object
    anyOf
    boolean
    html_remove_fixed_elements object
    anyOf
    boolean
    guess_xlsx_sheet_name object
    anyOf
    boolean
    page_separator object
    anyOf
    string
    bounding_box object
    anyOf
    string
    bbox_top object
    anyOf
    number
    bbox_right object
    anyOf
    number
    bbox_bottom object
    anyOf
    number
    bbox_left object
    anyOf
    number
    target_pages object
    anyOf
    string
    use_vendor_multimodal_model object
    anyOf
    boolean
    vendor_multimodal_model_name object
    anyOf
    string
    model object
    anyOf
    string
    vendor_multimodal_api_key object
    anyOf
    string
    page_prefix object
    anyOf
    string
    page_suffix object
    anyOf
    string
    webhook_url object
    anyOf
    string
    preset object
    anyOf
    string
    take_screenshot object
    anyOf
    boolean
    is_formatting_instruction object
    anyOf
    boolean
    premium_mode object
    anyOf
    boolean
    continuous_mode object
    anyOf
    boolean
    input_s3_path object
    anyOf
    string
    input_s3_region object
    anyOf
    string
    output_s3_path_prefix object
    anyOf
    string
    output_s3_region object
    anyOf
    string
    project_id object
    anyOf
    string
    azure_openai_deployment_name object
    anyOf
    string
    azure_openai_endpoint object
    anyOf
    string
    azure_openai_api_version object
    anyOf
    string
    azure_openai_key object
    anyOf
    string
    input_url object
    anyOf
    string
    http_proxy object
    anyOf
    string
    auto_mode object
    anyOf
    boolean
    auto_mode_trigger_on_regexp_in_page object
    anyOf
    string
    auto_mode_trigger_on_text_in_page object
    anyOf
    string
    auto_mode_trigger_on_table_in_page object
    anyOf
    boolean
    auto_mode_trigger_on_image_in_page object
    anyOf
    boolean
    auto_mode_configuration_json object
    anyOf
    string
    structured_output object
    anyOf
    boolean
    structured_output_json_schema object
    anyOf
    string
    structured_output_json_schema_name object
    anyOf
    string
    max_pages object
    anyOf
    integer
    max_pages_enforced object
    anyOf
    integer
    extract_charts object
    anyOf
    boolean
    formatting_instruction object
    anyOf
    string
    complemental_formatting_instruction object
    anyOf
    string
    content_guideline_instruction object
    anyOf
    string
    spreadsheet_extract_sub_tables object
    anyOf
    boolean
    job_timeout_in_seconds object
    anyOf
    number
    job_timeout_extra_time_per_page_in_seconds object
    anyOf
    number
    strict_mode_image_extraction object
    anyOf
    boolean
    strict_mode_image_ocr object
    anyOf
    boolean
    strict_mode_reconstruction object
    anyOf
    boolean
    strict_mode_buggy_font object
    anyOf
    boolean
    save_images object
    anyOf
    boolean
    ignore_document_elements_for_layout_detection object
    anyOf
    boolean
    output_tables_as_HTML object
    anyOf
    boolean
    internal_is_screenshot_job object
    anyOf
    boolean
    parse_mode object
    anyOf
    string

    Enum for representing the mode of parsing to be used

    Possible values: [parse_page_without_llm, parse_page_with_llm, parse_page_with_lvm, parse_page_with_agent, parse_page_with_layout_agent, parse_document_with_llm, parse_document_with_lvm, parse_document_with_agent]

    system_prompt object
    anyOf
    string
    system_prompt_append object
    anyOf
    string
    user_prompt object
    anyOf
    string
    page_error_tolerance object
    anyOf
    number
    replace_failed_page_mode object
    anyOf
    string

    Enum for representing the different available page error handling modes

    Possible values: [raw_text, blank_page, error_message]

    replace_failed_page_with_error_message_prefix object
    anyOf
    string
    replace_failed_page_with_error_message_suffix object
    anyOf
    string
    markdown_table_multiline_header_separator object
    anyOf
    string
    input_typeInput Type (string)required

    The type of input file. Currently only 'datasource' is supported.

    input_idInput Id (string)required

    The ID of the input file for the batch.

    output_type object

    The type of output file. Currently only 'datasource' is supported.

    anyOf
    string
    output_id object

    The ID of the output file for the batch.

    anyOf
    string
    idId (string)required

    Unique identifier for the batch

    project_idProject Id (string)required

    The ID of the project to which the batch belongs

    organization_idOrganization Id (string)required

    The ID of the organization to which the batch belongs

    user_idUser Id (string)required

    The ID of the user who created the batch

    external_id object

    A developer-provided ID for the batch. This ID will be returned in the response.

    anyOf
    string
    completion_windowCompletion Window (integer)required

    The time frame within which the batch should be processed

    pipeline_idPipeline Id (string)required

    The ID of the pipeline to which the batch belongs

    statusStatus (string)required

    The current status of the batch

    created_at object

    The Unix timestamp (in seconds) for when the batch was created

    anyOf
    string
    updated_at object

    The Unix timestamp (in seconds) for when the batch was last updated

    anyOf
    string
  • ]
  • limitLimit (integer)required

    Pagination limit

    offsetOffset (integer)required

    Pagination offset

    total_countTotal Count (integer)required

    Total number of batches

Authorization: http

name: HTTPBearertype: httpscheme: bearer
name: HTTPBearertype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.cloud.llamaindex.ai/api/v1/beta/batches");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.cloud.llamaindex.ai
Auth
Parameters
— query
— query
— query
— query
— cookie
ResponseClear

Click the Send API Request button above and see the response here!