GET
/v1/schemas/openai/chat/conversations?kind=output
Accept:
Response body
4 properties · 4 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| id* | string | The unique ID of the conversation. | |
| object* | enum | The object type, which is always `conversation`. | conversation · default: "conversation" |
| metadata* | any | Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characte… | |
| created_at* | integer | The time at which the conversation was created, measured in seconds since the Unix epoch. | format: unixtime |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"openai","endpointId":"conversations","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}