Connecting to an "array" vs the OpenAI schema wanting an "object"

This works in swagger…but not in my GPT…will not accept my array even though my Curl accepts the above in an array as a post.

What should I do to connect this api?

Thanks

/getX:
post:
operationId: getX
summary: Get series information
requestBody:
required: true
content:
application/json:
schema:
type: array *** in OpenAI, will only accept object…(bug) and not an array
items:
type: object
properties:
vectorId:
type: integer…

Any ideas what up here?

I am pretty sure there is new documentation available here.

1 Like