Hello,
I have been trying to do some basic testing using the Edit Actions in a GPT and creating a simple schema. I have generated an API key with Google, loaded it in the Authentication as an API Key, and tested it. Every test fails with a reference to an authentication error. I have tried to update the schema multiple ways, but no matter what I do, the custom GPT is not attempting to send the key with the request, causing the failure. I appreciate any hints as to what I am missing here!
Here is the Schema I am trying to test
openapi: 3.0.0
info:
title: YouTube API
version: v3
description: YouTube Data API allows for integration with YouTube to manage content, retrieve data, and interact with channels and videos.
servers:
- url: https://www.googleapis.com/youtube/v3
description: YouTube API server
paths:
/search:
get:
summary: Search YouTube content
operationId: youtubeSearch
parameters:
- name: part
in: query
required: true
schema:
type: string
- name: q
in: query
required: false
schema:
type: string
- name: maxResults
in: query
required: false
schema:
type: integer
- name: key
in: query
required: true
schema:
type: string
responses:
â200â:
description: Successful response
content:
application/json:
schema:
$ref: â#/components/schemas/SearchResponseâ
components:
schemas:
SearchResponse:
type: object
properties:
items:
type: array
items:
$ref: â#/components/schemas/SearchResultItemâ
SearchResultItem:
type: object
properties:
id:
type: string
title:
type: string
description:
type: string