📖 To learn more, take a look at our complete API

📤 Example Request

  1. Generate an api key below👇

  2. Install node-fetch & add the GOOEY_API_KEY to your environment variables.
    Never store the api key in your code and don't use direcly in the browser.

$ npm install node-fetch
$ export GOOEY_API_KEY=sk-xxxx
  1. Use this sample code to call the API.
    If you encounter any issues, write to us at [email protected] and make sure to include the full code snippet and the error message.
import fetch from 'node-fetch';

const payload = {
  "documents": [
    "https://docs.google.com/spreadsheets/d/1yCVVAfvsKEiJ5n4Uo3vW6Ltum5aiWv4PTKBOvg-gf4I/edit?usp=sharing"
  ],
  "run_urls": [
    "https://gooey.ai/copilot/0-gpt55-urdu-qzan9yrypuru/",
    "https://gooey.ai/copilot/1-gpt55-omni-urdu-uv1lsd1guy7k/",
    "https://gooey.ai/copilot/2-gem31pro-urdu-b35q952jwd0h/",
    "https://gooey.ai/copilot/3-gem31pro-omni-urdu-icf7coh7mllr/",
    "https://gooey.ai/copilot/4-gem31flashlite-urdu-8oz9t6t3egvg/",
    "https://gooey.ai/copilot/5-gem31flashlite-omni-urdu-uzd3b9vct4ro/",
    "https://gooey.ai/copilot/6-kimi-k26-omni-urdu-nnw4xhugceoo/",
    "https://gooey.ai/copilot/7-gpt-oss-120b-omni-urdu-m2qnpk4vcrcv/",
    "https://gooey.ai/copilot/8-gpt-realtime-15-urdu-cpo12jcxvcdy/",
    "https://gooey.ai/copilot/9-gpt-realtime-15-omni-urdu-dg9247jrcupa/",
    "https://gooey.ai/copilot/10-gemma4-26b-omni-urdu-k5df7sikv0yn/"
  ],
  "input_columns": {
    "documents": "documents",
    "input_audio": "input_audio"
  },
  "output_columns": {
    "run_url": "Run URL",
    "run_time": "Run Time",
    "output_text": "Output Text"
  }
};

async function gooeyAPI() {
  const response = await fetch("https://test.api.gooey.ai/v2/bulk?example_id=ix6nst9mnmkv", {
    method: "POST",
    headers: {
      "Authorization": "bearer " + process.env["GOOEY_API_KEY"],
      "Content-Type": "application/json",
    },
    body: JSON.stringify(payload),
  });

  if (!response.ok) {
    throw new Error(response.status);
  }

  const result = await response.json();
  console.log(response.status, result);
}

gooeyAPI();
  1. Generate an api key below👇

  2. Install requests & add the GOOEY_API_KEY to your environment variables.
    Never store the api key in your code.

$ python3 -m pip install requests
$ export GOOEY_API_KEY=sk-xxxx
  1. Use this sample code to call the API.
    If you encounter any issues, write to us at [email protected] and make sure to include the full code snippet and the error message.
import os
import requests

payload = {
    "documents": [
        "https://docs.google.com/spreadsheets/d/1yCVVAfvsKEiJ5n4Uo3vW6Ltum5aiWv4PTKBOvg-gf4I/edit?usp=sharing"
    ],
    "run_urls": [
        "https://gooey.ai/copilot/0-gpt55-urdu-qzan9yrypuru/",
        "https://gooey.ai/copilot/1-gpt55-omni-urdu-uv1lsd1guy7k/",
        "https://gooey.ai/copilot/2-gem31pro-urdu-b35q952jwd0h/",
        "https://gooey.ai/copilot/3-gem31pro-omni-urdu-icf7coh7mllr/",
        "https://gooey.ai/copilot/4-gem31flashlite-urdu-8oz9t6t3egvg/",
        "https://gooey.ai/copilot/5-gem31flashlite-omni-urdu-uzd3b9vct4ro/",
        "https://gooey.ai/copilot/6-kimi-k26-omni-urdu-nnw4xhugceoo/",
        "https://gooey.ai/copilot/7-gpt-oss-120b-omni-urdu-m2qnpk4vcrcv/",
        "https://gooey.ai/copilot/8-gpt-realtime-15-urdu-cpo12jcxvcdy/",
        "https://gooey.ai/copilot/9-gpt-realtime-15-omni-urdu-dg9247jrcupa/",
        "https://gooey.ai/copilot/10-gemma4-26b-omni-urdu-k5df7sikv0yn/",
    ],
    "input_columns": {"documents": "documents", "input_audio": "input_audio"},
    "output_columns": {
        "run_url": "Run URL",
        "run_time": "Run Time",
        "output_text": "Output Text",
    },
}

response = requests.post(
    "https://test.api.gooey.ai/v2/bulk?example_id=ix6nst9mnmkv",
    headers={
        "Authorization": "bearer " + os.environ["GOOEY_API_KEY"],
    },
    json=payload,
)
assert response.ok, response.content

result = response.json()
print(response.status_code, result)
  1. Generate an api key below👇

  2. Install curl & add the GOOEY_API_KEY to your environment variables.
    Never store the api key in your code.

export GOOEY_API_KEY=sk-xxxx
  1. Run the following curl command in your terminal.
    If you encounter any issues, write to us at [email protected] and make sure to include the full curl command and the error message.
curl 'https://test.api.gooey.ai/v2/bulk?example_id=ix6nst9mnmkv' \
  -H "Authorization: bearer $GOOEY_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "documents": [
    "https://docs.google.com/spreadsheets/d/1yCVVAfvsKEiJ5n4Uo3vW6Ltum5aiWv4PTKBOvg-gf4I/edit?usp=sharing"
  ],
  "run_urls": [
    "https://gooey.ai/copilot/0-gpt55-urdu-qzan9yrypuru/",
    "https://gooey.ai/copilot/1-gpt55-omni-urdu-uv1lsd1guy7k/",
    "https://gooey.ai/copilot/2-gem31pro-urdu-b35q952jwd0h/",
    "https://gooey.ai/copilot/3-gem31pro-omni-urdu-icf7coh7mllr/",
    "https://gooey.ai/copilot/4-gem31flashlite-urdu-8oz9t6t3egvg/",
    "https://gooey.ai/copilot/5-gem31flashlite-omni-urdu-uzd3b9vct4ro/",
    "https://gooey.ai/copilot/6-kimi-k26-omni-urdu-nnw4xhugceoo/",
    "https://gooey.ai/copilot/7-gpt-oss-120b-omni-urdu-m2qnpk4vcrcv/",
    "https://gooey.ai/copilot/8-gpt-realtime-15-urdu-cpo12jcxvcdy/",
    "https://gooey.ai/copilot/9-gpt-realtime-15-omni-urdu-dg9247jrcupa/",
    "https://gooey.ai/copilot/10-gemma4-26b-omni-urdu-k5df7sikv0yn/"
  ],
  "input_columns": {
    "documents": "documents",
    "input_audio": "input_audio"
  },
  "output_columns": {
    "run_url": "Run URL",
    "run_time": "Run Time",
    "output_text": "Output Text"
  }
}'

🎁 Example Response

{4 Items
"id"
:
string
"tq78bbydrfcc"
"url"
:
string
"https://test.gooey.ai/bulk/"
"created_at"
:
string
"2026-04-28T07:28:01.037267+00:00"
"output"
:
{4 Items
"output_documents"
:
[1 Items
0
:
string
"https://storage.googleapis.com/dara-c1b52.appspot."
]
"bulk_progress"
:
NULL
"eval_progress"
:
NULL
"eval_runs"
:
[2 Items
0
:
string
"https://gooey.ai/eval/?run_id=g4ubr5fze7rg&uid=t1Z"
1
:
string
"https://gooey.ai/eval/?run_id=v00gzd0c0kpr&uid=t1Z"
]
}
}

Please Login to generate the $GOOEY_API_KEY